:root {
  --bg: #090615;
  --bg-2: #130d2d;
  --text: #fff8df;
  --muted: #f0d892;
  --pink: #ff3eb5;
  --blue: #16d9ff;
  --gold: #ffda45;
  --lime: #86ff4f;
  --panel: rgba(24, 15, 58, 0.78);
  --panel-strong: rgba(41, 22, 92, 0.94);
  --line: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 18%, rgba(124, 60, 255, 0.34), transparent 27rem),
    radial-gradient(circle at 84% 22%, rgba(255, 218, 69, 0.26), transparent 28rem),
    radial-gradient(circle at 55% 78%, rgba(255, 187, 31, 0.22), transparent 30rem),
    linear-gradient(135deg, var(--bg), var(--bg-2));
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 80%);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 46px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(18, 7, 48, 0.88), rgba(88, 38, 140, 0.58));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 16px;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: #12041f;
  font: 900 1rem Bungee, Inter, sans-serif;
  background: linear-gradient(135deg, var(--gold), var(--lime));
  box-shadow: 0 0 24px rgba(255, 218, 69, .42);
}

.brand-text {
  font: 900 1.35rem Bungee, Inter, sans-serif;
  letter-spacing: .04em;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(255, 218, 69, .66), 0 0 34px rgba(124, 60, 255, .62);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 900;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  cursor: not-allowed;
  opacity: .78;
}

.status-pill,
.eyebrow,
.card-kicker {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 900;
}

.status-pill {
  white-space: nowrap;
  color: #0b0620;
  padding: 10px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #fff0a5);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .92fr);
  align-items: center;
  gap: 34px;
  min-height: calc(100vh - 132px);
  padding: 56px 0 26px;
}

.hero-copy,
.hero-art,
.card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-copy {
  padding: clamp(28px, 5vw, 56px);
  border-radius: 40px;
}

.eyebrow {
  color: var(--gold);
  margin: 0 0 16px;
}

#hero-title {
  margin: 0;
  letter-spacing: -.055em;
  max-width: 900px;
  text-wrap: balance;
}

.hero-lede {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.65;
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
  border: 1px solid var(--line);
}

.button.primary {
  color: #12041f;
  background: linear-gradient(135deg, #fff0a5, var(--gold) 48%, #b47713);
  box-shadow: 0 0 42px rgba(255, 218, 69, .48), 0 0 64px rgba(124, 60, 255, .28);
}

.button.ghost { background: rgba(255, 218, 69, .10); color: var(--gold); }

.feature-ticks {
  display: grid;
  gap: 10px;
  color: var(--muted);
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.feature-ticks li::before {
  content: "✦";
  color: var(--lime);
  margin-right: 9px;
}

.hero-art {
  position: relative;
  border-radius: 42px;
  padding: clamp(48px, 6vw, 64px) clamp(16px, 3vw, 28px) clamp(16px, 3vw, 28px);
  background:
    linear-gradient(180deg, rgba(255,218,69,.16), transparent),
    var(--panel-strong);
}

.hero-art::before {
  content: "LIVE ARCADE LOBBY";
  position: absolute;
  top: 18px;
  left: 22px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
  filter: drop-shadow(0 0 40px rgba(255, 218, 69, .45));
}

.platform-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 26px;
}

.platform-band span {
  min-height: 74px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--muted);
  font-weight: 900;
  background: linear-gradient(135deg, rgba(124,60,255,.18), rgba(255,218,69,.12));
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 280px;
  padding: 26px;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}

.card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  right: -70px;
  bottom: -90px;
  opacity: .3;
  filter: blur(4px);
}

.card h2 {
  margin: 12px 0;
  font: 900 clamp(1.6rem, 2.6vw, 2.4rem) / 1 Bungee, Inter, sans-serif;
  letter-spacing: -.04em;
}

.card p:last-child {
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  margin-top: 34px;
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

.neon-blue::after { background: var(--blue); }
.neon-pink::after { background: var(--pink); }
.neon-gold::after { background: var(--gold); }
.neon-blue .card-kicker { color: var(--blue); }
.neon-pink .card-kicker { color: var(--pink); }
.neon-gold .card-kicker { color: var(--gold); }

/* ── Hamburger button (hidden on desktop) ─────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transition: transform .25s ease, opacity .25s ease, width .25s ease;
  transform-origin: center;
}

/* Animate to X when open */
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Tablet (≤ 920px) ─────────────────────────────────────── */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 32px 0 20px;
    gap: 24px;
  }

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

/* ── Mobile nav (≤ 720px) — hamburger kicks in ────────────── */
@media (max-width: 720px) {
  .site-header {
    flex-wrap: wrap;
    align-items: center;
    padding: 12px 14px;
    border-radius: 20px;
    top: 8px;
    gap: 0;
  }

  /* Brand left, toggle right — same row */
  .brand { flex: 1; }

  .nav-toggle { display: flex; }

  /* Status pill hides to keep the header bar tight */
  .status-pill { display: none; }

  /* Nav collapses beneath the header bar */
  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    margin-top: 10px;
  }

  .main-nav.is-open { display: flex; }

  .main-nav a {
    width: 100%;
    padding: 12px 14px;
    font-size: .88rem;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
  }
}

/* ── Large phone (≤ 640px) ────────────────────────────────── */
@media (max-width: 640px) {
  .page-shell {
    width: calc(100% - 24px);
    padding: 12px 0 32px;
  }

  .hero-copy {
    padding: 22px;
    border-radius: 28px;
  }

  #hero-title {
    font-size: clamp(1.9rem, 10vw, 3rem);
    letter-spacing: -.04em;
  }

  .hero-lede { font-size: 1rem; }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .button {
    width: 100%;
    min-height: 52px;
    font-size: 1rem;
  }

  .platform-band { grid-template-columns: 1fr; }

  .card {
    padding: 20px;
    min-height: auto;
    border-radius: 24px;
  }

  .card h2 { font-size: clamp(1.4rem, 7vw, 1.9rem); }

  .site-footer { margin-top: 24px; font-size: .82rem; }
}

/* ── Small phone (≤ 400px) ────────────────────────────────── */
@media (max-width: 400px) {
  .page-shell { width: calc(100% - 16px); }

  .brand-text { font-size: 1.1rem; }

  #hero-title { font-size: clamp(1.7rem, 11vw, 2.6rem); }

  .hero-copy { padding: 18px; }
}
