/* Chai Shots Games — one stylesheet for every page.
   Brand: ink #0D0C0F, yellow #FEC703, cream #F8F4E9 (sampled from the logo).
   Display type is Tomorrow, heavy italic, to sit next to the wordmark; everything else is Archivo. */

:root {
  --ink: #0d0c0f;
  --ink-2: #141318;
  --ink-3: #1c1b21;
  --ink-4: #26242c;
  --cream: #f8f4e9;
  --cream-2: #ece6d6;
  --muted: rgba(248, 244, 233, 0.66);
  --faint: rgba(248, 244, 233, 0.42);
  --line: rgba(248, 244, 233, 0.1);
  --line-2: rgba(248, 244, 233, 0.18);
  --yellow: #fec703;
  --yellow-hi: #ffd84a;
  --yellow-lo: #d9a900;

  --display: "Tomorrow", "Archivo", system-ui, sans-serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --head-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 16px/1.55 var(--sans);
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.92;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font: 800 12px/1 var(--sans);
  font-variation-settings: "wdth" 125;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream);
}
.eyebrow::before,
.eyebrow.both::after { content: ""; width: 28px; height: 3px; background: var(--yellow); border-radius: 2px; transform: skewX(-20deg); }
.eyebrow.y { color: var(--yellow); }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 56ch; }
.y { color: var(--yellow); }

/* the two pixel squares from the logo, as a decoration */
.px { position: relative; display: inline-block; width: 22px; height: 22px; flex: none; }
.px::before,
.px::after { content: ""; position: absolute; width: 9px; height: 9px; background: var(--yellow); }
.px::before { left: 0; bottom: 0; }
.px::after { right: 0; top: 0; }

/* the mark, in one colour, as a mask */
.bolt {
  display: inline-block;
  width: 1em;
  height: 1em;
  background: currentColor;
  -webkit-mask: url(/assets/brand/mark-mono.svg) center / contain no-repeat;
  mask: url(/assets/brand/mark-mono.svg) center / contain no-repeat;
  flex: none;
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--yellow);
  --fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  font: italic 800 17px/1 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg);
  isolation: isolate;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), translate 0.25s var(--ease), color 0.2s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg);
  border-radius: 6px;
  transform: skewX(-12deg);
  transition: background 0.2s, box-shadow 0.3s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { background: var(--yellow-hi); box-shadow: 0 10px 34px -8px rgba(254, 199, 3, 0.55), 6px 6px 0 0 var(--cream); }
