/* Pigeon Studios: dark, game-first, calm.
   One centred container, one accent (pigeon-neck teal), minimal motion. */

/* Geist (OFL), self-hosted: one variable file covers weights 400-800. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #0e0f13;
  --bg-alt: #13151a;
  --surface: #181a20;
  --surface-2: #1f222a;
  --text: #ecedf0;
  --text-2: #a4a7b1;
  --text-3: #70737e;
  --line: #24262e;
  --line-strong: #33363f;
  --accent: #4fd1b0;
  --accent-ink: #062019;
  --accent-soft: rgba(79, 209, 176, 0.1);
  --sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
/* Until app.js has rendered everything, keep the content invisible so nothing jumps around while it loads.
   Failsafe: it shows after 3 s even if the script never runs. */
main, .site-footer { transition: opacity 0.2s ease-out; }
.loading main, .loading .site-footer { opacity: 0; animation: show-anyway 0s 3s forwards; }
@keyframes show-anyway { to { opacity: 1; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; color: var(--text); }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--accent); color: var(--accent-ink); }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.eyebrow { margin: 0 0 14px; font-size: 0.875rem; font-weight: 500; color: var(--accent); }
.fine { margin: 14px 0 0; font-size: 0.8125rem; line-height: 1.5; color: var(--text-3); }
.live-dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(79, 209, 176, 0.18); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border: 1px solid transparent; border-radius: var(--radius-sm); font: 600 0.9375rem/1.2 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #6fdcc0; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost { background: transparent; color: var(--text-2); padding-inline: 12px; }
.btn-ghost:hover { color: var(--text); }
.btn-secondary:hover { border-color: var(--text-2); background: var(--surface); }
.btn-sm { padding: 8px 14px; font-size: 0.875rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* "Play on Stake.com" button */
.btn-stake { gap: 0; }
.btn-stake .stake-logo { height: 1.3em; width: auto; margin: 0 1px 0 0.4em; transform: translateY(-0.08em); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Volatility meter (signal bars) */
.vmeter-wrap { display: inline-flex; align-items: center; gap: 10px; }
.vmeter { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.vmeter i { width: 5px; border-radius: 2px; background: var(--line-strong); }
.vmeter i:nth-child(1) { height: 7px; }
.vmeter i:nth-child(2) { height: 11px; }
.vmeter i:nth-child(3) { height: 15px; }
.vmeter i:nth-child(4) { height: 18px; }
.vmeter i.on { background: var(--accent); }
.vmeter[data-level="3"] i.on { background: #f5b84b; }
.vmeter[data-level="4"] i.on { background: #ff6b5a; }
.vmeter-wrap.small { gap: 0; font-size: 0; } /* tiles: bars only */
.vmeter-wrap.small .vmeter { height: 12px; gap: 2px; }
.vmeter-wrap.small .vmeter i { width: 4px; }
.vmeter-wrap.small .vmeter i:nth-child(1) { height: 5px; }
.vmeter-wrap.small .vmeter i:nth-child(2) { height: 7px; }
.vmeter-wrap.small .vmeter i:nth-child(3) { height: 10px; }
.vmeter-wrap.small .vmeter i:nth-child(4) { height: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(14, 15, 19, 0.85); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 66px; }
.wordmark { justify-self: start; display: inline-flex; text-decoration: none; }
.wordmark-img { display: block; width: auto; height: 44px; }
.nav { justify-self: center; display: flex; gap: 4px; }
.nav-cta { display: none; }
.nav a { padding: 8px 12px; border-radius: var(--radius-sm); color: var(--text-2); font-size: 0.9375rem; font-weight: 500; text-decoration: none; transition: color .15s, background-color .15s; }
.nav a:hover { color: var(--text); background: var(--surface); }
.header-inner > .btn { justify-self: end; }
.nav-toggle { display: none; justify-self: end; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; }
.nav-toggle span { display: block; width: 16px; height: 1.5px; margin: 4px auto; background: var(--text); transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(2.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-2.75px) rotate(-45deg); }

/* ---------- Hero: featured game ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0; border-bottom: 1px solid var(--line); background: radial-gradient(900px 500px at 78% 40%, color-mix(in srgb, var(--hero-c, #3a2a5c) 38%, transparent), transparent 70%); }
.hero-copy { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 18px; font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 800; letter-spacing: -0.045em; line-height: 0.95; }
.hero .tagline { max-width: 44ch; margin: 0; font-size: 1.1875rem; color: var(--text-2); }
.hero-art { position: relative; isolation: isolate; justify-self: end; width: min(100%, 440px); }
/* Aura: a faint, blurred copy of the cover behind it (colours come from the art itself) */
.hero-art .hero-aura { position: absolute; z-index: -1; top: 1%; left: -4%; width: 108%; height: 92%; object-fit: cover; border: 0; border-radius: 32px; box-shadow: none; filter: blur(56px) saturate(1.3); opacity: 0.5; animation: aura-breathe 9s ease-in-out infinite alternate; }
@keyframes aura-breathe { from { opacity: 0.42; } to { opacity: 0.58; } }
.hero-art .hero-cover { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 22px; outline: 1px solid rgba(255, 255, 255, 0.16); outline-offset: -1px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7); }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 480px; margin: 32px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(24, 26, 32, 0.6); }
.specs div { padding: 14px 18px; }
.specs div + div { border-left: 1px solid var(--line); }
.specs dt { font-size: 0.8125rem; color: var(--text-3); }
.specs dd { margin: 4px 0 0; font: 600 1.25rem/1.2 var(--sans); letter-spacing: -0.01em; }
.specs dd.tbc { padding-top: 3px; font-size: 1rem; font-weight: 500; color: var(--text-3); }

/* ---------- Numbers band ---------- */
.numbers { padding: 56px 0; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(79, 209, 176, 0.04), transparent 70%); }
.stats-live { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 0.8125rem; font-weight: 500; color: var(--accent); }
.numbers-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; }
.numbers-row > div { padding: 4px 32px; }
.numbers-row > div:first-child { padding-left: 0; }
.numbers-row > div + div { border-left: 1px solid var(--line-strong); }
.numbers-row dt { display: flex; align-items: center; gap: 8px; font-size: 0.9375rem; color: var(--text-2); }
.numbers-row dd { margin: 8px 0 0; font: 700 clamp(2rem, 4.4vw, 3.5rem)/1 var(--sans); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.numbers-row .live-row dd { color: var(--accent); }
.numbers-foot { max-width: 80ch; margin: 22px 0 0; font-size: 0.875rem; color: var(--text-3); }

/* ---------- Studio intro: copy + fanned covers ---------- */
.intro-band { position: relative; overflow: hidden; padding: 88px 0; border-bottom: 1px solid var(--line); background: radial-gradient(700px 380px at 82% 50%, rgba(79, 209, 176, 0.08), transparent 70%); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.intro-copy h2 { margin-bottom: 20px; font-size: clamp(2.4rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -0.045em; line-height: 0.98; }
.intro-copy h2 .accent { color: var(--accent); }
.intro { max-width: 50ch; margin: 0; font-size: 1.125rem; color: var(--text-2); }
.intro-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.intro-facts li { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-size: 0.875rem; color: var(--text-2); }
.intro-facts b { font-weight: 600; color: var(--text); }
.intro-art { position: relative; height: 420px; }
.intro-art .fan { position: absolute; top: 50%; left: 50%; width: 230px; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 80px -30px var(--glow); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.intro-art[data-count="1"] .fan-0 { transform: translate(-50%, -50%) rotate(-4deg); }
.intro-art[data-count="2"] .fan-0 { z-index: 2; transform: translate(-82%, -52%) rotate(-8deg); }
.intro-art[data-count="2"] .fan-1 { z-index: 1; transform: translate(-18%, -46%) rotate(7deg); }
.intro-art[data-count="2"]:hover .fan-0 { transform: translate(-96%, -54%) rotate(-11deg); }
.intro-art[data-count="2"]:hover .fan-1 { transform: translate(-4%, -44%) rotate(10deg); }
.intro-art[data-count="3"] .fan-0 { z-index: 3; transform: translate(-50%, -54%); }
.intro-art[data-count="3"] .fan-1 { z-index: 2; transform: translate(-100%, -46%) rotate(-10deg); }
.intro-art[data-count="3"] .fan-2 { z-index: 1; transform: translate(0%, -46%) rotate(10deg); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; border-bottom: 1px solid var(--line); }
.section.alt { background: var(--bg-alt); }
.sec-head { max-width: 680px; margin-bottom: 32px; }
.sec-head h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.sec-sub { margin: 10px 0 0; font-size: 1.0625rem; color: var(--text-2); }

/* ---------- Games: wide cards (1–2 games) ---------- */
.catalogue { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.catalogue.few { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.gcard { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(120deg, color-mix(in srgb, var(--c) 22%, var(--surface)) 0%, var(--surface) 55%); }
.gcard-art { display: block; aspect-ratio: 3 / 4; padding: 0; overflow: hidden; border: 0; border-radius: 12px; background: var(--c); box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.8); cursor: pointer; }
.gcard-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gcard-art:hover img { transform: scale(1.03); }
.gcard-body .eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--text-2); }
.pill { padding: 2px 9px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 0.75rem; font-weight: 600; }
.pill.soon { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.gcard-live { display: inline-flex; align-items: center; gap: 7px; margin-left: 6px; padding-left: 12px; border-left: 1px solid var(--line-strong); color: var(--text); }
.gcard-body h3 { margin-bottom: 10px; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.gcard-tagline { max-width: 60ch; margin: 0 0 12px; font-size: 1.125rem; font-weight: 500; color: var(--text); }
.gcard-desc { max-width: 64ch; margin: 0 0 22px; font-size: 0.9875rem; line-height: 1.65; color: var(--text-2); }
.gstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 560px; margin: 0 0 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: rgba(14, 15, 19, 0.45); }
.gstats div { padding: 14px 16px; }
.gstats div + div { border-left: 1px solid var(--line); }
.gstats dt { font-size: 0.8125rem; color: var(--text-3); }
.gstats dd { margin: 4px 0 0; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.gmodes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.gmodes-label { margin-right: 4px; font-size: 0.8125rem; color: var(--text-3); }
.chip { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); font-size: 0.8125rem; color: var(--text-2); }
.chip b { font-weight: 600; color: var(--text); }
.gcard .cta-row { margin-top: 24px; }

/* ---------- Games: grid tiles (3+ games) ---------- */
.tile { display: flex; flex-direction: column; margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, transform .2s; }
.tile:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.tile-face { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 3 / 4; padding: 14px; overflow: hidden; background: var(--c); color: var(--t); }
.tile-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.tile:hover .tile-face img { transform: scale(1.03); }
.tile-top { position: relative; display: flex; justify-content: flex-end; font-size: 0.75rem; font-weight: 500; }
.tile-title { position: relative; order: 2; font-size: 1.375rem; line-height: 1.1; letter-spacing: -0.025em; color: inherit; }
.flag { padding: 3px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.flag.soon { background: var(--surface-2); color: var(--text); }
.tile-info { display: grid; gap: 6px; padding: 12px 14px 14px; font-size: 0.8125rem; color: var(--text-2); }
.tile-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tile-name { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.tile-sub { font-size: 0.8125rem; color: var(--text-3); }
.tile-stats { display: flex; gap: 14px; margin-top: 2px; font-size: 0.8125rem; color: var(--text-3); }
.tile-stats b { font-weight: 600; color: var(--text); }

/* ---------- Studio ---------- */
.about-logo { display: block; width: 104px; height: 104px; margin: 0 auto 20px; }
#studio .sec-head { margin-inline: auto; text-align: center; }
.about-body p { max-width: 58ch; margin-inline: auto; font-size: 1.0625rem; line-height: 1.7; text-align: center; color: var(--text-2); }
.where { max-width: 640px; margin: 36px auto 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.9375rem; text-align: center; color: var(--text-2); }

/* ---------- Release log ---------- */
.log { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.log li { display: grid; grid-template-columns: 160px 110px minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.log time { font-size: 0.9375rem; color: var(--text-2); }
.log .tag { font-size: 0.8125rem; font-weight: 500; color: var(--accent); }
.log .tag.soon { color: #f39ac8; }
.log h3 { margin-bottom: 4px; font-size: 1.125rem; letter-spacing: -0.015em; }
.log p { max-width: 64ch; margin: 0; color: var(--text-2); }
.log .btn { padding: 6px 12px; font-size: 0.8125rem; }

/* ---------- Contact ---------- */
.contact-panel { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 56px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px;
  background: radial-gradient(600px 320px at 0% 0%, rgba(79, 209, 176, 0.13), transparent 70%), radial-gradient(500px 300px at 100% 100%, rgba(79, 209, 176, 0.06), transparent 70%), var(--surface); }
.contact-watermark { position: absolute; z-index: -1; right: -40px; bottom: -60px; width: 340px; height: 340px; opacity: 0.05; pointer-events: none; transform: rotate(-8deg); }
.contact-copy h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }
.contact-copy .sec-sub { max-width: 44ch; margin-top: 14px; }
.contact-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.contact-topics li { padding: 5px 11px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(14, 15, 19, 0.4); font-size: 0.8125rem; color: var(--text-2); }
.contact-links, #contact-socials { display: grid; gap: 12px; }
.contact-link { position: relative; display: flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(14, 15, 19, 0.55); transition: border-color .15s, background-color .15s, transform .15s; }
.contact-link:hover { border-color: var(--accent); background: rgba(14, 15, 19, 0.8); transform: translateY(-1px); }
.contact-link-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 16px; padding: 18px 20px; color: var(--text); text-decoration: none; }
.contact-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.contact-icon svg { width: 20px; height: 20px; }
.contact-text { display: grid; min-width: 0; }
.contact-label { font-size: 0.8125rem; color: var(--text-3); }
.contact-value { overflow: hidden; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; text-overflow: ellipsis; white-space: nowrap; }
.contact-arrow { margin-left: auto; font-size: 1.1rem; color: var(--text-3); transition: color .15s, transform .15s; }
.contact-link:hover .contact-arrow { color: var(--accent); transform: translate(2px, -2px); }
.contact-copy-btn { flex: none; align-self: center; margin-right: 14px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface-2); color: var(--text); font: 600 0.8125rem var(--sans); cursor: pointer; transition: border-color .15s, color .15s; }
.contact-copy-btn:hover { border-color: var(--text-2); }
.contact-copy-btn.done { border-color: var(--accent); color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr; gap: 40px; }
.footer-brand .wordmark-img { height: 52px; }
.footer-brand p { max-width: 34ch; margin-top: 14px; font-size: 0.9375rem; color: var(--text-2); }
.footer-grid h4 { margin-bottom: 12px; font-size: 0.875rem; font-weight: 600; letter-spacing: 0; }
.footer-grid a:not(.wordmark) { display: block; padding: 3px 0; font-size: 0.9375rem; color: var(--text-2); text-decoration: none; }
.footer-grid a:not(.wordmark):hover { color: var(--text); }
.footer-grid a.social { display: flex; align-items: center; gap: 8px; }
.footer-grid a.platform { padding: 5px 0; }
.footer-platforms { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.platform-label { display: flex; align-items: flex-end; margin-bottom: 2px; font-size: 0.8125rem; font-weight: 700; line-height: 1; color: var(--text); }
.platform-label .stake-logo { height: 18px; width: auto; }
.footer-grid a.platform:hover .platform-label { color: var(--accent); }
.social-icon { flex: none; width: 16px; height: 16px; }
.contact-icon .social-icon { width: 18px; height: 18px; }
.legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--text-3); }
.legal p { max-width: 80ch; margin: 0; }
.legal b { margin-right: 4px; font-weight: 600; color: var(--text-2); }

/* Upcoming games: follow-to-get-notified block */
.notify { margin-top: 24px; padding: 18px 20px; border: 1px solid color-mix(in srgb, var(--c, var(--accent)) 45%, var(--line-strong)); border-radius: var(--radius); background: color-mix(in srgb, var(--c, var(--accent)) 10%, transparent); }
.notify-text { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.45; color: var(--text); }
.notify-icon { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; color: var(--accent); }
.notify-icon svg { width: 20px; height: 20px; }
.notify .cta-row { margin-top: 16px; }
.notify-alt { margin: 14px 0 0; font-size: 0.875rem; color: var(--text-2); }
.notify-alt a { color: var(--text); text-underline-offset: 3px; }
.sheet-cta { margin-top: 22px; }
.sheet-cta .notify { margin-top: 0; }
/* Where our games aren't available (e.g. UK visitors) */
.geo-note { margin: 14px 0 0; font-size: 0.875rem; color: var(--text-2); }
.notify > .geo-note:first-child, .sheet-cta > .geo-note { margin-top: 0; }

/* ---------- Spec sheet dialog ---------- */
.sheet { width: min(620px, 100% - 32px); max-height: calc(100dvh - 32px); padding: 0; overflow: auto; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--surface); color: var(--text); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8); }
.sheet::backdrop { background: rgba(5, 6, 8, 0.7); }
.sheet[open] { animation: fade .16s ease-out; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.sheet:focus { outline: none; }
.sheet-head { position: relative; display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 64px 24px 26px; overflow: hidden; background: var(--c, var(--surface-2)); color: var(--t, #fff); }
.sheet-head .art-bg { position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); object-fit: cover; filter: blur(24px) brightness(0.5) saturate(1.1); }
.sheet-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.25)); pointer-events: none; }
.sheet-head .art-fg { position: relative; z-index: 1; width: auto; height: 300px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; outline: 1px solid rgba(255, 255, 255, 0.14); outline-offset: -1px; box-shadow: 0 18px 44px -12px rgba(0, 0, 0, 0.75); }
.sheet-logo { position: absolute; z-index: 2; top: 16px; left: 20px; width: auto; height: 30px; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45)); }
.sheet-x { position: absolute; z-index: 2; top: 14px; right: 14px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 50%; background: rgba(0, 0, 0, 0.45); color: #fff; font-size: 0.8125rem; line-height: 1; cursor: pointer; transition: background-color .15s; }
.sheet-x:hover { background: rgba(0, 0, 0, 0.7); }
.sheet-title { margin: 2px 0 8px; font-size: clamp(1.75rem, 5vw, 2.25rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.sheet-body { padding: 22px 24px 24px; }
.sheet-tagline { margin-bottom: 10px; font-size: 1.0625rem; font-weight: 500; color: var(--text); }
.sheet-desc { font-size: 0.9375rem; line-height: 1.65; color: var(--text-2); }
.ledger { width: 100%; border-collapse: collapse; }
.ledger th, .ledger td { padding: 11px 0; border-top: 1px solid var(--line); vertical-align: middle; }
.ledger th { font-size: 0.9375rem; font-weight: 400; text-align: left; color: var(--text-2); }
.ledger td { font-size: 0.9375rem; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.ledger td.tbc { font-weight: 500; color: var(--text-3); }
.ledger td .vmeter-wrap { justify-content: flex-end; }
.feat { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; }
.feat span { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); font-size: 0.8125rem; color: var(--text-2); }
.feat-label { flex-basis: 100%; margin-bottom: 2px; font-size: 0.8125rem; font-weight: 500; color: var(--text-2); }
.sheet .sheet-cta > .cta-row, .sheet-cta > .btn { margin-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .catalogue { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gcard { grid-template-columns: 240px minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .header-inner > .btn { display: none; }
  .nav-toggle { display: block; }
  .nav { position: fixed; top: 66px; left: 0; right: 0; width: 100%; max-height: calc(100dvh - 66px); overflow-y: auto; justify-self: stretch; display: none; flex-direction: column; gap: 0; padding: 4px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line-strong); box-shadow: 0 28px 48px -16px rgba(0, 0, 0, 0.75); }
  .nav.open { display: flex; animation: nav-in .18s ease-out; }
  .nav a:not(.nav-cta) { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-radius: 0; color: var(--text); font-size: 1.0625rem; font-weight: 600; }
  .nav a:not(.nav-cta)::after { content: "→"; color: var(--text-3); font-weight: 400; }
  .nav a:not(.nav-cta) + a:not(.nav-cta) { border-top: 1px solid var(--line); }
  .nav a:hover { background: none; }
  .nav .nav-cta { display: flex; margin-top: 12px; padding: 14px 18px; color: var(--accent-ink); font-size: 1rem; }
  .site-header:has(.nav.open) { background: var(--bg); box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.55); }
  @keyframes nav-in { from { opacity: 0; transform: translateY(-6px); } }
  .hero { padding: 40px 0 56px; background: radial-gradient(600px 400px at 50% 20%, color-mix(in srgb, var(--hero-c, #3a2a5c) 40%, transparent), transparent 70%); }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { order: -1; justify-self: center; width: min(100%, 360px); }
  .hero-art .hero-aura { top: -3%; left: -4%; width: 108%; height: 60%; filter: blur(30px) saturate(1.3); opacity: 0.55; animation: none; }
  .intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .intro-art { height: 340px; }
  .intro-art .fan { width: 180px; }
  .catalogue { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .gcard { grid-template-columns: 1fr; gap: 22px; padding: 18px; }
  .gcard-art { justify-self: center; width: min(100%, 300px); }
  .section, .intro-band { padding: 64px 0; }
  .log li { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .log li > div:first-child { grid-column: 1; }
  .log .tag { grid-column: 1; grid-row: 2; }
  .log li > div:nth-child(3) { grid-column: 1 / -1; margin-top: 6px; }
  .log li > :last-child { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .contact-panel { grid-template-columns: 1fr; gap: 32px; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand, .footer-follow { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .numbers-row { grid-auto-flow: row; grid-template-columns: 1fr; }
  .numbers-row > div, .numbers-row > div:first-child { padding: 16px 0; }
  .numbers-row > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .wordmark-img { height: 38px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 44px); } /* 22px side margins */
  .section, .intro-band { padding: 76px 0; }
  .hero { padding: 36px 0 64px; }
  .hero-grid { gap: 40px; }
  .hero h1 { margin-bottom: 14px; font-size: 3rem; }
  .hero .tagline { font-size: 1.0625rem; line-height: 1.6; }
  /* Hero specs: label/value rows instead of three cramped columns */
  .specs { grid-template-columns: 1fr; max-width: none; margin-top: 28px; }
  .specs div { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; }
  .specs div + div { border-left: 0; border-top: 1px solid var(--line); }
  .specs dt { font-size: 0.875rem; }
  .specs dd { margin: 0; font-size: 1.0625rem; }
  .cta-row { gap: 12px; margin-top: 28px; }
  .cta-row .btn { padding-block: 13px; }
  /* Game cards: lighter frame so the text gets the width */
  .catalogue { gap: 20px; }
  .gcard { gap: 26px; padding: 18px 18px 22px; }
  .gcard-body .eyebrow { flex-wrap: wrap; gap: 8px 10px; margin-bottom: 14px; }
  .gcard-live { flex-basis: 100%; margin-left: 0; padding-left: 0; border-left: 0; }
  .gcard-body h3 { margin-bottom: 12px; }
  .gcard-tagline { margin-bottom: 14px; line-height: 1.5; }
  .gcard-desc { margin-bottom: 26px; font-size: 1rem; line-height: 1.7; }
  .gmodes { margin-top: 20px; }
  .intro-copy .intro { line-height: 1.7; }
  .numbers-row > div, .numbers-row > div:first-child { padding: 20px 0; }
  .cta-row .btn { flex: 1 1 auto; }
  .gstats { grid-template-columns: 1fr; max-width: none; } /* label/value list on phones */
  .gstats div { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; }
  .gstats div + div { border-left: 0; border-top: 1px solid var(--line); }
  .gstats dd { margin: 0; font-size: 1.0625rem; }
  .tile-face { padding: 10px; }
  .tile-title { font-size: 1.0625rem; }
  .tile-info { padding: 10px 12px 12px; font-size: 0.75rem; }
  .contact-panel { padding: 32px 18px; }
  .contact-link-main { gap: 12px; padding: 14px; }
  .contact-icon { width: 40px; height: 40px; }
  .contact-value { font-size: 0.9375rem; white-space: normal; overflow-wrap: anywhere; }
  .contact-arrow { display: none; }
  .contact-copy-btn { position: absolute; top: 10px; right: 10px; margin: 0; padding: 4px 9px; font-size: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .loading main, .loading .site-footer { animation: show-anyway 0s 3s forwards !important; } /* keep the load failsafe */
}
