/* =============================================================================
   Choyens marketing — minimal premium (Apple/Google rhythm)
   =============================================================================
   Each section gets the viewport. One statement, one visual, generous space.
   Mobile vocabulary used sparingly: kicker label, accent pill with dot,
   warm shadow, squircle radii, decorative glyph.
   ===========================================================================*/

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-secondary);
  color: var(--text);
  font-family: var(--font-stack);
  font-size: var(--fs-md);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

::selection { background: var(--accent); color: var(--primary); }

.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
  position: relative;
}

@media (max-width: 480px) { .container { padding: 0 var(--sp-md); } }

/* ─── Mobile-vocabulary atoms (used sparingly) ────────────────────────── */
.kicker {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent-dark);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: var(--sp-md);
}

/* ─── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-round);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: -0.1px;
  transition: transform 0.18s var(--easing), box-shadow 0.18s var(--easing), background 0.18s var(--easing), color 0.18s var(--easing), border-color 0.18s var(--easing);
  white-space: nowrap;
  min-height: 42px;
}

.btn--ghost-on-dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  border: 1px solid rgba(242, 206, 152, 0.30);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--ghost-on-dark:hover { background: var(--accent); color: var(--primary); border-color: var(--accent); }

.btn--primary {
  background: var(--primary);
  color: var(--text-white);
  box-shadow: 0 8px 24px rgba(78, 34, 28, 0.22);
  padding: 14px 26px;
  font-size: var(--fs-md);
  min-height: 50px;
}
.btn--primary:hover { background: var(--primary-light); box-shadow: 0 12px 30px rgba(78, 34, 28, 0.28); }
.btn--primary i { font-size: 14px; color: var(--accent); }

/* ─── Scroll progress (top, accent thread) ────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 60;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(242, 206, 152, 0.65);
}

/* ─── Nav (minimal — brand + single CTA) ──────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 64px;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.3s var(--easing), backdrop-filter 0.3s var(--easing), border-color 0.3s var(--easing);
  border-bottom: 1px solid transparent;
}

.nav .nav-brand { color: var(--text-white); }
.nav.scrolled {
  background: rgba(250, 246, 240, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--border);
}
.nav.scrolled .nav-brand { color: var(--text); }
.nav.scrolled .btn--ghost-on-dark {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}
.nav.scrolled .btn--ghost-on-dark:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

.nav-inner { display: flex; align-items: center; width: 100%; }

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: var(--fs-md);
  letter-spacing: -0.3px;
}

.nav-logo { width: 30px; height: 30px; object-fit: contain; }

.nav-cta { margin-left: auto; }

/* ─── Hero — full-bleed cinematic + minimal type ──────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: calc(64px + var(--sp-2xl)) 0 var(--sp-3xl);
  color: var(--text-on-dark);
}

.hero-image { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform-origin: center;
  /* GSAP scrubs scale on scroll for a slow ken-burns */
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(20, 8, 6, 0.30) 0%, rgba(20, 8, 6, 0.78) 100%),
    linear-gradient(95deg, rgba(78, 34, 28, 0.50) 0%, rgba(78, 34, 28, 0.0) 50%);
}

/* Subtle film grain — keeps photo from looking AI-perfect */
.hero-grain {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='2' stitchTiles='stitch' /><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0' /></filter><rect width='160' height='160' filter='url(%23n)' /></svg>");
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 880px;
}

.hero-title {
  margin: 0 0 var(--sp-lg);
  font-size: clamp(44px, 8.5vw, 96px);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.04;
  color: var(--text-white);
  /* Generous bottom padding so descenders + italic ascenders never clip */
  padding-bottom: 0.08em;
}

/* Each word is its own block line — the bold full-stop separates them. */
.hero-title .word {
  display: block;
  line-height: 1.04;
  padding-bottom: 0.04em; /* breathing room for italic ascenders */
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--accent) 0%, #fff5e0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 800;
}