.btn:active { transform: translateY(1px); }
.btn:active::before { box-shadow: none; }
.btn svg { width: 16px; height: 16px; }
.btn.big { min-height: 64px; padding: 0 36px; font-size: 20px; }
.btn.small { min-height: 42px; padding: 0 18px; font-size: 14px; gap: 8px; }
.btn.small svg { width: 13px; height: 13px; }
.btn.ghost { --bg: transparent; --fg: var(--cream); }
.btn.ghost::before { border: 2px solid var(--line-2); background: rgba(13, 12, 15, 0.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn.ghost:hover::before { background: rgba(248, 244, 233, 0.08); border-color: var(--cream); box-shadow: none; }
.btn.ink { --bg: var(--ink); --fg: var(--cream); }
.btn.ink:hover::before { background: #000; box-shadow: 5px 5px 0 0 var(--yellow); }
.btn.cream { --bg: var(--cream); --fg: var(--ink); }
.btn.cream:hover::before { background: #fff; box-shadow: 6px 6px 0 0 var(--ink); }
.btn[aria-disabled="true"] { pointer-events: none; opacity: 0.5; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--cream); }
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  font: 700 12px/1 var(--sans);
  font-variation-settings: "wdth" 112;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(248, 244, 233, 0.1);
  border: 1px solid var(--line-2);
  color: var(--cream);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}
.chip.hot { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.chip.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ee07a; box-shadow: 0 0 0 3px rgba(62, 224, 122, 0.25); animation: blink 1.8s infinite; }
.chip.soon { background: rgba(143, 124, 255, 0.16); border-color: rgba(143, 124, 255, 0.45); }
@keyframes blink { 50% { opacity: 0.35; } }

/* ---------- header ---------- */
.head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--head-h);
  transition: background 0.3s, border-color 0.3s, transform 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.head.solid {
  background: rgba(13, 12, 15, 0.82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-color: var(--line);
}
.head.hide { transform: translateY(-100%); }
.head-bar { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex: none; transition: transform 0.3s var(--ease); }
.brand img { height: 46px; width: auto; }
.brand:hover { transform: scale(1.03) rotate(-1deg); }
.nav { display: flex; gap: 8px; margin-left: auto; }
.nav a {
  height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  font: 700 14px/1 var(--sans);
  font-variation-settings: "wdth" 110;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nav a:hover { background: var(--ink-4); border-color: var(--line-2); }
.nav a.on { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.head .btn { margin-left: 4px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 14px; background: var(--ink-3); border: 1px solid var(--line); place-items: center; margin-left: auto; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--cream); border-radius: 2px; position: relative; transition: transform 0.3s var(--ease), background 0.2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

.sheet {
  position: fixed;
  inset: var(--head-h) 0 0;
  z-index: 49;
  background: var(--ink);
  padding: 24px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
  overflow-y: auto;
}
.menu-open .sheet { opacity: 1; visibility: visible; transform: none; }
.menu-open { overflow: hidden; }
.sheet a:not(.btn) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  font: italic 800 30px/1 var(--display);
  text-transform: uppercase;
}
.sheet a:not(.btn) small { font: 700 11px/1.35 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); font-style: normal; text-align: right; max-width: 34%; margin-left: 12px; }
.sheet .btn { margin-top: 18px; }
.sheet .note { color: var(--faint); font-size: 14px; margin-top: 8px; text-align: center; }

/* ---------- hero (home) ---------- */
.hero {
  position: relative;
  min-height: max(660px, min(100svh, 1000px));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.hero-stage { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; }
.hero-slide.on { opacity: 1; }
.hero-slide img,
.hero-slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide video { opacity: 0; transition: opacity 0.6s; }
.hero-slide video.ready { opacity: 1; }
.hero-slide.on img { animation: kenburns 14s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 12, 15, 0.92) 0%, rgba(13, 12, 15, 0.55) 38%, rgba(13, 12, 15, 0) 70%),
    linear-gradient(0deg, var(--ink) 0%, rgba(13, 12, 15, 0.6) 22%, rgba(13, 12, 15, 0) 50%),
    linear-gradient(180deg, rgba(13, 12, 15, 0.7) 0%, rgba(13, 12, 15, 0) 22%);
}
/* scanline + grain so the footage reads as "screen" */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.12) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
  opacity: 0.5;
}
.hero-body { position: relative; padding: calc(var(--head-h) + 40px) 0 clamp(28px, 5vh, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
.hero-copy { max-width: 760px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.hero-title {
  font-size: clamp(48px, 11vw, 168px);
  margin-left: -0.04em;
  white-space: nowrap;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.45);
}
.hero-title .outline { color: transparent; -webkit-text-stroke: 2px var(--cream); }
.hero-line { margin-top: 18px; font: 600 clamp(18px, 1.8vw, 24px)/1.35 var(--sans); max-width: 34ch; color: var(--cream); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--yellow); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 30px; align-items: center; }
.swap { animation: swapIn 0.7s var(--ease) both; }
.swap > * { animation: swapIn 0.7s var(--ease) both; }
.swap > :nth-child(2) { animation-delay: 0.05s; }
.swap > :nth-child(3) { animation-delay: 0.1s; }
.swap > :nth-child(4) { animation-delay: 0.15s; }
.swap > :nth-child(5) { animation-delay: 0.2s; }
@keyframes swapIn { from { opacity: 0; transform: translateY(18px); } }

.hero-pick { display: flex; flex-direction: column; gap: 10px; width: 300px; }
.hero-pick-label { font: 800 11px/1 var(--sans); font-variation-settings: "wdth" 125; letter-spacing: 0.3em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.pick {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
  padding: 8px;
  border-radius: 16px;
  background: rgba(20, 19, 24, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: left;
  overflow: hidden;
  transition: background 0.25s, border-color 0.25s, transform 0.3s var(--ease);
}
.pick:hover { background: rgba(38, 36, 44, 0.75); transform: translateX(-4px); }
.pick img { width: 96px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.pick b { display: block; font: italic 800 19px/1 var(--display); text-transform: uppercase; }
.pick small { display: block; margin-top: 6px; color: var(--faint); font-size: 12.5px; font-weight: 600; }
.pick.on { border-color: rgba(254, 199, 3, 0.55); background: rgba(38, 36, 44, 0.8); }
.pick.on b { color: var(--yellow); }
.pick i { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(0); }
.pick.on i { animation: fill var(--dur, 9s) linear forwards; }
.hero.paused .pick.on i { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

.hero-hud { position: absolute; inset: calc(var(--head-h) + 16px) var(--gutter) auto; display: flex; justify-content: space-between; pointer-events: none; font: 700 11px/1 var(--sans); font-variation-settings: "wdth" 120; letter-spacing: 0.24em; text-transform: uppercase; color: var(--faint); }
.hero-hud b { color: var(--cream); }
.rec { display: inline-flex; align-items: center; gap: 8px; }
.rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; animation: blink 1.4s infinite; }

/* ---------- ticker ---------- */
.ticker {
  position: relative;
  z-index: 2;
  background: var(--yellow);
  color: var(--ink);
  overflow: hidden;
  transform: rotate(-1.6deg) scale(1.03);
  margin: 10px 0 30px;
  border-block: 3px solid var(--ink);
  box-shadow: 0 18px 50px -20px rgba(254, 199, 3, 0.5);
}
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; align-items: center; flex: none; }
.ticker li { display: flex; align-items: center; gap: 26px; padding: 16px 26px 16px 0; font: italic 800 clamp(20px, 2.4vw, 30px)/1 var(--display); text-transform: uppercase; white-space: nowrap; }
.ticker .bolt { width: 26px; height: 26px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section.tight { padding-top: clamp(40px, 6vw, 70px); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 52px); flex-wrap: wrap; }
.sec-title { font-size: clamp(44px, 6.4vw, 92px); margin-top: 16px; }
.sec-head .lede { margin-top: 16px; }

/* ---------- jump back in ---------- */
.recent { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.recent-label { font: 800 11px/1 var(--sans); font-variation-settings: "wdth" 125; letter-spacing: 0.3em; text-transform: uppercase; color: var(--faint); margin-right: 6px; }
.recent a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--ink-3); border: 1px solid var(--line); font-weight: 700; font-size: 14px; transition: border-color 0.2s, background 0.2s; }
.recent a:hover { border-color: var(--yellow); background: var(--ink-4); }
.recent img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.recent small { color: var(--faint); font-weight: 600; }

/* ---------- game cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.card {
  --accent: var(--yellow);
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  box-shadow: 0 0 0 0 transparent;
}
.card:hover { transform: perspective(1100px) translateY(-6px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); box-shadow: 10px 10px 0 0 var(--yellow), 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.card::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.28), transparent 45%); opacity: 0; transition: opacity 0.3s; mix-blend-mode: soft-light; }
.card:hover::after { opacity: 1; }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); }
.card-media img,
.card-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), opacity 0.4s; }
.card-media video { opacity: 0; }
.card-media video.ready { opacity: 1; }
.card:hover .card-media img { transform: scale(1.06); }
.card-media .chip { position: absolute; top: 14px; left: 14px; }
.card-media::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(0deg, rgba(13, 12, 15, 0.55), transparent); pointer-events: none; }
.card-play {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  transform: scale(0.6);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.card-play svg { width: 20px; height: 20px; margin-left: 3px; }
.card:hover .card-play { transform: scale(1); opacity: 1; }
.card-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; flex: 1; }
.card-genre { display: flex; align-items: center; gap: 10px; font: 800 11.5px/1 var(--sans); font-variation-settings: "wdth" 125; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(13, 12, 15, 0.6); }
.card-genre::before { content: ""; width: 10px; height: 10px; background: var(--accent); transform: skewX(-14deg); }
.card h3 { font-size: clamp(32px, 3vw, 42px); }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card p { color: rgba(13, 12, 15, 0.72); font-size: 15.5px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.card-meta span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; background: rgba(13, 12, 15, 0.07); font: 700 12.5px/1 var(--sans); color: rgba(13, 12, 15, 0.78); }
.card-meta svg { width: 13px; height: 13px; }

.card.soon { background: var(--ink-2); color: var(--cream); border: 1px dashed var(--line-2); }
.card.soon:hover { box-shadow: 10px 10px 0 0 #8f7cff; }
.card.soon .card-media { background:
  radial-gradient(circle at 30% 40%, rgba(143, 124, 255, 0.35), transparent 50%),
  radial-gradient(circle at 75% 70%, rgba(254, 199, 3, 0.18), transparent 50%),
  var(--ink-3);
}
.card.soon .card-media::after { display: none; }
.q {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: italic 900 clamp(110px, 12vw, 170px)/1 var(--display);
  color: transparent;
  -webkit-text-stroke: 2px rgba(248, 244, 233, 0.5);
  background-image: radial-gradient(rgba(248, 244, 233, 0.12) 1px, transparent 1.4px);
  background-size: 14px 14px;
  animation: glitch 4s infinite steps(1);
}
@keyframes glitch {
  0%, 92%, 100% { transform: none; text-shadow: none; }
  93% { transform: translate(-4px, 1px) skewX(-6deg); text-shadow: 4px 0 #8f7cff, -4px 0 var(--yellow); }
  95% { transform: translate(3px, -2px); text-shadow: -3px 0 #8f7cff, 3px 0 var(--yellow); }
  97% { transform: translate(-1px, 2px) skewX(4deg); }
}
.card.soon .card-genre { color: var(--faint); }
.card.soon .card-genre::before { background: #8f7cff; }
.card.soon p { color: var(--muted); }

/* ---------- spotlight (one per game on the home page) ---------- */
.spot { --accent: var(--yellow); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.spot + .spot { margin-top: clamp(72px, 9vw, 120px); }
.spot.flip .spot-media { order: 2; }
.spot-media { position: relative; }
.spot-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-3);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.spot-screen::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(248, 244, 233, 0.12); pointer-events: none; }
.spot-screen img,
.spot-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spot-screen video { opacity: 0; transition: opacity 0.5s; }
.spot-screen video.ready { opacity: 1; }
.spot-media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: var(--radius);
  background: repeating-linear-gradient(-45deg, var(--accent) 0 3px, transparent 3px 12px);
  opacity: 0.4;
  z-index: -1;
}
.spot.flip .spot-media::before { inset: 18px 18px -18px -18px; }
.spot-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.spot-thumbs button { aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; opacity: 0.55; transition: opacity 0.2s, outline-color 0.2s; outline: 2px solid transparent; outline-offset: 2px; }
.spot-thumbs button:hover,
.spot-thumbs button.on { opacity: 1; }
.spot-thumbs button.on { outline-color: var(--yellow); }
.spot-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.spot-num { font: italic 900 clamp(64px, 7vw, 100px)/0.8 var(--display); color: transparent; -webkit-text-stroke: 2px var(--accent); opacity: 0.9; }
.spot-copy h3 { font-size: clamp(48px, 5.6vw, 84px); margin: 14px 0 0; }
.spot-copy .lede { margin-top: 18px; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin-top: 28px; }
.feats li { padding-top: 14px; border-top: 2px solid var(--line); }
.feats b { display: flex; align-items: center; gap: 8px; font-size: 15.5px; }
.feats b::before { content: ""; width: 8px; height: 8px; background: var(--accent); transform: skewX(-14deg); flex: none; }
.feats span { display: block; margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.spot-cta { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 34px; }

/* ---------- play together ---------- */
.together { background: var(--yellow); color: var(--ink); overflow: hidden; }
.together .eyebrow { color: var(--ink); }
.together .eyebrow::before,
.together .eyebrow::after { background: var(--ink); }
.together .lede { color: rgba(13, 12, 15, 0.75); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); counter-reset: s; }
.step {
  position: relative;
  padding: 28px 26px 30px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease);
}
.step:hover { transform: translateY(-6px) rotate(-0.6deg); }
.step-n { font: italic 900 110px/0.8 var(--display); color: transparent; -webkit-text-stroke: 2px var(--yellow); position: absolute; right: 18px; top: 22px; opacity: 0.9; }
.step-ico { width: 58px; height: 58px; border-radius: 16px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; }
.step-ico svg { width: 28px; height: 28px; }
.step h3 { font-size: 34px; margin-top: auto; padding-top: 60px; }
.step p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }
.room {
  margin-top: clamp(20px, 2vw, 28px);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px 18px 18px 26px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--cream);
}
.room-url { font: 600 clamp(14px, 1.4vw, 17px)/1.3 ui-monospace, "SF Mono", Menlo, monospace; color: var(--muted); flex: 1; min-width: 220px; overflow-wrap: anywhere; }
.room-url b { color: var(--yellow); font-weight: 600; }
.room .copied { color: var(--yellow); font-weight: 700; font-size: 14px; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(28px, 4vw, 48px) clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: italic 900 clamp(58px, 7vw, 104px)/0.85 var(--display); color: var(--yellow); }
.stat span { display: block; margin-top: 14px; font-weight: 700; font-size: 16px; }
.stat small { display: block; margin-top: 4px; color: var(--faint); font-size: 14px; }

