/* Casino Floor Live! — shared styles.

   The app's own design system, ported: the palette is DesignTokens.Palette
   (felt greens, marquee gold, cream ink), the type is Avenir Next the way the
   app sets it (heavy, tracked capitals for anything that's a sign), and the
   furniture is the home screen's — chunky buttons standing on a hard shadow
   in their own darker shade, felt-green mode cards with an emblem tile, and
   the television: a satin-black slab with a brass hairline, its picture's
   light spilling onto the carpet in the show's colour. */

@font-face {
  /* Fight Night's poster capitals, where the system has them. */
  font-family: "CFL Fight";
  src: local("Futura-CondensedExtraBold"), local("Futura Condensed ExtraBold");
}
@font-face {
  /* The races' heavy condensed calls. */
  font-family: "CFL Poster";
  src: local("AvenirNextCondensed-Heavy"), local("Avenir Next Condensed Heavy");
}
@font-face {
  /* The drag strip's and the moto's, leaning. */
  font-family: "CFL Poster Italic";
  src: local("AvenirNextCondensed-HeavyItalic"), local("Avenir Next Condensed Heavy Italic");
}

:root {
  /* DesignTokens.Palette */
  --felt-500: #1d5638;     /* feltGreen — table felt */
  --felt-700: #113020;     /* feltNoir — cards */
  --felt-800: #0c2317;     /* floor */
  --felt-900: #081810;     /* lobby — the app's surface */
  --felt-950: #05100a;     /* deepNoir */
  --icon-light: #23905a;   /* the icon's felt, lit */
  --icon-dark: #0d3a24;
  --gold-400: #f7c948;     /* accent — the primary action */
  --gold-500: #e3af25;     /* goldTrim — rails and borders */
  --showroom: #ffd14d;     /* DS.showroomGold — the wordmark */
  --cream-100: #fff7e4;    /* ink */
  --cash-400: #4ade80;     /* positive */
  --red-400: #e84b3f;
  --live-red: #ff4238;     /* HomeScene.liveRed */
  --neon-pink: #ff4fa3;
  --neon-cyan: #2bd9c7;
  --osd-green: #73ff8c;    /* ChannelFlipNode's old-set green */
  --mode-green: #17422b;   /* HomeScene.buttonGreen */
  --ink-on-gold: #08120d;

  /* Rarity tints (CharacterRarity.tint) */
  --r-common: #9aa3ac;
  --r-uncommon: #4bd07a;
  --r-rare: #4b9bf5;
  --r-legendary: #f2842b;

  /* The names the legal pages' own styles still use. */
  --cream: var(--cream-100);
  --cream-dim: rgba(255, 247, 228, 0.72);
  --cream-faint: rgba(255, 247, 228, 0.5);
  --gold: var(--gold-400);
  --line: rgba(247, 201, 72, 0.2);
  --line-soft: rgba(255, 247, 228, 0.09);

  --font: "Avenir Next", "Avenir", "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: Menlo, "SF Mono", ui-monospace, Consolas, "DejaVu Sans Mono", monospace;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-lift: 0 26px 70px rgba(0, 0, 0, 0.6);
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1160px;
  --chunk: 5px;            /* ButtonNode.chunk — the hard shadow under a face */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--cream);
  background-color: var(--felt-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* The felt: the lobby's felt-900 with the card-back lattice the icon prints,
   lit faintly from above. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(35, 144, 90, 0.28), transparent 62%),
    repeating-linear-gradient(45deg, rgba(255, 247, 228, 0.016) 0 1.5px, transparent 1.5px 24px),
    repeating-linear-gradient(-45deg, rgba(255, 247, 228, 0.016) 0 1.5px, transparent 1.5px 24px),
    var(--felt-900);
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.005em; line-height: 1.15; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- The crown ----------
   The game's `crown` badge emblem, baked to a ten-frame strip and stepped
   like a flipbook — the same twinkle it has in the app. */
.crown {
  width: 30px;
  height: 30px;
  flex: none;
  background-image: url("sprites/emblem-crown.png");
  background-repeat: no-repeat;
  background-size: 1000% 100%;
  background-position: 0 0;
  animation: crown-twinkle 1.4s steps(1) infinite;
}
.crown-lg { width: 34px; height: 34px; display: inline-block; vertical-align: -8px; margin-right: 4px; }
@keyframes crown-twinkle {
  0%   { background-position: 0% 0; }
  10%  { background-position: 11.111% 0; }
  20%  { background-position: 22.222% 0; }
  30%  { background-position: 33.333% 0; }
  40%  { background-position: 44.444% 0; }
  50%  { background-position: 55.556% 0; }
  60%  { background-position: 66.667% 0; }
  70%  { background-position: 77.778% 0; }
  80%  { background-position: 88.889% 0; }
  90%  { background-position: 100% 0; }
  100% { background-position: 0% 0; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(5, 16, 10, 0.8);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 22px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--showroom);
  font-weight: 900;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand em { font-style: normal; }
.nav-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.nav-links a {
  color: var(--cream-dim);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--gold); text-decoration: none; }