.hero-sub {
  margin: 0;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-on-dark);
  max-width: 480px;
  line-height: 1.55;
}

/* Store badges in the hero — same white pills as the CTA section. They
   sit under the sub-copy with a generous gap, stack on phones. */
.hero-stores {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-top: var(--sp-xl);
}

/* Minimal scroll cue */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: var(--sp-lg);
  transform: translateX(-50%);
  z-index: 3;
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(242, 206, 152, 0.30);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 14px;
  background: var(--accent);
  animation: scroll-pulse 2.4s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%   { transform: translateY(-14px); }
  100% { transform: translateY(40px); }
}

/* ─── Beat — full-bleed sport image · directional overlay · phone peek ──
   Each beat is its own cinematic scene. The sport image sits behind a
   directional overlay (darkens the copy side, leaves the phone side more
   visible). Phones peek from the edges at varied angles per beat. */
.beat {
  min-height: clamp(560px, 92vh, 880px);
  display: flex;
  align-items: center;
  padding: var(--sp-3xl) 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--text-on-dark);
}

.beat-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.beat-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform-origin: center;
  /* GSAP scrubs scale on scroll for slow ken-burns per beat */
}

/* Directional overlay — darkens the copy side, fades over the phone side
   so the photo still reads as the section's atmosphere. */
.beat-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20, 8, 6, 0.30) 0%, rgba(20, 8, 6, 0.70) 100%);
}

/* Copy on the LEFT → darker on the left */
.beat-overlay--right {
  background:
    linear-gradient(95deg, rgba(20, 8, 6, 0.92) 0%, rgba(20, 8, 6, 0.62) 50%, rgba(20, 8, 6, 0.30) 100%),
    linear-gradient(180deg, rgba(20, 8, 6, 0.10) 0%, rgba(20, 8, 6, 0.55) 100%);
}

/* Copy on the RIGHT (beat--reverse) → darker on the right */
.beat-overlay--left {
  background:
    linear-gradient(265deg, rgba(20, 8, 6, 0.92) 0%, rgba(20, 8, 6, 0.62) 50%, rgba(20, 8, 6, 0.30) 100%),
    linear-gradient(180deg, rgba(20, 8, 6, 0.10) 0%, rgba(20, 8, 6, 0.55) 100%);
}

/* Subtle film grain — same hero treatment, keeps photos from looking AI-perfect */
.beat::after {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='2' stitchTiles='stitch' /><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0' /></filter><rect width='160' height='160' filter='url(%23n)' /></svg>");
}

.beat-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2xl);
  align-items: center;
  width: 100%;
}

@media (min-width: 880px) {
  .beat-inner { grid-template-columns: 1fr 1fr; gap: var(--sp-4xl); }
}

.beat--reverse .beat-visual { order: -1; }

@media (max-width: 879px) { .beat-visual { order: -1 !important; } }

.beat-copy { max-width: 520px; }

.beat .kicker {
  color: var(--accent);
}

.beat-title {
  margin: 0 0 var(--sp-lg);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--text-white);
  padding-bottom: 0.06em;
}

.beat-body {
  margin: 0;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-on-dark);
  line-height: 1.6;
  max-width: 460px;
}

.beat-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 360px;
}

/* Per-beat constellation rotation is now owned by GSAP (see main.js)
   so the scroll-scrub drift can compose with it without a transform
   conflict. CSS leaves transforms alone. */

/* ═════════════════════════════════════════════════════════════════════════
   VR CONSTELLATION — multiple floating glass cards per beat
   =========================================================================
   Each .vr-stage is a 3D perspective container holding three .vr-card
   components: a main card (front/center) and two supporting cards
   (back-left, back-right) at varying depth, scale, and rotation.
   ═════════════════════════════════════════════════════════════════════════ */
