/* =========================================================
   THE GAME GUYS — site styles
   ========================================================= */

:root {
  --bg: #0b0620;
  --bg-2: #120a33;
  --panel: #1a0f47;
  --panel-2: #22145a;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --ink: #1b0b33;
  --text: #f6f1ff;
  --muted: #b9acec;
  --dim: #8a7cc4;

  --gold: #ffcc33;
  --orange: #ff7a1a;
  --pink: #ff4fa3;
  --violet: #8b5cff;
  --cyan: #2de2ff;
  --lime: #7dff5a;

  --accent: var(--cyan);
  --accent-2: var(--violet);

  --radius: 22px;
  --radius-lg: 32px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 10px; }

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

/* ---------- Background layers ---------- */
.bg-stars {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(139, 92, 255, .35), transparent 60%),
    radial-gradient(900px 600px at -10% 20%, rgba(255, 79, 163, .18), transparent 60%),
    radial-gradient(900px 700px at 50% 110%, rgba(45, 226, 255, .12), transparent 60%),
    var(--bg);
}
#starfield { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .9; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; font-weight: 800; line-height: 1.05; margin: 0; letter-spacing: .01em; }
p { margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; border-radius: 3px; background: currentColor;
  box-shadow: 0 0 12px currentColor; transform: rotate(45deg);
}
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 60ch; }