.nav-links a.nav-age {
  color: var(--gold);
  border: 1.5px solid rgba(247, 201, 72, 0.45);
  border-radius: 999px;
  padding: 2px 11px;
  letter-spacing: 0.04em;
}
.nav-links a.nav-age:hover { background: rgba(247, 201, 72, 0.14); border-color: var(--gold); }
.nav-links a.nav-get {
  color: var(--ink-on-gold);
  background: var(--gold-400);
  border-radius: 12px;
  padding: 6px 15px;
  letter-spacing: 0.06em;
  box-shadow: 0 3px 0 #8f6f17, inset 0 1.5px 0 rgba(255, 255, 255, 0.32);
}
.nav-links a.nav-get:hover {
  color: var(--ink-on-gold);
  transform: translateY(1px);
  box-shadow: 0 2px 0 #8f6f17, inset 0 1.5px 0 rgba(255, 255, 255, 0.32);
}

/* ============================================================
   THE HERO — the home screen, standing on the live floor.
   The floor is `floor.js`: the game's own carpet, tables and cast,
   walking. Over it, the crown and the name, the television surfing
   the house's channels, and the ways in.
   ============================================================ */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 20px 0 30px;
  border-bottom: 1px solid var(--line);
}
#floor-canvas {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  display: block;
}
/* The floor stays readable — the players walking it are the point — so the
   veil only pools a little dark behind the words and falls off at the edges. */
.floor-veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(560px 190px at 50% 92px, rgba(5, 16, 10, 0.86), rgba(5, 16, 10, 0.5) 55%, rgba(5, 16, 10, 0) 100%),
    radial-gradient(130% 95% at 50% 45%, rgba(5, 16, 10, 0) 55%, rgba(5, 16, 10, 0.5) 84%, rgba(5, 16, 10, 0.82) 100%),
    linear-gradient(180deg, rgba(5, 16, 10, 0.18) 0%, rgba(5, 16, 10, 0) 26%, rgba(5, 16, 10, 0) 74%, rgba(5, 16, 10, 0.66) 100%);
}
/* The set is as big as the screen's height allows with the whole stack —
   the crown down to the ways in — above the fold. */
.hero-stage {
  --tv-w: min(100%, 940px, max(320px, calc((100svh - 400px) * 1.567)));
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 18px;
}

/* The mark: the crown, then the name set small under it in showroom gold,
   heavy and tracked out, a soft halo under it so it sits in the crown's
   light — HomeScene's `Wordmark`, the lockup the home screen carries. */
.mark { text-align: center; margin-bottom: 12px; }
.crown-mark {
  display: block;
  width: clamp(64px, 7vw, 84px);
  aspect-ratio: 1;
  margin: 0 auto -2px;
  background-image: url("sprites/emblem-crown.png");
  background-repeat: no-repeat;
  background-size: 1000% 100%;
  animation: crown-twinkle 1.4s steps(1) infinite;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55));
}
.wordmark {
  margin: 0 -0.16em 0 0;   /* the tracking runs past the last letter */
  font-weight: 900;
  font-size: clamp(1.12rem, 2.5vw, 1.66rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--showroom);
  text-shadow:
    0 0.08em 0.12em rgba(3, 20, 11, 0.8),
    0 0 0.5em rgba(255, 209, 77, 0.55);
  line-height: 1.25;
}
.tagline {
  margin: 6px auto 0;
  max-width: 680px;
  font-size: clamp(0.96rem, 1.6vw, 1.08rem);
  font-weight: 600;
  color: var(--cream);
  text-shadow: 0 2px 14px rgba(5, 16, 10, 0.95), 0 0 2px rgba(5, 16, 10, 0.9);
}

/* ---------- The set ---------- */
.set { width: var(--tv-w); }

/* The head over the set, in the sheet's grammar: a live dot and the gold
   label, what's on in the show's own colour, a rule, and the control at the
   end. */
.on-air {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  margin-bottom: 8px;
  padding: 0 4px 0 12px;
  border-radius: 10px;
  /* the floor is busy under it: a dark plate keeps the line readable */
  background: rgba(5, 16, 10, 0.8);
  box-shadow: 0 0 0 1px rgba(247, 201, 72, 0.12);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(5, 16, 10, 0.95);
  white-space: nowrap;
}
.on-air-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live-red);
  flex: none;
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.35; } }
.on-air.not-live .on-air-dot { display: none; }
.on-air-label { color: var(--gold-400); flex: none; }
.on-air-show {
  color: var(--show-pale, var(--cash-400));
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  transition: color 0.4s ease;
}
.on-air-rule { flex: 1 1 8px; height: 1px; background: rgba(247, 201, 72, 0.28); min-width: 8px; }
.on-air-next {
  flex: none;
  background: none;
  border: 0;
  padding: 4px 8px 4px 6px;
  cursor: pointer;
  color: var(--gold-400);
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}
.on-air-next:hover { color: var(--showroom); }

.tv {
  --tint: #f7c948;
  --bezel: max(7px, calc(var(--tv-w) * 0.026));
  position: relative;
  isolation: isolate;
}
/* The picture's light: a soft block round the set tinted per show (the
   app's glow), and a wider, fainter pool that reaches the carpet. */
