/* =========================================================
   Clutch or Cry — stylesheet
   Sections: Reset, Variables, Utilities, Animations,
   Nav, Hero, Marquee, About, Tournament, How-it-works,
   FAQ band, Footer, Mascots, Responsive

   MASCOT LAYOUT NOTE
   ------------------
   Mobile (<760px): mascots are absolutely positioned corner
   accents — unchanged from the version that already worked.
   Desktop (>=760px): every mascot becomes a normal flow item
   inside a reserved lane next to its content block. That means
   a mascot can never overlap a card and can never be clipped
   by the viewport edge, at any window width.
   ========================================================= */

/* ---------- Reset ---------- */
*{ margin:0; padding:0; box-sizing:border-box; }
html{
  scroll-behavior:smooth;
  width:100%;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; }
button{ font:inherit; }

/* ---------- Variables ---------- */
:root{
  --text:#16161D;
  --text-soft:#3A3A48;
  --bg:#F4F4F7;
  --surface:#FFFFFF;
  --surface-tint:#EFEFFF;
  --accent:#6B6CFF;
  --accent-dark:#4C4DE0;
  --accent-deep:#3A3BC4;
  --muted:#68687A;
  --line:rgba(22,22,29,0.10);
  --line-strong:rgba(22,22,29,0.18);
  --shadow:0 6px 18px rgba(22,22,45,0.06);
  --shadow-lg:0 22px 48px rgba(22,22,45,0.12);
  --shadow-accent:0 14px 34px rgba(107,108,255,0.28);
  --grad:linear-gradient(135deg, var(--accent), var(--accent-deep));

  --header-h:64px;
  --section-pad-y:56px;
  --section-pad-y-lg:104px;
  --radius:18px;
}

body{
  background-color:var(--bg);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(22,22,45,0.05)'/%3E%3C/svg%3E"),
    radial-gradient(900px 520px at 88% -80px, rgba(107,108,255,0.13), transparent 60%),
    radial-gradient(760px 480px at -10% 22%, rgba(76,77,224,0.09), transparent 62%);
  background-size:26px 26px, auto, auto;
  background-repeat:repeat, no-repeat, no-repeat;
  color:var(--text);
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  position:relative;
}

/* faint dot grid for texture — sits under everything */
body > *{ position:relative; z-index:1; }

.display{
  font-family:'Archivo Black','Arial Black',sans-serif;
  letter-spacing:-0.015em;
  line-height:1.02;
}

::selection{ background:rgba(107,108,255,0.22); }

:focus-visible{
  outline:2.5px solid var(--accent);
  outline-offset:3px;
  border-radius:6px;
}

/* anchors clear the sticky header */
section, .voice-band, footer, .hero{ scroll-margin-top:calc(var(--header-h) + 14px); }

/* ---------- Utilities ---------- */
.accent-word{ color:var(--accent-dark); }

/* reveal on scroll */
.reveal{
  opacity:0; transform:translateY(28px);
  transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in{ opacity:1; transform:translateY(0); }
.reveal-stagger.in > *{ animation:fadeUp .6s cubic-bezier(.2,.7,.2,1) both; }
.reveal-stagger.in > *:nth-child(1){ animation-delay:.05s; }
.reveal-stagger.in > *:nth-child(2){ animation-delay:.14s; }
.reveal-stagger.in > *:nth-child(3){ animation-delay:.23s; }
.reveal-stagger.in > *:nth-child(4){ animation-delay:.32s; }
.reveal-stagger.in > *:nth-child(5){ animation-delay:.41s; }

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; }
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; }
}

/* ---------- Animations ---------- */
@keyframes fadeUp{ from{ opacity:0; transform:translateY(20px);} to{ opacity:1; transform:translateY(0);} }
@keyframes pulse{ 0%,100%{ opacity:1; transform:scale(1);} 50%{ opacity:.4; transform:scale(1.3);} }
@keyframes scrollLeft{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }
@keyframes heroFloat{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-14px);} }
@keyframes blobPulse{ 0%,100%{ opacity:.45; transform:translateX(-50%) scale(1);} 50%{ opacity:.7; transform:translateX(-50%) scale(1.15);} }

.doodle{ position:absolute; pointer-events:none; z-index:1; }
.float-a{ animation:floatA 6s ease-in-out infinite; }
.float-b{ animation:floatB 7.5s ease-in-out infinite; }
.float-c{ animation:floatC 5s ease-in-out infinite; }
@keyframes floatA{ 0%,100%{ transform:translateY(0) rotate(0deg);} 50%{ transform:translateY(-14px) rotate(8deg);} }
@keyframes floatB{ 0%,100%{ transform:translateY(0) rotate(0deg);} 50%{ transform:translateY(12px) rotate(-10deg);} }
@keyframes floatC{ 0%,100%{ transform:scale(1) rotate(0deg); opacity:1;} 50%{ transform:scale(1.3) rotate(20deg); opacity:.55;} }

/* Friendly mascot float, used all over the site */
@keyframes mascotBob{
  0%{ transform:translate3d(0,0,0); }
  25%{ transform:translate3d(2px,-6px,0); }
  50%{ transform:translate3d(0,-11px,0); }
  75%{ transform:translate3d(-2px,-5px,0); }
  100%{ transform:translate3d(0,0,0); }
}

