:root {
  --bg: #040812;
  --bg-2: #081122;
  --panel: rgba(8, 14, 28, 0.72);
  --panel-strong: rgba(8, 14, 28, 0.88);
  --line: rgba(191, 224, 255, 0.16);
  --line-strong: rgba(191, 224, 255, 0.28);
  --text: #f7f8ff;
  --muted: #c7d5fd;
  --cyan: #79f0ff;
  --pink: #ff92e2;
  --violet: #9a90ff;
  --gold: #fff0ad;
  --shadow: 0 35px 90px rgba(43, 96, 255, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(circle at 15% 15%, rgba(52, 206, 255, 0.16), transparent 24%),
    radial-gradient(circle at 85% 18%, rgba(255, 114, 228, 0.14), transparent 26%),
    radial-gradient(circle at 50% 85%, rgba(120, 97, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #06101f 0%, #040811 46%, #03060e 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { width: 100%; display: block; }
button, summary { font: inherit; }

.page-glow {
  position: fixed;
  width: 44rem;
  height: 44rem;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.26;
  pointer-events: none;
  z-index: -2;
}
.glow-left {
  top: -14rem;
  left: -10rem;
  background: radial-gradient(circle, rgba(68, 242, 226, 0.7), transparent 60%);
  animation: drift 16s ease-in-out infinite;
}
.glow-right {
  right: -10rem;
  top: 8rem;
  background: radial-gradient(circle, rgba(244, 113, 255, 0.64), transparent 58%);
  animation: drift 20s ease-in-out infinite reverse;
}

.starfield {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(2px 2px at 10% 18%, rgba(255,255,255,0.72), transparent 60%),
    radial-gradient(1.5px 1.5px at 24% 70%, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(1.4px 1.4px at 38% 36%, rgba(255,255,255,0.52), transparent 60%),
    radial-gradient(1.6px 1.6px at 62% 22%, rgba(255,255,255,0.62), transparent 60%),
    radial-gradient(1.7px 1.7px at 74% 58%, rgba(255,255,255,0.58), transparent 60%),
    radial-gradient(1.3px 1.3px at 88% 30%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(1.4px 1.4px at 80% 82%, rgba(255,255,255,0.45), transparent 60%);
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.panel {
  position: relative;
  background: linear-gradient(180deg, rgba(11, 18, 35, 0.86), rgba(8, 12, 24, 0.74));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 30;
  padding-top: 14px;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(121, 240, 255, 0.28), rgba(255, 146, 226, 0.22));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 0 32px rgba(121, 240, 255, 0.16);
}

.brand-name,
h1,
h2,
.footer-brand,
.stat strong,
.link-card strong,
.game-card h3,
.showcase-card h3,
.timeline-card h2,
.support-card h2 {
  font-family: "Cormorant Garamond", serif;
}

.brand-name {
  font-size: 2rem;
  font-weight: 700;
}

.site-nav,
.nav-actions,
.hero-actions,
.hero-chips,
.footer-links,
.cta-actions,
.command-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-nav a,
.footer-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}
.site-nav a:hover,
.site-nav a.active,
.footer-links a:hover { color: #fff; }

.menu-toggle {
  display: none;
  min-height: 42px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.button,
.command-pill,
.tab-button {
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.button:hover,
.command-pill:hover,
.tab-button:hover { transform: translateY(-1px); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  font-weight: 700;
  cursor: pointer;
}
.button.small { min-height: 40px; padding: 0 14px; }
.button.primary {
  color: #03101d;
  background: linear-gradient(135deg, #89f2ff, #ffd8ff 56%, #fff0b7);
  box-shadow: 0 12px 36px rgba(121, 240, 255, 0.22);
}
.button.secondary,
.button.ghost,
.command-pill,
.tab-button {
  color: var(--text);
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
}
.tab-button.active,
.command-pill.copied {
  background: linear-gradient(135deg, rgba(121, 240, 255, 0.18), rgba(255, 146, 226, 0.18));
  border-color: rgba(255,255,255,0.2);
}

.hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 24px;
  align-items: center;
  padding: 44px 0 12px;
}
.hero-copy,
.feature-copy,
.cta-card,
.support-card,
.info-card,
.timeline-card,
.quote-card {
  padding: 34px;
}
.hero-art,
.feature-art { overflow: hidden; border-radius: 34px; }
.hero-art img,
.feature-art img {
  min-height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 4.15;
}
.hero-art::after,
.feature-art::after {
  content: "";
  position: absolute;
  inset: auto 18px 16px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(124, 246, 255, 0.28), transparent 68%);
  filter: blur(22px);
}

.floating-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(260px, calc(100% - 36px));
  padding: 18px;
  border-radius: 22px;
  background: rgba(7, 12, 24, 0.78);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.floating-card strong {
  display: block;
  font-size: 1.7rem;
  margin-top: 4px;
  margin-bottom: 8px;
}
.floating-card p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  padding: 58px 0 18px;
}
.page-hero.narrow {
  max-width: 900px;
  text-align: center;
}
.page-hero h1,
.hero-copy h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.95;
  margin: 0 0 18px;
}
.page-hero h1 { line-height: 1; }
.hero-copy h1 span,
.page-hero h1 span {
  background: linear-gradient(135deg, var(--cyan), var(--pink), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 62ch;
}
.center { margin-inline: auto; }

.eyebrow,
.floating-label,
.mini-label,
.timeline-tag,
.timeline-date {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: #d9d7ff;
}
.eyebrow { margin: 0 0 10px; }

.hero-actions,
.hero-chips { margin-top: 24px; }

.hero-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 26px 0 8px;
}
.compact-stats { padding-top: 8px; }
.stat {
  border-radius: 24px;
  padding: 24px;
}
.stat strong {
  display: block;
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 10px;
}
.stat span { color: var(--muted); line-height: 1.6; }

.section { padding: 84px 0 0; }
.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}
.section-head h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
  margin: 0 0 14px;
}
.section-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.04rem;
}

.game-grid,
.showcase-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.showcase-grid { grid-template-columns: repeat(3, 1fr); }
.support-grid { grid-template-columns: repeat(2, 1fr); }

.game-card,
.showcase-card {
  border-radius: 30px;
  padding: 28px;
}
.game-card h3,
.showcase-card h3 {
  margin: 16px 0 10px;
  font-size: 2rem;
}
.game-card p,
.showcase-card p,
.feature-copy p,
.info-card p,
.timeline-card p,
.support-card p,
.faq-item p,
.footer-copy {
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.game-icon {
  font-size: 1.4rem;
}
.tag {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.split-two {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 24px;
  align-items: stretch;
}
.feature-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}
.feature-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.quote-strip { padding-top: 52px; }
.quote-card {
  border-radius: 32px;
  text-align: center;
}
.quote-mark {
  margin: 0;
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
}
.quote-text {
  max-width: 22ch;
  margin: 8px auto 0;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.35;
  font-family: "Cormorant Garamond", serif;
}

.commands-shell {
  border-radius: 34px;
  padding: 30px;
  background: linear-gradient(180deg, rgba(10, 16, 32, 0.94), rgba(7, 11, 22, 0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.command-tabs {
  gap: 10px;
  margin-bottom: 20px;
}
.tab-button {
  padding: 12px 16px;
  cursor: pointer;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.command-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.command-grid.compact { gap: 10px; }
.command-pill {
  min-height: 42px;
  padding: 0 14px;
  cursor: pointer;
}

.timeline-wrap {
  display: grid;
  gap: 18px;
}
.timeline-card {
  border-radius: 30px;
}
.timeline-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.timeline-card h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}
.timeline-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.9;
}

.faq-grid {
  display: grid;
  gap: 14px;
}
.faq-item {
  border-radius: 24px;
  padding: 0 22px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  padding: 0 0 22px;
}
.faq-item[open] summary {
  color: #fff;
}

.cta-section {
  padding-bottom: 84px;
}
.cta-card {
  border-radius: 34px;
  text-align: center;
}
.cta-card h2,
.info-card h2,
.feature-copy h2,
.support-card h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.02;
  margin: 0 0 16px;
}
.cta-card .eyebrow,
.info-card .eyebrow,
.feature-copy .eyebrow,
.support-card .eyebrow { margin-bottom: 12px; }
.cta-actions {
  justify-content: center;
  margin-top: 24px;
}

.site-footer {
  padding-bottom: 34px;
}
.footer-shell {
  border-radius: 30px;
  padding: 24px 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.footer-brand {
  font-size: 2rem;
  margin-bottom: 4px;
}
.footer-copy {
  max-width: 42ch;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.show {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(16px, 18px) scale(1.04); }
}

@media (max-width: 1040px) {
  .hero,
  .split-two,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .stats,
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .hero-art img,
  .feature-art img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 820px) {
  .site-header {
    top: 0;
    padding-top: 12px;
  }

  .nav-shell {
    flex-wrap: wrap;
    border-radius: 22px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .site-nav,
  .nav-actions {
    display: none;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .site-nav.open,
  .nav-actions.open {
    display: flex;
  }

  .site-nav a,
  .nav-actions .button {
    width: 100%;
    justify-content: center;
  }

  .page-hero h1,
  .hero-copy h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .section-head h2,
  .cta-card h2,
  .info-card h2,
  .feature-copy h2,
  .support-card h2,
  .timeline-card h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .commands-shell {
    padding: 24px;
  }

  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .hero-copy,
  .feature-copy,
  .cta-card,
  .support-card,
  .info-card,
  .timeline-card,
  .quote-card {
    padding: 24px;
  }

  .stats,
  .game-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero-chips,
  .command-tabs,
  .cta-actions,
  .hero-actions {
    gap: 10px;
  }

  .hero-art,
  .feature-art,
  .commands-shell,
  .stat,
  .game-card,
  .showcase-card,
  .support-card,
  .cta-card,
  .faq-item,
  .timeline-card,
  .quote-card,
  .info-card {
    border-radius: 24px;
  }

  .floating-card {
    position: static;
    width: auto;
    margin: 16px;
  }

  .section {
    padding-top: 64px;
  }
}