/* ---------- final call ---------- */
.final { position: relative; text-align: center; padding: clamp(90px, 13vw, 170px) 0; overflow: hidden; isolation: isolate; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 55% at 50% 55%, rgba(254, 199, 3, 0.22), transparent 70%); }
.final-mark { width: clamp(90px, 10vw, 130px); margin: 0 auto 26px; animation: float 5s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(254, 199, 3, 0.35)); }
@keyframes float { 50% { transform: translateY(-12px) rotate(-3deg); } }
.final h2 { font-size: clamp(60px, 11vw, 170px); }
.final p { margin: 22px auto 0; }
.final .hero-cta { justify-content: center; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 64px 0 40px; background: var(--ink-2); }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-logo img { width: min(360px, 100%); height: auto; }
.foot-blurb { margin-top: 20px; color: var(--muted); max-width: 42ch; font-size: 15px; }
.foot h4 { font: 800 11.5px/1 var(--sans); font-variation-settings: "wdth" 125; letter-spacing: 0.28em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.foot li + li { margin-top: 10px; }
.foot li a { font-weight: 600; color: var(--cream); transition: color 0.2s; }
.foot li a:hover { color: var(--yellow); }
.foot-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13.5px; }
.foot-bot .te { color: var(--cream); font-weight: 600; }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 20px); opacity: 0; background: var(--cream); color: var(--ink); padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 14.5px; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6); transition: opacity 0.25s, transform 0.3s var(--ease); pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   Game page
   ========================================================= */