.vr-stage {
  position: relative;
  width: clamp(300px, 42vw, 540px);
  height: clamp(420px, 50vw, 600px);
  perspective: 1400px;
  transform-style: preserve-3d;
  margin: 0 auto;
  /* Flex-center the main card so it doesn't need a translate(-50%,-50%)
     hack — that hack fights GSAP's transform animation and causes a
     snap when control returns to CSS. */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Base card — frosted glass, bright edge bezel, layered shadow + halo. */
.vr-card {
  position: absolute;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(242, 206, 152, 0.22) 0%, transparent 60%),
    radial-gradient(80% 60% at 0% 100%, rgba(196, 154, 108, 0.16) 0%, transparent 70%),
    linear-gradient(180deg, rgba(58, 22, 15, 0.72) 0%, rgba(20, 8, 6, 0.80) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
          backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(242, 206, 152, 0.32);
  border-radius: clamp(16px, 1.8vw, 22px);
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 224, 0.18),
    inset 0 0 30px rgba(242, 206, 152, 0.05),
    0 24px 60px rgba(20, 8, 6, 0.55),
    0 8px 22px rgba(20, 8, 6, 0.30);
  color: var(--text-on-dark);
  padding: clamp(14px, 1.6vw, 22px);
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.1vw, 14px);
  will-change: transform;
}

/* Halo behind every card — soft warm radial blur, scaled to card. */
.vr-card::before {
  content: '';
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 206, 152, 0.40) 0%, rgba(242, 206, 152, 0.10) 35%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