.tv::before,
.tv::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  background: var(--tint);
  transition: background-color 0.4s ease;
}
.tv::before {
  inset: -10px;
  border-radius: calc(18px + var(--bezel));
  filter: blur(26px);
  opacity: 0.5;
}
.tv::after {
  inset: -16% -20%;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.17;
}
.tv-slab {
  position: relative;
  padding: var(--bezel);
  border-radius: calc(9px + var(--bezel));
  background: linear-gradient(180deg, #292929 0%, #0d0d0d 18%, #080808 100%);
  box-shadow:
    0 0 0 1px rgba(227, 175, 37, 0.45),
    0 30px 60px rgba(0, 0, 0, 0.55);
  transition: transform 0.1s ease;
}
.tv.pressed .tv-slab { transform: scale(0.985); }
.tv-glass {
  position: relative;
  overflow: hidden;
  border-radius: 9px;
  aspect-ratio: 1752 / 1118;
  background: #000;
  box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.9);
}
.tv-pic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}
.tv-pic.hidden { visibility: hidden; }
/* A cut holds the last frame over the next picture until that one is on the
   glass (tv.js); the set's own layers stay above both. */
.tv-pic.held { z-index: 1; }
.tv-snow, .tv-osd, .tv-power, .tv-hit { z-index: 2; }
.tv-snow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  opacity: 0;
  pointer-events: none;
}
.tv-osd {
  position: absolute;
  left: 2.2%;
  top: 3.4%;
  padding: 4px 8px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.78);
  color: var(--osd-green);
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(11px, calc(var(--tv-w) * 0.021), 18px);
  white-space: pre;
  opacity: 0;
  pointer-events: none;
}
.tv-osd.on { opacity: 1; }
.tv-osd.fading { opacity: 0; transition: opacity 0.25s ease; }
/* The old set coming on: a line across the dark glass, opening to the
   picture (TVSetNode.powerOn). */
.tv-power {
  position: absolute;
  inset: 0;
  background: #000;
  pointer-events: none;
  display: grid;
  place-items: center;
}
.tv-power i {
  display: block;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.95);
  transform: scaleX(0.001);
}
.tv.powered .tv-power { animation: tv-cover 0.16s ease 0.18s both; }
.tv.powered .tv-power i { animation: tv-line 0.36s both; }
@keyframes tv-line {
  0% { transform: scale(0.001, 1); opacity: 1; animation-timing-function: ease-out; }
  44% { transform: scale(1, 1); opacity: 1; animation-timing-function: ease-in; }
  100% { transform: scale(1, 60); opacity: 0; }
}
@keyframes tv-cover { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }
.tv-hit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 9px;
}

/* ---------- The ways in ----------
   The home screen's play stack: the gold headline with a huddle of the cast,
   then the felt-green mode cards with their emblem tiles. */
.play-stack {
  width: var(--tv-w);
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 12px;
}
.chunky {
  --face: var(--mode-green);
  --under: #0b2116;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 12px 16px;
  margin-bottom: var(--chunk);
  border-radius: 18px;
  background: var(--face);
  box-shadow: 0 var(--chunk) 0 var(--under), 0 18px 34px rgba(0, 0, 0, 0.45);
  color: var(--cream);
  overflow: hidden;
  transition: transform 0.07s ease, box-shadow 0.07s ease;
}
/* A lip of light along the top edge: the face catches the room. */
.chunky::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 2px;
  height: 1.5px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.32);
}
.chunky:hover { text-decoration: none; filter: brightness(1.06); }
.chunky:active {
  transform: translateY(calc(var(--chunk) - 1px));
  box-shadow: 0 1px 0 var(--under), 0 10px 20px rgba(0, 0, 0, 0.4);
}
.play-card {
  --face: var(--gold-400);
  --under: #8f6f17;
  color: var(--ink-on-gold);
  padding-right: 12px;
}
.play-card .words { display: flex; flex-direction: column; min-width: 0; }
.play-title {
  font-weight: 900;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  letter-spacing: 0.01em;
  line-height: 1.05;
}
.play-caption {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 5px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(8, 18, 13, 0.72);
  white-space: nowrap;
}
.play-caption .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1a8c47;
  flex: none;
  animation: blink 1.4s ease-in-out infinite;
}
/* The shine that says "this is the one to press". */
.play-card::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  width: 34%;
  left: -40%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  transform: rotate(20deg);
  animation: shine 4.5s ease-in-out 1.6s infinite;
  pointer-events: none;
}
@keyframes shine {
  0% { left: -40%; }
  16% { left: 115%; }
  100% { left: 115%; }
}
.huddle { display: flex; margin-left: auto; flex: none; padding-left: 8px; }
.huddle i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-left: -11px;
  background: #081c14 no-repeat center 70% / 96%;
  border: 2px solid #b8921c;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.huddle i:first-child { margin-left: 0; }
.mode-card .tile {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: rgba(5, 16, 10, 0.9);
  border: 1px solid rgba(255, 209, 77, 0.35);
}
.mode-card .tile img { width: 84%; height: 84%; }
.mode-card b { display: block; font-weight: 900; font-size: 1.02rem; letter-spacing: 0.03em; line-height: 1.1; text-transform: uppercase; }
.mode-card small { display: block; font-size: 0.8rem; font-weight: 600; color: var(--cream-dim); margin-top: 2px; }

/* ---------- The marquee ----------
   Chase lights over a running board: what's on, all night. */
