/* Antisocial Studios. Dark, purple from the logo's crown, Anton for headlines, Archivo for text. */
@font-face { font-family: 'Anton'; src: url('/assets/fonts/anton-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/assets/fonts/archivo-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Marker'; src: url('/assets/fonts/permanent-marker-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --bg: #09070d;
  --bg-2: #100c17;
  --bg-3: #171121;
  --card: #140f1e;
  --line: rgba(232, 222, 255, .09);
  --line-2: rgba(232, 222, 255, .17);
  --text: #f6f3fb;
  --muted: #b0a8c2;
  --dim: #7b7390;
  --brand: #8645f9;
  --brand-hi: #a576ff;
  --brand-lo: #5a25c4;
  --glow: rgba(134, 69, 249, .5);
  --display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --marker: 'Marker', 'Comic Sans MS', cursive;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --r: 16px;
  --hd: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 16px); overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
/* a fine spray-paint grain over everything */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.prose a, .card p a, .lead a { color: var(--brand-hi); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover, .card p a:hover, .lead a:hover { color: #fff; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--brand-hi); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--brand); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3, .display { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .95; margin: 0; }
h1 { font-size: clamp(52px, 8vw, 120px); }
h2 { font-size: clamp(40px, 5.6vw, 84px); }
h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.02; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 62ch; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brand-hi); margin-bottom: 18px; }
.kicker::before { content: ''; width: 26px; height: 3px; border-radius: 3px; background: var(--brand); box-shadow: 0 0 12px var(--glow); }
.tag { font: 400 22px/1 var(--marker); color: var(--brand-hi); transform: rotate(-4deg); display: inline-block; text-shadow: 0 0 18px var(--glow); margin: 0 0 6px; }

/* the brush stroke with drips under section titles, after the logo's underline */
.tag.is-soon { font-size: clamp(24px, 2.4vw, 34px); color: #fff; background: var(--brand); padding: 9px 16px 7px; border-radius: 9px; text-shadow: none; box-shadow: 0 12px 34px -8px var(--glow), inset 0 1px 0 rgba(255,255,255,.25); margin-bottom: 16px; }
.drip { display: block; width: clamp(150px, 16vw, 230px); height: auto; margin-top: 14px; color: var(--brand); filter: drop-shadow(0 0 12px var(--glow)); }

/* buttons */
.btn {
  --b: var(--line-2); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid var(--b); font: 700 15px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .25s, color .25s; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 10px 34px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-brand:hover { background: var(--brand-hi); border-color: var(--brand-hi); box-shadow: 0 14px 44px -8px var(--glow), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-ghost { background: rgba(10, 8, 16, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 13px; }

/* header */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hd); transition: background-color .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.hd.is-solid, body.no-hero .hd { background: rgba(9, 7, 13, .82); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-color: var(--line); }
.hd-in { height: 100%; display: flex; align-items: center; gap: 28px; max-width: calc(var(--max) + 160px); margin: 0 auto; padding: 0 var(--gutter); }
.hd-logo { flex: none; display: block; }
.hd-logo img { height: 56px; width: auto; filter: drop-shadow(0 2px 5px rgba(0,0,0,.55)); }
.hd-nav { display: flex; gap: 6px; margin-left: auto; }
.hd-nav a { position: relative; padding: 10px 14px; font: 700 14px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(246,243,251,.82); transition: color .2s; }
.hd-nav a:hover, .hd-nav a[aria-current] { color: #fff; }
.hd-nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); box-shadow: 0 0 10px var(--glow); }
.hd-nav a:hover::after, .hd-nav a[aria-current]::after { transform: scaleX(1); }
.hd-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-2); margin-left: auto; position: relative; background: rgba(10,8,16,.4); }
.hd-burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.hd-burger span:first-child { top: 18px; } .hd-burger span:last-child { top: 26px; }
.menu-open .hd-burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .hd-burger span:last-child { top: 22px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 45; background: rgba(9,7,13,.97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); padding: calc(var(--hd) + 24px) var(--gutter) 40px; overflow-y: auto; display: flex; flex-direction: column; gap: 28px; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font: 400 clamp(44px, 12vw, 64px)/1.08 var(--display); text-transform: uppercase; }
.menu nav a:hover { color: var(--brand-hi); }
.menu-games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.menu-games a { aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; position: relative; background: var(--bg-3); }
.menu-games img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.menu-games img + img { inset: auto 8% 10% 8%; width: 84%; height: auto; object-fit: contain; }
body.menu-open { overflow: hidden; }

@media (max-width: 900px) {
  :root { --hd: 64px; }
  .hd-nav, .hd-cta { display: none; }
  .hd-burger { display: block; }
  .hd-logo img { height: 40px; }
}

/* ------------------------------------------------------------------ hero ------------------------------------------ */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 1100px; overflow: hidden; background: #000; isolation: isolate; }
.hero.is-game { max-height: 980px; }
.slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity .9s var(--ease), visibility 0s .9s; }
.slide.is-on { visibility: visible; opacity: 1; transition: opacity .9s var(--ease), visibility 0s; z-index: 1; }
.slide-bg { position: absolute; inset: 0; overflow: hidden; }
.slide-bg img, .slide-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-bg video { opacity: 0; transition: opacity .8s; }
.slide-bg video.is-playing { opacity: 1; }
.slide.is-on .slide-bg img, .slide.is-on .slide-bg video { animation: drift 16s var(--ease) both; }
@keyframes drift { from { transform: scale(1.1); } to { transform: scale(1.02); } }
.slide-shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9,7,13,.92) 0%, rgba(9,7,13,.7) 30%, rgba(9,7,13,.12) 58%, rgba(9,7,13,0) 75%),
    linear-gradient(0deg, var(--bg) 0%, rgba(9,7,13,.6) 16%, rgba(9,7,13,0) 38%),
    linear-gradient(180deg, rgba(9,7,13,.7) 0%, rgba(9,7,13,0) 22%); }
