/* Buff Whale — styles
   Layout: one 1200px column on deep navy, with the Figma file's glows,
   gradient spheres, rings, squiggles and dot grids floating at the edges.
   Change the brand colours here and they flow through the whole site. */
:root {
  --ink: #110929;          /* page background */
  --ink-deep: #080414;     /* buttons, darkest wells */
  --ink-raise: #1a1038;    /* raised surfaces */
  --violet: #b224ef;       /* gradient start */
  --blue: #7579ff;         /* gradient end */
  --magenta: #d622da;      /* glow */
  --royal: #0052ff;        /* glow */
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, .62);
  --text-faint: rgba(255, 255, 255, .38);
  --line: rgba(255, 255, 255, .1);
  --live: #3ee08f;
  --grad: linear-gradient(90deg, var(--violet), var(--blue));

  --f-display: "Plus Jakarta Sans", "Poppins", system-ui, sans-serif;
  --f-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-block: "Inter", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-lg: 28px;
  --r-md: 20px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 110px; } /* land below the sticky nav */
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.page { position: relative; overflow: hidden; overflow: clip; padding-inline: var(--gutter); } /* clip, not hidden: hidden makes a scroll box that anchor links can scroll and that breaks the sticky nav */
.page > :where(*:not(.bg):not(.footer__waves)) { position: relative; max-width: var(--wrap); margin-inline: auto; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font: 600 13px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); margin: 0; }

/* ---------- BACKGROUND DECORATIONS ---------- */
.bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.bg > * { position: absolute; }
.bg__waves { top: 0; left: 50%; translate: -50% -42%; width: max(1700px, 120%); max-width: none; opacity: .18; }
.glow { border-radius: 50%; filter: blur(110px); width: 520px; height: 520px; opacity: .5; }
.glow--magenta { background: var(--magenta); }
.glow--blue { background: var(--royal); }
.glow--violet { background: var(--violet); opacity: .4; }