/* Anything off-screen stops animating. Set by the IntersectionObserver in
   main.js — nothing burns frames on a section you can't see. */
.anim-off,
.anim-off::before{ animation-play-state:paused !important; }

/* ---------- Scroll progress ---------- */
.scroll-progress{
  position:fixed; left:0; right:0;
  top:calc(var(--header-h) - 3px);
  height:3px;
  z-index:101;
  pointer-events:none;
  background:transparent;
}
.scroll-progress-bar{
  display:block; height:100%; width:100%;
  background:var(--grad);
  border-radius:0 3px 3px 0;
  transform:scaleX(0); transform-origin:0 50%;
  will-change:transform;
}

/* ---------- Nav ---------- */
header{
  position:sticky; top:0; z-index:100;
  background:rgba(244,244,247,0.92);
  border-bottom:1px solid transparent;
  height:var(--header-h);
  display:flex;
  align-items:center;
  transition:background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
header.scrolled{
  background:rgba(250,250,253,0.88);
  border-bottom-color:var(--line);
  box-shadow:0 6px 24px rgba(22,22,45,0.06);
}
.nav-inner{
  width:100%;
  max-width:1180px; margin:0 auto;
  padding:0 18px;
  display:flex; align-items:center; justify-content:space-between;
  position:relative;
  gap:10px;
}
.brand-mark{
  display:flex; align-items:center;
  flex:0 0 auto;
  text-decoration:none;
  transition:transform .3s cubic-bezier(.3,.9,.3,1.4);
}
.brand-mark:hover{ transform:translateY(-1px); }
.brand-mark img{
  height:72px; width:auto; max-width:none;
  display:block;
}
.nav-links{ display:none; gap:30px; font-size:14px; font-weight:600; color:var(--muted); }
.nav-links a{ text-decoration:none; transition:color .2s; position:relative; padding:4px 0; }
.nav-links a span{ position:relative; }
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:0; width:100%; height:2px;
  background:var(--grad); border-radius:2px;
  transform:scaleX(0); transform-origin:right;
  transition:transform .3s cubic-bezier(.3,.9,.3,1);
}
.nav-links a:hover{ color:var(--accent-dark); }
.nav-links a:hover::after{ transform:scaleX(1); transform-origin:left; }
.nav-links a.active{ color:var(--text); }
.nav-links a.active::after{ transform:scaleX(1); transform-origin:left; }

.nav-actions{ display:flex; align-items:center; gap:8px; flex:0 0 auto; }

.cta-btn{
  background:var(--grad); color:#fff;
  border:none;
  padding:11px 20px; font-weight:700; font-size:13px;
  border-radius:999px; text-decoration:none;
  cursor:pointer; transition:transform .18s ease, box-shadow .18s ease, filter .2s ease;
  display:inline-block;
  white-space:nowrap;
  position:relative;
  overflow:hidden;
  isolation:isolate;
  box-shadow:0 6px 18px rgba(107,108,255,0.28);
}
.cta-btn::before{
  content:"";
  position:absolute; top:0; left:-60%;
  width:40%; height:100%;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transform:skewX(-20deg);
  transition:left .6s ease;
  z-index:1;
}
.cta-btn:hover::before{ left:130%; }
.cta-btn:hover{ transform:translateY(-2px) scale(1.03); filter:saturate(1.1); box-shadow:var(--shadow-accent); }
.cta-btn:active{ transform:translateY(0) scale(0.98); }
.cta-btn.ghost{
  background:transparent; color:var(--text); border:1.5px solid var(--line-strong);
  box-shadow:none;
}
.cta-btn.ghost:hover{ border-color:var(--accent); color:var(--accent-dark); box-shadow:none; background:rgba(107,108,255,0.07); }
.cta-btn.small{ padding:8px 15px; font-size:12px; }

.menu-btn{
  display:flex; width:38px; height:38px; border-radius:11px;
  border:1.5px solid var(--line-strong);
  align-items:center; justify-content:center;
  background:transparent;
  cursor:pointer;
  flex:0 0 auto;
  flex-direction:column;
  gap:4px;
  transition:border-color .25s ease, transform .25s ease, background .25s ease;
}
.menu-btn:hover{ border-color:var(--accent); transform:scale(1.06); }
.menu-btn:active{ transform:scale(0.92); }
.menu-bar{
  display:block; width:16px; height:2px; border-radius:2px;
  background:var(--text);
  transition:transform .35s cubic-bezier(.5,-0.4,.4,1.4), opacity .2s ease, width .25s ease, background .25s ease;
}
.menu-btn[aria-expanded="true"]{ border-color:var(--accent); background:var(--surface-tint); }
.menu-btn[aria-expanded="true"] .menu-bar{ background:var(--accent-dark); }
.menu-btn[aria-expanded="true"] .menu-bar:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bar:nth-child(2){ opacity:0; width:0; }
.menu-btn[aria-expanded="true"] .menu-bar:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

.mobile-nav-backdrop{
  position:fixed; inset:0;
  background:rgba(22,22,29,0.34);
  z-index:98;
  opacity:0;
  pointer-events:none;
  transition:opacity .35s ease;
}
.mobile-nav-backdrop.open{ opacity:1; pointer-events:auto; }