.g-hero { position: relative; min-height: max(620px, min(92svh, 900px)); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.g-hero .hero-stage { z-index: -2; }
.g-hero .hero-slide { opacity: 1; }
.g-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 12, 15, 0.9) 0%, rgba(13, 12, 15, 0.45) 45%, rgba(13, 12, 15, 0) 75%),
    linear-gradient(0deg, var(--ink) 0%, rgba(13, 12, 15, 0.5) 25%, rgba(13, 12, 15, 0) 55%),
    linear-gradient(180deg, rgba(13, 12, 15, 0.7) 0%, rgba(13, 12, 15, 0) 22%);
}
.g-hero-body { padding: calc(var(--head-h) + 40px) 0 48px; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 13.5px; font-weight: 700; color: var(--faint); margin-bottom: 22px; }
.crumbs a:hover { color: var(--cream); }
.g-title { font-size: clamp(48px, 12vw, 180px); margin-left: -0.04em; white-space: nowrap; }
.g-play-note { margin-top: 14px; color: var(--faint); font-size: 13.5px; font-weight: 600; display: none; }

.facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); overflow: hidden; }
.facts div { padding: 20px 22px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts dt { font: 800 10.5px/1 var(--sans); font-variation-settings: "wdth" 125; letter-spacing: 0.26em; text-transform: uppercase; color: var(--faint); }
.facts dd { margin-top: 10px; font-weight: 700; font-size: 16px; }

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.about-pitch { margin-top: 22px; font: 700 clamp(19px, 1.8vw, 24px)/1.4 var(--sans); color: var(--cream); }
.about h2 { font-size: clamp(40px, 5vw, 72px); margin-top: 16px; }
.about-text { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); margin-top: 16px; line-height: 1.65; }
.feat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feat-card { padding: 24px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line); transition: border-color 0.25s, transform 0.35s var(--ease); }
.feat-card:hover { border-color: rgba(254, 199, 3, 0.45); transform: translateY(-3px); }
.feat-card i { display: block; font: italic 900 30px/1 var(--display); color: var(--yellow); }
.feat-card b { display: block; margin-top: 16px; font-size: 17px; }
.feat-card span { display: block; margin-top: 8px; color: var(--muted); font-size: 14.5px; }