/* glossy gradient spheres */
.sphere {
  position: absolute; width: var(--s); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #f3d4ff 0%, #c565f5 16%, var(--violet) 38%, #6b3cf0 68%, #2a1677 100%);
  box-shadow: 0 30px 80px rgba(178, 36, 239, .45), inset -14px -18px 40px rgba(17, 9, 41, .55);
  opacity: .92; animation: drift 14s ease-in-out infinite;
}
.sphere--blue { background: radial-gradient(circle at 32% 28%, #dfe1ff 0%, #9aa0ff 18%, var(--blue) 40%, #3a3fd8 70%, #151a6e 100%); box-shadow: 0 30px 80px rgba(117, 121, 255, .45), inset -14px -18px 40px rgba(17, 9, 41, .5); }
.sphere--soft { filter: blur(6px); opacity: .7; animation-duration: 18s; }
.sphere--mini { box-shadow: 0 8px 20px rgba(178, 36, 239, .5); animation-duration: 7s; }
@keyframes drift { 50% { transform: translate(10px, -22px); } }

.ring { width: var(--s); aspect-ratio: 1; border-radius: 50%; padding: 12px; opacity: .22;
  background: linear-gradient(135deg, #8d1cfe, #0038ed);
  -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.squiggle-l, .squiggle-r { width: 360px; opacity: .55; }
.squiggle-l { left: -120px; }
.squiggle-r { right: -110px; transform: scaleX(-1); }
.dots { width: 196px; height: 97px; opacity: .14;
  background: radial-gradient(circle, #edeeff 12.5px, transparent 13.5px) 0 0 / 42.75px 36px; }
.dots--sm { width: 72px; height: 35px; background-size: 15.75px 13px; background-image: radial-gradient(circle, #edeeff 4.5px, transparent 5px); opacity: .25; }
.page > .footer__waves { position: absolute; bottom: 0; left: 50%; translate: -50% 38%; width: max(1700px, 120%); max-width: none; opacity: .22; pointer-events: none; z-index: 0; }

/* ---------- NAV ---------- */
.nav {
  position: sticky !important; top: max(12px, env(safe-area-inset-top, 0px)); z-index: 50;
  display: flex; align-items: center; gap: 24px;
  margin-top: 24px; padding: 12px 14px 12px 22px;
  border-radius: 999px; border: 1px solid var(--line);
  background: rgba(17, 9, 41, .62); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.nav__logo { display: flex; align-items: center; gap: 10px; font: 800 20px/1 var(--f-display); flex-shrink: 0; }
.nav__logo img { height: 28px; width: auto; }
.nav__links { display: flex; gap: 6px; margin-inline: auto; }
.nav__links a { padding: 8px 16px; border-radius: 999px; font: 500 16px/1 var(--f-body); color: var(--text-dim); transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: rgba(255, 255, 255, .07); }
.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; margin-left: auto; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform .2s; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 15px/1 var(--f-display); padding: 15px 28px; border-radius: 999px; cursor: pointer; transition: transform .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--pill { background: var(--grad); color: #fff; box-shadow: 0 8px 30px rgba(178, 36, 239, .35); }
.btn--dark { background: var(--ink-deep); }
.btn--dark span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- HERO ---------- */
.hero { padding-top: clamp(40px, 7vw, 72px); text-align: center; display: grid; justify-items: center; gap: 14px; z-index: 1; }
.hero__title { margin: 0 0 clamp(20px, 4vw, 36px); font: 800 clamp(30px, 5.4vw, 60px)/1.08 var(--f-display); letter-spacing: -.02em; max-width: 16ch; text-wrap: balance; }
.hero__title b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__stage { position: relative; width: 100%; }
.hero__strip { position: absolute; inset: 9% -40% 14%; display: flex; gap: 24px; justify-content: center; filter: blur(6px); opacity: .4; pointer-events: none; }
.hero__strip img { height: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 22px; max-width: none; }
.hero__brackets { position: absolute; left: 50%; top: 0; translate: -50% -2.2%; width: min(1104px, 104%); max-width: none; pointer-events: none; z-index: 0; }
.hero__frame {
  position: relative; z-index: 1; margin-inline: auto; max-width: 1060px; aspect-ratio: 16 / 9.4; border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink-raise);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 120px rgba(8, 4, 20, .8);
}
.hero__slides { position: absolute; inset: 0; }
.hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s ease, transform 7s ease-out; }
.hero__slides img.is-on { opacity: 1; transform: scale(1.0); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,9,41,.25) 0%, rgba(17,9,41,0) 35%, rgba(17,9,41,.92) 100%); }
.hero__meta { position: absolute; top: 18px; left: 18px; right: 18px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; z-index: 1; }
.hero__game { font: 700 15px/1 var(--f-display); padding: 9px 14px; border-radius: 999px; background: rgba(8,4,20,.55); backdrop-filter: blur(10px); }
.live-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(8,4,20,.55); backdrop-filter: blur(10px); font: 500 14px/1 var(--f-body); font-variant-numeric: tabular-nums; }
.live-pill b { font-weight: 700; }
.live-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(62,224,143,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(62,224,143,0); } 100% { box-shadow: 0 0 0 0 rgba(62,224,143,0); } }

/* play button: exactly centred in the frame */
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: clamp(76px, 11vw, 128px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; z-index: 1;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.28), rgba(255,255,255,.08)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.4); transition: transform .25s; }
.play::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px dashed rgba(178,36,239,.6); animation: spin 18s linear infinite; }
.play svg { width: 36%; height: 36%; fill: #fff; transform: translateX(6%); } /* nudge: a triangle's visual centre sits left of its box centre */
.play:hover { transform: translate(-50%, -50%) scale(1.07); }
@keyframes spin { to { rotate: 360deg; } }

.counters { position: absolute; left: 50%; bottom: clamp(16px, 4%, 36px); translate: -50% 0; margin: 0; display: flex; gap: clamp(20px, 4vw, 44px); z-index: 1; }
.counters div { display: grid; gap: 4px; justify-items: center; }
.counters dt { font: 400 15px/1 var(--f-block); color: var(--text-dim); white-space: nowrap; }
.counters dd { margin: 0; font: 800 clamp(22px, 3vw, 30px)/1 var(--f-display); font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.dots-nav { display: flex; gap: 8px; justify-content: center; }
.dots-nav button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.22); cursor: pointer; transition: width .3s, background .3s; }
.dots-nav button.is-on { width: 30px; background: var(--grad); }
.dots-nav button { position: relative; }
.dots-nav button::after { content: ""; position: absolute; inset: -14px -6px; } /* 38px+ tap target */
.dots-nav { gap: 12px; }
.hero__dots { margin-top: 26px; }

/* ---------- SPOTLIGHT (CREATING / ENJOYING) ---------- */
.spotlight { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-block: clamp(56px, 9vw, 120px) clamp(24px, 4vw, 40px); }
.bigword { font: 600 clamp(52px, 9.4vw, 134px)/1 var(--f-body); writing-mode: vertical-rl; letter-spacing: .02em; justify-self: center; user-select: none; position: relative; z-index: 1; }
.bigword--outline { rotate: 180deg; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.28); }
.bigword--fill { background: linear-gradient(180deg, var(--violet), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.spotlight__orb { position: relative; width: min(640px, 58vw); aspect-ratio: 1; }
.spotlight__ring { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #2a1660 0%, #160b38 60%, #110929 100%); box-shadow: 0 0 0 1px rgba(117,121,255,.25), 0 0 120px rgba(178,36,239,.35), inset 0 0 80px rgba(117,121,255,.25); }
.sp { position: absolute; max-width: none; pointer-events: none; }
.sp--dotted { inset: -12%; width: 124%; opacity: .7; animation: spin 90s linear infinite; }
.sp--rings { inset: -4%; width: 108%; opacity: .8; }
.sp--leaf { width: 30%; right: 4%; top: -4%; rotate: 18deg; opacity: .95; }
.sp--leaf-o { width: 24%; left: 6%; top: 34%; rotate: -10deg; opacity: .8; }
.sp--orbit { width: 82%; left: 6%; top: 2%; opacity: .9; rotate: 26deg; }
.spotlight__hero { position: absolute; inset: 4% 6% 0; width: 88%; height: 96%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 30px 40px rgba(8,4,20,.6)); }
.spotlight__sparks { position: absolute; inset: 20% -6% auto; width: 112%; max-width: none; opacity: .8; pointer-events: none; }
.float { position: absolute; animation: bob 6s ease-in-out infinite; filter: drop-shadow(0 18px 24px rgba(8,4,20,.5)); }
.float--safe { width: 30%; left: -16%; top: 30%; animation-delay: -1s; }
.float--ticket { width: 15%; left: -6%; top: 6%; filter: blur(3px); animation-delay: -3s; }
.float--coin { width: 18%; right: -4%; top: 18%; filter: blur(2px); animation-delay: -2s; }
.float--cash { width: 36%; right: -18%; bottom: -8%; animation-delay: -4s; }
.float--cash2 { width: 13%; left: 2%; bottom: -4%; filter: blur(3px); animation-delay: -5s; }
.float--mega { width: 22%; right: -12%; top: 46%; animation-delay: -2.5s; rotate: -12deg; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(3deg); } }

/* ---------- SECTIONS ---------- */
.section { padding-block: clamp(56px, 9vw, 110px); z-index: 1; }
.title { margin: 0; font: 800 clamp(30px, 4.4vw, 48px)/1.12 var(--f-display); letter-spacing: -.02em; text-wrap: balance; display: flex; align-items: center; gap: 0 .28em; flex-wrap: wrap; position: relative; }
.title--center { justify-content: center; text-align: center; width: fit-content; max-width: 100%; margin-inline: auto; }
.title .grad { padding-bottom: .06em; }
.title__underline { position: absolute; width: 138px; right: 0; bottom: -24px; }
.title__sparks { width: 46px; margin-left: 4px; align-self: flex-start; }
.section__lede { text-align: center; color: var(--text-dim); margin: 30px 0 0; font-size: 15px; }
.title__icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); flex-shrink: 0; margin-right: 8px; }
.title__icon svg { width: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.deco { position: absolute; pointer-events: none; z-index: -1; filter: drop-shadow(0 20px 30px rgba(8,4,20,.5)); }

/* ---------- GAMES ---------- */
.games { text-align: center; }
.deco--rocket { width: 200px; right: -110px; top: 40px; animation: bob 7s ease-in-out infinite; }
.deco--building { width: 150px; left: -100px; bottom: 30px; }
.deco--arrow { width: 70px; left: 14%; top: 70px; opacity: .9; filter: none; }
.carousel { margin-top: 48px; }
.games__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 28px) / 3); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 24px 4px 30px; scrollbar-width: none; text-align: left; }
.games__track::-webkit-scrollbar { display: none; }
.game { scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 14px 14px 22px; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid var(--line); transition: transform .3s, border-color .3s; min-width: 0; position: relative; }
.game:hover { transform: translateY(-6px); border-color: rgba(117,121,255,.45); }
.game__media { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16/10; background: var(--ink-raise); }
.game__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.game:hover .game__media img { transform: scale(1.05); }
.game__media .live-pill { position: absolute; left: 10px; top: 10px; padding: 7px 11px; font-size: 13px; }
.game__tag { position: absolute; right: 10px; top: 10px; font: 700 12px/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; padding: 8px 11px; border-radius: 999px; background: var(--grad); }
.game__body { padding-inline: 8px; display: grid; gap: 8px; }
.game__name { margin: 0; font: 800 24px/1.2 var(--f-display); }
.game__name a { background: linear-gradient(90deg, var(--blue), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.game__blurb { margin: 0; color: var(--text-dim); font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.game__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 6px 8px 0; padding-top: 14px; border-top: 1px solid var(--line); }
.game__stats div { display: grid; gap: 2px; }
.game__stats dt { font-size: 12px; color: var(--text-faint); }
.game__stats dd { margin: 0; font: 700 16px/1.2 var(--f-display); font-variant-numeric: tabular-nums; }
.game__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: auto 8px 0; }
.game__updated { font-size: 12px; color: var(--text-faint); }
.game__play { font: 700 14px/1 var(--f-display); padding: 11px 18px; border-radius: 999px; background: var(--grad); }

.carousel__controls { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 12px; }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.05); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.arrow:hover { background: rgba(255,255,255,.12); }
.arrow svg { width: 20px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- ABOUT ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.about__copy { display: grid; gap: 30px; min-width: 0; }
.about__paras { display: grid; gap: 18px; }
.about__paras p { margin: 0; padding: 24px 26px; border-radius: var(--r-md); background: rgba(255,255,255,.045); border: 1px solid var(--line); font-size: 17px; line-height: 1.7; color: var(--text-dim); max-width: 60ch; }
.about__paras p:first-child { background: linear-gradient(135deg, rgba(178,36,239,.22), rgba(117,121,255,.12)); color: var(--text); }
.about__paras b { color: var(--text); font-weight: 600; }
.about__visual { position: relative; justify-self: end; width: 100%; max-width: 620px; }
.about__img { position: relative; width: 100%; filter: drop-shadow(0 40px 60px rgba(8,4,20,.7)); }

/* ---------- BANNER ---------- */
.page > .banner { max-width: none; margin-inline: calc(-1 * var(--gutter)); background: var(--grad); overflow: hidden; padding-block: 18px; rotate: -1.5deg; z-index: 2; }
.banner__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.banner__track span { font: 800 clamp(56px, 8vw, 120px)/1 var(--f-block); color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.9); padding-inline: 28px; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.banner__track span::after { content: "✦"; -webkit-text-stroke: 0; color: #fff; font-size: .55em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CLASSICS ---------- */
.classics__head { display: grid; gap: 14px; max-width: 640px; margin-bottom: 44px; }
.classics__text { margin: 0; color: var(--text-dim); font-size: 17px; }
.classics__total { margin: 0; font-size: 15px; color: var(--text-dim); }
.classics__total b { font: 800 22px/1 var(--f-display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.deco--loop { width: 80px; right: 8%; top: 90px; filter: none; }
.deco--doodle { width: 120px; right: 22%; top: 60px; filter: none; opacity: .9; }
.classics__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.classic { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-md); overflow: hidden; background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: transform .3s, border-color .3s; min-width: 0; }
.classic:hover { border-color: rgba(178,36,239,.35); }
.classic__media { position: relative; aspect-ratio: 16/9; background: var(--ink-raise); overflow: hidden; }
.classic__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: filter .3s, transform .5s; }
.classic:hover .classic__media img { filter: none; }
.classic__year { position: absolute; left: 10px; top: 10px; font: 700 12px/1 var(--f-display); padding: 7px 10px; border-radius: 999px; background: rgba(8,4,20,.65); backdrop-filter: blur(8px); }
.classic__tag { position: absolute; right: 10px; top: 10px; font: 700 11px/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: var(--grad); }
.classic__body { padding: 14px 16px 16px; display: grid; gap: 4px; align-content: start; }
.classic__name { margin: 0; font: 700 17px/1.25 var(--f-display); }
.classic__visits { font-size: 13px; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.classic__visits b { color: var(--text); font-weight: 600; }
.classic--more { display: grid; place-content: center; text-align: center; gap: 6px; padding: 24px; min-height: 100%;
  background: linear-gradient(135deg, rgba(178,36,239,.25), rgba(117,121,255,.12)); border: 1px dashed rgba(178,36,239,.55); }
.classic--more strong { font: 800 clamp(34px, 4vw, 46px)/1 var(--f-display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.classic--more span { color: var(--text-dim); font-size: 14px; }
.classic--more:hover { transform: none; }

/* ---------- FAQ ---------- */
.faq__arcs { position: absolute; width: 300px; top: 50%; translate: 0 -50%; opacity: .9; pointer-events: none; }
.faq__arcs--l { left: -230px; }
.faq__arcs--r { right: -230px; transform: scaleX(-1); }
.faq__panel { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; border-radius: 47px; background: radial-gradient(120% 120% at 0% 0%, rgba(255,255,255,.14), rgba(255,255,255,.02) 60%); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(30px); padding: clamp(24px, 4vw, 56px); gap: clamp(20px, 4vw, 48px); }
.faq__img { width: 100%; max-width: 480px; margin: -110px auto -56px; filter: drop-shadow(0 30px 50px rgba(8,4,20,.6)); }
.faq__body { min-width: 0; }
.faq__sub { color: var(--text-dim); font: 400 clamp(17px, 2vw, 22px)/1.4 var(--f-display); margin: 10px 0 26px; max-width: 30ch; }
.faq__list { display: grid; }
.qa { border-top: 1px solid var(--line); }
.qa:first-child { border-top: 0; }
.qa summary { list-style: none; display: flex; gap: 14px; align-items: center; padding: 18px 4px; cursor: pointer; font: 600 16px/1.4 var(--f-body); color: rgba(255,255,255,.5); transition: color .2s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: ""; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 11px solid currentColor; rotate: -90deg; transition: rotate .25s; flex-shrink: 0; }
.qa[open] summary { color: var(--blue); }
.qa[open] summary::before { rotate: 0deg; border-top-color: var(--violet); }
.qa summary:hover { color: var(--text); }
.qa p { margin: 0 0 18px 25px; color: var(--text-dim); font-size: 15px; max-width: 52ch; }

/* ---------- COMMUNITY ---------- */
.community { padding-top: clamp(80px, 10vw, 140px); }
.community__card { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; border-radius: 36px; background: var(--ink); border: 1px solid rgba(178,36,239,.3); min-height: 290px; box-shadow: 0 30px 80px rgba(8,4,20,.6); }
.community__deco { position: absolute; inset: 0; border-radius: 36px; overflow: hidden; pointer-events: none; }
.community__deco > * { position: absolute; }
.cd { border-radius: 50%; }
.cd--a { width: 540px; height: 540px; right: -120px; top: -40px; background: rgba(129,20,213,.3); }
.cd--b { width: 540px; height: 540px; left: 33%; top: 140px; border: 6px solid rgba(255,255,255,.08); }
.cd--c { width: 227px; height: 227px; left: -80px; top: -40px; background: rgba(101,0,118,.3); }
.cd--tri { border-radius: 0; width: 70px; height: 62px; left: 52%; top: 26%; background: var(--blue); clip-path: polygon(0 0, 100% 0, 50% 100%); animation: bob 6s ease-in-out infinite; }
.cd--sq { border-radius: 14px; width: 54px; height: 54px; left: 62%; top: 10%; background: var(--grad); rotate: 20deg; animation: bob 7s ease-in-out infinite -2s; }
.cd--dot { width: 22px; height: 22px; left: 41%; top: 30%; background: var(--blue); }
.cd--ring { width: 110px; height: 110px; left: 46%; bottom: -30px; border: 2px dashed rgba(255,255,255,.18); }
.community__deco img { right: 26px; bottom: 22px; width: 54px; opacity: .2; }
.community__copy { position: relative; padding: clamp(28px, 4vw, 52px); display: grid; gap: 14px; justify-items: start; }
.community__copy h2 { margin: 0; font: 800 clamp(26px, 3.4vw, 38px)/1.15 var(--f-display); letter-spacing: -.01em; text-wrap: balance; }
.community__copy p { margin: 0 0 8px; color: var(--text-dim); max-width: 44ch; }
.community__img { position: relative; width: min(380px, 100%); justify-self: end; margin: -90px 20px 0 0; border-radius: 28px; filter: drop-shadow(0 30px 40px rgba(8,4,20,.6)); }

/* ---------- FOOTER ---------- */
.footer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; padding-block: 90px 34px; z-index: 1; font-family: var(--f-block); }
.footer__logo { display: inline-flex; align-items: center; gap: 12px; font: 700 40px/1 var(--f-block); }
.footer__logo img { height: 36px; width: auto; }
.footer__brand p { color: #a39db8; font-size: 15px; max-width: 32ch; margin: 18px 0 22px; }
.socials { display: flex; gap: 22px; flex-wrap: wrap; }
.socials a { width: 24px; height: 24px; color: rgba(255,255,255,.7); transition: color .2s, transform .2s; }
.socials a:hover { color: #fff; transform: translateY(-2px); }
.socials svg { width: 100%; height: 100%; fill: currentColor; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 30px; }
.footer__cols h3 { margin: 0 0 18px; font: 600 16px/1 var(--f-block); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__cols a { color: #a39db8; font-size: 15px; transition: color .2s; overflow-wrap: anywhere; }
.footer__cols a:hover { color: #fff; }
.footer__base { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); color: #a39db8; font-size: 14px; }
.footer__status { display: inline-flex; align-items: center; gap: 8px; }
.footer__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--text-faint); }
.footer__status.is-live::before { background: var(--live); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .games__track { grid-auto-columns: calc((100% - 28px) / 2); }
  .classics__grid { grid-template-columns: repeat(3, 1fr); }
  .deco--rocket { width: 140px; right: -60px; top: -10px; }
  .deco--building { display: none; }
  .faq__arcs { display: none; }
}
@media (max-width: 860px) {
  .nav { padding: 10px 10px 10px 18px; }
  .nav__links { position: absolute; left: 0; right: 0; top: calc(100% + 10px); flex-direction: column; gap: 2px; padding: 10px; border-radius: 24px; background: rgba(17,9,41,.96); border: 1px solid var(--line); backdrop-filter: blur(18px); display: none; }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 14px 16px; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .about { grid-template-columns: 1fr; }
  .about__visual { justify-self: center; max-width: 440px; }
  .classics__grid { grid-template-columns: repeat(2, 1fr); }
  .faq__panel { grid-template-columns: 1fr; border-radius: 32px; }
  .faq__img { max-width: 300px; margin: -90px auto 0; }
  .community__card { grid-template-columns: 1fr; }
  .community__img { justify-self: center; margin: 0 auto -1px; width: min(300px, 80%); }
  .footer { grid-template-columns: 1fr; }
  .squiggle-l, .squiggle-r { width: 220px; }
  .deco--doodle, .deco--loop, .deco--arrow { display: none; }
  .bg .dots, .community__deco .dots, .cd--tri, .cd--sq, .cd--dot { display: none; }
  .bg .sphere { opacity: .55; }
}
@media (max-width: 620px) {
  .hero__frame { aspect-ratio: 4 / 5; }
  .hero__brackets { display: none; }
  .counters { gap: 18px; width: calc(100% - 32px); justify-content: space-around; }
  .counters dt { font-size: 11px; white-space: normal; text-align: center; max-width: 13ch; line-height: 1.25; }
  .counters div { align-content: end; }
  .games__track { grid-auto-columns: 86%; gap: 16px; }
  .classics__grid { gap: 12px; }
  .classic__name { font-size: 15px; }
  .classic__body { padding: 12px; }
  .spotlight { grid-template-columns: auto 1fr auto; gap: 6px; }
  .spotlight__orb { width: 100%; }
  .bigword { font-size: clamp(34px, 11vw, 52px); }
  .deco--rocket { display: none; }
  .glow { width: 300px; height: 300px; }
  .sphere { --s: 120px !important; }
  .sphere--mini { --s: 22px !important; }
  .about__visual .sphere { --s: 46% !important; }
  .ring { opacity: .14; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