.slide-stage { position: absolute; right: max(1%, calc((100vw - 1500px) / 2)); bottom: 0; width: min(60%, 960px); height: 82%; pointer-events: none; z-index: 1; }
.slide-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s; }
.slide-stage.is-live canvas { opacity: 1; }
.stage-fallback { position: absolute; left: 50%; bottom: 0; height: var(--fgh, 80%); width: auto; max-width: none; transform: translateX(-50%); transition: opacity .6s; }
.slide-stage.is-live .stage-fallback { opacity: 0; }
.slide-stage canvas, .stage-fallback { -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 16%); mask-image: linear-gradient(0deg, transparent 0%, #000 16%); }
.slide-copy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: var(--hd); padding-bottom: 170px; }
.hero.is-game .slide-copy, .hero.is-single .slide-copy { padding-bottom: 80px; }
.slide-copy > * { max-width: 560px; }
.slide-logo { margin: 0 0 18px; }
.slide-logo img { width: auto; height: auto; max-width: min(520px, 100%); max-height: min(300px, 31vh); filter: drop-shadow(0 12px 40px rgba(0,0,0,.7)); }
.slide-line { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: rgba(246,243,251,.9); text-shadow: 0 2px 16px rgba(0,0,0,.8); margin-bottom: 22px; }
.slide.is-on .slide-copy > * { animation: rise .9s var(--ease) both; }
.slide.is-on .slide-copy > :nth-child(2) { animation-delay: .08s; }
.slide.is-on .slide-copy > :nth-child(3) { animation-delay: .16s; }
.slide.is-on .slide-copy > :nth-child(4) { animation-delay: .24s; }
.slide.is-on .slide-copy > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 28px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(10,8,16,.55); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 600 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.chips b { color: #fff; font-weight: 800; }
.bolts { display: inline-flex; gap: 3px; }
.bolts i { width: 7px; height: 14px; border-radius: 2px; background: rgba(255,255,255,.18); transform: skewX(-14deg); }
.bolts i.on { background: var(--brand-hi); box-shadow: 0 0 8px var(--glow); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.crumbs { display: flex; gap: 8px; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .5; }

/* the rail of games under the home hero */
.rail { position: absolute; z-index: 3; left: 0; right: 0; bottom: 58px; }
.rail-in { display: flex; align-items: flex-end; gap: 10px; }
.rail-btn { position: relative; flex: 1 1 0; min-width: 0; max-width: 150px; aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; background: var(--bg-3); border: 1.5px solid var(--line-2); opacity: .62; transition: opacity .3s, transform .35s var(--ease), border-color .3s; }
.rail-btn:hover { opacity: 1; transform: translateY(-3px); }
.rail-btn.is-on { opacity: 1; border-color: rgba(255,255,255,.7); transform: translateY(-6px); }
.rail-btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rail-btn img + img { inset: 10% 8%; width: 84%; height: 80%; object-fit: contain; filter: drop-shadow(0 3px 8px rgba(0,0,0,.8)); }
.rail-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0) 60%); }
.rail-btn .bar { position: absolute; z-index: 1; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--brand-hi); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 10px var(--glow); }
.rail-btn.is-on .bar { animation: fill var(--dur, 8s) linear both; }
.hero.is-paused .rail-btn.is-on .bar { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.rail-count { margin-left: auto; align-self: center; font: 400 15px/1 var(--display); letter-spacing: .1em; color: var(--muted); white-space: nowrap; padding-left: 12px; }
.rail-count b { color: #fff; font-size: 30px; font-weight: 400; }
.rail-arrows { display: flex; gap: 8px; align-self: center; }
.rail-arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; background: rgba(10,8,16,.4); transition: border-color .2s, background-color .2s; }
.rail-arrows button:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.rail-arrows svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .hero { min-height: 700px; max-height: 940px; }
  .hero.is-game { max-height: 900px; }
  .slide-shade { background: linear-gradient(180deg, rgba(9,7,13,.88) 0%, rgba(9,7,13,.35) 26%, rgba(9,7,13,0) 40%, rgba(9,7,13,0) 58%, rgba(9,7,13,.7) 74%, var(--bg) 92%); }
  .slide-stage { left: 0; right: 0; width: 100%; top: calc(var(--hd) + 26vh); bottom: 210px; height: auto; }
  .hero.is-game .slide-stage, .hero.is-single .slide-stage { top: calc(var(--hd) + 24vh); bottom: 150px; }
  .slide-stage canvas, .stage-fallback { -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 24%); mask-image: linear-gradient(0deg, transparent 0%, #000 24%); }
  .slide-copy { justify-content: space-between; padding-top: calc(var(--hd) + 6px); padding-bottom: 150px; }
  .hero.is-game .slide-copy, .hero.is-single .slide-copy { padding-bottom: 34px; }
  .slide-copy > * { max-width: none; }
  .slide-copy .tag { display: block; width: max-content; margin: 0 auto 4px; font-size: 19px; }
  .slide-logo { margin: 0 auto; text-align: center; }
  .slide-logo img { margin: 0 auto; max-width: min(80vw, 380px); max-height: 21vh; }
  .slide-line { display: none; }
  .slide-foot { margin-top: auto; }
  .chips { justify-content: center; margin-bottom: 14px; gap: 6px; }
  .chips li { height: 32px; padding: 0 11px; font-size: 11.5px; }
  .cta { justify-content: center; }
  .slide-foot .cta .btn { flex: 1 1 0; padding: 0 14px; min-height: 50px; }
  .crumbs { display: none; }
  .rail { bottom: 52px; }
  .rail-in { overflow-x: auto; scrollbar-width: none; padding-top: 8px; gap: 8px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .rail-in::-webkit-scrollbar { display: none; }
  .rail-btn { flex: 0 0 92px; }
  .rail-count, .rail-arrows { display: none; }
}
@media (max-width: 420px) { .chips li:nth-child(3) { display: none; } }

/* ----------------------------------------------------------------- ticker ----------------------------------------- */
.ticker { position: relative; z-index: 4; overflow: hidden; background: var(--brand); color: #fff; transform: rotate(-1.6deg); margin: -22px -20px 0; padding: 14px 0; box-shadow: 0 20px 60px -20px var(--glow); }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker span { font: 400 clamp(22px, 2.4vw, 32px)/1 var(--display); text-transform: uppercase; letter-spacing: .04em; padding: 0 22px; white-space: nowrap; display: inline-flex; align-items: center; gap: 44px; }
.ticker span::after { content: ''; width: 22px; height: 22px; flex: none; background: url('/assets/img/crown-white.svg') center/contain no-repeat; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- sections ---------------------------------------- */
.sec { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.sec-tight { padding: clamp(56px, 7vw, 96px) 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: clamp(36px, 4vw, 56px); }
.sec-head .lead { margin: 0; }
.sec-glow::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 40% at 72% 45%, rgba(134,69,249,.15), transparent 75%), radial-gradient(35% 35% at 20% 60%, color-mix(in srgb, var(--accent, #8645f9) 14%, transparent), transparent 75%); }

/* game tiles, Stake-style: scene, characters, logo */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 44vw), 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.tile { position: relative; display: block; border-radius: 20px; perspective: 900px; }
.tile-art { position: relative; display: block; aspect-ratio: 3/4; border-radius: 20px; overflow: hidden; background: var(--bg-3); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -20px rgba(0,0,0,.9); transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .5s var(--ease), box-shadow .4s; transform-style: preserve-3d; will-change: transform; }
.tile:hover .tile-art { box-shadow: 0 0 0 1.5px var(--accent, var(--brand)), 0 30px 60px -24px var(--accent, var(--glow)); }
.tile-art img { position: absolute; }
.tile-bg { inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(1.05) brightness(.92); }
.tile:hover .tile-bg { transform: scale(1.08); filter: saturate(1.15) brightness(1.02); }
.tile-fg { left: 50%; bottom: 0; height: var(--fgh, 76%); width: auto; max-width: none; transform: translateX(-50%); transform-origin: 50% 100%; transition: transform .7s var(--ease); filter: drop-shadow(0 10px 20px rgba(0,0,0,.5)); }
.tile:hover .tile-fg { transform: translateX(-50%) scale(1.06); }
.tile-logo { left: 9%; right: 9%; top: 5%; width: 82%; height: 30%; object-fit: contain; object-position: 50% 0; filter: drop-shadow(0 6px 14px rgba(0,0,0,.75)); transition: transform .6s var(--ease); }
.tile:hover .tile-logo { transform: translateY(-3px) scale(1.03); }
.tile-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,7,13,.92) 0%, rgba(9,7,13,.25) 26%, rgba(9,7,13,0) 42%); pointer-events: none; }
.tile-meta { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.tile-meta b { display: block; font: 400 21px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.tile-meta small { display: block; margin-top: 5px; font: 600 11px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tile-max { flex: none; font: 800 11px/1 var(--sans); letter-spacing: .08em; padding: 7px 9px; border-radius: 8px; background: rgba(134,69,249,.9); color: #fff; text-transform: uppercase; }
.tile-new { position: absolute; z-index: 2; top: 14px; left: 12px; font: 400 18px/1 var(--marker); color: #fff; background: var(--brand); padding: 6px 10px 5px; border-radius: 6px; transform: rotate(-5deg); box-shadow: 0 6px 20px -4px var(--glow); }
.tile[hidden] { display: none; }
@media (max-width: 700px) {
  .tile:not(.tile-big) .tile-meta { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: flex-start; gap: 7px; }
  .tile:not(.tile-big) .tile-max { order: -1; font-size: 10px; padding: 6px 7px; }
  .tile:not(.tile-big) .tile-meta b { font-size: 18px; }
  .tile:not(.tile-big) .tile-meta small { font-size: 10px; letter-spacing: .06em; margin-top: 4px; }
  .tile-new { font-size: 15px; top: 10px; left: 8px; }
}
.tiles.has-big { grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; }
.tile-big { grid-column: span 2; grid-row: span 2; }
.tile-big .tile-art { aspect-ratio: auto; height: 100%; }
.tile-big .tile-meta { left: 26px; right: 26px; bottom: 24px; }
.tile-big .tile-meta b { font-size: clamp(28px, 2.6vw, 40px); }
.tile-big .tile-meta small { font-size: 13px; }
.tile-big .tile-max { font-size: 13px; padding: 9px 12px; }
.tile-big .tile-new { font-size: 26px; top: 22px; left: 20px; }
@media (max-width: 1000px) { .tiles.has-big { grid-template-columns: repeat(3, 1fr); } .tile-big { grid-row: span 2; } }
@media (max-width: 700px) { .tiles.has-big { grid-template-columns: repeat(2, 1fr); } .tile-big { grid-column: span 2; grid-row: auto; } .tile-big .tile-art { aspect-ratio: 4/5; height: auto; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); font: 700 12.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: all .2s; }
.filters button:hover { color: #fff; border-color: rgba(255,255,255,.5); }
.filters button[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--bg); }

/* spotlight: the newest game */
.spot { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.spot-media { position: relative; }
.spot-shot { border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-2), 0 40px 90px -30px rgba(0,0,0,.95), 0 0 120px -40px var(--accent, var(--glow)); }
.spot-shot img { width: 100%; height: auto; }
.spot-phone { position: absolute; right: -4%; bottom: -12%; width: 27%; border-radius: 22px; overflow: hidden; border: 5px solid #1a1424; box-shadow: 0 30px 60px -10px rgba(0,0,0,.9); }
.spot-phone img { width: 100%; height: auto; }
.spot-logo { width: min(380px, 80%); height: auto; margin: 0 0 22px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.6)); }
.ticks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; color: var(--muted); }
.ticks li b { color: #fff; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5'/%3E%3C/svg%3E") center/14px no-repeat; box-shadow: 0 0 14px var(--glow); }
@media (max-width: 900px) {
  .spot { grid-template-columns: 1fr; }
  .spot-media { margin: 0 4% 30px 0; }
}

/* studio statement */
.manifesto { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.manifesto h2 { font-size: clamp(56px, 8.4vw, 132px); line-height: .88; }
.manifesto h2 em { font-style: normal; color: var(--brand); text-shadow: 0 0 40px var(--glow); }
.pillars { display: grid; gap: 14px; margin-top: 30px; }
.pillar { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 22px; border-radius: var(--r); background: linear-gradient(160deg, rgba(134,69,249,.08), rgba(255,255,255,.015)); border: 1px solid var(--line); }
.pillar-n { font: 400 40px/1 var(--display); color: var(--brand); }
.pillar h3 { font-size: 22px; margin-bottom: 6px; }
.pillar p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .manifesto { grid-template-columns: 1fr; } }

/* numbers */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(26px, 3vw, 40px) clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 400 clamp(40px, 4.6vw, 68px)/1 var(--display); letter-spacing: .01em; white-space: nowrap; }
.stat b sup { font-size: .45em; vertical-align: top; position: relative; top: .25em; color: var(--brand-hi); margin-left: 2px; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.4; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* call to action band */
.band { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px, 6vw, 84px); background: radial-gradient(90% 120% at 100% 0%, rgba(134,69,249,.55), rgba(134,69,249,0) 60%), linear-gradient(140deg, #1d1230, #0e0a16); border: 1px solid rgba(134,69,249,.35); }
.band h2 { max-width: 14ch; margin-bottom: 18px; }
.band .lead { color: rgba(246,243,251,.82); margin-bottom: 30px; }
.band-art { position: absolute; right: -2%; bottom: 0; height: 108%; width: auto; max-width: none; pointer-events: none; opacity: .95; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.band > *:not(.band-art) { position: relative; z-index: 1; }
@media (max-width: 900px) { .band-art { opacity: .28; height: 80%; } }

/* --------------------------------------------------------------- game page ---------------------------------------- */
.specs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.spec { background: var(--bg-2); padding: 22px 20px; }
.spec dt { font: 700 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.spec dd { margin: 0; font: 400 clamp(24px, 2.2vw, 32px)/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.spec dd small { display: block; margin-top: 6px; font: 600 12px/1.3 var(--sans); letter-spacing: .04em; text-transform: none; color: var(--muted); }
@media (max-width: 1000px) { .specs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .specs { grid-template-columns: repeat(2, 1fr); } }

.demo { position: relative; aspect-ratio: 16/9; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line-2), 0 50px 100px -40px rgba(0,0,0,.95), 0 0 140px -50px var(--accent, var(--glow)); }
.demo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.demo-start { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: radial-gradient(closest-side, rgba(9,7,13,.25), rgba(9,7,13,.7)); text-align: center; padding: 20px; }
.demo-start:hover + img, .demo:hover img { transform: scale(1.03); }
.demo-play { width: clamp(84px, 9vw, 116px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--brand); box-shadow: 0 0 0 10px rgba(134,69,249,.25), 0 20px 60px -10px var(--glow); transition: transform .35s var(--ease), box-shadow .35s; }
.demo-start:hover .demo-play { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(134,69,249,.2), 0 24px 70px -8px var(--glow); }
.demo-play svg { width: 38%; height: 38%; margin-left: 7%; fill: #fff; }
.demo-start b { font: 400 clamp(24px, 2.6vw, 36px)/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.demo-start small { color: var(--muted); font-size: 13.5px; letter-spacing: .04em; }
.demo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.demo-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; color: var(--dim); font-size: 13.5px; }
.demo-bar a { color: var(--muted); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.demo-bar a:hover { color: #fff; }
.demo-bar svg { width: 16px; height: 16px; }
@media (max-width: 700px) { .demo { aspect-ratio: 4/3; } }

.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; counter-reset: f; }
.feat { position: relative; border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .3s, transform .4s var(--ease); }
.feat:hover { border-color: var(--line-2); transform: translateY(-4px); }
.feat-art { aspect-ratio: 3/2; overflow: hidden; background: var(--bg-3); }
.feat-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feat:hover .feat-art img { transform: scale(1.06); }
.feat-body { padding: 24px 24px 26px; }
.feat-body::before { counter-increment: f; content: '0' counter(f); display: block; font: 400 15px/1 var(--display); letter-spacing: .1em; color: var(--accent, var(--brand-hi)); margin-bottom: 12px; }
.feat h3 { margin-bottom: 10px; }
.feat p { margin: 0; color: var(--muted); font-size: 15.5px; }
.feat.no-art .feat-body { padding-top: 30px; }
.feat.no-art::after { content: ''; position: absolute; top: 0; left: 24px; width: 46px; height: 4px; border-radius: 0 0 4px 4px; background: var(--accent, var(--brand)); }

.modes { --cols: 4; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.modes > .mode { flex: 0 0 calc((100% - (var(--cols) - 1) * 16px) / var(--cols)); }
@media (max-width: 1000px) { .modes { --cols: 2 !important; } }
@media (max-width: 520px) { .modes.is-wide { --cols: 1 !important; } }
.mode { position: relative; border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .3s; }
.mode:hover { transform: translateY(-4px); border-color: var(--line-2); }
.mode-art { position: relative; aspect-ratio: var(--ar, 3/4); overflow: hidden; }
.mode-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mode:hover .mode-art img { transform: scale(1.05); }
.mode-cost { position: absolute; top: 12px; right: 12px; font: 400 22px/1 var(--display); letter-spacing: .02em; background: rgba(9,7,13,.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 8px 11px 7px; border-radius: 10px; border: 1px solid var(--line-2); }
.mode-cost small { font: 700 10px/1 var(--sans); letter-spacing: .12em; color: var(--muted); margin-left: 4px; text-transform: uppercase; }
.mode-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.mode h3 { font-size: 24px; margin-bottom: 8px; }
.mode p { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; }
.mode-facts { margin-top: auto; display: flex; gap: 18px; font: 700 11.5px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.mode-facts b { display: block; color: #fff; font: 400 19px/1 var(--display); letter-spacing: .02em; margin-top: 4px; }

.strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: rgba(232,222,255,.2) transparent; }
.strip button { flex: none; height: clamp(240px, 30vw, 440px); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); scroll-snap-align: start; background: var(--bg-3); }
.strip img { height: 100%; width: auto; max-width: none; transition: transform .8s var(--ease); }
.strip button:hover img { transform: scale(1.03); }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5,4,8,.94); display: grid; place-items: center; padding: 24px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1600px, 100%); max-height: calc(100vh - 48px); width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.8); }
.lightbox button { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; }
.lightbox svg { width: 20px; height: 20px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 700 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); background: var(--bg-2); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td b { color: #fff; }
td { color: var(--muted); }
td.num { font: 400 19px/1.1 var(--display); color: #fff; white-space: nowrap; letter-spacing: .02em; }
tbody tr { transition: background-color .2s; }
tbody tr:hover { background: rgba(255,255,255,.025); }
.at-glance td:first-child a { display: flex; align-items: center; gap: 14px; color: #fff; font-weight: 700; text-decoration: none; }
.at-glance td:first-child img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: none; }

.rules details { border-top: 1px solid var(--line); }
.rules details:last-child { border-bottom: 1px solid var(--line); }
.rules summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; font: 400 clamp(22px, 2vw, 28px)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; transition: color .2s; }
.rules summary::-webkit-details-marker { display: none; }
.rules summary:hover { color: var(--brand-hi); }
.rules summary::after { content: ''; width: 14px; height: 14px; flex: none; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease); }
.rules details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.rules .prose { padding: 0 4px 26px; color: var(--muted); max-width: 80ch; }
.rules .prose p { margin: 0 0 .9em; }
.rules .prose b { color: #fff; }

.kit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 30px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.kit h3 { margin-bottom: 6px; }
.kit p { margin: 0; color: var(--muted); }

/* --------------------------------------------------------------- inner pages ---------------------------------------- */
.page-hero { position: relative; padding: calc(var(--hd) + clamp(56px, 8vw, 120px)) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 90% at 85% 0%, rgba(134,69,249,.28), transparent 65%), radial-gradient(40% 60% at 0% 30%, rgba(134,69,249,.1), transparent 70%); pointer-events: none; }
.page-hero > .wrap { position: relative; }
.page-hero h1 { max-width: 13ch; }
.page-hero .lead { margin-top: 26px; }
.page-hero-art { position: absolute; right: max(var(--gutter), calc((100vw - var(--max)) / 2)); bottom: 0; top: calc(var(--hd) + 24px); height: calc(100% - var(--hd) - 24px); width: auto; max-width: 46%; object-fit: contain; object-position: bottom right; pointer-events: none; -webkit-mask-image: linear-gradient(0deg, transparent, #000 25%); mask-image: linear-gradient(0deg, transparent, #000 25%); }
.page-hero.has-art .wrap > * { max-width: min(660px, 54%); }
@media (max-width: 900px) { .page-hero-art { opacity: .22; max-width: 80%; } .page-hero.has-art .wrap > * { max-width: none; } }
.fan { position: absolute; right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); top: 50%; width: min(34vw, 470px); aspect-ratio: 1.15; transform: translateY(-42%); pointer-events: none; }
.fan .tile-art { position: absolute; width: 50%; left: 25%; top: 4%; box-shadow: 0 0 0 1px var(--line-2), 0 30px 60px -20px rgba(0,0,0,.95); }
.fan .tile-art:nth-child(1) { transform: translateX(-46%) rotate(-11deg); top: 12%; }
.fan .tile-art:nth-child(3) { transform: translateX(46%) rotate(11deg); top: 12%; }
.fan .tile-art:nth-child(2) { z-index: 1; }
@media (max-width: 1000px) { .fan { display: none; } }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { padding: 28px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.card .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(134,69,249,.16); color: var(--brand-hi); margin-bottom: 20px; }
.card .ico svg { width: 24px; height: 24px; }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(30px, 3vw, 42px); margin: 1.6em 0 .5em; }
.prose h3 { margin: 1.4em 0 .4em; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose b, .prose strong { color: #fff; }

.press-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.press { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, transform .3s var(--ease); }
.press:hover { border-color: var(--line-2); transform: translateY(-2px); }
.press img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.press b { display: block; font: 400 21px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.press small { color: var(--muted); font-size: 13px; }
.press svg { width: 22px; height: 22px; margin-left: auto; flex: none; color: var(--brand-hi); }

.contact-cards .card a.mail { display: inline-block; margin-top: 16px; font: 400 clamp(20px, 2vw, 26px)/1.1 var(--display); letter-spacing: .02em; color: #fff; text-decoration: none; border-bottom: 2px solid var(--brand); padding-bottom: 4px; word-break: break-all; }
.contact-cards .card a.mail:hover { color: var(--brand-hi); }

/* ------------------------------------------------------------------- footer --------------------------------------- */
.ft { position: relative; margin-top: clamp(60px, 8vw, 120px); border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), #060509); padding: clamp(56px, 7vw, 90px) 0 36px; overflow: hidden; }
.ft-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.ft-logo { width: 220px; height: auto; margin-bottom: 18px; }
.ft p { color: var(--muted); font-size: 14.5px; max-width: 40ch; }
.ft h4 { font: 700 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin: 8px 0 18px; }
.ft ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ft ul a { color: rgba(246,243,251,.86); font-size: 15px; }
.ft ul a:hover { color: var(--brand-hi); }
.ft-rg { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.ft-rg a { color: #fff; font-weight: 600; }
.age { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 2.5px solid #fff; display: grid; place-items: center; font: 400 17px/1 var(--display); color: #fff; }
.ft-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; color: var(--dim); font-size: 13px; }
.ft-base a:hover { color: #fff; }
.ft-big { position: absolute; left: 50%; bottom: -0.42em; transform: translateX(-50%); font: 400 clamp(90px, 19vw, 300px)/1 var(--display); text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(134,69,249,.12); pointer-events: none; user-select: none; }
.ft > .wrap { position: relative; }
@media (max-width: 860px) { .ft-top { grid-template-columns: 1fr 1fr; } .ft-top > :first-child { grid-column: 1 / -1; } }

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

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