/* Top-right light leak — sells the projection feel. */
.vr-card::after {
  content: '';
  position: absolute;
  top: -25%;
  right: -15%;
  width: 70%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(255, 245, 224, 0.22), transparent 65%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

.vr-card > * { position: relative; z-index: 1; }

/* MAIN card — biggest, in front. Flex on .vr-stage centers it; no
   transform-translate hack so GSAP can own the transform during entrance
   without fighting CSS. */
.vr-card--main {
  width: clamp(240px, 28vw, 340px);
  position: relative;
  z-index: 3;
}

/* Background cards — smaller, tilted, deeper z (scaled down + blurred). */
.vr-card--bg {
  width: clamp(170px, 18vw, 220px);
  z-index: 1;
}

.vr-card--bg::before { opacity: 0.6; }

.vr-card--left {
  top: 8%;
  left: -6%;
  transform: rotate(-8deg) scale(0.92);
}

.vr-card--right {
  bottom: 8%;
  right: -6%;
  transform: rotate(8deg) scale(0.92);
}

@media (max-width: 879px) {
  /* On phones the perspective constellation collapses to a clean
     vertical stack — every card relative-positioned, full-width inside
     the stage, no overlap. */
  .vr-stage {
    width: 100%;
    max-width: 440px;
    height: auto;
    padding: var(--sp-md) 0;
    perspective: none;
    flex-direction: column;
    gap: var(--sp-md);
  }
  /* Override every desktop position/width on .vr-card and modifiers. */
  .vr-card,
  .vr-card--main,
  .vr-card--bg,
  .vr-card--left,
  .vr-card--right {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
}

@media (max-width: 380px) {
  /* Tighter padding inside cards so a 320pt SE doesn't crop content */
  .vr-card { padding: var(--sp-md); }
}

/* ─── VR card content atoms ───────────────────────────────────────────── */
.vr-h {
  font-size: clamp(10px, 0.85vw, 12px);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  font-weight: 600;
}

.vr-h i { color: var(--accent); margin-right: 4px; }

.vr-title {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.4px;
  line-height: 1.1;
}

.vr-row {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1vw, 12px);
}

.vr-row--tight { gap: 8px; }

.vr-icon {
  width: clamp(32px, 2.6vw, 40px);
  height: clamp(32px, 2.6vw, 40px);
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 700;
  flex: none;
}
.vr-icon--alt { background: var(--accent-dark); color: var(--text-white); }

.vr-row > div { min-width: 0; }

.vr-row-text {
  font-size: clamp(13px, 1.05vw, 15px);
  color: var(--text-on-dark);
  font-weight: 600;
  line-height: 1.15;
}

.vr-row-sub {
  font-size: clamp(10px, 0.85vw, 12px);
  color: var(--text-on-dark-muted);
  margin-top: 3px;
}

.vr-row-sub i { color: var(--accent); margin-right: 4px; }

.vr-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: 4px;
  padding: 8px 14px;
  border-radius: var(--r-round);
  background: var(--accent);
  color: var(--primary);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.vr-cta i { font-size: 11px; }

.vr-cta--alt {
  background: rgba(242, 206, 152, 0.12);
  color: var(--accent);
  border: 1px solid rgba(242, 206, 152, 0.30);
  font-weight: 600;
  align-self: stretch;
  justify-content: center;
}

/* Filter chips card */
.vr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vr-chip {
  padding: 4px 10px;
  border-radius: var(--r-round);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(242, 206, 152, 0.18);
  color: var(--text-on-dark);
  font-size: clamp(10px, 0.85vw, 12px);
  font-weight: 600;
}

.vr-chip--on {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

/* Avatar group */
.vr-avs {
  display: inline-flex;
}

.vr-av {
  width: clamp(28px, 2.4vw, 36px);
  height: clamp(28px, 2.4vw, 36px);
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(11px, 0.95vw, 13px);
  font-weight: 700;
  flex: none;
  border: 2px solid rgba(20, 8, 6, 0.6);
  margin-left: -8px;
}
.vr-av:first-child { margin-left: 0; }

.vr-av--2      { background: var(--accent-dark); color: var(--text-white); }
.vr-av--3      { background: var(--primary-light); color: var(--accent); }
.vr-av--4      { background: rgba(255, 255, 255, 0.10); color: var(--accent); border-color: transparent; }
.vr-av--gold   { background: #f4c430; color: #4a2e00; }
.vr-av--silver { background: #c9c9c9; color: #333; }
.vr-av--bronze { background: #cd7f32; color: #fff; }

/* Live pill (red dot · live label) */
.vr-pill {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-round);
  background: rgba(239, 83, 80, 0.18);
  color: #ffb4b1;
  font-size: clamp(9px, 0.8vw, 11px);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Win pill — sand accent for finished matches */
.vr-pill--win {
  background: rgba(242, 206, 152, 0.18);
  color: var(--accent);
}
.vr-pill--win i { font-size: 10px; }

.vr-pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ef5350;
  box-shadow: 0 0 0 3px rgba(239, 83, 80, 0.30);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

/* Live score block */
.vr-score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  padding: clamp(8px, 1vw, 12px) 0;
}

.vr-score-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.vr-score-team {
  font-size: clamp(11px, 0.9vw, 13px);
  color: var(--text-on-dark);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.vr-score-num {
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1px;
  line-height: 1;
}

/* Winning side — brighter type, the losing side stays muted */
.vr-score-side--won .vr-score-team { color: var(--text-white); }
.vr-score-side--won .vr-score-num  {
  color: #fff5e0;
  text-shadow: 0 0 16px rgba(242, 206, 152, 0.45);
}
.vr-score-side:not(.vr-score-side--won) .vr-score-num {
  color: var(--text-on-dark-muted);
}

.vr-score-vs {
  font-size: clamp(10px, 0.85vw, 12px);
  color: var(--text-on-dark-muted);
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

/* Court status card */
.vr-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vr-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(242, 206, 152, 0.20);
  flex: none;
}

/* Podium */
.vr-podium {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vr-podium-row {
  display: grid;
  grid-template-columns: 16px clamp(28px, 2.4vw, 36px) 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
}

.vr-podium-row--1 { background: rgba(244, 196, 48, 0.10); }
.vr-podium-row--2 { background: rgba(192, 192, 192, 0.10); }
.vr-podium-row--3 { background: rgba(205, 127, 50, 0.10); }

.vr-rank {
  font-weight: 800;
  font-size: clamp(11px, 0.9vw, 13px);
  color: var(--text-on-dark-muted);
  text-align: center;
}
.vr-podium-row--1 .vr-rank { color: #f4c430; }
.vr-podium-row--2 .vr-rank { color: #cdcdcd; }
.vr-podium-row--3 .vr-rank { color: #cd7f32; }

.vr-name {
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 600;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vr-pts {
  font-size: clamp(10px, 0.85vw, 12px);
  font-weight: 700;
  color: var(--accent);
}

/* MVP badge card */
.vr-mvp {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  align-self: flex-start;
  box-shadow: 0 0 0 6px rgba(242, 206, 152, 0.18);
}

.vr-mvp-text {
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.vr-rank-big {
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1.4px;
  line-height: 1;
  font-style: italic;
}

/* Per-sport stat row (Wins / MVPs side by side) */
.vr-stat-row {
  display: flex;
  gap: clamp(14px, 1.6vw, 22px);
}

.vr-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}

.vr-stat-num {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.6px;
}

.vr-stat-lbl {
  font-size: clamp(10px, 0.85vw, 12px);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  font-weight: 600;
  margin-top: 2px;
}

/* Level chip — matches the level pill on the mobile rankings screen
   (beginner / intermediate / advanced / pro / elite) */
.vr-level-chip {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-round);
  background: rgba(196, 154, 108, 0.22);
  color: var(--accent);
  font-size: clamp(9px, 0.8vw, 11px);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.vr-level-chip i { font-size: 10px; }

/* ═════════════════════════════════════════════════════════════════════════
   CREATE EVENTS — sports grouped by mode (Queueing / Meet-up)
   ═════════════════════════════════════════════════════════════════════════ */
.sports-line {
  background: var(--bg-secondary);
  padding: var(--sp-4xl) 0;
  position: relative;
  overflow: hidden;
}

/* Soft accent radial behind the section to add warmth */
.sports-line::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 40% at 50% 0%, rgba(242, 206, 152, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.sports-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--sp-2xl);
  position: relative;
}

.sports-line-title {
  margin: 0 0 var(--sp-md);
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 800;
  letter-spacing: -1.6px;
  color: var(--text);
  line-height: 1.05;
}

.sports-line-sub {
  margin: 0;
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Two-column grid of mode groups (Queueing | Meet-up). Stacks on mobile. */
.sports-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}

@media (min-width: 760px) {
  .sports-groups { grid-template-columns: 7fr 5fr; gap: var(--sp-xl); }
}

.sport-group {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: var(--sp-lg);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  transition: transform 0.25s var(--easing), box-shadow 0.25s var(--easing);
}

.sport-group:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

/* Header row — icon · name+sub · count */
.sport-group-h {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid var(--border-light);
}

.sport-group-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(242, 206, 152, 0.30);
}

.sport-group-icon--alt {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: var(--accent);
  box-shadow: 0 4px 14px rgba(78, 34, 28, 0.20);
}

.sport-group-meta { flex: 1; min-width: 0; }

.sport-group-name {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.4px;
  line-height: 1.1;
}

.sport-group-sub {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  letter-spacing: 0.4px;
  margin-top: 4px;
}

.sport-group-count {
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 800;
  font-style: italic;
  color: var(--accent-dark);
  letter-spacing: -1px;
  line-height: 1;
  flex: none;
}

/* Pill grid inside each group */
.sports-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sport-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-round);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
  transition: transform 0.18s var(--easing), background 0.18s var(--easing), color 0.18s var(--easing), border-color 0.18s var(--easing);
}

.sport-pill i { color: var(--primary); transition: color 0.18s var(--easing); font-size: 14px; }

.sport-pill:hover {
  transform: translateY(-2px);
  background: var(--primary);
  color: var(--accent);
  border-color: var(--primary);
}
.sport-pill:hover i { color: var(--accent); }

/* Footer CTA below the two groups */
.sports-foot {
  text-align: center;
  margin-top: var(--sp-2xl);
  position: relative;
}

/* ═════════════════════════════════════════════════════════════════════════
   CTA — closing pitch on dark gradient
   ═════════════════════════════════════════════════════════════════════════ */
.cta {
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(242, 206, 152, 0.15) 0%, transparent 60%),
    radial-gradient(50% 30% at 0% 100%, rgba(196, 154, 108, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, var(--primary-dark) 0%, #2a120e 100%);
  color: var(--text-on-dark);
  text-align: center;
  padding: var(--sp-4xl) 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Decorative oversized glyph in the bottom-right (mobile-vocabulary
   signature — same pattern as the mobile Featured card). */
.cta-glyph {
  position: absolute;
  right: -3%;
  bottom: -8%;
  font-size: clamp(220px, 32vw, 380px);
  color: var(--accent);
  opacity: 0.06;
  transform: rotate(-12deg);
  pointer-events: none;
  z-index: 0;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Kicker pill — matches the mobile Featured pill (accent dot + label) */
.cta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-round);
  background: rgba(0, 0, 0, 0.20);
  border: 1px solid rgba(242, 206, 152, 0.30);
  color: var(--accent);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: var(--sp-lg);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.cta-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(242, 206, 152, 0.20);
}

.cta-title {
  margin: 0 auto var(--sp-md);
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -2px;
  line-height: 1.04;
  padding-bottom: 0.06em;
  width: 100%;
  text-align: center;
}

/* On wide screens (≥1080px) the title fits on one line; hide the BR.
   When BR is display:none the leading space in " online." remains, so
   the rendered text is "Bring your court online." with proper spacing. */
@media (min-width: 1080px) {
  .cta-title .cta-br { display: none; }
}

.cta-sub {
  margin: 0 0 var(--sp-xl);
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--text-on-dark);
  letter-spacing: 0.1px;
  line-height: 1.55;
  max-width: 540px;
}

/* Three honest claims with checkmarks */
.cta-checks {
  list-style: none;
  margin: 0 0 var(--sp-2xl);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.cta-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-sm);
  color: var(--text-on-dark);
  font-weight: 500;
}

.cta-checks li i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(242, 206, 152, 0.16);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex: none;
}

@media (min-width: 600px) {
  .cta-checks {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px var(--sp-lg);
  }
}

.store-row {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-sm);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--r-round);
  background: #ffffff;
  color: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.20);
  transition: transform 0.18s var(--easing), background 0.18s var(--easing), box-shadow 0.18s var(--easing);
  min-height: 56px;
}

.store-badge:hover { transform: translateY(-2px); background: var(--primary-faint); }

.store-glyph { font-size: 26px; flex: none; color: var(--primary); }
.store-text  { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.store-kicker { font-size: 10px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--text-secondary); font-weight: 500; }
.store-title  { font-size: 17px; font-weight: 700; color: var(--primary); margin-top: 1px; letter-spacing: -0.2px; }

/* ─── Footer (minimal) ────────────────────────────────────────────────── */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  padding: var(--sp-xl) 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--text);
  letter-spacing: -0.3px;
}

.footer-brand img { width: 28px; height: 28px; }

.footer-meta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-md);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.footer-meta a {
  transition: color 0.15s var(--easing);
}
.footer-meta a:hover { color: var(--primary); }

/* ─── GSAP initial states ─────────────────────────────────────────────── */
/* All initial states are SAFE — even if GSAP fails to load (CDN blocked),
   the content stays legible. We only hide things that GSAP will reveal,
   and only with simple opacity + small translate (no clipping/masking). */
.reveal       { opacity: 0; transform: translateY(20px); }
.reveal-phone { opacity: 0; transform: translateY(40px) scale(0.96); }

.hero-title .word { opacity: 0; transform: translateY(28px); }

/* JS-disabled fallback: if the script never sets opacity:1, surface them
   after a short delay via plain CSS so the page is never permanently
   blank. ScrollTrigger-driven reveals further down can still work. */
@media (scripting: none) {
  .reveal, .reveal-phone, .hero-title .word { opacity: 1; transform: none; }
}
