@font-face { font-family: "Archivo Expanded"; src: url(/assets/fonts/Archivo-var.woff2) format("woff2"); font-weight: 100 900; font-stretch: 125%; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url(/assets/fonts/ChakraPetch-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url(/assets/fonts/ChakraPetch-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url(/assets/fonts/ChakraPetch-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url(/assets/fonts/ChakraPetch-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Share Tech Mono"; src: url(/assets/fonts/ShareTechMono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }

/* The site is a night scene by design (every game in the catalogue is lit for the dark), so there is one theme. */
:root {
  --void: #05060a;
  --iron: #0b0d13;
  --iron-2: #11141c;
  --line: rgba(214, 222, 240, .12);
  --line-2: rgba(214, 222, 240, .22);
  --text: #eceff5;
  --muted: #9aa2b4;
  --dim: #636b7e;
  --gold: #e9b44c;
  --gold-hi: #ffe2a0;
  --gold-lo: #a36d1e;
  --plasma: #3bf0ff;
  --accent: var(--gold);
  --accent-rgb: 233, 180, 76;
  --display: "Archivo Expanded", "Arial Black", sans-serif;
  --body: "Chakra Petch", "Segoe UI", sans-serif;
  --mono: "Share Tech Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--void); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--void); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-booting, body.menu-open { overflow: hidden; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--gold); color: var(--void); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--gold); color: var(--void); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--plasma); outline-offset: 3px; }
.wrap { width: min(1320px, 100% - var(--gutter) * 2); margin-inline: auto; }

/* film grain over the whole page */
body::after { content: ""; position: fixed; inset: -50%; z-index: 120; pointer-events: none; opacity: .06;
  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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

/* ---------- shared type ---------- */
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 22px; font: 400 12px/1 var(--mono); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.eyebrow .dot { width: 4px; height: 4px; background: currentColor; transform: rotate(45deg); }
.display { font: 800 clamp(32px, 5.2vw, 78px)/1.04 var(--display); letter-spacing: -.025em; margin: 0 0 28px; text-wrap: balance; }
.display em { font-style: normal; background: linear-gradient(100deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 58ch; margin: 0; }

/* ---------- buttons ---------- */
.btn { --c: var(--gold); position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 28px; font: 600 14px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); transition: transform .35s var(--ease), background-color .3s, color .3s; isolation: isolate; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { background: linear-gradient(110deg, var(--gold-hi), var(--gold) 40%, var(--gold-lo)); color: #120c02; }
.btn--gold::after, .btn--accent::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn--gold:hover::after, .btn--accent:hover::after { transform: translateX(120%); }
.btn--ghost { color: var(--text); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--accent { background: rgb(var(--accent-rgb)); color: #07080b; }
.btn--accent:hover svg { transform: translate(3px, -3px); }

/* ---------- boot ---------- */
.boot { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.boot__half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--void); transition: transform 1.1s cubic-bezier(.76, 0, .24, 1); }
.boot__half--top { top: 0; }
.boot__half--bottom { bottom: 0; }
.boot__seam { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--plasma); box-shadow: 0 0 18px 2px var(--plasma); transform: scaleX(0); opacity: 0; }
.boot__core { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px; transition: opacity .4s, transform .6s var(--ease); }
.boot__mark { position: relative; width: 92px; }
.boot__helm { width: 92px; height: auto; stroke: var(--gold); stroke-width: 1.6; }
/* emblem art carries 12 units of padding around the 120x140 helm */
.boot__emblem { position: absolute; left: -9.2px; top: -9.2px; width: 110.4px; max-width: none; opacity: 0; transform: scale(.94); animation: emblem .9s 1.15s var(--ease) forwards; }
@keyframes emblem { to { opacity: 1; transform: none; } }
.boot__helm path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.6s var(--ease) forwards; }
.boot__helm .h-visor { stroke: var(--plasma); animation-delay: .5s; }
.boot__helm .h-breath, .boot__helm .h-brow { animation-delay: .35s; }
.boot__helm .h-circuit { stroke: var(--plasma); animation-delay: .25s; }
.boot__helm { animation: helmout .6s 1.5s forwards; }
@keyframes helmout { to { opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.boot__word { font: 700 12px/1 var(--display); letter-spacing: .5em; text-transform: uppercase; padding-left: .6em; color: var(--text); opacity: 0; animation: fade .8s .4s forwards; }
.boot__count { font: 400 12px/1 var(--mono); letter-spacing: .3em; color: var(--dim); }
.boot__count i { font-style: normal; color: var(--gold); margin-left: 2px; }
@keyframes fade { to { opacity: 1; } }
.is-opening .boot__core { opacity: 0; transform: scale(.96); }
.is-opening .boot__seam { animation: seam .9s var(--ease) forwards; }
@keyframes seam { 0% { transform: scaleX(0); opacity: 1; } 55% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.is-open .boot__half--top { transform: translateY(-101%); }
.is-open .boot__half--bottom { transform: translateY(101%); }
.is-done .boot { display: none; }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 100; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 24px; padding: 18px var(--gutter); transition: padding .4s var(--ease), background-color .4s; }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(5,6,10,.85), rgba(5,6,10,0)); opacity: 1; transition: opacity .4s; }
.nav.is-solid { padding-block: 12px; background: rgba(5,6,10,.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--line); }
.nav.is-solid::before { opacity: 0; }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__helm { width: 30px; height: auto; }
.nav__name { display: grid; font: 800 14px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.nav__name small { font: 400 9px/1 var(--mono); letter-spacing: .42em; color: var(--muted); margin-top: 5px; }
.nav__links { margin-left: auto; display: flex; gap: 34px; }
.nav__links a { position: relative; font: 500 13px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); transition: color .3s; padding: 8px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { font: 600 12px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; padding: 12px 18px; color: var(--void); background: var(--gold); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); transition: background-color .3s; }
.nav__cta:hover { background: var(--gold-hi); }
.nav__toggle { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.nav__toggle i { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__toggle i:nth-of-type(1) { top: 17px; }
.nav__toggle i:nth-of-type(2) { top: 25px; right: 18px; }
.menu-open .nav__toggle i:nth-of-type(1) { top: 21px; transform: rotate(45deg); }
.menu-open .nav__toggle i:nth-of-type(2) { top: 21px; right: 10px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 90; background: rgba(5,6,10,.97); display: grid; align-content: center; padding: 96px var(--gutter) 40px; }
.menu[hidden] { display: none; }
.menu nav { display: grid; gap: 10px; }
.menu a { display: flex; align-items: baseline; gap: 16px; font: 800 clamp(28px, 8vw, 52px)/1.2 var(--display); letter-spacing: -.02em; }
.menu em { font: 400 13px/1 var(--mono); color: var(--gold); font-style: normal; letter-spacing: .2em; }
.menu__foot { position: absolute; bottom: 28px; left: var(--gutter); font: 400 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin: 0; }

/* ---------- hero ---------- */
.hero { position: relative; height: 185vh; height: 185svh; }
.hero__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__screen { --p: 0; position: absolute; inset: 0; background: #000;
  clip-path: inset(calc(var(--p) * 39%) calc(var(--p) * 4%) calc(var(--p) * 39%) calc(var(--p) * 4%)); will-change: clip-path; }
.hero__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(calc(1.08 - var(--p) * .04)); transition: opacity 1s ease; }
.hero__vid.is-on { opacity: 1; }
.hero__fx { position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px),
    radial-gradient(120% 90% at 50% 40%, transparent 30%, rgba(5,6,10,.75) 100%),
    linear-gradient(180deg, rgba(5,6,10,.55) 0%, rgba(5,6,10,.05) 30%, rgba(5,6,10,.25) 60%, rgba(5,6,10,.95) 100%); }
.hero__screen::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(59,240,255,calc(var(--p) * .7)); pointer-events: none; }

.hero__hud { position: absolute; top: 96px; display: grid; gap: 8px; font: 400 11px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: rgba(236,239,245,.7); z-index: 2; }
.hero__hud b { color: var(--plasma); font-weight: 400; }
.hero__hud--tl { left: var(--gutter); }
.hero__hud--tr { right: var(--gutter); text-align: right; }
.rec { display: inline-flex; align-items: center; gap: 8px; }
.rec i { width: 7px; height: 7px; border-radius: 50%; background: #ff3b4a; box-shadow: 0 0 10px #ff3b4a; animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }

.hero__content { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(120px, 19vh, 200px); z-index: 3; }
.hero__eyebrow { margin-bottom: 18px; }
.hero__title { margin: 0; font: 800 clamp(46px, 12.2vw, 200px)/.88 var(--display); letter-spacing: -.035em; text-transform: uppercase; }
.hero__line { display: block; white-space: nowrap; background: linear-gradient(100deg, #fff 0%, #dfe5f0 30%, var(--gold-hi) 46%, var(--gold) 54%, #c9d0dc 70%, #fff 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 9s linear infinite; filter: drop-shadow(0 6px 30px rgba(0,0,0,.45)); }
.hero__line--b { padding-left: .55em; }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.hero__line .ch { display: inline-block; transform: translateY(105%); opacity: 0; transition: transform 1.1s var(--ease), opacity 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms + 150ms); }
.is-open .hero__line .ch { transform: none; opacity: 1; }
.hero__lede { max-width: 46ch; margin: 26px 0 30px; font-size: clamp(16px, 1.5vw, 20px); color: rgba(236,239,245,.82); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__content > :not(h1) { opacity: 0; transform: translateY(18px); transition: opacity .9s .6s var(--ease), transform .9s .6s var(--ease); }
.is-open .hero__content > :not(h1) { opacity: 1; transform: none; }
.hero__content { transition: opacity .2s linear; }

.hero__reel { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 34px; z-index: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero__now { display: grid; gap: 6px; }
.hero__now-label { font: 400 10px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.hero__now-title { font: 700 14px/1.1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.hero__now-title:hover { color: var(--gold); }
.hero__segs { display: flex; gap: 8px; }
.seg { width: clamp(28px, 5vw, 64px); height: 22px; position: relative; }
.seg::before, .seg i { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: rgba(255,255,255,.2); }
.seg i { background: var(--gold); transform-origin: left; transform: scaleX(var(--f, 0)); }
.seg:hover::before { background: rgba(255,255,255,.45); }

.hero__slit-copy { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; padding-inline: calc(var(--gutter) + 4%); pointer-events: none;
  font: 800 clamp(18px, 2.9vw, 46px)/1 var(--display); letter-spacing: -.01em; text-transform: uppercase; opacity: 0; }
.hero__slit-copy span:last-child { color: var(--gold); }
.hero__scroll { position: absolute; z-index: 3; right: var(--gutter); bottom: 96px; display: grid; justify-items: center; gap: 10px; font: 400 10px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; }
.hero__scroll i { width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- ticker ---------- */
.ticker { position: relative; z-index: 5; padding: 30px 0; border-block: 1px solid var(--line); background: var(--void); overflow: hidden; }
.ticker__row { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker__row--mono { animation-duration: 34s; animation-direction: reverse; margin-top: 14px; }
.ticker__track { display: flex; align-items: center; gap: 36px; padding-right: 36px; white-space: nowrap; }
.ticker__track span { font: 800 clamp(26px, 4vw, 56px)/1 var(--display); letter-spacing: -.01em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(236,239,245,.38); transition: color .3s; }
.ticker__track span:hover { color: var(--text); }
.ticker__track b { color: var(--gold); font-size: 20px; font-weight: 400; }
.ticker__row--mono span { font: 400 13px/1 var(--mono); letter-spacing: .3em; color: var(--muted); -webkit-text-stroke: 0; }
.ticker__row--mono b { font: 400 13px/1 var(--mono); color: var(--plasma); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- armory ---------- */
.armory { position: relative; background: var(--void); }
.armory__head { padding: clamp(96px, 14vw, 180px) 0 clamp(64px, 8vw, 110px); display: grid; gap: 0; }
.armory__head .lede { margin-top: 4px; }
@media (min-width: 1000px) {
  .armory__head { grid-template-columns: 1.25fr 1fr; column-gap: 64px; align-items: end; }
  .armory__head .eyebrow { grid-column: 1 / -1; }
  .armory__head .display { margin-bottom: 0; }
  .armory__head .lede { padding-left: 28px; border-left: 1px solid var(--line); margin-bottom: 10px; }
}

.rail { position: fixed; z-index: 40; right: var(--gutter); top: 50%; transform: translate(24px, -50%); margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; opacity: 0; pointer-events: none; transition: opacity .4s, transform .5s var(--ease); }
.in-games .rail { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
.rail a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 5px 0; font: 400 10px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: transparent; transition: color .3s; }
.rail a span { color: var(--dim); transition: color .3s; }
.rail a::after { content: ""; width: 14px; height: 1px; background: var(--dim); transition: width .4s var(--ease), background-color .3s; }
.rail:hover a { color: var(--muted); }
.rail:hover a.is-active { color: var(--text); }
.rail a.is-active span { color: var(--gold); }
.rail a.is-active::after { width: 38px; background: var(--gold); }

.game { position: relative; height: 100vh; height: 100svh; min-height: 620px; }
@media (min-width: 901px) { .game { position: sticky; top: 0; } }
.game__frame { --o: 0; position: absolute; inset: 0; overflow: hidden; background: #000; transform: scale(calc(1 - var(--o) * .07)); transform-origin: 50% 0; border-radius: calc(var(--o) * 28px); }
.game__frame::before { content: ""; position: absolute; inset: 0; z-index: 5; background: #000; opacity: calc(var(--o) * .65); pointer-events: none; }
.game__bg { position: absolute; inset: 0; }
.game__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 2.4s var(--ease); }
.game.is-active .game__bg img { transform: scale(1.02); }
.game__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(5,6,10,.94) 0%, rgba(5,6,10,.78) 34%, rgba(5,6,10,.15) 70%, rgba(5,6,10,.35) 100%),
  linear-gradient(0deg, rgba(5,6,10,.85) 0%, transparent 35%),
  radial-gradient(60% 50% at 0% 100%, rgba(var(--accent-rgb), .16), transparent 70%); }
.game__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 1px 0 rgba(var(--accent-rgb), .35); }
.game__inner { position: relative; height: 100%; width: min(1320px, 100% - var(--gutter) * 2 - 72px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(32px, 5vw, 80px); padding-block: 110px 60px; }
.game__copy > * { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.game.is-active .game__copy > * { opacity: 1; transform: none; }
.game.is-active .game__copy > :nth-child(2) { transition-delay: .08s; }
.game.is-active .game__copy > :nth-child(3) { transition-delay: .16s; }
.game.is-active .game__copy > :nth-child(4) { transition-delay: .22s; }
.game.is-active .game__copy > :nth-child(5) { transition-delay: .28s; }
.game.is-active .game__copy > :nth-child(6) { transition-delay: .34s; }
.game__meta { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; font: 400 12px/1 var(--mono); letter-spacing: .26em; text-transform: uppercase; color: rgb(var(--accent-rgb)); }
.game__no { font-size: 13px; padding: 7px 9px; box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .55); }
.game__title { margin: 0; font: 800 clamp(36px, 5.8vw, 96px)/.94 var(--display); letter-spacing: -.03em; text-transform: uppercase; text-shadow: 0 10px 40px rgba(0,0,0,.5); }
.game__title small { display: block; margin-top: 14px; font: 700 clamp(12px, 1.2vw, 17px)/1 var(--display); letter-spacing: .42em; color: rgb(var(--accent-rgb)); }
.game__hook { margin: 22px 0 14px; font: 500 clamp(18px, 1.8vw, 24px)/1.3 var(--body); color: var(--text); }
.game__pitch { margin: 0; max-width: 54ch; color: rgba(236,239,245,.72); font-size: clamp(15px, 1.15vw, 17px); }
.game__facts { list-style: none; margin: 26px 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.game__facts li { font: 500 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; padding: 10px 14px; background: rgba(10,12,18,.55); box-shadow: inset 0 0 0 1px var(--line); }
.game__facts b { color: rgb(var(--accent-rgb)); font-weight: 700; margin-right: 2px; }
.game__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.also { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font: 400 11px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.also a { color: var(--text); padding: 6px 0; box-shadow: inset 0 -1px 0 rgba(var(--accent-rgb), .6); transition: color .3s; }
.also a:hover { color: rgb(var(--accent-rgb)); }

.game__media { position: relative; justify-self: end; width: min(100%, 470px); perspective: 1100px; }
.box { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%; position: relative; margin: 0; aspect-ratio: 1; transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0); transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08), 0 0 70px -10px rgba(var(--accent-rgb), .35); }
.box img { width: 100%; height: 100%; object-fit: cover; }
.box__glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx) var(--gy), rgba(255,255,255,.28), transparent 45%); mix-blend-mode: overlay; opacity: 0; transition: opacity .4s; }
.box.is-tilting { transition: transform .12s linear, box-shadow .6s; }
.box.is-tilting .box__glare { opacity: 1; }
.box::before { content: ""; position: absolute; inset: -10px; border: 1px solid rgba(var(--accent-rgb), .4); clip-path: polygon(0 0, 28px 0, 28px 1px, 1px 1px, 1px 28px, 0 28px, 0 0, 100% 0, 100% 28px, calc(100% - 1px) 28px, calc(100% - 1px) 1px, calc(100% - 28px) 1px, calc(100% - 28px) 0, 100% 0, 100% 100%, calc(100% - 28px) 100%, calc(100% - 28px) calc(100% - 1px), calc(100% - 1px) calc(100% - 1px), calc(100% - 1px) calc(100% - 28px), 100% calc(100% - 28px), 100% 100%, 0 100%, 0 calc(100% - 28px), 1px calc(100% - 28px), 1px calc(100% - 1px), 28px calc(100% - 1px), 28px 100%, 0 100%); }
.feed { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 40px 80px -20px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.14), 0 0 70px -10px rgba(var(--accent-rgb), .3); }
.feed::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.16) 0 1px, transparent 1px 3px); }
/* panels with gameplay: the footage leads and the cover card overlaps its corner */
.game__media:has(.feed) { width: min(100%, 620px); }
.game__media:has(.feed) .box { position: absolute; z-index: 2; width: 38%; left: -13%; bottom: -19%; }
.feed video { width: 100%; height: 100%; object-fit: cover; }
.feed__tag { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 8px; background: rgba(0,0,0,.6); font: 400 9px/1 var(--mono); letter-spacing: .24em; text-transform: uppercase; }
.feed__tag i { width: 6px; height: 6px; border-radius: 50%; background: #ff3b4a; animation: blink 1.4s steps(2) infinite; }

/* ---------- studio ---------- */
.studio { position: relative; z-index: 2; background: radial-gradient(70% 60% at 20% 30%, rgba(233,180,76,.07), transparent 70%), var(--void); padding: clamp(110px, 14vw, 200px) 0 clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); }
.studio__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.studio__crest { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; }
.studio__crest canvas { width: 100%; height: 100%; cursor: crosshair; }
.studio__crest-hint { position: absolute; left: 0; right: 0; bottom: -6px; text-align: center; margin: 0; font: 400 10px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--dim); }
.studio .display { font-size: clamp(28px, 3.6vw, 54px); }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: clamp(80px, 10vw, 140px); background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.pillar { background: var(--void); padding: clamp(28px, 3vw, 44px); transition: background-color .4s; }
.pillar:hover { background: var(--iron); }
.pillar svg { width: 44px; height: 44px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linejoin: round; margin-bottom: 28px; }
.pillar h3 { margin: 0 0 12px; font: 800 19px/1.2 var(--display); letter-spacing: -.01em; }
.pillar p { margin: 0; color: var(--muted); font-size: 15px; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 90px); }
.stat { padding: 8px 0 8px 28px; border-left: 1px solid var(--line); }
.stat dt { font: 400 11px/1 var(--mono); letter-spacing: .28em; text-transform: uppercase; color: var(--dim); }
.stat dd { margin: 14px 0 0; font: 800 clamp(56px, 8vw, 124px)/.85 var(--display); letter-spacing: -.04em; background: linear-gradient(180deg, var(--text), rgba(236,239,245,.35)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- where to play ---------- */
.play { position: relative; z-index: 2; background: var(--iron); padding: clamp(100px, 12vw, 170px) 0; border-top: 1px solid var(--line); }
.portals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 70px); }
.portal { position: relative; background: var(--void); padding: 28px 26px 30px; box-shadow: inset 0 0 0 1px var(--line); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); transition: box-shadow .4s, transform .5s var(--ease); }
.portal:hover { box-shadow: inset 0 0 0 1px rgba(233,180,76,.5); transform: translateY(-4px); }
.portal header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 18px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.portal h3 { margin: 0; font: 800 19px/1 var(--display); letter-spacing: -.01em; }
.portal header span { font: 400 10px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.portal ul { list-style: none; margin: 0; padding: 0; }
.portal li a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; color: var(--muted); font-size: 15px; transition: color .3s, padding .4s var(--ease); }
.portal li a::after { content: "↗"; color: var(--dim); transition: color .3s; }
.portal li a:hover { color: var(--text); padding-left: 6px; }
.portal li a:hover::after { color: var(--gold); }
.portal__more { display: inline-block; margin-top: 14px; font: 400 11px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); box-shadow: inset 0 -1px 0 currentColor; padding-bottom: 5px; }

/* ---------- footer ---------- */
.foot { position: relative; z-index: 2; background: var(--void); border-top: 1px solid var(--line); overflow: hidden; padding-bottom: 36px; }
.foot__mark { font: 800 clamp(28px, 9.4vw, 172px)/.8 var(--display); text-transform: uppercase; white-space: nowrap; text-align: center; letter-spacing: -.04em; padding: 70px 0 40px; color: transparent;
  -webkit-text-stroke: 1px rgba(233,180,76,.35); background: linear-gradient(180deg, rgba(233,180,76,.14), transparent 75%); -webkit-background-clip: text; background-clip: text; }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; border-top: 1px solid var(--line); }
.foot__logo img { width: 260px; height: auto; }
.foot__links { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.foot__links a { font: 500 12px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.foot__links a:hover { color: var(--gold); }
.foot__legal { margin: 0; font: 400 11px/1.6 var(--mono); letter-spacing: .14em; color: var(--dim); text-transform: uppercase; }

/* ---------- reveal + cursor ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; z-index: 150; left: 0; top: 0; pointer-events: none; mix-blend-mode: difference; }
  .cursor i { position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border: 1px solid #fff; border-radius: 50%; transition: transform .35s var(--ease), background-color .3s; }
  .cursor.is-link i { transform: scale(1.9); background: #fff; }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .portals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .hero__hud--tr { display: none; }
  .hero__hud { top: 84px; }
  .hero__scroll { display: none; }
  .hero__reel { bottom: 24px; }
  .hero__content { bottom: 100px; }
  .rail { display: none; }

  /* phones: games become a vertical deck of full-height cards, no pinning */
  .game { height: auto; min-height: 100svh; }
  .game__frame { position: relative; min-height: 100svh; transform: none; border-radius: 0; }
  .game__frame::before { display: none; }
  .game__inner { grid-template-columns: 1fr; align-content: end; gap: 28px; padding-block: 96px 56px; min-height: 100svh; }
  .game__media, .game__media:has(.feed) { order: -1; justify-self: start; width: 46%; max-width: 220px; perspective: none; }
  .game__media:has(.feed) .box { position: relative; width: 100%; left: auto; bottom: auto; }
  .game__inner { width: min(1320px, 100% - var(--gutter) * 2); }
  .feed { display: none; }
  .game__shade { background: linear-gradient(0deg, rgba(5,6,10,.97) 0%, rgba(5,6,10,.86) 50%, rgba(5,6,10,.35) 100%); }
  .studio__grid { grid-template-columns: 1fr; }
  .studio__crest { max-width: 420px; margin-inline: auto; order: 2; }
  .pillars { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .portals { grid-template-columns: 1fr; }
  .hero__line--b { padding-left: 0; }
  .hero__title { font-size: 14.6vw; }
  .hero__eyebrow { font-size: 10px; letter-spacing: .2em; gap: 8px; }
  .hero__eyebrow::before { width: 20px; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero__segs { gap: 6px; }
  .game__cta .btn { width: 100%; justify-content: center; }
  .foot__row { flex-direction: column; align-items: flex-start; }
  .nav__name small { letter-spacing: .3em; }
}
@media (max-height: 700px) and (min-width: 901px) {
  .game__inner { padding-block: 90px 40px; }
  .game__title { font-size: clamp(44px, 6vw, 88px); }
  .game__facts { margin: 18px 0 22px; }
  .game__media { width: min(100%, 380px); }
  .game__media:has(.feed) { width: min(100%, 520px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  body::after { animation: none; }
  .ticker__row { animation: none; }
}