.shots { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(120px, 14vw, 200px); gap: 12px; }
.shot { position: relative; border-radius: 16px; overflow: hidden; background: var(--ink-3); cursor: zoom-in; }
.shot:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.shot:nth-child(2) { grid-column: span 2; }
.shot:nth-child(3) { grid-column: span 2; }
.shot:nth-child(4),
.shot:nth-child(5),
.shot:nth-child(6) { grid-column: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.shot:hover img { transform: scale(1.05); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; background: linear-gradient(0deg, rgba(13, 12, 15, 0.85), transparent); font-size: 13.5px; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.3s var(--ease); }
.shot:hover figcaption,
.shot:focus-visible figcaption { opacity: 1; transform: none; }

.controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.ctl { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ctl span { color: var(--muted); font-weight: 600; }
.keys { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
kbd {
  min-width: 38px;
  height: 38px;
  padding: 0 11px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(180deg, #2c2a33, #1f1d24);
  border: 1px solid rgba(248, 244, 233, 0.16);
  box-shadow: 0 3px 0 0 #0a090c, inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font: 700 13.5px/1 var(--sans);
  color: var(--cream);
  white-space: nowrap;
}
kbd.wide { min-width: 70px; }
kbd.mouse { color: var(--ink); background: var(--cream); border-color: var(--cream); box-shadow: 0 3px 0 0 #b9b2a0; }
.ctl-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.ctl-wrap h2 { font-size: clamp(40px, 5vw, 72px); margin-top: 16px; }
.ctl-wrap .lede { margin-top: 18px; }

.go-band { position: relative; border-radius: calc(var(--radius) + 6px); background: var(--yellow); color: var(--ink); padding: clamp(36px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; overflow: hidden; isolation: isolate; }
.go-band h2 { font-size: clamp(44px, 6vw, 92px); }
.go-band p { margin-top: 10px; font-weight: 600; color: rgba(13, 12, 15, 0.72); }
.go-band .bolt { position: absolute; right: -40px; top: -60px; width: 360px; height: 360px; color: rgba(13, 12, 15, 0.08); z-index: -1; transform: rotate(8deg); }

.soon-page { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--head-h) + 40px) var(--gutter) 60px; }
.soon-page .q { position: relative; inset: auto; height: 220px; font-size: 220px; margin-bottom: 10px; background: none; }
.soon-page h1 { font-size: clamp(56px, 9vw, 120px); }
.soon-page p { margin: 18px auto 30px; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 80; background: rgba(8, 7, 10, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; grid-template-rows: 1fr auto; padding: 70px 80px 30px; opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; }
.lb.on { opacity: 1; visibility: visible; }
.lb img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.lb p { text-align: center; margin-top: 16px; font-weight: 700; }
.lb p small { color: var(--faint); margin-left: 10px; }
.lb button { position: absolute; width: 52px; height: 52px; border-radius: 50%; background: var(--ink-3); border: 1px solid var(--line-2); display: grid; place-items: center; transition: background 0.2s, color 0.2s; }
.lb button:hover { background: var(--yellow); color: var(--ink); }
.lb button svg { width: 18px; height: 18px; }
.lb .x { top: 14px; right: 14px; }
.lb .prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb .next { right: 14px; top: 50%; transform: translateY(-50%); }

/* 404 */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; }
.lost h1 { font-size: clamp(80px, 16vw, 240px); }
.lost h1 span { color: var(--yellow); }
.lost p { margin: 20px auto 34px; }

/* =========================================================
   Game layer (fun.js): XP, achievements, matchmaking, GAME ON, bursts
   ========================================================= */
.cant-pick { margin-top: 28px; text-align: center; color: var(--muted); font-weight: 600; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cant-pick .link-arrow { color: var(--yellow); }

/* pixel bursts */
.fx { position: fixed; inset: 0; z-index: 120; pointer-events: none; overflow: hidden; }
.fx i { position: absolute; display: block; }
.cheat body { animation: cheat 0.5s steps(2) 4; }
@keyframes cheat { 50% { filter: hue-rotate(180deg) saturate(1.6); } }

/* header XP pill */
.xp-slot { display: contents; }
.xp {
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px 0 5px;
  border-radius: 999px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  transition: border-color 0.2s, background 0.2s, transform 0.3s var(--ease);
}
.xp:hover { border-color: rgba(254, 199, 3, 0.6); background: var(--ink-4); }
.xp.bump { animation: bump 0.6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.12) rotate(-3deg); } }
.xp-lvl { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font: italic 900 15px/1 var(--display); }
.xp-txt { display: grid; gap: 5px; text-align: left; }
.xp-txt b { font: 800 10.5px/1 var(--sans); font-variation-settings: "wdth" 120; letter-spacing: 0.16em; text-transform: uppercase; }
.xp-bar { display: block; width: 58px; height: 4px; border-radius: 4px; background: rgba(248, 244, 233, 0.14); overflow: hidden; }
.xp-bar i { display: block; height: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(0.04); transition: transform 0.8s var(--ease); }

.ach {
  position: fixed;
  z-index: 70;
  width: min(380px, calc(100vw - 24px));
  max-height: calc(100svh - 110px);
  overflow-y: auto;
  padding: 22px;
  border-radius: 20px;
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 8px 8px 0 0 var(--yellow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
}
.ach.on { opacity: 1; visibility: visible; transform: none; }
.ach-top { display: flex; align-items: center; gap: 14px; }
.ach-lvl { width: 54px; height: 54px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font: italic 900 28px/1 var(--display); }
.ach-rank { font: italic 900 26px/1 var(--display); text-transform: uppercase; }
.ach-xp { margin-top: 6px; color: var(--faint); font-size: 13px; font-weight: 600; }
.ach-meter { margin-top: 18px; height: 8px; border-radius: 8px; background: rgba(248, 244, 233, 0.1); overflow: hidden; }
.ach-meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--yellow-lo), var(--yellow)); transform-origin: left; }
.ach-next { margin-top: 8px; font-size: 13px; color: var(--muted); }
.ach-next b { color: var(--yellow); }
.ach ul { margin-top: 16px; display: grid; gap: 6px; }
.ach li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: rgba(248, 244, 233, 0.03); color: var(--faint); }
.ach li.on { background: rgba(254, 199, 3, 0.08); color: var(--cream); }
.ach-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(248, 244, 233, 0.06); }
.ach-ico svg { width: 14px; height: 14px; }
.ach li.on .ach-ico { background: var(--yellow); color: var(--ink); }
.ach-ico .bolt { width: 18px; height: 18px; }
.ach li b { display: block; font-size: 14px; }
.ach li small { display: block; font-size: 12.5px; margin-top: 2px; opacity: 0.8; }
.ach li em { font: italic 800 13px/1 var(--display); color: var(--faint); }
.ach li.on em { color: var(--yellow); }
.ach-foot { margin-top: 14px; font-size: 12px; color: var(--faint); text-align: center; }