.marquee {
  position: relative;
  overflow: hidden;
  background: #0a0806;
  border-top: 1px solid rgba(227, 175, 37, 0.55);
  border-bottom: 1px solid rgba(227, 175, 37, 0.55);
  padding: 11px 0;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background-image: radial-gradient(circle at 9px 3px, #ffe39a 1.7px, rgba(255, 227, 154, 0.22) 2.6px, transparent 2.8px);
  background-size: 18px 6px;
  animation: chase 0.9s steps(3) infinite;
}
.marquee::before { top: 1px; }
.marquee::after { bottom: 1px; animation-direction: reverse; }
@keyframes chase { to { background-position: 18px 0; } }
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 50s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 0 18px;
  font-weight: 900;
  font-size: 0.84rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffd98a;
  text-shadow: 0 0 8px rgba(255, 178, 46, 0.65);
  white-space: nowrap;
}
.marquee-track span::after { content: "✦"; color: var(--neon-pink); text-shadow: 0 0 8px rgba(255, 79, 163, 0.8); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.eyebrow.center { display: block; text-align: center; }
.section-title {
  font-size: clamp(1.9rem, 4.2vw, 2.8rem);
  text-align: center;
  margin: 0 0 12px;
  font-weight: 900;
}
/* A title that's a sign: tracked capitals in showroom gold, lit. */
.sign {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--showroom);
  text-shadow: 0 0 0.45em rgba(255, 209, 77, 0.4), 0 0.06em 0.1em rgba(3, 20, 11, 0.8);
}
.section-sub { text-align: center; color: var(--cream-dim); max-width: 660px; margin: 0 auto 42px; font-size: 1.04rem; }
.section-head .section-sub { margin-bottom: 0; }
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  border: 0;
  margin: 0 auto;
  max-width: var(--maxw);
}

/* ---------- On tonight: the TV guide ---------- */
.guide {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.channel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 48, 32, 0.85), rgba(8, 24, 16, 0.9));
  padding: 18px 18px 8px;
  box-shadow: var(--shadow);
}
.channel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 4px 12px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 6px;
}
.ch-num {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--osd-green);
  background: rgba(0, 0, 0, 0.6);
  padding: 2px 7px;
  border-radius: 3px;
  white-space: pre;
}
.channel-head h3 { margin: 0; font-size: 1.12rem; letter-spacing: 0.08em; text-transform: uppercase; }
.channel-head p { margin: 0; flex-basis: 100%; color: var(--cream-dim); font-size: 0.92rem; }
.listing {
  display: grid;
  grid-template-columns: 172px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line-soft);
}
.listing:last-child { border-bottom: 0; }
.mini-tv {
  position: relative;
  padding: 5px;
  border-radius: 12px;
  background: linear-gradient(180deg, #262626, #0b0b0b 22%, #070707);
  box-shadow:
    0 0 0 1px rgba(227, 175, 37, 0.42),
    0 10px 22px rgba(0, 0, 0, 0.5),
    0 0 26px -6px var(--tint, transparent);
}
.mini-tv .glass {
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  aspect-ratio: 1752 / 1118;
  background: #000;
}
.mini-tv img,
.mini-tv video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mini-tv video { opacity: 0; transition: opacity 0.2s ease; }
.mini-tv.playing video { opacity: 1; }
.listing h4 {
  margin: 0 0 3px;
  font-size: 1.32rem;
  line-height: 1.1;
  color: var(--accent, var(--showroom));
}
.listing p { margin: 0; color: var(--cream-dim); font-size: 0.93rem; line-height: 1.5; }
.t-banquet { font-family: "Pirata One", serif; font-weight: 400; font-size: 1.62rem !important; letter-spacing: 0.01em; }
.t-fight { font-family: "CFL Fight", "Oswald", Impact, "Arial Narrow", sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; }
.t-drag, .t-moto { font-family: "CFL Poster Italic", "Oswald", Impact, sans-serif; font-style: italic; font-weight: 900; text-transform: uppercase; }
.t-race { font-family: "CFL Poster", "Oswald", Impact, sans-serif; font-weight: 900; text-transform: uppercase; }
.t-cam { font-family: var(--mono); font-weight: 700; text-transform: uppercase; font-size: 1.06rem !important; letter-spacing: 0.04em; }

.guide-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 22px;
}
.note-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(500px 160px at 10% 0%, rgba(247, 201, 72, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(17, 48, 32, 0.85), rgba(8, 24, 16, 0.9));
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.note-card h3 { margin: 0 0 8px; font-size: 1.06rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--showroom); }
.note-card p { margin: 0; color: var(--cream-dim); font-size: 0.95rem; }
.note-card.cam { display: grid; grid-template-columns: 172px 1fr; gap: 16px; align-items: center; }