.mobile-nav{
  display:flex;
  position:fixed;
  top:0; right:0;
  bottom:0;
  width:min(82vw, 340px);
  background:var(--surface);
  padding:calc(var(--header-h) + 18px) 24px 30px;
  flex-direction:column;
  gap:2px;
  z-index:99;
  overflow:hidden;
  box-shadow:-16px 0 50px rgba(22,22,45,0.18);
  transform:translateX(100%);
  transition:transform .5s cubic-bezier(.16,.86,.3,1), visibility 0s linear .5s;
  visibility:hidden;
}
.mobile-nav.open{ transform:translateX(0); visibility:visible; transition:transform .5s cubic-bezier(.16,.86,.3,1), visibility 0s linear 0s; }
.mobile-nav-blob{
  position:absolute; border-radius:50%; pointer-events:none;
  opacity:0; z-index:0;
  transition:opacity .6s ease .1s;
}
.mobile-nav.open .mobile-nav-blob{ opacity:1; }
.mnb-a{ width:220px; height:220px; background:radial-gradient(circle, rgba(107,108,255,0.35), transparent 70%); top:-60px; right:-80px; }
.mnb-b{ width:160px; height:160px; background:radial-gradient(circle, rgba(76,77,224,0.28), transparent 70%); bottom:10%; left:-60px; }

.mobile-nav a{
  text-decoration:none; color:var(--text); font-weight:700; font-size:19px;
  padding:16px 4px; border-bottom:1px solid var(--line);
  display:flex; align-items:baseline; gap:12px;
  position:relative; z-index:1;
  opacity:0; transform:translateX(28px);
  transition:opacity .45s ease, transform .45s ease, color .2s ease, padding-left .25s ease;
}
.mnav-num{ font-size:11px; font-weight:800; color:var(--accent); letter-spacing:.04em; }
.mobile-nav.open a{ opacity:1; transform:translateX(0); }
.mobile-nav.open a:nth-child(3){ transition-delay:.08s; }
.mobile-nav.open a:nth-child(4){ transition-delay:.14s; }
.mobile-nav.open a:nth-child(5){ transition-delay:.20s; }
.mobile-nav.open a:nth-child(6){ transition-delay:.26s; }
.mobile-nav.open a:nth-child(7){ transition-delay:.32s; }
.mobile-nav a:active{ padding-left:12px; color:var(--accent-dark); }
.mobile-nav a:last-child{ border-bottom:none; }
.mobile-nav .cta-btn{
  margin-top:18px; text-align:center; font-size:15px; padding:14px 20px;
}


/* ---------- Hero ---------- */
.hero{
  position:relative;
  max-width:1180px; margin:0 auto;
  padding:48px 20px 0;
  display:flex; flex-direction:column; align-items:center;
  text-align:center;
  overflow-x:clip; overflow-y:visible;
}
.hero-tag{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(107,108,255,0.10);
  border:1px solid rgba(107,108,255,0.35);
  color:var(--accent-dark);
  font-size:12px; font-weight:700;
  padding:7px 14px; border-radius:999px;
  margin-bottom:22px;
  box-shadow:0 4px 14px rgba(107,108,255,0.12);
}
.hero-tag .dot{ width:7px; height:7px; border-radius:50%; background:var(--accent); animation:pulse 1.6s ease-in-out infinite; }

.hero h1{
  font-size:clamp(36px,9.5vw,84px);
  line-height:1.12;
  text-transform:uppercase;
}
.hero h1 .underline-wrap{ position:relative; display:inline-block; }
.hero h1 svg.underline-svg{
  position:absolute; left:0; bottom:2px; width:100%; height:0.16em;
  overflow:visible;
}

.hero p.lede{
  margin-top:22px; max-width:38ch;
  font-size:16px; line-height:1.6; color:var(--muted);
}
.hero .cta-row{
  margin-top:30px; display:flex; gap:12px; flex-wrap:wrap; justify-content:center;
}

.hero-facts{
  display:none;
  list-style:none;
  margin-top:26px;
  gap:10px; flex-wrap:wrap;
}
.hero-facts li{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:600; color:var(--muted);
  background:rgba(255,255,255,0.7);
  border:1px solid var(--line);
  padding:7px 13px; border-radius:999px;
}
.hero-facts li::before{
  content:""; width:6px; height:6px; border-radius:50%;
  background:var(--accent); flex:0 0 auto;
}

.hero-art{
  position:relative;
  margin-top:34px;
  width:100%;
  max-width:230px;
  display:flex; align-items:flex-end; justify-content:center;
}
.hero-art img{
  width:100%;
  max-width:150px;
  margin:0 auto;
  position:relative; z-index:2;
  animation:heroFloat 4.5s ease-in-out infinite;
  filter:drop-shadow(0 18px 26px rgba(22,22,45,0.18));
  will-change:transform;
}
.hero-ground{
  position:absolute; bottom:2px; left:50%;
  width:52%; height:14px;
  transform:translateX(-50%);
  background:radial-gradient(ellipse at center, rgba(22,22,45,0.18), transparent 70%);
  z-index:1;
  pointer-events:none;
}

/* A quiet halo the mascot stands in front of — it gives the figure somewhere
   to sit instead of floating loose in the corner. */