.ach-toast {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 110;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  width: min(420px, calc(100vw - 32px));
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: var(--ink-2);
  border: 1px solid rgba(254, 199, 3, 0.5);
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.8), 0 0 0 4px rgba(254, 199, 3, 0.08);
  transform: translateY(140%);
  transition: transform 0.45s var(--ease);
}
.ach-toast.on { transform: none; }
.ach-toast-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; }
.ach-toast-ico .bolt { width: 28px; height: 28px; }
.ach-toast.on .ach-toast-ico { animation: bump 0.7s var(--ease) 0.2s; }
.ach-toast small { display: block; font: 800 10.5px/1 var(--sans); font-variation-settings: "wdth" 125; letter-spacing: 0.22em; text-transform: uppercase; color: var(--yellow); }
.ach-toast b { display: block; margin-top: 6px; font: italic 900 20px/1 var(--display); text-transform: uppercase; }
.ach-toast em { display: block; margin-top: 4px; font-style: normal; font-size: 13px; color: var(--muted); }
.ach-toast-xp { font: italic 900 18px/1 var(--display); color: var(--yellow); }

/* matchmaking */
.mm { position: relative; border-radius: calc(var(--radius) + 4px); background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(254, 199, 3, 0.09), transparent 70%), var(--ink-2); border: 1px solid var(--line); padding: clamp(24px, 4vw, 52px); min-height: 440px; overflow: hidden; }
.mm::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px 3px); opacity: 0.5; }
.mm-corner { position: absolute; width: 26px; height: 26px; border: 3px solid var(--yellow); }
.mm-corner.tl { left: 14px; top: 14px; border-right: 0; border-bottom: 0; }
.mm-corner.tr { right: 14px; top: 14px; border-left: 0; border-bottom: 0; }
.mm-corner.bl { left: 14px; bottom: 14px; border-right: 0; border-top: 0; }
.mm-corner.br { right: 14px; bottom: 14px; border-left: 0; border-top: 0; }
.mm-in { position: relative; }
.mm-steps { display: flex; align-items: center; gap: 8px; justify-content: center; }
.mm-steps i { width: 34px; height: 5px; border-radius: 5px; background: rgba(248, 244, 233, 0.14); transform: skewX(-20deg); transition: background 0.3s; }
.mm-steps i.done { background: var(--yellow-lo); }
.mm-steps i.on { background: var(--yellow); }
.mm-steps span { margin-left: 8px; font: 800 11px/1 var(--sans); font-variation-settings: "wdth" 125; letter-spacing: 0.24em; color: var(--faint); }
.mm-q { text-align: center; font-size: clamp(36px, 5vw, 64px); margin-top: 26px; }
.mm-opts { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 14px; margin: 34px auto 0; max-width: 860px; }
.mm-opt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 28px 18px 24px;
  border-radius: 18px;
  background: var(--ink-3);
  border: 2px solid var(--line);
  transition: transform 0.25s var(--ease), border-color 0.2s, background 0.2s, box-shadow 0.25s var(--ease);
}
.mm-opt:hover { transform: translateY(-4px); border-color: var(--yellow); box-shadow: 6px 6px 0 0 var(--yellow); }
.mm-opt.picked { background: var(--yellow); color: var(--ink); border-color: var(--yellow); transform: scale(0.97); }
.mm-opt.picked small { color: rgba(13, 12, 15, 0.7); }
.mm-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(254, 199, 3, 0.12); color: var(--yellow); margin-bottom: 10px; transition: background 0.2s, color 0.2s; }
.mm-ico svg { width: 28px; height: 28px; }
.mm-opt.picked .mm-ico { background: var(--ink); }
.mm-opt b { font: italic 900 24px/1 var(--display); text-transform: uppercase; }
.mm-opt small { color: var(--muted); font-size: 14px; font-weight: 600; }
.mm-back { display: flex; align-items: center; gap: 6px; margin: 22px auto 0; color: var(--faint); font-weight: 700; font-size: 14px; }
.mm-back svg { width: 12px; height: 12px; }
.mm-back:hover { color: var(--cream); }