/* ---------- The cast ---------- */
.cast-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 26px;
  max-width: 980px;
}
.cast-tab {
  border: 1px solid var(--line);
  background: rgba(17, 48, 32, 0.7);
  color: var(--cream-dim);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.cast-tab b { color: var(--cream-faint); font-weight: 800; margin-left: 4px; }
.cast-tab:hover { border-color: rgba(247, 201, 72, 0.5); color: var(--cream); }
.cast-tab[aria-pressed="true"] { background: var(--gold-400); border-color: var(--gold-400); color: var(--ink-on-gold); }
.cast-tab[aria-pressed="true"] b { color: rgba(8, 18, 13, 0.6); }

.cast-shelf {
  display: grid;
  grid-template-columns: minmax(300px, 390px) 1fr;
  gap: 28px;
  align-items: start;
}
/* The spotlight: one character on a lit felt disc, turning. */
.spotlight {
  position: sticky;
  top: 76px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(255, 236, 180, 0.15), transparent 70%),
    linear-gradient(180deg, rgba(17, 48, 32, 0.94), rgba(5, 16, 10, 0.97));
  box-shadow: var(--shadow);
  padding: 18px 20px 22px;
  overflow: hidden;
}
.spot-stage {
  position: relative;
  height: 292px;
  display: grid;
  place-items: end center;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.spot-stage:active { cursor: grabbing; }
.spot-stage::before {
  /* the beam */
  content: "";
  position: absolute;
  left: 50%;
  top: -60px;
  width: 420px;
  height: 380px;
  transform: translateX(-50%);
  background: radial-gradient(42% 100% at 50% 0%, rgba(255, 240, 200, 0.13), transparent 100%);
  clip-path: polygon(38% 0, 62% 0, 92% 100%, 8% 100%);
  pointer-events: none;
}
.plinth {
  /* a felt disc on a brass rim */
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 224px;
  height: 46px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--icon-light), var(--icon-dark) 85%);
  box-shadow: 0 0 0 3px #b8921c, 0 0 0 4px rgba(0, 0, 0, 0.5), 0 14px 26px rgba(0, 0, 0, 0.55), 0 0 46px -4px var(--glow, transparent);
  transition: box-shadow 0.3s ease;
}
.figure {
  position: relative;
  width: 256px;
  height: 256px;
  margin-bottom: 0;
}
.figure .body {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: 800% 100%;
}
.figure .pet {
  position: absolute;
  background-repeat: no-repeat;
  pointer-events: none;
  animation: pet-float 3.2s ease-in-out infinite;
}
@keyframes pet-float {
  0%, 100% { transform: translate(0, 0); }
  30% { transform: translate(-3px, -7px); }
  65% { transform: translate(2px, -2px); }
}
.spot-turn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  gap: 6px;
}
.spot-turn button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(5, 16, 10, 0.75);
  color: var(--gold-400);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: grid;
  place-items: center;
}
.spot-turn button:hover { border-color: var(--gold-400); }
.spot-info { text-align: center; margin-top: 14px; }
.spot-name {
  margin: 0;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.05;
}
.spot-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 9px 0 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1.5px solid currentColor;
}
.pill.set { color: var(--cream-dim); border-color: var(--line); }
.spot-tagline { margin: 0 auto; max-width: 320px; color: var(--cream); font-style: italic; font-size: 0.98rem; min-height: 1.5em; }
.spot-door {
  margin: 12px auto 0;
  max-width: 330px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--cream-dim);
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

.cast-wall {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(102px, 1fr));
  gap: 10px;
}
.cast-wall li[hidden] { display: none; }
.cast-card {
  --tint: var(--r-common);
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px 12px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(80% 60% at 50% 30%, rgba(35, 144, 90, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(17, 48, 32, 0.8), rgba(5, 16, 10, 0.85));
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.cast-card::after {
  /* the rarity's bar along the foot — the shop case's colour language */
  content: "";
  position: absolute;
  left: 24%;
  right: 24%;
  bottom: 5px;
  height: 3px;
  border-radius: 2px;
  background: var(--tint);
}
.cast-card:hover { transform: translateY(-3px); border-color: rgba(247, 201, 72, 0.4); }
.cast-card[aria-pressed="true"] { border-color: var(--gold-400); box-shadow: 0 0 0 2px var(--gold-400), 0 10px 24px rgba(0, 0, 0, 0.4); }
.cast-card.legendary { border-color: rgba(242, 132, 43, 0.55); box-shadow: 0 0 20px -6px var(--r-legendary); }
.cast-card.legendary[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--gold-400), 0 0 24px -2px var(--r-legendary); }
.cast-card img { width: 84px; height: 84px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.4)); }
.cast-card span { font-size: 0.78rem; font-weight: 800; color: var(--cream); text-align: center; line-height: 1.2; }
.cast-foot { margin: 24px auto 0; text-align: center; color: var(--cream-dim); font-size: 0.92rem; max-width: 760px; }

