/* ============================================================
   ESPORTS ACADEMY — design system
   Palette drawn from the ESA shield: gold, helmet blue, helmet red
   ============================================================ */

:root {
  --bg-0: #05070f;
  --bg-1: #0a0e1c;
  --bg-2: #0f1526;
  --panel: #131a30;
  --panel-2: #182140;
  --line: rgba(148, 163, 216, 0.14);
  --ink: #eef1fb;
  --muted: #9aa5c9;
  --gold: #f7b921;
  --gold-2: #ffd45e;
  --blue: #3fa9ff;
  --red: #ff4655;
  --grad-brand: linear-gradient(92deg, var(--blue), var(--gold) 55%, var(--red));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px rgba(2, 5, 16, 0.55);
  --font-display: "Chakra Petch", "Inter", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --nav-h: 74px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: #171200; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.container { width: min(1160px, 92vw); margin-inline: auto; }

/* ---------- utility ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}

.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin: 12px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1b1400;
  box-shadow: 0 10px 30px rgba(247, 185, 33, 0.28);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(247, 185, 33, 0.4); }

.btn-ghost {
  border-color: rgba(148, 163, 216, 0.35);
  color: var(--ink);
  background: rgba(19, 26, 48, 0.5);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }

.btn-red {
  background: linear-gradient(180deg, #ff5f6d, var(--red));
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 70, 85, 0.3);
}
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255, 70, 85, 0.42); }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(5, 7, 15, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(5, 7, 15, 0.88); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  width: 48px; height: 43px;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.55));
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.14em;
  line-height: 1.1;
  white-space: nowrap;
}
.brand-name span { color: var(--gold); }
.brand-tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  display: block;
  padding: 9px 15px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.16s ease, background 0.16s ease;
}
.nav-links a:hover { color: var(--ink); background: rgba(148, 163, 216, 0.1); }
.nav-links a.active { color: var(--gold); }
.nav-links a.nav-cta {
  color: #1b1400;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  margin-left: 8px;
}
.nav-links a.nav-cta:hover { filter: brightness(1.08); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 44px; height: 44px;
  cursor: pointer;
  color: var(--ink);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* live dot */
.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255, 70, 85, 0.6);
  animation: pulse 1.8s infinite;
  margin-right: 2px;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 70, 85, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(255, 70, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 70, 85, 0); }
}

/* ---------- hero (home) ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 40px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  transform: scale(1.06);
}
.hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../img/istock-651251520_305.jpg") center 30% / cover no-repeat;
  filter: saturate(1.15) brightness(0.42);
}
.hero-bg video.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.82);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 18% 20%, rgba(63, 169, 255, 0.22), transparent 60%),
    radial-gradient(800px 520px at 85% 75%, rgba(255, 70, 85, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(5, 7, 15, 0.75) 0%, rgba(5, 7, 15, 0.35) 45%, var(--bg-0) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.3rem);
  margin: 18px 0 20px;
  text-transform: uppercase;
  /* reserve 3 lines so the typewriter never reflows the page */
  min-height: calc(3 * 1.12em);
}
.hero-logo {
  width: clamp(130px, 15vw, 200px);
  margin-bottom: 26px;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.6));
}
.hero p.lede { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: #c6cde8; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(15, 21, 38, 0.66);
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
  font-weight: 600;
  color: #ccd4ee;
}
.chip svg { width: 15px; height: 15px; color: var(--gold); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .player-card {
  position: relative;
  width: min(430px, 100%);
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(63, 169, 255, 0.14), rgba(19, 26, 48, 0.65) 45%, rgba(255, 70, 85, 0.12));
  border: 1px solid rgba(148, 163, 216, 0.22);
  box-shadow: var(--shadow);
  padding: 22px 22px 0;
  backdrop-filter: blur(6px);
}
.hero-visual .player-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 26px;
  padding: 1px;
  background: linear-gradient(140deg, rgba(63, 169, 255, 0.55), transparent 35%, transparent 65%, rgba(255, 70, 85, 0.55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.hero-visual img.player { position: relative; z-index: 1; filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.55)); }