.glow-blob{
  position:absolute;
  left:50%; bottom:6%;
  width:min(100%, 190px); aspect-ratio:1;
  border-radius:50%;
  transform:translateX(-50%);
  background:radial-gradient(circle at 50% 45%, rgba(107,108,255,0.24), rgba(107,108,255,0.06) 58%, transparent 73%);
  box-shadow:inset 0 0 0 1px rgba(107,108,255,0.16);
  z-index:0;
  animation:haloPulse 6s ease-in-out infinite;
}
@keyframes haloPulse{ 0%,100%{ opacity:.85; } 50%{ opacity:1; } }

/* ---------- Ambient blobs ---------- */
/* These are soft radial gradients that already fade to transparent, so the
   old blur() and morphing border-radius were invisible but repainted a huge
   surface on every frame — by far the biggest source of jank. Now they only
   move, which the compositor handles on the GPU for free. */
.blob{
  position:absolute;
  pointer-events:none;
  z-index:0;
  opacity:.55;
  border-radius:50%;
  transform:translateZ(0);
  backface-visibility:hidden;
}
/* These drifted by about a dozen pixels over fourteen seconds, which nobody
   can perceive on a gradient this soft — but keeping six large layers alive
   every frame cost roughly a third of the frame rate on a mid-range phone.
   They are static now and look exactly the same. */
.blob-about-a{
  width:220px; height:220px; top:-60px; right:-70px;
  background:radial-gradient(circle at 35% 35%, rgba(107,108,255,0.28), transparent 72%);
}
.blob-about-b{
  width:140px; height:140px; bottom:-30px; left:-40px;
  background:radial-gradient(circle at 60% 40%, rgba(76,77,224,0.22), transparent 72%);
}
.blob-tournament{
  width:260px; height:260px; top:-90px; left:calc(50% - 130px);
  background:radial-gradient(circle at 40% 40%, rgba(107,108,255,0.20), transparent 70%);
}
.blob-how{
  width:200px; height:200px; bottom:-70px; right:-60px;
  background:radial-gradient(circle at 45% 45%, rgba(107,108,255,0.22), transparent 72%);
}
.blob-faq{
  width:280px; height:280px; top:-100px; right:-100px;
  background:radial-gradient(circle at 40% 40%, rgba(107,108,255,0.18), transparent 72%);
}
.blob-footer{
  width:240px; height:240px; bottom:-80px; left:calc(50% - 120px);
  background:radial-gradient(circle at 50% 50%, rgba(107,108,255,0.24), transparent 72%);
}

/* ---------- Marquee ---------- */
.marquee-wrap{
  background:var(--grad); color:#fff;
  overflow:hidden; white-space:nowrap;
  contain:paint;
  padding:13px 0;
  margin-top:44px;
  border-top:2px solid var(--text);
  border-bottom:2px solid var(--text);
  box-shadow:0 10px 30px rgba(107,108,255,0.22);
}
.marquee-track{
  display:inline-flex; gap:0;
  animation:scrollLeft 24s linear infinite;
  will-change:transform;
}
.marquee-track span{
  font-family:'Archivo Black','Arial Black',sans-serif;
  font-size:15px; text-transform:uppercase;
  letter-spacing:.02em;
  display:inline-flex; align-items:center; gap:28px;
  padding-right:28px;
}