/* Sticker headline: gradient face, dark outline, extruded shadow — matches the logo */
.sticker {
  --face: linear-gradient(180deg, #fff6b0 0%, var(--gold) 45%, var(--orange) 100%);
  position: relative; display: inline-block;
  padding: 0 .06em;
  color: var(--ink);
  -webkit-text-stroke: .2em var(--ink);
  text-shadow: 0 .12em 0 var(--ink), 0 .2em 30px rgba(0, 0, 0, .35);
}
.sticker::after {
  content: attr(data-text);
  position: absolute; inset: 0; padding: inherit;
  -webkit-text-stroke: 0; text-shadow: none;
  color: transparent;
  background: var(--face);
  -webkit-background-clip: text; background-clip: text;
  pointer-events: none;
}
.sticker--pink { --face: linear-gradient(180deg, #ffe0f3 0%, var(--pink) 55%, #d81b7a 100%); }
.sticker--cyan { --face: linear-gradient(180deg, #e6fdff 0%, var(--cyan) 50%, #1590d8 100%); }
.sticker--lime { --face: linear-gradient(180deg, #f1ffe8 0%, var(--lime) 50%, #2fb52a 100%); }
.sticker--white { --face: linear-gradient(180deg, #fff 0%, #fff 55%, #d8ccff 100%); }

.h-xl { font-size: clamp(48px, 8.4vw, 112px); }
.h-lg { font-size: clamp(38px, 5.6vw, 72px); }
.h-md { font-size: clamp(28px, 3.4vw, 44px); }

/* ---------- Buttons (chunky game buttons) ---------- */
.btn {
  --b: var(--gold); --b-hi: #fff1a6; --b-lo: #e08a00; --b-text: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px;
  font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: .03em; text-transform: uppercase;
  color: var(--b-text);
  background: linear-gradient(180deg, var(--b-hi) 0%, var(--b) 40%, var(--b-lo) 100%);
  border: 3px solid var(--ink); border-radius: 18px;
  box-shadow: 0 6px 0 var(--ink), 0 14px 30px -10px var(--b), inset 0 -4px 0 rgba(0, 0, 0, .12);
  transition: transform .18s var(--ease-back), box-shadow .18s var(--ease-out), filter .2s;
  white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; left: 12px; right: 12px; top: 5px; height: 35%;
  border-radius: 12px; background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--ink), 0 22px 40px -12px var(--b), inset 0 -4px 0 rgba(0, 0, 0, .12); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink), 0 6px 14px -8px var(--b), inset 0 -2px 0 rgba(0, 0, 0, .12); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--green { --b: #3fd44a; --b-hi: #b7ff9e; --b-lo: #1f9a2b; --b-text: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.btn--pink { --b: var(--pink); --b-hi: #ffc2e3; --b-lo: #c4106b; --b-text: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.btn--violet { --b: var(--violet); --b-hi: #cdb8ff; --b-lo: #5a2fd8; --b-text: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.btn--ghost {
  --b: transparent; background: rgba(255, 255, 255, .06); color: var(--text);
  border-color: var(--line-2); box-shadow: none; backdrop-filter: blur(8px);
}
.btn--ghost::after { display: none; }
.btn--ghost:hover { box-shadow: none; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 16px; border-radius: 14px; box-shadow: 0 4px 0 var(--ink); }
.btn--sm:hover { box-shadow: 0 6px 0 var(--ink); }
.btn.is-soon { filter: saturate(.55) brightness(.9); cursor: default; }
.btn.is-soon:hover { transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-stuck {
  background: rgba(11, 6, 32, .78); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line), 0 20px 40px -30px rgba(0, 0, 0, .8);
}
.nav { display: flex; align-items: center; gap: 24px; height: 84px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 50px; width: auto; transition: transform .3s var(--ease-back); }
.brand:hover img { transform: rotate(-3deg) scale(1.04); }
.nav-links { display: flex; gap: 6px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a {
  display: block; padding: 10px 16px; border-radius: 12px;
  font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-cta { flex: none; }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2); margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 3px; margin: 4px auto; background: #fff; border-radius: 3px; transition: transform .3s, opacity .3s; }

@media (max-width: 920px) {
  .nav { height: 72px; }
  .brand img { height: 42px; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; inset: 72px 12px auto; flex-direction: column; gap: 4px; padding: 12px;
    background: rgba(20, 11, 55, .97); border: 1px solid var(--line-2); border-radius: 22px;
    box-shadow: 0 30px 60px -20px #000;
    transform: translateY(-12px) scale(.98); opacity: 0; pointer-events: none;
    transition: transform .3s var(--ease-out), opacity .25s;
  }
  .nav-links a { padding: 14px 16px; font-size: 20px; }
  .nav-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 980px); padding: 130px 0 0; display: flex; flex-direction: column; overflow: hidden; }
.hero-grid {
  position: absolute; left: -50%; right: -50%; bottom: 0; height: 46%; z-index: -1;
  background:
    linear-gradient(to top, transparent, var(--bg) 92%),
    repeating-linear-gradient(90deg, rgba(139, 92, 255, .55) 0 2px, transparent 2px 90px),
    repeating-linear-gradient(0deg, rgba(255, 79, 163, .5) 0 2px, transparent 2px 90px);
  transform: perspective(500px) rotateX(62deg);
  transform-origin: bottom center;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  animation: grid-run 2.4s linear infinite;
}
@keyframes grid-run { to { background-position: 0 0, 0 0, 0 90px; } }
.hero-sun {
  position: absolute; left: 50%; bottom: 34%; width: min(620px, 80vw); aspect-ratio: 1; z-index: -1;
  transform: translateX(-50%); border-radius: 50%;
  background: linear-gradient(180deg, #ffe066 0%, #ff7a1a 45%, #ff3d8b 75%, #8b5cff 100%);
  -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 26px, transparent 26px 34px), linear-gradient(#000 40%, transparent 70%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask-image: repeating-linear-gradient(180deg, #000 0 26px, transparent 26px 34px), linear-gradient(#000 40%, transparent 70%);
  opacity: .32; filter: blur(.5px);
}
.hero-inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; flex: 1; padding-bottom: 60px; }
.hero-copy { position: relative; z-index: 2; }
.press-start {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 8px 16px 8px 10px;
  border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2);
  font-family: var(--display); font-weight: 800; letter-spacing: .12em; font-size: 14px; text-transform: uppercase; color: var(--muted);
}
.press-start b { padding: 4px 10px; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 800; letter-spacing: .08em; }
.blink { animation: blink 1.1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.hero h1 { margin-bottom: 26px; }
.hero h1 .line { display: block; }
.hero h1 .line + .line { margin-top: .06em; }
.hero .lead { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.hero-stats li {
  display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 16px;
  background: rgba(26, 15, 71, .7); border: 1px solid var(--line); backdrop-filter: blur(6px);
}
.hero-stats .ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--c, var(--violet)); border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.hero-stats .ico svg { width: 20px; height: 20px; }
.hero-stats strong { display: block; font-family: var(--display); font-weight: 800; font-weight: 800; font-size: 22px; line-height: 1; }
.hero-stats span { font-size: 13px; color: var(--muted); font-weight: 700; }

/* TV stage */
.stage { position: relative; perspective: 1400px; z-index: 1; }
.tv {
  position: relative; width: 100%; aspect-ratio: 16 / 10; padding: 3.2% 3.2% 6%;
  border-radius: 28px;
  background: linear-gradient(160deg, #2c2163 0%, #160c3d 60%, #0e0828 100%);
  border: 3px solid var(--ink);
  box-shadow:
    0 0 0 6px rgba(139, 92, 255, .25),
    0 50px 80px -30px rgba(0, 0, 0, .9),
    0 0 120px -20px rgba(255, 79, 163, .45),
    inset 0 2px 0 rgba(255, 255, 255, .15);
  transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg);
  transform-style: preserve-3d;
  transition: transform .8s var(--ease-out);
}
.stage:hover .tv { transform: rotateY(-6deg) rotateX(3deg); }
.tv::after {
  content: ""; position: absolute; left: 50%; bottom: 2%; width: 9%; height: 2.2%; transform: translateX(-50%);
  border-radius: 10px; background: rgba(255, 255, 255, .12);
}
.tv-led { position: absolute; right: 5%; bottom: 2.5%; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.tv-screen { position: relative; width: 100%; height: 100%; border-radius: 14px; overflow: hidden; background: #000; border: 2px solid #000; }
.tv-screen img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity .9s ease, transform 5s ease;
}
.tv-screen img.is-on { opacity: 1; transform: scale(1); }
.tv-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 32%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 3px);
  mix-blend-mode: screen;
}
.tv-label {
  position: absolute; left: 4%; top: 6%; z-index: 2;
  padding: 6px 12px; border-radius: 10px; background: rgba(11, 6, 32, .8); border: 1px solid var(--line-2);
  font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.tv-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff3d3d; box-shadow: 0 0 10px #ff3d3d; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.tv-legs { display: flex; justify-content: space-between; width: 70%; margin: -4px auto 0; transform: rotateY(-14deg); }
.tv-legs i { width: 14%; height: 26px; background: linear-gradient(#24185a, #0f0930); border: 3px solid var(--ink); border-top: 0; border-radius: 0 0 10px 10px; clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }

.floaty {
  position: absolute; z-index: 3; width: clamp(70px, 9vw, 118px); aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden;
  border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink), 0 20px 40px -10px rgba(0, 0, 0, .7);
  animation: bob 6s ease-in-out infinite;
}
.floaty img { width: 100%; height: 100%; object-fit: cover; }
.floaty--1 { top: -9%; left: 6%; --r: -10deg; animation-delay: -1s; }
.floaty--2 { top: -4%; right: -2%; --r: 9deg; animation-delay: -2.5s; }
.floaty--3 { bottom: 4%; left: -6%; --r: 7deg; animation-delay: -4s; }
.floaty--4 { bottom: -6%; right: 10%; --r: -6deg; animation-delay: -3.2s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-16px) rotate(calc(var(--r) * -.4)); } }

.coin {
  position: absolute; z-index: 4; width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6b0, var(--gold) 45%, #e08a00 100%);
  border: 3px solid var(--ink); box-shadow: inset -3px -3px 0 rgba(0, 0, 0, .15);
  animation: spin 3s linear infinite, bob 5s ease-in-out infinite;
}
.coin::after { content: ""; position: absolute; inset: 7px 12px; border-radius: 4px; background: rgba(255, 255, 255, .6); }
@keyframes spin { 0%, 100% { scale: 1 1; } 50% { scale: .2 1; } }
.coin--1 { top: 20%; left: -4%; --r: 0deg; }
.coin--2 { top: 48%; right: -5%; --r: 0deg; animation-delay: -1.2s, -2s; }
.spark { position: absolute; z-index: 4; width: 26px; height: 26px; color: #fff; animation: twinkle 2.2s ease-in-out infinite; }
.spark--1 { top: 6%; left: 38%; }
.spark--2 { bottom: 18%; right: -2%; animation-delay: -1s; color: var(--cyan); }
@keyframes twinkle { 0%, 100% { transform: scale(.6) rotate(0); opacity: .5; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }

@media (max-width: 980px) {
  .hero { padding-top: 110px; }
  .hero-inner { grid-template-columns: 1fr; }
  .stage { max-width: 620px; margin: 30px auto 0; width: 100%; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative; z-index: 2; overflow: hidden;
  background: var(--gold); color: var(--ink);
  border-block: 4px solid var(--ink);
  transform: rotate(-1.6deg) scale(1.03);
  box-shadow: 0 12px 0 rgba(0, 0, 0, .35);
}
.marquee--alt { background: var(--pink); color: #fff; transform: rotate(1.4deg) scale(1.03); margin-top: -30px; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee--alt .marquee-track { animation-direction: reverse; animation-duration: 40s; }
.marquee-track span { display: flex; align-items: center; gap: 26px; padding: 14px 13px; font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2.4vw, 30px); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.marquee-track svg { width: 24px; height: 24px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(90px, 12vw, 150px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 40px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head > div { max-width: 720px; }
.section-head h2 { margin: 14px 0 18px; }

/* ---------- Game library (character select) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 18px; border-radius: 999px; border: 2px solid var(--line-2); background: rgba(255, 255, 255, .04);
  font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted);
  transition: all .2s;
}
.chip:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--ink); color: var(--ink); box-shadow: 0 4px 0 var(--ink); }

.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
@media (max-width: 1020px) { .games { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .games { grid-template-columns: 1fr; } }

.game-card {
  --c1: var(--violet); --c2: var(--pink);
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius-lg); padding: 12px;
  background: linear-gradient(165deg, color-mix(in srgb, var(--c1) 40%, var(--panel)) 0%, var(--panel) 55%);
  border: 3px solid var(--ink);
  box-shadow: 0 8px 0 var(--ink), 0 30px 60px -30px color-mix(in srgb, var(--c1) 70%, transparent);
  transform-style: preserve-3d;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
  will-change: transform;
}
.game-card::before {
  content: ""; position: absolute; inset: -3px; border-radius: inherit; padding: 3px; z-index: -1;
  background: conic-gradient(from var(--ang, 0deg), var(--c1), var(--c2), var(--gold), var(--c1));
  opacity: 0; transition: opacity .3s;
  filter: blur(14px);
}
.game-card:hover::before { opacity: .85; animation: ang 3s linear infinite; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ang { to { --ang: 360deg; } }
.game-card:hover { box-shadow: 0 14px 0 var(--ink), 0 40px 70px -30px var(--c1); }
.game-card.is-hidden { display: none; }

.game-art { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; border: 3px solid var(--ink); background: #000; }
.game-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.game-card:hover .game-art img { transform: scale(1.07); }
.game-art .shot { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.game-card:hover .game-art .shot { opacity: 1; }
.tag {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  padding: 5px 12px; border-radius: 10px; background: var(--ink); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  display: inline-flex; gap: 6px; align-items: center;
}
.tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--c1); box-shadow: 0 0 8px var(--c1); }
.badge-roku {
  position: absolute; right: 12px; top: 12px; z-index: 2; padding: 5px 10px; border-radius: 10px;
  background: #6c1ac7; color: #fff; border: 2px solid var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
}
.game-body { padding: 18px 10px 8px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.game-body h3 { font-size: 32px; }
.game-body p { color: var(--muted); font-size: 16px; }
.game-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.game-meta span { font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .07); color: #e4dcff; }
.game-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 12px; flex-wrap: wrap; }
.game-actions .btn { flex: 1; }

/* ---------- Spotlight (console menu) ---------- */
.spotlight {
  display: grid; grid-template-columns: 320px 1fr; gap: 26px;
  padding: 18px; border-radius: 36px;
  background: linear-gradient(160deg, #23165f, #140b3b);
  border: 3px solid var(--ink);
  box-shadow: 0 10px 0 var(--ink), 0 40px 90px -40px rgba(139, 92, 255, .7), inset 0 2px 0 rgba(255, 255, 255, .08);
}
.carts { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; }
.cart {
  --c1: var(--violet);
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 10px; text-align: left;
  border-radius: 18px; border: 2px solid transparent; background: rgba(255, 255, 255, .04);
  transition: background .2s, border-color .2s, transform .25s var(--ease-back);
}
.cart img { width: 64px; height: 48px; object-fit: cover; border-radius: 10px; border: 2px solid var(--ink); flex: none; }
.cart strong { display: block; font-family: var(--display); font-weight: 800; font-weight: 800; font-size: 20px; line-height: 1.1; }
.cart small { color: var(--dim); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.cart:hover { background: rgba(255, 255, 255, .08); }
.cart[aria-selected="true"] {
  background: color-mix(in srgb, var(--c1) 26%, transparent); border-color: var(--c1);
  transform: translateX(6px);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c1) 25%, transparent), 0 10px 30px -10px var(--c1);
}
.cart[aria-selected="true"] small { color: #fff; }
.spot-view { display: grid; grid-template-rows: auto 1fr; gap: 20px; min-width: 0; }
.spot-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; border: 3px solid var(--ink); background: #000; }
.spot-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.spot-screen img.is-on { opacity: 1; }
.spot-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.spot-dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .45); border: 2px solid var(--ink); padding: 0; transition: width .3s, background .3s; }
.spot-dots button.is-on { width: 28px; border-radius: 6px; background: #fff; }
.spot-info { display: grid; grid-template-columns: 1fr auto; gap: 14px 30px; align-items: start; padding: 4px 8px 8px; }
.spot-info h3 { font-size: clamp(30px, 3.4vw, 44px); }
.spot-info p { color: var(--muted); }
.spot-feats { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.spot-feats li { padding: 7px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.spot-feats li::before { content: "★ "; color: var(--gold); }
.spot-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.remote-hint { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--dim); font-size: 14px; font-weight: 700; }
.key { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 9px; background: var(--panel-2); border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); font-family: var(--display); font-weight: 800; font-size: 14px; color: #fff; }

@media (max-width: 980px) {
  .spotlight { grid-template-columns: 1fr; }
  .carts { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .cart { flex: none; width: auto; scroll-snap-align: start; }
  .cart[aria-selected="true"] { transform: translateY(-3px); }
  .spot-info { grid-template-columns: 1fr; }
}

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1020px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  position: relative; padding: 28px 24px 26px; border-radius: 26px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid var(--line-2);
  transition: transform .35s var(--ease-out), border-color .3s;
}
.pillar:hover { transform: translateY(-6px); border-color: var(--c, var(--violet)); }
.pillar::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--c, var(--violet)); filter: blur(60px); opacity: .35; }
.pillar .p-ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 20px; background: var(--c, var(--violet)); border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink); }
.pillar .p-ico svg { width: 32px; height: 32px; color: var(--ink); }
.pillar h3 { font-size: 26px; margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: 16px; }
.lvl { position: absolute; right: 20px; top: 22px; font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .1em; color: var(--dim); }

/* ---------- Stats band ---------- */
.scoreboard {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-radius: 30px; overflow: hidden; border: 3px solid var(--ink);
  background: var(--ink); box-shadow: 0 10px 0 #000;
}
.score { padding: clamp(24px, 3.6vw, 44px) 20px; text-align: center; background: linear-gradient(180deg, #2a1a70, #1a0f47); border-right: 3px solid var(--ink); }
.score:last-child { border-right: 0; }
.score strong { display: block; font-family: var(--display); font-weight: 800; font-weight: 800; font-size: clamp(44px, 6vw, 80px); line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.score span { font-family: var(--display); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) {
  .scoreboard { grid-template-columns: repeat(2, 1fr); }
  .score:nth-child(2) { border-right: 0; }
  .score:nth-child(-n + 2) { border-bottom: 3px solid var(--ink); }
}

/* ---------- Studio / about ---------- */
.studio { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
@media (max-width: 900px) { .studio { grid-template-columns: 1fr; } }
.studio-art { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin: 0 auto; }
.studio-art .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .18); animation: rot 40s linear infinite; }
.studio-art .ring--2 { inset: 14%; border-style: solid; border-color: rgba(139, 92, 255, .35); animation-duration: 28s; animation-direction: reverse; }
@keyframes rot { to { transform: rotate(360deg); } }
.studio-art .core { position: absolute; inset: 26%; display: grid; place-items: center; }
.studio-art .core img { width: 100%; filter: drop-shadow(0 30px 40px rgba(139, 92, 255, .5)); animation: bob 6s ease-in-out infinite; --r: -4deg; }
.orbit { position: absolute; inset: 0; animation: rot 30s linear infinite; }
.orbit span {
  position: absolute; width: 78px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden;
  border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink);
  animation: rot 30s linear infinite reverse;
}
.orbit span img { width: 100%; height: 100%; object-fit: cover; }
.orbit span:nth-child(1) { left: calc(50% - 39px); top: -4%; }
.orbit span:nth-child(2) { right: 0%; top: 26%; }
.orbit span:nth-child(3) { right: 6%; bottom: 8%; }
.orbit span:nth-child(4) { left: calc(50% - 39px); bottom: -4%; }
.orbit span:nth-child(5) { left: 4%; bottom: 14%; }
.orbit span:nth-child(6) { left: 0%; top: 22%; }
.studio-copy h2 { margin: 14px 0 22px; }
.studio-copy p + p { margin-top: 16px; }
.checklist { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-weight: 700; }
.checklist li::before {
  content: ""; flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 8px; border: 2px solid var(--ink);
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b0b33' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: 0 3px 0 var(--ink);
}

/* ---------- Roadmap (level path) ---------- */
.path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.path::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 46px; height: 6px; border-radius: 6px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 18px, transparent 18px 30px);
  opacity: .6;
}
.node { position: relative; text-align: center; padding: 0 10px; }
.node .dot {
  width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 36px; color: var(--ink);
  background: radial-gradient(circle at 35% 30%, #fff, var(--c, var(--gold)) 55%);
  border: 4px solid var(--ink); box-shadow: 0 6px 0 var(--ink), 0 0 0 8px color-mix(in srgb, var(--c, var(--gold)) 25%, transparent);
}
.node.is-now .dot { animation: glowpulse 2s ease-in-out infinite; }
@keyframes glowpulse { 50% { box-shadow: 0 6px 0 var(--ink), 0 0 0 16px color-mix(in srgb, var(--c, var(--gold)) 15%, transparent), 0 0 50px var(--c); } }
.node.is-locked .dot { background: radial-gradient(circle at 35% 30%, #6b5aa8, #3a2b78 60%); color: #cfc3ff; }
.node h3 { font-size: 26px; margin-bottom: 8px; }
.node p { color: var(--muted); font-size: 16px; max-width: 32ch; margin: 0 auto; }
.node .state { display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 8px; font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; background: rgba(255, 255, 255, .08); }
.node.is-now .state { background: var(--lime); color: var(--ink); }
@media (max-width: 760px) {
  .path { grid-template-columns: 1fr; gap: 40px; }
  .path::before { left: 50%; right: auto; top: 40px; bottom: 40px; width: 6px; height: auto; transform: translateX(-50%); background: repeating-linear-gradient(180deg, var(--gold) 0 18px, transparent 18px 30px); }
  .node { background: var(--bg); padding: 10px 0; }
}

/* ---------- Contact / CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 40px; padding: clamp(40px, 6vw, 80px);
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(255, 204, 51, .35), transparent 60%),
    radial-gradient(500px 400px at 0% 100%, rgba(45, 226, 255, .3), transparent 60%),
    linear-gradient(135deg, #6a3df0, #b0249a);
  border: 4px solid var(--ink); box-shadow: 0 12px 0 var(--ink), 0 50px 100px -40px rgba(255, 79, 163, .7);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18;
  background-image: radial-gradient(#fff 1.5px, transparent 1.5px); background-size: 22px 22px;
}
.cta > * { position: relative; }
.cta h2 { margin: 14px 0 18px; }
.cta .lead { color: #f1e8ff; }
.cta .eyebrow { color: #fff; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 22px;
  background: rgba(11, 6, 32, .55); border: 2px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px);
  transition: transform .25s var(--ease-back), background .2s;
}
a.contact-card:hover { transform: translateY(-3px) rotate(-.5deg); background: rgba(11, 6, 32, .75); }
.contact-card .c-ico { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--gold); border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); }
.contact-card .c-ico svg { width: 26px; height: 26px; color: var(--ink); }
.contact-card small { display: block; font-family: var(--display); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: #d9ccff; }
.contact-card strong { font-size: 18px; word-break: break-word; }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding: 90px 0 40px; margin-top: 60px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .35)); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand img { width: 150px; margin-bottom: 18px; }
.foot-brand p { color: var(--muted); max-width: 34ch; font-size: 15px; }
.foot-col h4 { font-size: 18px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a, .foot-col li { color: var(--muted); font-size: 15px; font-weight: 600; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; font-weight: 600; }
.foot-bottom .gg { font-family: var(--display); font-weight: 800; letter-spacing: .1em; color: var(--muted); }

/* ---------- Game detail page ---------- */
.game-hero { --c1: var(--violet); --c2: var(--pink); position: relative; padding: 140px 0 80px; overflow: hidden; }
.game-hero .backdrop { position: absolute; inset: 0; z-index: -1; }
.game-hero .backdrop img { width: 100%; height: 100%; object-fit: cover; filter: blur(28px) saturate(1.3); opacity: .45; transform: scale(1.2); }
.game-hero .backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 6, 32, .55), var(--bg) 92%), radial-gradient(800px 500px at 80% 30%, color-mix(in srgb, var(--c1) 40%, transparent), transparent 60%); }
.crumbs { display: flex; gap: 10px; align-items: center; font-weight: 800; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: #fff; }
.game-hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (max-width: 960px) { .game-hero-grid { grid-template-columns: 1fr; } }
.game-id { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.game-id .icon { width: 104px; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink); flex: none; }
.game-id .icon img { width: 100%; height: 100%; object-fit: cover; }
.game-id .genre { font-family: var(--display); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c1); font-size: 15px; }
.game-id .plat { display: block; font-weight: 800; color: var(--muted); font-size: 14px; }
.game-hero h1 { margin-bottom: 18px; }
.tagline { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); color: #fff; margin-bottom: 18px; line-height: 1.2; }
.game-hero .lead { margin-bottom: 30px; }
.game-hero .stage .tv { transform: rotateY(-10deg) rotateX(4deg); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { display: flex; gap: 16px; padding: 22px; border-radius: 22px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); transition: border-color .3s, transform .3s var(--ease-out); }
.feature:hover { border-color: var(--c1, var(--violet)); transform: translateY(-4px); }
.feature .num { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--ink); background: var(--c1, var(--gold)); border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); }
.feature h3 { font-size: 22px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery button { position: relative; padding: 0; border-radius: 18px; overflow: hidden; border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink); aspect-ratio: 16 / 9; background: #000; transition: transform .3s var(--ease-out); }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 860px) { .gallery button:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; } }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.gallery button:hover { transform: translateY(-4px); }
.gallery button:hover img { transform: scale(1.05); }
.gallery button::after { content: "＋"; position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(11, 6, 32, .8); color: #fff; font-weight: 900; opacity: 0; transition: opacity .2s; }
.gallery button:hover::after { opacity: 1; }

.controls-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: 32px; background: linear-gradient(160deg, #23165f, #140b3b); border: 3px solid var(--ink); box-shadow: 0 10px 0 var(--ink); }
@media (max-width: 760px) { .controls-wrap { grid-template-columns: 1fr; } .remote { margin: 0 auto; } }
.remote { width: 160px; padding: 26px 18px 34px; border-radius: 80px 80px 60px 60px; background: linear-gradient(180deg, #4b2a99, #2b1766); border: 4px solid var(--ink); box-shadow: 0 8px 0 var(--ink), inset 0 2px 0 rgba(255, 255, 255, .2); display: grid; gap: 16px; justify-items: center; transform: rotate(-6deg); }
.remote .dpad { position: relative; width: 104px; height: 104px; border-radius: 50%; background: #6c1ac7; border: 3px solid var(--ink); }
.remote .dpad::before { content: ""; position: absolute; inset: 30%; border-radius: 50%; background: #3a167a; border: 3px solid var(--ink); }
.remote .dpad i { position: absolute; width: 0; height: 0; border: 8px solid transparent; }
.remote .dpad i:nth-child(1) { top: 6px; left: 50%; transform: translateX(-50%); border-bottom-color: #fff; }
.remote .dpad i:nth-child(2) { bottom: 6px; left: 50%; transform: translateX(-50%); border-top-color: #fff; }
.remote .dpad i:nth-child(3) { left: 6px; top: 50%; transform: translateY(-50%); border-right-color: #fff; }
.remote .dpad i:nth-child(4) { right: 6px; top: 50%; transform: translateY(-50%); border-left-color: #fff; }
.remote .row { display: flex; gap: 10px; }
.remote .rb { width: 38px; height: 26px; border-radius: 10px; background: #3a167a; border: 3px solid var(--ink); }
.remote .rb--ok { background: var(--gold); }
.control-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.control-list li { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-weight: 700; }
.control-list .key { min-width: 92px; height: 36px; font-size: 15px; flex: none; }

.more-games { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1020px) { .more-games { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .more-games { grid-template-columns: repeat(2, 1fr); } }
.mini { --c1: var(--violet); display: block; border-radius: 20px; padding: 8px; background: var(--panel); border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink); transition: transform .3s var(--ease-back); }
.mini:hover { transform: translateY(-6px) rotate(-1.5deg); }
.mini img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 14px; border: 2px solid var(--ink); }
.mini strong { display: block; padding: 10px 6px 4px; font-family: var(--display); font-weight: 800; font-weight: 800; font-size: 19px; }
.mini small { display: block; padding: 0 6px 6px; color: var(--c1); font-family: var(--display); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(5, 2, 16, .92); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(1400px, 100%); max-height: 84vh; border-radius: 18px; border: 3px solid var(--ink); box-shadow: 0 30px 80px #000; transform: scale(.96); transition: transform .3s var(--ease-out); }
.lightbox.is-open img { transform: none; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 2px solid var(--line-2); display: grid; place-items: center; font-size: 24px; color: #fff; }
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-family: var(--display); font-weight: 800; letter-spacing: .1em; color: var(--muted); }

/* ---------- Simple pages (legal, support) ---------- */
.page-hero { padding: 150px 0 50px; }
.page-hero h1 { margin: 14px 0 16px; }
.prose { max-width: 820px; }
.prose h2 { font-size: 30px; margin: 46px 0 14px; color: #fff; }
.prose h3 { font-size: 22px; margin: 28px 0 10px; color: var(--gold); }
.prose p, .prose li { color: #d9d0fb; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; display: grid; gap: 8px; }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose .note { padding: 16px 20px; border-radius: 16px; background: rgba(45, 226, 255, .08); border: 1px solid rgba(45, 226, 255, .3); margin: 24px 0; }
.card-panel { padding: clamp(24px, 4vw, 40px); border-radius: 30px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); }

.support-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: start; }
@media (max-width: 900px) { .support-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--display); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; font: inherit; color: #fff;
  background: rgba(11, 6, 32, .6); border: 2px solid var(--line-2); transition: border-color .2s, box-shadow .2s;
}
.field select option { background: var(--panel); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255, 204, 51, .2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 14px; color: var(--dim); }

.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; position: relative; font-weight: 800; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 20px; transition: transform .3s var(--ease-back); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--muted); }

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 20px 60px; }
.lost .h-xl { font-size: clamp(90px, 18vw, 220px); }
.lost p { margin: 10px auto 30px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Easter egg ---------- */
.gg-burst { position: fixed; inset: 0; z-index: 200; pointer-events: none; display: grid; place-items: center; }
.gg-burst .sticker { font-size: clamp(120px, 26vw, 320px); animation: ggpop 1.6s var(--ease-back) forwards; }
@keyframes ggpop { 0% { transform: scale(0) rotate(-20deg); opacity: 0; } 25% { transform: scale(1.1) rotate(4deg); opacity: 1; } 75% { transform: scale(1) rotate(-2deg); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.confetti { position: fixed; top: -20px; z-index: 199; width: 12px; height: 16px; border-radius: 3px; pointer-events: none; animation: fall linear forwards; }
@keyframes fall { to { transform: translate3d(var(--x), 110vh, 0) rotate(var(--rot)); } }

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

/* ---------- Refinements ---------- */
.hero h1.h-xl { font-size: clamp(46px, 6.3vw, 92px); }
.tv-label { top: auto; bottom: 9%; }
.game-art .tag { top: auto; bottom: 12px; }
.game-art .badge-roku { top: auto; bottom: 12px; }
.game-actions .btn { flex: 1 1 auto; }
.game-actions .btn--ghost { flex: 0 0 auto; }
.spot-info .eyebrow { display: flex; margin-bottom: 8px; }
@media (max-width: 980px) {
  .hero-sun { opacity: .16; bottom: 40%; }
}
.game-hero h1.h-xl { font-size: clamp(46px, 6.4vw, 92px); }
.site-footer { margin-top: 0; }
.spotlight > * { min-width: 0; }
@media (max-width: 980px) { .spotlight { grid-template-columns: minmax(0, 1fr); } }
html, body { overflow-x: clip; }
.studio > * { min-width: 0; }
@media (max-width: 900px) { .studio { grid-template-columns: minmax(0, 1fr); } .studio-art { width: min(100%, 420px); } }
@media (max-width: 560px) { .orbit span { width: 62px; } .orbit span:nth-child(1), .orbit span:nth-child(4) { left: calc(50% - 31px); } }
.game-hero .hero-actions .btn { padding: 0 20px; }

/* ---------- v3 type tuning (Bricolage Grotesque + Geist) ---------- */
body { font-size: 17px; line-height: 1.65; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.02em; line-height: 1.04; font-optical-sizing: auto; }
.h-xl, .h-lg { letter-spacing: -.025em; }
.hero h1 .line + .line { margin-top: .04em; }
.sticker { -webkit-text-stroke: .13em var(--ink); text-shadow: 0 .075em 0 var(--ink), 0 .16em 28px rgba(0, 0, 0, .35); }
/* small uppercase labels read better in the mono face */
.eyebrow, .press-start, .tag, .badge-roku, .chip, .lvl, .node .state, .contact-card small, .game-id .genre, .mini small, .field label, .score span, .lb-count, .tv-label {
  font-family: var(--mono); font-weight: 700;
}
.eyebrow { font-size: 13px; letter-spacing: .16em; }
.chip { font-size: 14px; letter-spacing: .06em; }
.btn { font-weight: 800; letter-spacing: .01em; font-size: 18px; }
.btn--sm { font-size: 15px; }
.nav-links a { letter-spacing: .02em; font-size: 16px; }
.game-body h3 { font-size: 30px; }
.lead { line-height: 1.6; }
.foot-bottom .gg { font-weight: 800; }
/* outlined headings need a little air between letters */
h1, h2, h3, h4, .h-xl, .h-lg { letter-spacing: -.008em; }
.sticker { padding: 0 .08em; }
.hero h1.h-xl { font-size: clamp(46px, 6vw, 88px); line-height: 1.02; }
/* keep the three hero stats on one row */
.hero-stats { gap: 10px; }
.hero-stats li { padding: 8px 14px 8px 8px; gap: 10px; }
.hero-stats .ico { width: 34px; height: 34px; }
.hero-stats strong { font-size: 19px; }
.hero-stats span { font-size: 12.5px; }
/* "Now playing" label sits bottom-centre, clear of the floating tiles */
.tv-label { left: 50%; transform: translateX(-50%); bottom: 9%; white-space: nowrap; }
.tv-label { top: 8%; bottom: auto; }

/* =========================================================
   v4: heavier, tighter headings · calm card hover · richer hero · mobile pass
   ========================================================= */

/* ---------- Headings: chunkier cut of Bricolage, tighter leading ---------- */
h1, h2, h3, h4, .sticker, .btn, .cart strong, .score strong, .mini strong, .hero-stats strong {
  font-optical-sizing: none;
  font-variation-settings: "opsz" 18;
}
h1, h2, h3, h4 { font-weight: 800; }
.h-xl, .h-lg, .h-md { line-height: .94; }
.hero h1.h-xl { line-height: .9; margin-bottom: 30px; }
.hero h1 .line + .line { margin-top: 0; }
.sticker { -webkit-text-stroke: .15em var(--ink); text-shadow: 0 .08em 0 var(--ink), 0 .18em 30px rgba(0, 0, 0, .35); }
.section-head h2 { margin: 12px 0 18px; }

/* ---------- Game cards: simple lift, no glow or tilt ---------- */
.game-card::before { display: none; }
.game-card { transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.game-card:hover { transform: translateY(-8px); box-shadow: 0 14px 0 var(--ink), 0 34px 60px -28px color-mix(in srgb, var(--c1) 70%, transparent); }
.game-card .game-art { transition: border-color .3s; }
.game-card:hover .game-art { border-color: var(--c1); }
.game-card:hover .game-art img { transform: scale(1.04); }

/* ---------- Hero: layered synthwave backdrop ---------- */
.hero { isolation: isolate; }
.hero-aurora { position: absolute; inset: -20% -10% 0; z-index: -6; pointer-events: none; }
.hero-aurora i {
  position: absolute; width: 70vmax; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--c), transparent 72%);
  opacity: .45; animation: drift 22s ease-in-out infinite alternate; will-change: transform;
}
.hero-aurora i:nth-child(1) { --c: rgba(139, 92, 255, .9); left: -20%; top: -30%; --dx: 12vw; --dy: 8vh; }
.hero-aurora i:nth-child(2) { --c: rgba(255, 61, 139, .75); right: -25%; top: -10%; --dx: -14vw; --dy: 10vh; animation-duration: 26s; }
.hero-aurora i:nth-child(3) { --c: rgba(45, 226, 255, .45); left: 25%; bottom: -45%; --dx: 8vw; --dy: -12vh; animation-duration: 30s; }
@keyframes drift { to { transform: translate3d(var(--dx), var(--dy), 0) scale(1.15); } }

.hero-glow { position: absolute; left: 50%; bottom: 26%; width: min(900px, 120vw); aspect-ratio: 2 / 1; z-index: -5; pointer-events: none;
  transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 122, 26, .38), rgba(255, 61, 139, .16) 55%, transparent 75%);
  animation: glow 5s ease-in-out infinite alternate; }
@keyframes glow { to { opacity: .55; transform: translateX(-50%) scale(1.06); } }
.hero-sun { z-index: -4; opacity: .5; }

.hero-mountains { position: absolute; left: 0; right: 0; bottom: 30%; width: 100%; height: clamp(90px, 15vw, 220px); z-index: -3; pointer-events: none; }
.hero-mountains .back { fill: #1d1052; stroke: #ff4fa3; stroke-width: 2; vector-effect: non-scaling-stroke; }
.hero-mountains .front { fill: #120a33; stroke: #8b5cff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.hero-horizon { position: absolute; left: 0; right: 0; bottom: 30%; height: 2px; z-index: -3; pointer-events: none;
  background: linear-gradient(90deg, transparent, #ff4fa3 20%, #ffcc33 50%, #ff4fa3 80%, transparent);
  box-shadow: 0 0 18px 2px rgba(255, 79, 163, .7); }
.hero-grid { z-index: -2; }

.shoot { position: absolute; inset: 0; z-index: -5; pointer-events: none; overflow: hidden; }
.shoot i { position: absolute; top: var(--t); left: -20%; width: 140px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #fff); opacity: 0;
  transform: rotate(-18deg); animation: shoot var(--dur, 9s) linear infinite; animation-delay: var(--d); }
@keyframes shoot { 0% { opacity: 0; transform: translateX(0) rotate(-18deg); } 3% { opacity: 1; } 12% { opacity: 0; transform: translateX(80vw) translateY(-26vw) rotate(-18deg); } 100% { opacity: 0; transform: translateX(80vw) translateY(-26vw) rotate(-18deg); } }

.embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.embers i { position: absolute; bottom: 18%; left: var(--x); width: var(--s); height: var(--s); border-radius: 2px; background: var(--c);
  box-shadow: 0 0 10px var(--c); opacity: 0; animation: ember var(--dur) linear infinite; animation-delay: var(--d); }
@keyframes ember { 0% { opacity: 0; transform: translateY(0) rotate(0); } 10% { opacity: .9; } 80% { opacity: .6; } 100% { opacity: 0; transform: translateY(-62vh) rotate(220deg); } }

/* Headline lines pop in one after another */
.hero h1 .line { animation: line-pop .9s var(--ease-back) backwards; }
.hero h1 .line:nth-child(1) { animation-delay: .05s; }
.hero h1 .line:nth-child(2) { animation-delay: .18s; }
.hero h1 .line:nth-child(3) { animation-delay: .31s; }
.hero .lead, .hero .hero-actions, .hero .hero-stats, .hero .press-start { animation: line-pop .8s var(--ease-out) backwards; }
.hero .press-start { animation-delay: 0s; }
.hero .lead { animation-delay: .42s; }
.hero .hero-actions { animation-delay: .52s; }
.hero .hero-stats { animation-delay: .62s; }
.hero .stage { animation: stage-in 1.1s var(--ease-out) .25s backwards; }
@keyframes line-pop { from { opacity: 0; transform: translateY(36px) scale(.94); } }
@keyframes stage-in { from { opacity: 0; transform: translateY(40px) scale(.94); } }

/* Mouse parallax (desktop only; JS sets --mx / --my between -1 and 1) */
.hero { --mx: 0; --my: 0; }
.hero-sun { translate: calc(var(--mx) * -16px) calc(var(--my) * -10px); transition: translate .6s var(--ease-out); }
.hero-mountains { translate: calc(var(--mx) * -10px) 0; transition: translate .6s var(--ease-out); }
.hero-aurora { translate: calc(var(--mx) * 30px) calc(var(--my) * 20px); transition: translate 1s var(--ease-out); }
.stage { translate: calc(var(--mx) * 14px) calc(var(--my) * 10px); transition: translate .6s var(--ease-out); }
.floaty { translate: calc(var(--mx) * var(--p, 22px)) calc(var(--my) * var(--p, 22px)); transition: translate .5s var(--ease-out); }
.floaty--2 { --p: -26px; } .floaty--3 { --p: 30px; } .floaty--4 { --p: -18px; }

/* TV: channel-switch static and a passing screen glare */
.tv-static { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px; mix-blend-mode: screen; }
.tv-screen.is-switching .tv-static { animation: static .42s steps(6) forwards; }
@keyframes static { 0% { opacity: .9; background-position: 0 0; } 50% { opacity: .7; background-position: 60px -40px; } 100% { opacity: 0; background-position: -30px 70px; } }
.tv-screen::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: 2; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .14), transparent); animation: glare 7s ease-in-out infinite; }
@keyframes glare { 0%, 70% { transform: translateX(0) skewX(-12deg); } 100% { transform: translateX(420%) skewX(-12deg); } }

/* ---------- Touch & mobile ---------- */
.chip { min-height: 44px; }
.btn--sm { min-height: 46px; }

@media (max-width: 980px) {
  .hero { min-height: 0; padding-top: 100px; }
  .hero-inner { padding-bottom: 40px; }
  .hero-mountains, .hero-horizon { bottom: 22%; }
  .hero-glow { bottom: 18%; }
  .stage { max-width: 560px; margin: 24px auto 0; }
  .tv { transform: rotateY(-6deg) rotateX(3deg); }
  .game-hero { padding-top: 104px; }
  .page-hero { padding-top: 116px; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero { padding-top: 92px; }
  .hero h1.h-xl { font-size: clamp(42px, 12.6vw, 60px); margin-bottom: 22px; }
  .press-start { font-size: 12px; margin-bottom: 18px; }
  .hero .lead { font-size: 16.5px; margin-bottom: 26px; }
  .hero-actions { gap: 12px; margin-bottom: 28px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hero-stats li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .hero-stats strong { font-size: 17px; }
  .hero-stats span { font-size: 11.5px; }
  .floaty { width: 64px; border-radius: 12px; }
  .floaty--1 { top: -6%; left: 2%; }
  .floaty--2 { top: -4%; right: 0; }
  .floaty--3 { bottom: 10%; left: -2%; }
  .floaty--4 { bottom: -2%; right: 6%; }
  .coin { width: 24px; height: 24px; }
  .coin--1 { left: 0; }
  .coin--2 { right: 0; }
  .tv { padding: 3% 3% 6.5%; border-radius: 18px; }
  .tv-label { font-size: 11px; padding: 4px 9px; }
  .hero-mountains { height: 80px; }
  .hero-sun { width: 110vw; }
  .marquee-track span { padding: 10px 10px; gap: 18px; }
  .section-head { margin-bottom: 30px; }
  .section-head .btn { width: 100%; }
  .h-lg { font-size: clamp(34px, 9.6vw, 44px); }
  .game-body h3 { font-size: 26px; }
  .game-actions .btn { flex: 1 1 auto; }
  .spotlight { padding: 12px; border-radius: 24px; gap: 16px; }
  .cart { padding: 8px 12px 8px 8px; }
  .cart img { width: 52px; height: 40px; }
  .cart strong { font-size: 17px; }
  .spot-actions { width: 100%; }
  .spot-actions .btn { flex: 1 1 auto; }
  .remote-hint { display: none; }
  .scoreboard { border-radius: 22px; }
  .score { padding: 22px 10px; }
  .score span { font-size: 11px; letter-spacing: .08em; }
  .cta { padding: 28px 20px; border-radius: 26px; gap: 24px; }
  .cta .hero-actions .btn { flex: 1 1 100%; }
  .contact-card { padding: 14px; gap: 12px; }
  .contact-card .c-ico { width: 44px; height: 44px; }
  .contact-card strong { font-size: 15.5px; }
  .tagline { font-size: 21px; }
  .game-id .icon { width: 84px; }
  .gallery { gap: 10px; }
  .controls-wrap { padding: 22px 16px; gap: 24px; }
  .remote { transform: rotate(-6deg) scale(.82); margin: -10px auto; }
  .control-list li { padding: 10px 12px; gap: 12px; font-size: 15px; }
  .control-list .key { min-width: 78px; font-size: 13px; }
  .card-panel { padding: 22px 18px; border-radius: 22px; }
  .faq summary { font-size: 16px; padding: 16px 52px 16px 16px; }
  .site-footer { padding: 64px 0 32px; }
  .foot-bottom { flex-direction: column; }
  .page-hero { padding: 104px 0 30px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
}

@media (hover: none) {
  .game-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-aurora i, .shoot i, .embers i, .tv-screen::before { animation: none !important; display: none; }
}
/* Horizon sits on the grid floor: sun sets behind low mountains */
.hero-mountains, .hero-horizon { bottom: 11%; }
.hero-mountains { height: clamp(56px, 8vw, 120px); opacity: .9; }
.hero-sun { bottom: 11%; width: min(560px, 76vw); opacity: .55; -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 24px, transparent 24px 32px), linear-gradient(#000 45%, transparent 98%); mask-image: repeating-linear-gradient(180deg, #000 0 24px, transparent 24px 32px), linear-gradient(#000 45%, transparent 98%); }
.hero-glow { bottom: 2%; }
.embers i { bottom: 12%; }
@media (max-width: 980px) { .hero-mountains, .hero-horizon, .hero-sun { bottom: 6%; } .hero-glow { bottom: -4%; } }
@media (max-width: 640px) { .hero-mountains { height: 56px; } .hero-sun { width: 120vw; } }
@media (min-width: 981px) { .hero-sun { left: 66%; } .hero-glow { left: 66%; } }
.hero-stats li { background: rgba(20, 11, 52, .88); }
.hero h1.h-xl { line-height: .92; }
.hero .lead { text-shadow: 0 2px 12px rgba(11, 6, 32, .9); }
@media (max-width: 640px) { .hero-sun { width: 88vw; bottom: 3%; } .hero-mountains, .hero-horizon { bottom: 3%; } .hero-glow { bottom: -8%; } .embers i { bottom: 4%; } }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr !important; } .cta .hero-actions { width: 100%; } .cta .hero-actions .btn { flex: 1 1 100%; } }
@media (max-width: 640px) {
  .remote { display: none; }
  .controls-wrap { grid-template-columns: 1fr; }
  .game-hero { padding-bottom: 36px; }
  .game-hero .lead { font-size: 16px; }
  .more-games { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px; scrollbar-width: none; }
  .more-games::-webkit-scrollbar { display: none; }
  .mini { flex: 0 0 62%; scroll-snap-align: start; }
  .mini:hover { transform: none; }
  .foot-brand img { width: 112px; }
  .studio-copy .btn { width: 100%; }
}
@media (max-width: 640px) { .contact-card .c-ico { width: 38px; height: 38px; border-radius: 12px; } .contact-card .c-ico svg { width: 20px; height: 20px; } .contact-card strong { font-size: 14.5px; overflow-wrap: anywhere; } .contact-card { padding: 12px; } }

/* =========================================================
   Headings: BadaBoom (comic). Bangers stands in until the licensed
   BadaBoom file is added.
   To switch: put badaboom.woff2 in assets/fonts/ and add
     url("../fonts/badaboom.woff2") format("woff2")
   to the src list below.
   ========================================================= */
@font-face {
  font-family: "BadaBoom";
  src: local("BadaBoom BB"), local("BadaBoomBB"), local("Bada Boom Pro BB"), local("BadaBoomProBB-Regular");
  font-display: swap;
}
:root { --heading: "BadaBoom", "Bangers", "Impact", system-ui, sans-serif; }
h1, h2, h3, h4, .sticker, .tagline, .cart strong, .mini strong, .score strong {
  font-family: var(--heading);
  font-weight: 400;
  font-variation-settings: normal;
  letter-spacing: .02em;
  font-synthesis: none;
}
.h-xl, .h-lg, .h-md { line-height: .98; }
.hero h1.h-xl { line-height: .95; font-size: clamp(50px, 6.6vw, 96px); }
.sticker { -webkit-text-stroke: .12em var(--ink); padding: 0 .1em; }
.game-body h3, .feature h3, .pillar h3, .node h3 { letter-spacing: .03em; }
.game-body h3 { font-size: 32px; }
.pillar h3 { font-size: 28px; }
.feature h3 { font-size: 24px; }
.tagline { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: .03em; }
.faq summary, .prose h2, .prose h3 { letter-spacing: .03em; }
@media (max-width: 640px) {
  .hero h1.h-xl { font-size: clamp(48px, 14vw, 66px); }
  .h-lg { font-size: clamp(38px, 11vw, 50px); }
  .game-body h3 { font-size: 28px; }
}
.marquee-track span { font-family: var(--heading); font-weight: 400; letter-spacing: .05em; font-size: clamp(24px, 2.8vw, 36px); font-variation-settings: normal; }

/* Contact page: written topics */
.contact-topics { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-topics li { display: grid; gap: 4px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); }
.contact-topics strong { font-family: var(--heading); font-weight: 400; font-size: 22px; letter-spacing: .03em; color: var(--gold); }
.contact-topics span { color: var(--muted); font-size: 15.5px; }
@media (max-width: 640px) { .card-panel .btn { width: 100%; } }

/* ---------- Platform cards (live / coming soon) ---------- */
.platforms { display: grid; grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 18px; }
.platform {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(165deg, color-mix(in srgb, var(--c) 18%, var(--panel)) 0%, var(--panel) 70%);
  border: 2px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.platform.is-live { grid-row: span 2; border: 3px solid var(--ink); box-shadow: 0 8px 0 var(--ink), 0 30px 60px -30px var(--c);
  background: radial-gradient(400px 260px at 80% 0%, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%), linear-gradient(165deg, #2a1a70, var(--panel)); padding: 32px; }
.platform.is-live h3 { font-size: clamp(40px, 4vw, 56px); }
.platform.is-live p { font-size: 17px; max-width: 34ch; }
.pf-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.pf-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--c); color: var(--ink); border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); }
.pf-ico svg { width: 24px; height: 24px; }
.platform.is-live .pf-ico { width: 64px; height: 64px; border-radius: 18px; }
.platform.is-live .pf-ico svg { width: 32px; height: 32px; }
.pf-status { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--muted); border: 1px solid var(--line-2); }
.platform.is-live .pf-status { background: var(--lime); color: var(--ink); border-color: var(--ink); }
.platform.is-live .pf-status::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-right: 7px; vertical-align: 1px; animation: pulse 1.4s infinite; }
.platform h3 { font-size: 30px; }
.platform p { color: var(--muted); font-size: 15.5px; }
.pf-link { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--text); }
.pf-link svg { width: 18px; height: 18px; }
.platform.is-live .pf-link { color: var(--lime); font-size: 17px; }
.pf-link--soon { font-weight: 600; font-size: 14px; color: var(--dim); }
@media (max-width: 980px) {
  .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform.is-live { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 560px) {
  .platforms { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .platform.is-live { grid-column: auto; padding: 24px; }
  .platform { padding: 20px; }
}
.pf-games { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.pf-games a { border-radius: 12px; overflow: hidden; border: 2px solid var(--ink); box-shadow: 0 4px 0 var(--ink); transition: transform .25s var(--ease-back); }
.pf-games a:hover { transform: translateY(-4px) rotate(-2deg); }
.pf-games img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
/* width/height attributes set a fixed pixel height; let aspect-ratio decide instead */
.pf-games img, .mini img, .floaty img, .cart img, .orbit img { height: auto; }
.pf-games img { aspect-ratio: 4 / 3; }
.platforms { align-items: stretch; }