.hero-visual .badge-live {
  position: absolute;
  z-index: 2;
  top: 18px; right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(5, 7, 15, 0.8);
  border: 1px solid rgba(255, 70, 85, 0.5);
  color: #ffb9c0;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.hero-visual .badge-score {
  position: absolute;
  z-index: 2;
  left: -14px; bottom: 74px;
  background: rgba(10, 14, 28, 0.92);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.badge-score .t { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.badge-score .s { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.badge-score .s em { color: var(--gold); font-style: normal; }

.scroll-hint {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
}
.scroll-hint::after {
  content: "";
  width: 1px; height: 34px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: drip 2s ease-in-out infinite;
}
@keyframes drip {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- page hero (subpages) ---------- */

.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(56px, 9vw, 96px)) 0 clamp(48px, 7vw, 80px);
  overflow: hidden;
  background: var(--bg-1);
}
.page-hero .bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  filter: saturate(1.1);
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 340px at 12% 0%, rgba(63, 169, 255, 0.16), transparent 60%),
    radial-gradient(700px 340px at 88% 100%, rgba(255, 70, 85, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(5, 7, 15, 0.4), var(--bg-0));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 14px 0 16px; text-transform: uppercase; }
.page-hero p { color: var(--muted); max-width: 640px; font-size: 1.08rem; }

/* ---------- cards ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.card {
  position: relative;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(247, 185, 33, 0.4); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }

.card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: rgba(247, 185, 33, 0.1);
  border: 1px solid rgba(247, 185, 33, 0.25);
  color: var(--gold);
}
.card .icon.blue { background: rgba(63, 169, 255, 0.1); border-color: rgba(63, 169, 255, 0.3); color: var(--blue); }
.card .icon.red { background: rgba(255, 70, 85, 0.1); border-color: rgba(255, 70, 85, 0.3); color: var(--red); }
.card .icon svg { width: 25px; height: 25px; }

.card h3 { font-size: 1.22rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.card .card-link svg { width: 15px; height: 15px; transition: transform 0.18s ease; }
.card:hover .card-link svg { transform: translateX(4px); }

/* photo cards */
.photo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.photo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.photo-card img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.photo-card:hover img.bg { transform: scale(1.05); }
.photo-card .overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 26px 24px;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 15, 0.92) 62%);
}
.photo-card .overlay h3 { text-transform: uppercase; font-size: 1.1rem; }
.photo-card .overlay p { color: #c2cae6; font-size: 0.9rem; margin-top: 6px; }

/* ---------- feature rows ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 70px);
  align-items: center;
}
.feature-row + .feature-row { margin-top: clamp(56px, 8vw, 90px); }
.feature-row.flip > .feature-media { order: 2; }
.feature-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-media .tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(5, 7, 15, 0.82);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  backdrop-filter: blur(6px);
}
.feature-copy h2, .feature-copy h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: 12px 0 16px; text-transform: uppercase; }
.feature-copy p { color: var(--muted); }
.feature-copy p + p { margin-top: 12px; }

.check-list { list-style: none; margin-top: 20px; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; color: #ccd4ee; font-size: 0.98rem; }
.check-list li svg { width: 21px; height: 21px; flex: none; color: var(--gold); margin-top: 2px; }
.check-list li strong { color: var(--ink); }

/* ---------- stats band ---------- */

.stats-band {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(247, 185, 33, 0.07), transparent),
    var(--bg-1);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: clamp(36px, 5vw, 56px) 0; }
.stat { text-align: center; padding: 10px; }
.stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .lbl { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 6px; font-weight: 600; }

/* ---------- games marquee ---------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg-1);
  padding: 20px 0;
  position: relative;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 1;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-0), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg-0), transparent); }
.marquee-track {
  display: flex;
  gap: 54px;
  width: max-content;
  animation: scroll-x 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(154, 165, 201, 0.6);
  display: flex;
  align-items: center;
  gap: 54px;
  white-space: nowrap;
}
.marquee-track span::after { content: "✦"; color: var(--gold); font-size: 0.9rem; }
@keyframes scroll-x { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .live-dot { animation: none; }
  .scroll-hint::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- partner strip ---------- */

.partner-strip { display: flex; flex-wrap: wrap; gap: 14px; }
.partner-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: #ccd4ee;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.partner-pill:hover { border-color: rgba(247, 185, 33, 0.45); transform: translateY(-3px); }
.partner-pill svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* ---------- CTA band ---------- */