.mm-search { display: grid; justify-items: center; text-align: center; padding: 20px 0; }
.mm-radar { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.mm-radar span:not(.bolt) { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--yellow); opacity: 0; animation: ping 1.8s var(--ease) infinite; }
.mm-radar span:nth-child(2) { animation-delay: 0.6s; }
.mm-radar span:nth-child(3) { animation-delay: 1.2s; }
.mm-radar .bolt { width: 64px; height: 64px; color: var(--yellow); animation: float 1.2s ease-in-out infinite; }
@keyframes ping { 0% { transform: scale(0.3); opacity: 0.9; } 100% { transform: scale(1.25); opacity: 0; } }
.mm-status { margin-top: 26px; font-size: clamp(26px, 3.4vw, 40px); }
.dots::after { content: ""; animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.mm-timer { margin-top: 10px; font: 700 15px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--faint); letter-spacing: 0.1em; }
.mm-reel { display: flex; gap: 12px; margin-top: 26px; }
.mm-reel img { width: 120px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; opacity: 0.35; animation: flick 0.5s steps(1) infinite; }
.mm-reel img:nth-child(2) { animation-delay: 0.25s; }
.mm-reel img:nth-child(3) { animation-delay: 0.12s; }
@keyframes flick { 50% { opacity: 1; outline: 2px solid var(--yellow); outline-offset: 2px; } }

