:root {
  --bg: #0e1117;
  --panel: #161a22;
  --field: #1f2430;
  --border: #2b3140;
  --text: #e8eaf0;
  --muted: #98a1b6;
  --accent: #009dff;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: "Segoe UI", system-ui, sans-serif; font-size: 16px; line-height: 1.6; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
header { padding: 48px 0 24px; text-align: center; }
nav { display: flex; justify-content: center; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
nav a { color: var(--muted); font-size: 15px; }
nav a:hover { color: var(--text); }
nav a.current { color: var(--text); font-weight: 600; }
.logo { max-width: 440px; width: 100%; height: auto; margin: 0 auto; display: block; }
.cycle { display: grid; width: 100%; max-width: 680px; margin: 40px auto 0; }
.cycle a { grid-area: 1 / 1; display: block; opacity: 0; visibility: hidden; animation: cycle 12s ease-in-out infinite; }
.cycle a:hover { text-decoration: none; }
.cycle a { position: relative; }
.app-name {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  white-space: nowrap; padding: 6px 16px; border-radius: 6px;
  background: rgba(14, 17, 23, 0.7); color: #fff;
  font-size: 18px; font-weight: 600; pointer-events: none;
}
.cycle img { display: block; width: 100%; height: auto; }
.cycle .s2 { animation-delay: 6s; }
@keyframes cycle {
  0% { opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.98); }
  6% { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
  55% { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
  62% { opacity: 0; visibility: visible; transform: translateY(-10px) scale(0.98); }
  62.01% { visibility: hidden; }
  100% { opacity: 0; visibility: hidden; }
}
.cycle:hover a { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .cycle a { animation: none; opacity: 0; visibility: hidden; }
  .cycle .s1 { opacity: 1; visibility: visible; }
}
.footer { text-align: center; padding: 24px 0; color: var(--muted); font-size: 13px; border-top: 1px solid var(--border); }