.cta-band { position: relative; overflow: hidden; }
.cta-box {
  position: relative;
  border-radius: 24px;
  padding: clamp(40px, 7vw, 72px);
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(247, 185, 33, 0.3);
  background:
    radial-gradient(700px 300px at 50% -20%, rgba(247, 185, 33, 0.16), transparent 70%),
    radial-gradient(500px 260px at 8% 110%, rgba(63, 169, 255, 0.14), transparent 60%),
    radial-gradient(500px 260px at 92% 110%, rgba(255, 70, 85, 0.14), transparent 60%),
    linear-gradient(180deg, var(--panel-2), var(--bg-1));
}
.cta-box h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); text-transform: uppercase; margin-bottom: 14px; }
.cta-box p { color: var(--muted); max-width: 560px; margin: 0 auto 30px; }
.cta-box .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- forms ---------- */

.form-panel {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 40px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field label em { color: var(--gold); font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%;
  background: rgba(5, 7, 15, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(247, 185, 33, 0.16);
}
.form-note { color: var(--muted); font-size: 0.85rem; margin-top: 14px; }
.form-status { margin-top: 14px; font-weight: 600; color: var(--gold); min-height: 1.4em; }

/* ---------- twitch embed ---------- */

.stream-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  background: var(--bg-1);
}
.stream-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line);
  background: var(--bg-1);
  padding: clamp(48px, 7vw, 72px) 0 34px;
  margin-top: clamp(40px, 7vw, 80px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  margin-bottom: 44px;
}
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 16px; max-width: 420px; }
.footer-col h4 {
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 0.95rem; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--gold-2); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.83rem;
}

/* ---------- reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- misc ---------- */

.divider-glow {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 185, 33, 0.5), transparent);
  border: none;
}

.quote-panel {
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, rgba(247, 185, 33, 0.07), transparent 70%);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 26px 30px;
  font-size: 1.15rem;
  font-style: italic;
  color: #d9dff4;
  max-width: 760px;
}
.quote-panel cite { display: block; margin-top: 12px; font-style: normal; font-size: 0.85rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill-list span {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(15, 21, 38, 0.8);
  color: #ccd4ee;
  font-size: 0.86rem;
  font-weight: 600;
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.flip > .feature-media { order: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #05070f;
    padding: 18px 5vw 26px;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 16px; font-size: 0.95rem; }
  .nav-links a.nav-cta { margin-left: 0; text-align: center; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 720px) {
  .grid-3, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .scroll-hint { display: none; }
}

@media (max-width: 480px) {
  .nav .brand-tag { display: none; }
  .nav .brand-name { font-size: 0.92rem; }
}

/* ============================================================
   INTERACTIVE LAYER
   ============================================================ */

/* page enter/exit transitions */
body { animation: page-in 0.45s ease both; }
body.page-exit { opacity: 0; transition: opacity 0.22s ease; animation: none; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

/* scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--grad-brand);
  z-index: 300;
  box-shadow: 0 0 12px rgba(247, 185, 33, 0.6);
}

/* ambient cursor glow (fine pointers only) */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 360px; height: 360px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 5;
  background: radial-gradient(circle, rgba(247, 185, 33, 0.07), rgba(63, 169, 255, 0.045) 42%, transparent 68%);
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}

/* particle canvas inside heroes */
.fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* typewriter caret on rotating word */
.rotate-word { white-space: nowrap; }
.rotate-word::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 0.82em;
  margin-left: 8px;
  background: var(--gold);
  vertical-align: -0.06em;
  animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .rotate-word::after { animation: none; }
  body { animation: none; }
}

/* toast (easter egg / copy feedback) */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 20px);
  background: rgba(15, 21, 38, 0.97);
  border: 1px solid var(--gold);
  color: var(--gold-2);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 15px 28px;
  border-radius: 999px;
  z-index: 400;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* confetti canvas */
.confetti-canvas {
  position: fixed;
  inset: 0;
  z-index: 390;
  pointer-events: none;
}

/* ---------- game picker ---------- */