/* ---------- Phone frames ---------- */
.phone {
  position: relative;
  border-radius: 38px;
  padding: 9px;
  background: linear-gradient(160deg, #3a3f3c, #0d1210 55%);
  box-shadow: var(--shadow-lift), 0 0 0 1px rgba(247, 201, 72, 0.16);
  flex: none;
  width: 260px;
}
.phone img,
.phone video { border-radius: 30px; width: 100%; height: auto; display: block; background: #000; }
.phone video { aspect-ratio: 886 / 1920; object-fit: cover; }
.phone::after {
  /* the Dynamic Island, so the frame reads as a phone and not a picture */
  content: "";
  position: absolute;
  top: 19px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 18px;
  border-radius: 999px;
  background: #050a08;
}
.phone .sound {
  position: absolute;
  right: 20px;
  bottom: 24px;
  z-index: 2;
  border: 1px solid rgba(255, 247, 228, 0.3);
  background: rgba(5, 16, 10, 0.8);
  color: var(--cream);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.phone .sound:hover { border-color: var(--gold-400); color: var(--gold-400); }

/* ---------- Showcase rows (a phone beside copy) ---------- */
.showcase {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}
.showcase.flip { grid-template-columns: 1fr 300px; }
.showcase.flip .showcase-art { order: 2; }
.showcase-art { display: flex; justify-content: center; }
.showcase-art .phone { width: 290px; }
.showcase h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: 0 0 14px; }
.showcase p { color: var(--cream-dim); margin: 0 0 14px; }
.showcase ul { margin: 0; padding-left: 20px; color: var(--cream-dim); }
.showcase li { margin: 8px 0; }
.showcase li strong { color: var(--cream); }

/* ---------- Badges (the little pills) ---------- */
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.badge {
  border: 1px solid var(--line);
  background: rgba(5, 16, 10, 0.5);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 0.8rem;
  color: var(--cream-dim);
  font-weight: 700;
}
.badge strong { color: var(--gold); }

/* ---------- Buttons ---------- */
.cta {
  display: inline-block;
  background: var(--gold-400);
  color: var(--ink-on-gold);
  font-weight: 900;
  letter-spacing: 0.03em;
  padding: 15px 30px;
  border-radius: 16px;
  font-size: 1.04rem;
  box-shadow: 0 var(--chunk) 0 #8f6f17, inset 0 1.5px 0 rgba(255, 255, 255, 0.32), var(--shadow);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.cta:hover {
  text-decoration: none;
  transform: translateY(2px);
  box-shadow: 0 3px 0 #8f6f17, inset 0 1.5px 0 rgba(255, 255, 255, 0.32), var(--shadow);
}
.cta.ghost {
  background: rgba(255, 247, 228, 0.06);
  color: var(--cream);
  border: 1.5px solid var(--line);
  box-shadow: none;
  padding: 14px 24px;
  font-size: 0.98rem;
}
.cta.ghost:hover { background: rgba(255, 247, 228, 0.1); border-color: var(--gold); transform: none; }
.hero-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* ---------- Feature grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.card {
  background: linear-gradient(180deg, rgba(17, 48, 32, 0.85), rgba(8, 24, 16, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(247, 201, 72, 0.4); }
.card .ico { font-size: 1.9rem; margin-bottom: 10px; line-height: 1; }
.card .ico img { width: 54px; height: 54px; }
.card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--cream-dim); font-size: 0.94rem; }

/* ---------- Games: chips ---------- */
.games {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 920px;
  margin: 0 auto;
}
.game-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 48, 32, 0.9), rgba(8, 24, 16, 0.92));
  border-radius: 999px;
  padding: 7px 18px 7px 8px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--cream);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.game-chip:hover { transform: translateY(-2px); border-color: rgba(247, 201, 72, 0.5); text-decoration: none; }