/* ---------- Section shell ---------- */
section{
  max-width:1180px; margin:0 auto;
  padding:var(--section-pad-y) 20px;
  position:relative;
}
.eyebrow-row{ display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.eyebrow-row .bar{ width:28px; height:3px; background:var(--grad); border-radius:2px; }
.eyebrow-row span{ font-size:12.5px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.08em; }
.section-head{ margin-bottom:36px; }
.section-head h2{ font-size:clamp(28px,7vw,50px); text-transform:uppercase; }
.section-head p{ margin-top:14px; font-size:15px; color:var(--muted); max-width:48ch; line-height:1.6; }

/* ---------- About ---------- */
.about-grid{ position:relative; }
.about-head{ margin-bottom:20px; }
.about-head h2{ font-size:clamp(24px,6vw,38px); }
.about-copy p{ font-size:15px; line-height:1.78; color:var(--muted); margin-bottom:16px; }
.stat-chips{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:32px; }
.chip{
  position:relative;
  border:1px solid var(--line);
  border-radius:16px;
  padding:20px 16px; background:var(--surface);
  box-shadow:var(--shadow);
  overflow:hidden;
  transition:transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.chip::after{
  content:"";
  position:absolute; left:0; top:0; height:3px; width:100%;
  background:var(--grad);
  transform:scaleX(0); transform-origin:left;
  transition:transform .35s cubic-bezier(.3,.9,.3,1);
}
.chip:hover{ transform:translateY(-5px); border-color:rgba(107,108,255,0.45); box-shadow:var(--shadow-lg); }
.chip:hover::after{ transform:scaleX(1); }
.chip .num{ font-family:'Archivo Black','Arial Black',sans-serif; font-size:24px; color:var(--accent-dark); }
.chip .label{ margin-top:6px; font-size:12px; color:var(--muted); line-height:1.45; }

/* ---------- Tournament ---------- */
.tournament-card{
  position:relative;
  border-radius:26px;
  background:linear-gradient(160deg, var(--surface-tint), var(--surface) 55%);
  border:1px solid rgba(107,108,255,0.25);
  box-shadow:var(--shadow-lg);
  padding:34px 22px;
  overflow:hidden;
}
.tournament-card::before{
  content:"";
  position:absolute; top:-60px; right:-60px;
  width:220px; height:220px; border-radius:50%;
  background:radial-gradient(circle, rgba(107,108,255,0.20), transparent 70%);
}
.live-badge{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(40,199,111,0.10); color:#128A4B;
  border:1px solid rgba(40,199,111,0.35);
  padding:7px 14px; border-radius:999px;
  font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.04em;
  margin-bottom:20px; position:relative; z-index:2;
}
.live-badge .dot{ width:7px; height:7px; border-radius:50%; background:#28C76F; animation:pulse 1.4s ease-in-out infinite; }
.tournament-title{ font-size:clamp(26px,6vw,42px); text-transform:uppercase; position:relative; z-index:2; margin-bottom:4px; }
.tournament-meta{ display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; position:relative; z-index:2; }
.meta-pill{
  background:rgba(255,255,255,0.72); border:1px solid var(--line);
  border-radius:14px; padding:12px 14px; flex:1 1 130px;
  transition:border-color .25s ease, transform .25s ease;
}
.meta-pill:hover{ border-color:rgba(107,108,255,0.4); transform:translateY(-2px); }
.meta-pill .k{ font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; }
.meta-pill .v{ font-size:16px; font-weight:700; margin-top:4px; font-family:'Archivo Black','Arial Black',sans-serif; }
.tournament-cta{ margin-top:28px; position:relative; z-index:2; }
.countdown{ display:flex; gap:10px; margin-top:24px; position:relative; z-index:2; }
.countdown .box{
  background:var(--surface); border:1px solid rgba(107,108,255,0.3);
  border-radius:14px; padding:12px 14px; text-align:center; min-width:60px;
  box-shadow:0 6px 16px rgba(22,22,45,0.07);
}
.countdown .box .n{ font-family:'Archivo Black','Arial Black',sans-serif; font-size:24px; color:var(--accent-dark); display:inline-block; }
.countdown .box .u{ font-size:10px; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; margin-top:2px; }
.countdown .box .n.tick{ animation:digitTick .4s cubic-bezier(.3,1.4,.4,1); }
@keyframes digitTick{
  0%{ transform:translateY(0); opacity:1; }
  40%{ transform:translateY(-8px); opacity:.4; }
  41%{ transform:translateY(8px); }
  100%{ transform:translateY(0); opacity:1; }
}

/* ---------- Steps ---------- */
.steps-wrap{ display:flex; flex-direction:column; gap:14px; }
.step-row{
  display:flex; gap:16px; align-items:flex-start;
  background:var(--surface); border:1px solid var(--line);
  border-radius:16px; padding:18px;
  box-shadow:var(--shadow);
  transition:transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.step-row:hover{ transform:translateX(6px); border-color:rgba(107,108,255,0.45); box-shadow:var(--shadow-lg); }
.step-num{
  flex:0 0 auto; width:38px; height:38px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  font-family:'Archivo Black','Arial Black',sans-serif;
  font-size:16px; background:var(--grad); color:#fff;
  box-shadow:0 6px 14px rgba(107,108,255,0.3);
}
.step-body h3{ font-size:16px; margin-bottom:5px; }
.step-body p{ color:var(--muted); font-size:13.5px; line-height:1.6; }

/* ---------- FAQ band ---------- */
.voice-band{
  background:var(--surface);
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  position:relative; overflow:hidden;
}
.voice-inner{ max-width:820px; margin:0 auto; padding:64px 20px; position:relative; z-index:1; }
.faq-heading{ font-size:clamp(26px,7vw,44px); margin-top:6px; }

.faq-list{ margin-top:32px; display:flex; flex-direction:column; gap:12px; }
.faq-item{
  background:var(--bg); border:1px solid var(--line);
  border-radius:16px; overflow:hidden;
  transition:border-color .25s ease, box-shadow .25s ease, transform .25s ease, background .25s ease;
}
.faq-item:hover{ border-color:rgba(107,108,255,0.4); transform:translateY(-2px); }
.faq-item.open{ border-color:var(--accent); box-shadow:var(--shadow); background:var(--surface); }

.faq-question{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px;
  background:none; border:none; text-align:left; cursor:pointer;
  padding:18px; font-size:15px; font-weight:700; color:var(--text);
  font-family:inherit;
}
.faq-question:hover{ color:var(--accent-dark); }
.faq-question:focus-visible{ outline:2px solid var(--accent); outline-offset:-2px; }

.faq-icon{
  position:relative; flex:0 0 auto; width:24px; height:24px; border-radius:50%;
  border:1.5px solid var(--line-strong);
  transition:transform .4s cubic-bezier(.3,.9,.3,1.4), border-color .25s ease, background .25s ease;
}
.faq-icon::before, .faq-icon::after{
  content:""; position:absolute; top:50%; left:50%;
  background:var(--text);
  transition:transform .3s ease, background .25s ease;
}
.faq-icon::before{ width:10px; height:1.6px; transform:translate(-50%,-50%); }
.faq-icon::after{ width:1.6px; height:10px; transform:translate(-50%,-50%); }
.faq-item.open .faq-icon{ transform:rotate(180deg); border-color:var(--accent); background:var(--accent); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after{ background:#fff; }
.faq-item.open .faq-icon::after{ transform:translate(-50%,-50%) rotate(90deg) scaleY(0); }

.faq-answer-wrap{
  display:grid; grid-template-rows:0fr;
  transition:grid-template-rows .45s cubic-bezier(.4,0,.2,1);
}
.faq-item.open .faq-answer-wrap{ grid-template-rows:1fr; }
.faq-answer-inner{ overflow:hidden; }
.faq-answer-inner p{
  padding:0 18px 18px; color:var(--muted); font-size:13.5px; line-height:1.7; max-width:60ch;
  opacity:0; transform:translateY(-6px);
  transition:opacity .35s ease .05s, transform .35s ease .05s;
}
.faq-item.open .faq-answer-inner p{ opacity:1; transform:translateY(0); }

/* ---------- Footer ---------- */
footer{ padding:80px 20px 44px; position:relative; overflow-x:clip; overflow-y:visible; }
.footer-inner{ max-width:900px; margin:0 auto; text-align:center; position:relative; z-index:2; }
.footer-inner h2{ font-size:clamp(32px,9vw,60px); text-transform:uppercase; }
.footer-inner p{ margin-top:16px; color:var(--muted); font-size:15px; }
.footer-cta{ margin-top:30px; }
.footer-cta .cta-btn{ font-size:15px; padding:15px 32px; }
.footer-meta{
  max-width:900px; margin-left:auto; margin-right:auto;
  margin-top:56px; padding-top:24px; border-top:1px solid var(--line);
  display:flex; justify-content:center; gap:20px; flex-wrap:wrap;
  font-size:12px; color:var(--muted);
  position:relative; z-index:2;
}

/* ---------- Mascots ---------- */
.mascot{
  position:absolute;
  z-index:1;
  filter:drop-shadow(0 12px 18px rgba(22,22,45,0.14));
  rotate:var(--tilt,0deg);
  animation:mascotBob 6s cubic-bezier(.45,.05,.35,.95) infinite;
  opacity:0;
  transform:translateY(20px) scale(.9);
  transition:opacity .9s cubic-bezier(.16,.86,.3,1), transform .9s cubic-bezier(.16,.86,.3,1);
  height:auto;
  cursor:pointer;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.mascot.in{ opacity:1; transform:translateY(0) scale(1); }
.mascot img{ width:100%; height:auto; pointer-events:none; }
.mascot::before{
  content:"";
  position:absolute; top:50%; left:50%;
  width:70%; height:70%;
  background:radial-gradient(circle, rgba(107,108,255,0.32), transparent 72%);
  transform:translate(-50%,-50%);
  z-index:-1;
  opacity:.5;
  pointer-events:none;
}

/* tap/click feedback — plays instead of the idle bob while active */
.mascot.poke{ animation:mascotPoke .6s cubic-bezier(.3,1.6,.4,1); }
@keyframes mascotPoke{
  0%{ transform:scale(1); }
  35%{ transform:scale(1.18); }
  65%{ transform:scale(0.94); }
  100%{ transform:scale(1); }
}
.mascot:hover{ filter:drop-shadow(0 16px 26px rgba(22,22,45,0.22)) brightness(1.03); }

/* speech bubble that pops up when a mascot is tapped */
.mascot-bubble{
  position:absolute;
  left:50%; bottom:100%;
  transform:translate(-50%,6px) scale(.85);
  margin-bottom:8px;
  background:var(--text); color:#fff;
  font-family:'Inter',system-ui,sans-serif;
  font-weight:700;
  font-size:11px;
  white-space:nowrap;
  padding:6px 11px;
  border-radius:999px;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease, transform .2s ease;
  z-index:5;
}
.mascot-bubble::after{
  content:"";
  position:absolute; top:100%; left:50%;
  transform:translateX(-50%);
  border:5px solid transparent;
  border-top-color:var(--text);
}
.mascot-bubble.show{ opacity:1; transform:translate(-50%,0) scale(1); }

/* Mobile: mascots are small, tappable corner accents with generous clearance.
   The layout wrappers collapse (display:contents) so mobile is byte-for-byte
   the same box model it was before. */
.tournament-row, .how-row, .voice-layout, .footer-stage{ display:contents; }

.mascot-peace-about{ width:64px; top:-54px; right:8px; --tilt:-6deg; animation-duration:5.4s; animation-delay:0s; }
.mascot-relaxing-tournament{ display:block; width:60px; right:10px; bottom:-16px; --tilt:5deg; animation-duration:6.6s; animation-delay:.3s; }
.mascot-sitting-how{ display:block; width:58px; left:10px; bottom:12px; --tilt:-4deg; animation-duration:6s; animation-delay:.6s; }
.mascot-gamer-voice{ width:70px; right:12px; bottom:-18px; --tilt:6deg; animation-duration:7s; animation-delay:.15s; }
.mascot-armsfolded-footer{ display:block; width:44px; left:10px; top:-22px; --tilt:-5deg; animation-duration:5.8s; animation-delay:.45s; }
.mascot-back-footer{ display:block; width:42px; right:10px; bottom:-52px; --tilt:4deg; animation-duration:6.4s; animation-delay:.75s; }

/* =========================================================
   DESKTOP / TABLET (>=760px)
   Mascots switch from absolute corner accents to flow items
   inside a reserved lane beside their content block.
   ========================================================= */
@media (min-width:760px){
  :root{
    --header-h:76px;
    --lane:clamp(112px, 14vw, 178px);   /* reserved mascot lane width */
    --lane-gap:clamp(20px, 3vw, 44px);
  }
  .nav-links{ display:flex; }
  .menu-btn{ display:none; }
  .mobile-nav{ display:none !important; }
  .mobile-nav-backdrop{ display:none !important; }

  section{ padding:var(--section-pad-y-lg) 20px; }

  /* --- Hero --- */
  .hero{ flex-direction:row; text-align:left; align-items:center; padding:54px 20px 10px; gap:clamp(28px,5vw,60px); }
  .hero-copy{ flex:1 1 58%; min-width:0; }
  .hero-tag{ margin-left:0; margin-bottom:20px; }
  .hero h1{ font-size:clamp(42px,5.4vw,72px); }
  .hero p.lede{ margin-top:18px; font-size:15.5px; max-width:42ch; }
  .hero .cta-row{ justify-content:flex-start; margin-top:26px; }
  .hero-facts{ display:flex; margin-top:22px; }
  .hero-art{ flex:0 1 42%; max-width:300px; margin-top:0; }
  .hero-art img{ max-width:224px; }
  .glow-blob{ width:min(100%, 270px); }

  /* --- About: copy + chips + mascot tucked under the copy --- */
  .about-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    grid-template-areas:
      "copy chips"
      "mascot chips";
    grid-template-rows:auto 1fr;
    column-gap:clamp(32px,5vw,64px);
    align-items:start;
  }
  .about-copy{ grid-area:copy; }
  .stat-chips{ grid-area:chips; margin-top:0; gap:14px; }
  .mascot-peace-about{
    grid-area:mascot;
    position:relative; inset:auto;
    width:clamp(96px,12vw,132px);
    justify-self:start; align-self:end;
    margin-top:20px;
    --tilt:-6deg;
  }
  .chip{ padding:24px 20px; }

  /* --- Tournament: card + mascot lane on the right --- */
  .tournament-row{
    display:flex; align-items:flex-end;
    gap:var(--lane-gap);
  }
  .tournament-card{ flex:1 1 auto; min-width:0; padding:44px 40px; }
  .mascot-relaxing-tournament{
    position:relative; inset:auto;
    flex:0 0 var(--lane); width:var(--lane);
    margin-bottom:-2px;
    --tilt:5deg; animation-duration:6.5s;
  }

  /* --- How it works: mascot lane on the left, steps in 2 columns --- */
  .how-row{
    display:flex; flex-direction:row-reverse; align-items:flex-end;
    gap:var(--lane-gap);
  }
  .steps-wrap{
    flex:1 1 auto; min-width:0;
    display:grid; grid-template-columns:1fr 1fr; gap:14px;
  }
  .step-row:hover{ transform:translateY(-4px); }
  .mascot-sitting-how{
    position:relative; inset:auto;
    flex:0 0 var(--lane); width:var(--lane);
    margin-bottom:-2px;
    --tilt:-4deg; animation-duration:7s;
  }

  /* --- FAQ: question column + mascot lane on the right --- */
  .voice-layout{
    display:flex; align-items:flex-end;
    gap:var(--lane-gap);
    max-width:1180px; margin:0 auto; padding:0 20px;
  }
  .voice-inner{ flex:1 1 auto; min-width:0; max-width:820px; margin:0; padding:88px 0; }
  .mascot-gamer-voice{
    position:relative; inset:auto;
    flex:0 0 var(--lane); width:var(--lane);
    margin-bottom:88px;
    --tilt:6deg; animation-duration:7s;
  }

  /* --- Footer: two mascots flanking the closing CTA --- */
  .footer-stage{
    display:flex; align-items:center; justify-content:center;
    gap:clamp(16px,4vw,64px);
    max-width:1180px; margin:0 auto;
  }
  .footer-inner{ flex:1 1 auto; min-width:0; }
  .mascot-armsfolded-footer,
  .mascot-back-footer{
    position:relative; inset:auto;
    flex:0 0 clamp(92px,11vw,146px); width:clamp(92px,11vw,146px);
  }
  .mascot-armsfolded-footer{ --tilt:-5deg; animation-duration:5.8s; }
  .mascot-back-footer{ --tilt:4deg; animation-duration:6.4s; }

  .tournament-meta{ flex-wrap:nowrap; }
  .faq-question{ padding:20px 22px; font-size:16px; }
  .faq-answer-inner p{ padding:0 22px 20px; font-size:14px; }
  .mascot-bubble{ font-size:12px; padding:7px 13px; }
}

@media (min-width:1000px){
  .hero-art img{ max-width:250px; }
  .tournament-card{ padding:48px; }
  .step-row{ padding:22px; }
  .step-body h3{ font-size:17px; }

  /* wide screens have room for a proper mascot lane beside the About block,
     so it lines up with the same lane used by every other section */
  .about-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) var(--lane);
    grid-template-areas:"copy chips mascot";
    grid-template-rows:auto;
    column-gap:clamp(30px,4vw,54px);
  }
  .mascot-peace-about{
    width:var(--lane);
    justify-self:center; align-self:end;
    margin-top:0;
  }
}

@media (min-width:1280px){
  .hero{ padding-top:66px; }
  .hero-art{ max-width:330px; }
  .hero-art img{ max-width:272px; }
  .glow-blob{ width:min(100%, 300px); }
}

/* Sections that host offset mascots keep their overflow open on mobile.
   On desktop the mascots live inside the layout, so the full-bleed FAQ band
   can clip its own ambient blob again and stop creating sideways scroll. */
/* Vertical overflow stays open at every width so a mascot can still peek
   above/below its section; horizontal is clipped everywhere so the ambient
   blobs (deliberately positioned outside the box for a soft bleed) can never
   widen the page's scrollable area — that was the actual source of the
   sideways white-space-on-swipe bug, not the mobile nav drawer. */
#about, #tournament, #how{ overflow-x:clip; overflow-y:visible; position:relative; }
.voice-band{ overflow-x:clip; overflow-y:visible; }
.about-grid, .how-row, .tournament-row{ max-width:100%; }
/* ---------- Mobile: tighter type + spacing ---------- */
@media (max-width:759px){
  :root{ --section-pad-y:40px; }

  header{ background:rgba(244,244,247,0.94); }
  header.scrolled{ background:rgba(250,250,253,0.97); }

  .brand-mark img{ height:52px; }
  .cta-btn{ padding:9px 15px; font-size:12.5px; }
  .cta-btn.small{ padding:7px 12px; font-size:11.5px; }

  .hero{ padding:28px 16px 0; }
  .hero-tag{ font-size:11px; padding:6px 12px; margin-bottom:14px; }
  .hero h1{ font-size:clamp(28px,8.6vw,48px); }
  .hero p.lede{ margin-top:14px; font-size:13.5px; }
  .hero .cta-row{ margin-top:20px; gap:10px; }
  .hero-art{ margin-top:20px; max-width:190px; }
  .hero-art img{ max-width:138px; }
  .hero-ground{ height:11px; bottom:2px; }
  .glow-blob{ width:min(100%, 168px); }

  .marquee-wrap{ margin-top:26px; padding:9px 0; }
  .marquee-track span{ font-size:12px; gap:20px; padding-right:20px; }

  section{ padding:var(--section-pad-y) 16px; }
  .eyebrow-row{ margin-bottom:12px; }
  .eyebrow-row span{ font-size:11px; }
  .section-head{ margin-bottom:24px; }
  .section-head h2{ font-size:clamp(22px,7.5vw,30px); }
  .section-head p{ font-size:13px; margin-top:10px; }

  .about-copy p{ font-size:13.5px; margin-bottom:12px; }
  .stat-chips{ gap:10px; margin-top:24px; }
  .chip{ padding:14px 12px; border-radius:14px; }
  .chip .num{ font-size:19px; }
  .chip .label{ font-size:11px; }

  .tournament-card{ padding:24px 16px; border-radius:20px; }
  .live-badge{ font-size:11px; padding:6px 12px; margin-bottom:16px; }
  .tournament-title{ font-size:clamp(20px,7vw,26px); }
  .countdown{ gap:7px; margin-top:18px; }
  .countdown .box{ padding:8px 6px; min-width:44px; border-radius:10px; }
  .countdown .box .n{ font-size:17px; }
  .countdown .box .u{ font-size:9px; }
  .tournament-meta{ gap:8px; margin-top:18px; }
  .meta-pill{ padding:10px 12px; border-radius:10px; flex:1 1 110px; }
  .meta-pill .k{ font-size:10px; }
  .meta-pill .v{ font-size:14px; }
  .tournament-cta{ margin-top:20px; }

  .steps-wrap{ gap:10px; }
  .step-row{ padding:14px; gap:12px; border-radius:14px; }
  .step-num{ width:32px; height:32px; font-size:14px; border-radius:9px; }
  .step-body h3{ font-size:14.5px; margin-bottom:3px; }
  .step-body p{ font-size:12.5px; }

  footer{ padding:56px 16px 32px; }
  .footer-inner h2{ font-size:clamp(24px,8.5vw,34px); }
  .footer-inner p{ font-size:13px; margin-top:12px; }
  .footer-cta{ margin-top:22px; }
  .footer-cta .cta-btn{ font-size:13.5px; padding:12px 24px; }
  .footer-meta{ margin-top:40px; padding-top:18px; font-size:11px; gap:12px; }

  /* FAQ tighter on mobile */
  .voice-inner{ padding:44px 16px; }
  .faq-heading{ font-size:clamp(22px,8vw,30px); }
  .faq-list{ margin-top:22px; gap:10px; }
  .faq-question{ padding:15px 14px; font-size:13.5px; gap:10px; }
  .faq-answer-inner p{ padding:0 14px 15px; font-size:12.5px; }

  /* ambient blobs stay subtle on small screens */
  .blob{ opacity:.4; }
  .blob-about-a{ width:140px; height:140px; top:-40px; right:-50px; }
  .blob-about-b{ width:100px; height:100px; bottom:-20px; left:-30px; }
  .blob-tournament{ width:170px; height:170px; top:-60px; left:calc(50% - 85px); }
  .blob-how{ width:130px; height:130px; bottom:-46px; right:-40px; }
  .blob-faq{ width:180px; height:180px; top:-70px; right:-70px; }
  .blob-footer{ width:160px; height:160px; bottom:-56px; left:calc(50% - 80px); }

  /* nav bar gets extra life on small screens */
  .brand-mark{ transition:transform .3s ease; }
  header:active .brand-mark{ transform:scale(0.97); }
}