.game-picker {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 24px;
  align-items: start;
}
.game-list { display: grid; gap: 10px; }
.game-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
.game-btn:hover { border-color: rgba(247, 185, 33, 0.5); transform: translateX(4px); }
.game-btn[aria-pressed="true"] {
  border-color: var(--gold);
  background: linear-gradient(90deg, rgba(247, 185, 33, 0.14), var(--panel) 70%);
  color: var(--gold-2);
}
.rating-chip {
  flex: none;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(63, 169, 255, 0.5);
  color: var(--blue);
  background: rgba(63, 169, 255, 0.08);
}
.rating-chip.rating-m { border-color: rgba(255, 70, 85, 0.55); color: #ff8d96; background: rgba(255, 70, 85, 0.08); }

.game-panel { min-height: 380px; display: flex; flex-direction: column; }
.game-panel .gp-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.game-panel h3 { font-size: 1.5rem; }
.game-panel .gp-rows { display: grid; gap: 16px; margin-top: 18px; }
.gp-row { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; }
.gp-row dt {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.gp-row dd { color: #ccd4ee; font-size: 0.97rem; }
.intensity { display: inline-flex; gap: 6px; align-items: center; margin-right: 12px; vertical-align: middle; }
.intensity i {
  width: 26px; height: 8px;
  border-radius: 4px;
  background: rgba(148, 163, 216, 0.18);
  transition: background 0.3s ease;
}
.intensity[data-level="1"] i:nth-child(-n+1) { background: var(--blue); }
.intensity[data-level="2"] i:nth-child(-n+2) { background: var(--gold); }
.intensity[data-level="3"] i:nth-child(-n+3) { background: var(--red); }
.game-panel .gp-actions { margin-top: auto; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn.btn-sm { padding: 10px 20px; font-size: 0.8rem; }

/* ---------- safety notice bar ---------- */

.notice-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border: 1px solid rgba(255, 70, 85, 0.45);
  border-radius: var(--radius);
  padding: 22px 26px;
  background:
    radial-gradient(400px 120px at 0% 50%, rgba(255, 70, 85, 0.14), transparent 70%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
}
.notice-bar .n-icon {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: rgba(255, 70, 85, 0.12);
  border: 1px solid rgba(255, 70, 85, 0.4);
}
.notice-bar .n-icon svg { width: 26px; height: 26px; }
.notice-bar .n-copy { flex: 1 1 320px; }
.notice-bar .n-copy h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.05em; }
.notice-bar .n-copy p { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }

/* ---------- health & safety page ---------- */

.alert-panel {
  position: relative;
  border: 1px solid rgba(255, 70, 85, 0.55);
  border-radius: var(--radius);
  padding: clamp(28px, 4.5vw, 44px);
  background:
    radial-gradient(600px 220px at 8% 0%, rgba(255, 70, 85, 0.12), transparent 65%),
    linear-gradient(180deg, var(--panel-2), var(--bg-1));
  overflow: hidden;
}
.alert-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}
.alert-head { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.alert-head .a-icon {
  flex: none;
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: rgba(255, 70, 85, 0.13);
  border: 1px solid rgba(255, 70, 85, 0.45);
}
.alert-head .a-icon svg { width: 30px; height: 30px; }
.alert-head h2 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); text-transform: uppercase; }
.alert-head .a-kicker { color: var(--red); font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; display: block; margin-bottom: 4px; }
.alert-panel p { color: #d5dbf1; }
.alert-panel p + p { margin-top: 12px; }
.alert-panel strong { color: var(--ink); }

.symptom-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 26px; margin-top: 16px; list-style: none; }
.symptom-grid li { display: flex; gap: 10px; align-items: flex-start; color: #ccd4ee; font-size: 0.95rem; }
.symptom-grid li::before { content: "▸"; color: var(--red); font-weight: 700; }

/* jump chips */
.jump-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.jump-chips a {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(15, 21, 38, 0.8);
  color: #ccd4ee;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.jump-chips a:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }

/* accordions */
details.acc {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  overflow: hidden;
}
details.acc + details.acc { margin-top: 12px; }
details.acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.98rem;
  list-style: none;
  transition: color 0.15s ease;
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold);
  line-height: 1;
  transition: transform 0.25s ease;
  flex: none;
}
details.acc[open] summary { color: var(--gold-2); }
details.acc[open] summary::after { transform: rotate(45deg); }
details.acc .acc-body { padding: 0 24px 22px; color: var(--muted); font-size: 0.96rem; }
details.acc .acc-body p + p { margin-top: 10px; }
details.acc .acc-body ul { margin: 10px 0 0 18px; display: grid; gap: 8px; }

/* games warning table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
table.games-table { width: 100%; border-collapse: collapse; min-width: 760px; }
table.games-table th {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 15, 0.45);
  white-space: nowrap;
}
table.games-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  color: #ccd4ee;
  font-size: 0.94rem;
  vertical-align: top;
}
table.games-table tr:last-child td { border-bottom: none; }
table.games-table td strong { color: var(--ink); font-family: var(--font-display); letter-spacing: 0.04em; }
table.games-table .t-note { color: var(--muted); font-size: 0.85rem; }

/* emergency panel */
.emergency-panel {
  border: 1px solid rgba(63, 169, 255, 0.45);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 38px);
  background:
    radial-gradient(500px 200px at 95% 0%, rgba(63, 169, 255, 0.12), transparent 65%),
    linear-gradient(180deg, var(--panel-2), var(--bg-1));
}
.emergency-panel ol { margin: 16px 0 0 20px; display: grid; gap: 11px; color: #ccd4ee; }
.emergency-panel .call-000 {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 22px;
  border-radius: 12px;
  background: rgba(255, 70, 85, 0.12);
  border: 1px solid rgba(255, 70, 85, 0.5);
  color: #ffb9c0;
  font-weight: 700;
}

/* resource links */
.resource-list { display: grid; gap: 12px; }
.resource-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: #ccd4ee;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.resource-list a:hover { border-color: rgba(247, 185, 33, 0.5); transform: translateX(4px); }
.resource-list a small { color: var(--muted); font-weight: 400; display: block; margin-top: 2px; }
.resource-list a svg { width: 18px; height: 18px; flex: none; color: var(--gold); }

.fine-print { color: var(--muted); font-size: 0.84rem; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 26px; }

/* ---------- print (venue signage) ---------- */

@media print {
  .nav, footer, .scroll-progress, .cursor-glow, .fx-canvas, .no-print, .jump-chips, .toast { display: none !important; }
  body { background: #fff !important; color: #000 !important; animation: none; font-size: 12pt; }
  .page-hero, .section { padding: 12pt 0 !important; background: none !important; }
  .page-hero::after, .page-hero .bg { display: none !important; }
  .page-hero h1, h2, h3, .alert-head h2 { color: #000 !important; -webkit-text-fill-color: #000; }
  .alert-panel, .emergency-panel, .table-wrap, details.acc { border: 2pt solid #000 !important; background: #fff !important; break-inside: avoid; }
  .alert-panel p, .symptom-grid li, table.games-table td, .emergency-panel ol, .acc-body, .page-hero p, .section-head p, .gp-row dd { color: #000 !important; }
  details.acc { display: block; }
  details.acc summary { color: #000 !important; }
  .grad-text { background: none; color: #000 !important; -webkit-text-fill-color: #000; }
}

/* ---------- responsive for new components ---------- */

/* ---------- brand intro splash ---------- */

#brand-intro {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: #0b0b0c;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.65s ease;
}
#brand-intro.gone { opacity: 0; pointer-events: none; }
#brand-intro video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#brand-intro .intro-skip {
  position: absolute;
  top: 26px;
  right: 28px;
  z-index: 2;
  padding: 11px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(10, 10, 12, 0.55);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.16s ease, border-color 0.16s ease;
}
#brand-intro .intro-skip:hover { background: rgba(247, 185, 33, 0.9); border-color: var(--gold); color: #171200; }
html.intro-lock, html.intro-lock body { overflow: hidden; }

@media (max-width: 960px) {
  .game-picker { grid-template-columns: 1fr; }
  .game-list { grid-template-columns: 1fr 1fr; }
  .symptom-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .game-list { grid-template-columns: 1fr; }
  .gp-row { grid-template-columns: 1fr; gap: 4px; }
  .cursor-glow { display: none; }
}