.game-chip a { color: inherit; }
.game-chip a:hover { text-decoration: none; color: var(--gold); }
/* The little dot is a chip: a dashed ring like the $25 chip in the game. */
.game-chip span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: #21803f;
  border: 2px dashed rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1;
}
.game-chip:nth-child(4n + 2) span { background: #c93327; }
.game-chip:nth-child(4n + 3) span { background: #6b4fc0; }
.game-chip:nth-child(4n + 4) span { background: #1f1f1f; }
.game-chip span img { width: 26px; height: 26px; }

/* ---------- Pick a game: the phone and the wall ---------- */
.game-shelf {
  display: grid;
  grid-template-columns: minmax(300px, 360px) 1fr;
  gap: 28px;
  align-items: start;
}
/* The spotlight: the game on the app's own screen, on the cast's lit felt. */
.game-spot {
  position: sticky;
  top: 76px;
  scroll-margin-top: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 40% at 50% 0%, rgba(255, 236, 180, 0.15), transparent 70%),
    linear-gradient(180deg, rgba(17, 48, 32, 0.94), rgba(5, 16, 10, 0.97));
  box-shadow: var(--shadow);
  padding: 22px 20px;
}
.game-spot .phone { width: 228px; }
/* A cut between games: the screen drops to black and comes up on the deal. */
.game-video { transition: filter 0.25s ease; }
.game-video.cut { filter: brightness(0); transition: none; }
.game-info { text-align: center; margin-top: 18px; max-width: 320px; }
.game-info .spot-name { font-size: 1.7rem; }
.game-info .pill { color: var(--gold); }
.game-info .pill.set { color: var(--cream-dim); }
.game-line { margin: 0; color: var(--cream); font-size: 0.96rem; min-height: 4.5em; }
.game-rules {
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.86rem;
  font-weight: 800;
}

.game-wall {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.game-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 7px 7px 10px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(80% 60% at 50% 30%, rgba(35, 144, 90, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(17, 48, 32, 0.8), rgba(5, 16, 10, 0.85));
  color: var(--cream);
  font: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.game-card > img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 11px; background: #000; }
.game-card span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 3px;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: left;
}
/* The game's chip, as on the games page. */
.game-card .chip {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #21803f;
  border: 2px dashed rgba(255, 255, 255, 0.65);
}
.game-wall li:nth-child(4n + 2) .chip { background: #c93327; }
.game-wall li:nth-child(4n + 3) .chip { background: #6b4fc0; }
.game-wall li:nth-child(4n + 4) .chip { background: #1f1f1f; }
.game-card .chip img { width: 18px; height: 18px; }
.game-card:hover { transform: translateY(-3px); border-color: rgba(247, 201, 72, 0.4); }
.game-card[aria-pressed="true"] { border-color: var(--gold-400); box-shadow: 0 0 0 2px var(--gold-400), 0 10px 24px rgba(0, 0, 0, 0.4); }
.game-foot { margin: 26px auto 0; text-align: center; color: var(--cream-dim); font-size: 0.92rem; max-width: 760px; }

/* ---------- Vision Pro visor ---------- */
.visor {
  position: relative;
  margin: 0 auto 34px;
  max-width: 920px;
  padding: 10px;
  border-radius: 34px;
  background: linear-gradient(160deg, rgba(255, 247, 228, 0.14), rgba(12, 19, 16, 0.6) 60%);
  box-shadow: var(--shadow-lift), 0 0 0 1px rgba(247, 201, 72, 0.16);
}
/* The bloom behind it bleeds vertically only — a sideways bleed widens the
   page, and html can't clip it without breaking the sticky header. */
.visor::before {
  content: "";
  position: absolute;
  inset: -8% 0;
  z-index: -1;
  border-radius: 60px;
  background: radial-gradient(closest-side, rgba(35, 144, 90, 0.45), transparent 72%);
  pointer-events: none;
}
.visor img { border-radius: 26px; width: 100%; height: auto; }
.visor figcaption {
  margin-top: 14px;
  padding: 0 12px 4px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--cream-faint);
}
.vision-grid { max-width: 960px; margin: 0 auto; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ---------- Callout (VIP) ---------- */
.callout {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(520px 200px at 50% 0%, rgba(247, 201, 72, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(17, 48, 32, 0.9), rgba(5, 16, 10, 0.95));
  border: 1.5px solid rgba(247, 201, 72, 0.4);
  border-radius: var(--radius-lg);
  padding: 34px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.callout h3 { font-size: 1.6rem; margin: 0 0 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--showroom); }
.callout p { color: var(--cream-dim); margin: 0 auto; max-width: 600px; }

/* ---------- The closing "get it" band ---------- */
.get-band {
  text-align: center;
  max-width: 740px;
  margin: 0 auto;
  padding: 42px 34px 46px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(620px 220px at 50% 0%, rgba(247, 201, 72, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(17, 48, 32, 0.92), rgba(5, 16, 10, 0.95));
  box-shadow: var(--shadow);
}
.get-icon {
  width: 104px;
  height: 104px;
  border-radius: 23px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.08);
  margin: 0 auto 20px;
}
.get-band h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 10px; }
.get-band p { color: var(--cream-dim); margin: 0 auto 26px; max-width: 520px; }

/* ---------- The 18+ block ---------- */
.rating {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 34px;
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(247, 201, 72, 0.34);
  background:
    radial-gradient(600px 200px at 12% 0%, rgba(247, 201, 72, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(17, 48, 32, 0.9), rgba(5, 16, 10, 0.95));
  box-shadow: var(--shadow);
}
.rating-mark {
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  flex: none;
  border-radius: 50%;
  background: var(--gold-400);
  border: 4px dashed rgba(255, 255, 255, 0.62);
  color: var(--ink-on-gold);
  font-weight: 900;
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: -0.02em;
  box-shadow: 0 10px 30px rgba(247, 201, 72, 0.24);
}
.rating h3 { margin: 0 0 8px; font-size: 1.5rem; }
.rating p { color: var(--cream-dim); margin: 0 0 16px; }
.rating .cta { padding: 12px 24px; font-size: 0.98rem; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 60px;
  margin-top: 30px;
  color: var(--cream-dim);
  font-size: 0.9rem;
  background: rgba(5, 16, 10, 0.6);
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--cream-dim); font-weight: 700; }
.footer-links a:hover { color: var(--gold); text-decoration: none; }
.footer-note { font-size: 0.82rem; color: rgba(255, 247, 228, 0.5); margin-top: 18px; max-width: 780px; }

/* ---------- Landing pages (games / multiplayer / Vision Pro) ---------- */
.page-head {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 0 10px;
  text-align: center;
}
.page-head h1 {
  font-size: clamp(2rem, 5.2vw, 3rem);
  margin: 10px 0 14px;
  line-height: 1.12;
  font-weight: 900;
}
.page-head .lede { color: var(--cream-dim); font-size: 1.08rem; margin: 0 auto; max-width: 640px; }
.page-head .badges { justify-content: center; }
.page-head .hero-cta { justify-content: center; margin-top: 26px; }

.prose { max-width: 780px; margin: 0 auto; }
.prose h3 {
  font-size: 1.22rem;
  margin: 34px 0 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--gold);
  scroll-margin-top: 76px;    /* a link to a game's rules lands under the header, not behind it */
}
.prose h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose p { color: var(--cream-dim); margin: 0 0 12px; }
.prose ul { color: var(--cream-dim); padding-left: 22px; margin: 0 0 12px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--cream); }

.more-links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.more-links a {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 48, 32, 0.9), rgba(8, 24, 16, 0.92));
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 800;
  font-size: 0.94rem;
}
.more-links a:hover { text-decoration: none; border-color: rgba(247, 201, 72, 0.5); }

/* ---------- Legal / doc pages ---------- */
.doc {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 0 40px;
}
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 0 0 6px; font-weight: 900; }
.doc .eff { color: var(--cream-dim); font-size: 0.92rem; margin: 0 0 34px; }
.doc h2 {
  font-size: 1.35rem;
  margin: 38px 0 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--gold);
}
.doc h3 { font-size: 1.08rem; margin: 22px 0 8px; }
.doc p, .doc li { color: var(--cream); font-size: 1rem; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .lead { font-size: 1.08rem; color: var(--cream-dim); }
.doc strong { color: var(--cream); }
.doc a { text-decoration: underline; }
.tldr {
  background: rgba(17, 48, 32, 0.8);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 22px 0 8px;
}
.tldr strong { color: var(--gold); }
.back { display: inline-block; margin-bottom: 26px; color: var(--cream-dim); font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 15px; }
  .cast-shelf { grid-template-columns: 1fr; }
  .spotlight { position: relative; top: 0; max-width: 520px; margin: 0 auto; width: 100%; }
  /* The phone beside its words, the wall under them. */
  .game-shelf { grid-template-columns: 1fr; }
  .game-spot { position: relative; top: 0; flex-direction: row; justify-content: center; gap: 26px; max-width: 640px; margin: 0 auto; width: 100%; }
  .game-spot .phone { width: 210px; }
  .game-info { text-align: left; margin-top: 0; }
  .game-info .spot-meta { justify-content: flex-start; }
}
@media (max-width: 1040px) {
  /* The bar keeps one line: the two product pages go first — the hero's
     mode cards and the footer both carry them. */
  .nav-links a.nav-more { display: none; }
}
@media (max-width: 960px) {
  .nav-links a.nav-get { display: none; }
  .guide, .guide-foot { grid-template-columns: 1fr; }
  .play-stack { grid-template-columns: 1fr 1fr; gap: 10px; }
  .play-card { grid-column: 1 / -1; min-height: 80px; }
  .showcase, .showcase.flip { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .showcase.flip .showcase-art { order: 0; }
  .showcase ul { text-align: left; display: inline-block; }
}
@media (max-width: 760px) {
  .nav-links a.nav-jump { display: none; }
  .mode-card { min-height: 66px; padding: 10px 12px; gap: 10px; }
  .mode-card .tile { width: 38px; height: 38px; border-radius: 10px; }
  .mode-card b { font-size: 0.9rem; }
  .mode-card small { font-size: 0.74rem; }
}
@media (max-width: 620px) {
  .rating { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 28px 22px; }
  .listing, .note-card.cam { grid-template-columns: 126px 1fr; gap: 12px; }
  .listing h4 { font-size: 1.1rem; }
  .t-banquet { font-size: 1.34rem !important; }
  .listing p { font-size: 0.86rem; }
}
@media (max-width: 560px) {
  .nav { padding: 9px 16px; }
  .nav-links { gap: 12px; }
  .brand { font-size: 0.72rem; letter-spacing: 0.1em; gap: 8px; }
  .hero { padding: 20px 0 28px; }
  .hero-stage { padding: 0 14px; }
  .on-air { font-size: 0.64rem; gap: 6px; }
  section { padding: 54px 0; }
  .spot-stage { height: 248px; }
  .figure { width: 216px; height: 216px; }
  .plinth { width: 196px; }
  .cast-wall { grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 8px; }
  /* One swipeable row of shelves, the way the app's chip strips scroll. */
  .cast-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    margin: 0 -22px 20px;
    padding: 2px 22px 6px;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
  }
  .cast-tabs::-webkit-scrollbar { display: none; }
  .cast-tab { flex: none; }
  .cast-card img { width: 64px; height: 64px; }
  .cast-card span { font-size: 0.7rem; }
  .game-spot { flex-direction: column; gap: 0; padding: 18px 14px; }
  .game-spot .phone { width: 200px; }
  .game-info { text-align: center; margin-top: 16px; }
  .game-info .spot-meta { justify-content: center; }
  .game-info .spot-name { font-size: 1.45rem; }
  .game-line { min-height: 0; }
  .game-wall { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .game-card { padding: 5px 5px 8px; gap: 6px; border-radius: 13px; }
  .game-card > img { border-radius: 9px; }
  .game-card span { gap: 5px; padding: 0 1px; font-size: 0.7rem; }
  .game-card .chip { width: 20px; height: 20px; border-width: 1.5px; }
  .game-card .chip img { width: 14px; height: 14px; }
  .cast-tab { padding: 6px 11px; font-size: 0.66rem; }
  .showcase-art .phone { width: 250px; }
  .cta, .cta.ghost { width: 100%; text-align: center; }
  .channel { padding: 14px 12px 4px; }
}
@media (max-width: 380px) {
  .listing, .note-card.cam { grid-template-columns: 1fr; }
  .play-title { font-size: 1.18rem; }
  .huddle i { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .crown, .crown-mark, .on-air-dot, .play-caption .dot, .play-card::after,
  .marquee-track, .marquee::before, .marquee::after, .figure .pet { animation: none !important; }
}