.mm-found { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.mm-art { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; box-shadow: 10px 10px 0 0 var(--accent, var(--yellow)); }
.mm-art img { width: 100%; height: 100%; object-fit: cover; }
.mm-pct { position: absolute; left: 16px; bottom: 16px; padding: 10px 16px; border-radius: 14px; background: var(--yellow); color: var(--ink); font: 800 13px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; display: flex; align-items: baseline; gap: 8px; }
.mm-pct b { font: italic 900 34px/1 var(--display); letter-spacing: 0; }
.mm-flag { display: inline-block; font-size: 15px; padding: 8px 14px; border-radius: 8px; background: rgba(62, 224, 122, 0.14); color: #5cf092; letter-spacing: 0.08em; }
.mm-res h3 { font-size: clamp(48px, 5.6vw, 86px); margin-top: 16px; }
.mm-genre { margin-top: 10px; color: var(--muted); font-weight: 600; }
.mm-why { margin-top: 20px; display: grid; gap: 10px; }
.mm-why li { position: relative; padding-left: 26px; font-size: 15.5px; }
.mm-why li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 4px; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230d0c0f' stroke-width='2.6' d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.mm-cta { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-top: 28px; }
.mm-accept::after { content: ""; position: absolute; inset: -6px -10px; border-radius: 10px; border: 2px solid var(--yellow); transform: skewX(-12deg); animation: ring 1.6s ease-out infinite; pointer-events: none; }
@keyframes ring { 0% { opacity: 0.9; transform: skewX(-12deg) scale(0.96); } 100% { opacity: 0; transform: skewX(-12deg) scale(1.14); } }
.mm-runner { margin-top: 18px; font-size: 14px; color: var(--faint); font-weight: 600; }
.mm-runner a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }

/* GAME ON */
.go {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(ellipse 60% 50% at 50% 42%, rgba(254, 199, 3, 0.22), transparent 70%), rgba(10, 9, 12, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.go.on { opacity: 1; visibility: visible; }
.go-card { text-align: center; max-width: 640px; }
.go-card .eyebrow { justify-content: center; }
.go-title { font-size: clamp(80px, 15vw, 200px); margin-top: 14px; }
.go-title span { display: inline-block; }
.go.on .go-title span { animation: slam 0.6s var(--ease) both; }
.go.on .go-title span + span { animation-delay: 0.12s; }
@keyframes slam { 0% { transform: scale(2.2) rotate(-6deg); opacity: 0; filter: blur(8px); } 60% { transform: scale(0.94); opacity: 1; filter: none; } 100% { transform: none; } }
.go-text { margin-top: 18px; font-size: 18px; color: var(--muted); }
.go-squad { margin: 30px auto 0; padding: 20px 22px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line-2); display: flex; gap: 18px; align-items: center; justify-content: space-between; text-align: left; flex-wrap: wrap; }
.go-squad p { flex: 1; min-width: 200px; color: var(--muted); }
.go-squad b { color: var(--cream); display: block; font-size: 17px; }
.go-row { margin-top: 22px; display: flex; gap: 14px 28px; justify-content: center; flex-wrap: wrap; font-size: 14px; }
.go-row .link-arrow { color: var(--muted); }
.go-row .link-arrow:hover { color: var(--cream); }

@media (max-width: 900px) {
  .xp-slot { display: block; margin-left: auto; }
  .menu-btn { margin-left: 8px; }
  .mm-found { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .xp { padding: 0 5px; }
  .xp-txt { display: none; }
  .mm { padding: 52px 16px 30px; }
  .mm-opts { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  .mm-opt { flex-direction: row; text-align: left; padding: 14px 16px; gap: 14px; }
  .mm-opt .mm-ico { margin: 0; width: 46px; height: 46px; flex: none; }
  .mm-opt b { font-size: 20px; }
  .mm-opt small { margin-left: auto; text-align: right; font-size: 12.5px; max-width: 40%; }
  .mm-reel img { width: 90px; }
  .ach-toast { left: 16px; bottom: 16px; grid-template-columns: 40px 1fr auto; padding: 10px 14px 10px 10px; }
  .ach-toast-ico { width: 40px; height: 40px; }
  .ach-toast em { display: none; }
  .go-squad .btn { width: 100%; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .hero-body { grid-template-columns: 1fr; }
  .hero-pick { width: 100%; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .hero-pick-label { display: none; }
  .pick { flex: 1 0 260px; }
  .spot,
  .spot.flip { grid-template-columns: 1fr; }
  .spot.flip .spot-media { order: 0; }
  .about,
  .ctl-wrap { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts div:nth-child(4) { border-left: 0; }
  .facts div:nth-child(n + 4) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .nav, .head .btn { display: none; }
  .menu-btn { display: grid; }
  .grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step h3 { padding-top: 34px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-top > :first-child { grid-column: 1 / -1; }
  .controls { grid-template-columns: 1fr; }
  .g-play-note { display: block; }
}
@media (max-width: 640px) {
  :root { --head-h: 64px; --radius: 18px; }
  .brand img { height: 36px; }
  .grid { grid-template-columns: 1fr; }
  .hero-hud { display: none; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero::before { background: linear-gradient(0deg, var(--ink) 0%, rgba(13, 12, 15, 0.75) 45%, rgba(13, 12, 15, 0.2) 75%), linear-gradient(180deg, rgba(13, 12, 15, 0.7) 0%, rgba(13, 12, 15, 0) 25%); }
  .g-hero::before { background: linear-gradient(0deg, var(--ink) 0%, rgba(13, 12, 15, 0.7) 45%, rgba(13, 12, 15, 0.15) 75%), linear-gradient(180deg, rgba(13, 12, 15, 0.7) 0%, rgba(13, 12, 15, 0) 25%); }
  .pick { flex-basis: 230px; grid-template-columns: 72px 1fr; }
  .pick img { width: 72px; }
  .feats,
  .feat-cards { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div { border-left: 0 !important; border-top: 1px solid var(--line); }
  .facts div:nth-child(-n + 2) { border-top: 0; }
  .facts div:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .facts div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .shots { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .shot:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .shot:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .foot-top { grid-template-columns: 1fr; }
  .lb { padding: 60px 10px 20px; }
  .lb .prev, .lb .next { top: auto; bottom: 14px; transform: none; }
  .go-band .btn { width: 100%; }
  .spot-thumbs { gap: 6px; }
  .spot-media::before { display: none; }
  .btn.big { min-height: 58px; font-size: 18px; padding: 0 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}

/* ---------- privacy (and any other page of plain text) ---------- */
.legal { padding: 140px 0 90px; max-width: 760px; }
.legal h1 { font-size: clamp(54px, 9vw, 112px); margin: 18px 0 22px; }
.legal h2 { font: 800 15px/1.2 var(--sans); font-variation-settings: "wdth" 125; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); margin: 44px 0 12px; }
.legal p { color: var(--muted); font-size: 16.5px; line-height: 1.65; }
.legal p + p { margin-top: 12px; }
.legal strong { color: var(--cream); }
.legal a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--yellow); }
.legal code { font: 14px ui-monospace, Menlo, monospace; color: var(--cream); background: rgba(248, 244, 233, 0.08); padding: 1px 6px; border-radius: 4px; }
