@font-face { font-family: "Jost"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/jost-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/jost-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: "Jost"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/jost-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --bg: #13161B; --bg-soft: #1b1f27; --bg-card: #171a21; --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
  --text: #f2f3f7; --muted: #a3a8b5;
  --peach: #f7c3a6; --pink: #e1a2bd; --purple: #b690dd; --blue: #779ddc; --teal: #7ec1db; --mint: #a9d5d4;
  --grad: linear-gradient(120deg, var(--peach), var(--pink) 25%, var(--purple) 50%, var(--blue) 75%, var(--teal));
  --display: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 24px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--bg); color: var(--text); font: 17px/1.65 var(--display); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; }
header, main, footer { position: relative; z-index: 1; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(182,144,221,.4); }

h1, h2, h3, nav { font-family: var(--display); }
h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -.03em; font-weight: 600; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -.02em; font-weight: 600; margin-bottom: 14px; }
h3 { font-size: 21px; line-height: 1.25; font-weight: 600; margin-bottom: 6px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.center { text-align: center; justify-content: center; }
.i { flex: none; }

/* sections */
.sec { padding: 64px 0; }
.lead { color: var(--muted); max-width: 680px; font-size: 18px; }
.lead + .lead { margin-top: 14px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.sec-head h2 { margin-bottom: 8px; }
.sec-head .btn { flex: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 5px 14px 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text);
  background: linear-gradient(var(--bg), var(--bg)) padding-box, linear-gradient(120deg, rgba(247,195,166,.6), rgba(182,144,221,.6), rgba(126,193,219,.6)) border-box; border: 1px solid transparent; }
.eyebrow .i { color: var(--purple); }
.note { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--muted); font-size: 15px; }
.note a { color: var(--text); border-bottom: 1px solid var(--line-2); }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.actions.center { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 24px; font-family: var(--display); font-size: 16px; font-weight: 600; line-height: 1.2; color: #13161B; background: #fff; border-radius: 999px; transition: transform .15s ease, box-shadow .15s ease, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,255,255,.16); }
.btn .b-arrow { transition: transform .2s ease; }
.btn:hover .b-arrow { transform: translateX(3px); }
.btn.big { padding: 16px 30px; font-size: 18px; }
.btn.sm { padding: 10px 18px; font-size: 15px; }
.btn.full { width: 100%; }
.btn.ghost { color: var(--text); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.btn.ghost:hover { background: rgba(255,255,255,.09); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }

/* status pill with a colored dot */
.status { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--text); background: rgba(255,255,255,.06); border: 1px solid var(--line-2); white-space: nowrap; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--peach); box-shadow: 0 0 0 3px rgba(247,195,166,.18); }
.status.s-very_soon i { background: #7be0b0; box-shadow: 0 0 0 3px rgba(123,224,176,.2); animation: live 2.4s ease-out infinite; }
.status.s-out i { background: var(--teal); }
.tba { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }

/* CJK has no webfont (too heavy): Jost covers Latin/Cyrillic, the rest falls back to the system's native UI font. */
:lang(zh) { --display: "Jost", system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
:lang(ja) { --display: "Jost", system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif; }
:lang(ko) { --display: "Jost", system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; word-break: keep-all; }
:lang(zh), :lang(ja), :lang(ko) { line-height: 1.75; }
:lang(zh) h1, :lang(ja) h1, :lang(ko) h1 { line-height: 1.2; letter-spacing: 0; }
:lang(zh) .kicker, :lang(ja) .kicker, :lang(ko) .kicker, :lang(zh) .tb-tag, :lang(ja) .tb-tag, :lang(ko) .tb-tag { letter-spacing: .04em; }

/* Game cover art: gradient mesh + film grain. A real cover <img> inside .art replaces the mesh. */
.art { position: relative; overflow: hidden; isolation: isolate; background-color: var(--art-base); background-image: var(--art); }
.art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.art-1 { --art-base: #c4607f;
  --art: radial-gradient(60% 70% at 18% 12%, #ffe1c2 0, transparent 62%), radial-gradient(70% 60% at 88% 28%, #ff9fc2 0, transparent 64%), radial-gradient(80% 70% at 35% 105%, #e48bd3 0, transparent 62%); }
.art-2 { --art-base: #5646b0;
  --art: radial-gradient(60% 65% at 80% 10%, #d9c3ff 0, transparent 62%), radial-gradient(70% 70% at 10% 40%, #7f9cff 0, transparent 64%), radial-gradient(80% 60% at 70% 105%, #b27df0 0, transparent 62%); }
.art-3 { --art-base: #2f86a3;
  --art: radial-gradient(60% 65% at 15% 10%, #d3fff2 0, transparent 62%), radial-gradient(70% 70% at 90% 45%, #6fd6ea 0, transparent 64%), radial-gradient(80% 60% at 30% 105%, #7fa9ff 0, transparent 62%); }

/* small status pill that sits on top of art */
.chip { display: inline-block; padding: 3px 12px; border-radius: 999px; font-family: var(--display); font-size: 13px; font-weight: 500; letter-spacing: .02em;
  color: #fff; background: rgba(15,17,22,.38); border: 1px solid rgba(255,255,255,.18); }

/* art inside a sized box fills it */
.thumb, .mi-thumb { position: relative; overflow: hidden; }
.thumb .art, .mi-thumb .art { position: absolute; inset: 0; }

.topbar { position: relative; z-index: 30; height: 38px; background: #0d0f13; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.tb-live { display: flex; align-items: center; gap: 10px; min-width: 0; font-family: var(--display); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-live::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #7be0b0; box-shadow: 0 0 0 0 rgba(123,224,176,.6); animation: live 2.4s ease-out infinite; }
@keyframes live { 70%, 100% { box-shadow: 0 0 0 8px rgba(123,224,176,0); } }
.tb-right { display: flex; align-items: center; gap: 18px; }
.tb-mail { display: inline-flex; align-items: center; gap: 7px; transition: color .15s; }
.tb-mail:hover { color: var(--text); }
.topbar .socials.icons a { width: 28px; height: 28px; }
.topbar .so-logo { width: 14px; height: 14px; }

/* .top keeps a fixed slot so shrinking the header never moves the page (no scroll feedback loop). --p goes 0 -> 1 with scroll. */
.top { --p: 0; --hbig: 108px; position: sticky; top: 0; z-index: 20; height: var(--hbig); pointer-events: none; }
.top-in { pointer-events: auto; position: relative;
  background: rgba(14,16,21,calc(.82 + .14 * var(--p)));
  border-bottom: 1px solid rgba(255,255,255,calc(.05 + .05 * var(--p))); box-shadow: 0 10px 30px rgba(0,0,0,calc(.4 * var(--p))); }
.bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-block: calc(18px - 8px * var(--p)); }

.brand { position: relative; display: block; height: calc(72px - 30px * var(--p)); aspect-ratio: 1004 / 322; }
.logo-svg { height: 100%; width: 100%; display: block; overflow: visible; }
/* a real tile of the logo svg gets .lit from scripts/30-logo-fx.js */
.logo-svg path.lit { transform-box: fill-box; transform-origin: center; animation: tile 1.4s ease-in-out; }
@keyframes tile {
  0%, 100% { transform: scale(1); filter: none; }
  50% { transform: scale(1.45); filter: brightness(1.15) drop-shadow(0 0 7px var(--glow)); }
}
/* the sweep canvas is masked to the logo shape so light only lands on the letters */
#px { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask: url(/assets/logo-color.svg) center / 100% 100% no-repeat; mask: url(/assets/logo-color.svg) center / 100% 100% no-repeat; }

nav { display: flex; align-items: center; gap: 6px; font-family: var(--display); font-size: 16px; font-weight: 500; letter-spacing: .01em; color: rgba(242,243,247,.7); }
.nav-l { justify-self: start; }
.nav-r { justify-self: end; }
.nl { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; transition: color .15s, background .15s; }
.nl:hover { color: var(--text); background: rgba(255,255,255,.07); }
.nl.is-active, .dd-btn.is-active { color: var(--text); }
.nl.is-active:not(.pill)::after, .dd-btn.is-active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 16px; height: 2px; margin-left: -8px; border-radius: 2px; background: var(--grad); }
.nl.pill { padding: 9px 20px; color: var(--text); border: 1px solid rgba(255,255,255,.16); }
.nl.pill:hover, .nl.pill.is-active { border-color: rgba(182,144,221,.7); background: rgba(182,144,221,.12); }

/* mobile menu (hidden on desktop) */
.mnav { display: none; }
.mnav summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line-2); cursor: pointer; color: var(--text); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav .mn-close, .mnav[open] .mn-open { display: none; }
.mnav[open] .mn-close { display: block; }
.mn-panel { position: fixed; left: 0; right: 0; top: var(--mtop, 72px); bottom: 0; z-index: 50; overflow-y: auto; padding: 18px 20px 40px; background: #0f1116; border-top: 1px solid var(--line); animation: menu .2s ease-out; }
.mn-h { margin: 14px 4px 8px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mn-games, .mn-links { list-style: none; display: grid; gap: 4px; }
.mn-games a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; background: rgba(255,255,255,.03); }
.mn-links a { display: flex; align-items: center; gap: 14px; padding: 14px 12px; border-radius: 14px; font-size: 17px; color: var(--text); }
.mn-links a .i:first-child { color: var(--purple); }
.mn-links a[aria-current] { background: rgba(182,144,221,.12); }
.mn-go { margin-left: auto; color: var(--muted); }
.mn-panel .socials { margin-top: 20px; }

.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 3px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); font-size: 13px; color: var(--text); user-select: none; transition: border-color .15s, background .15s; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { border-color: rgba(182,144,221,.6); background: rgba(182,144,221,.08); }
.lang .chev { color: var(--muted); transition: transform .2s ease; }
.lang[open] .chev { transform: rotate(180deg); }
.lang ul { position: absolute; right: 0; top: calc(100% + 10px); z-index: 40; display: grid; grid-template-columns: repeat(2, minmax(190px, 1fr)); gap: 2px; list-style: none; padding: 6px; background: #1b1f27; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 44px rgba(0,0,0,.5); animation: menu .16s ease-out; }
.lang.up ul { top: auto; bottom: calc(100% + 10px); }
@keyframes menu { from { opacity: 0; transform: translateY(-6px); } }
.lang li a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 9px; font-size: 15px; color: var(--text); }
.lang li a:hover { background: rgba(255,255,255,.06); }
.lang li a[aria-current] { background: rgba(182,144,221,.14); }
.lang .lc { flex: none; width: 30px; padding: 2px 0; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .06em; border-radius: 6px; background: rgba(255,255,255,.08); color: var(--muted); }
.lang li a[aria-current] .lc { background: var(--grad); color: #13161B; }
.lang .ln { flex: 1; }
.lang .ck { color: var(--purple); }
.footer .lang summary { padding: 8px 14px; font-size: 14px; }

/* Header dropdowns. Open state is the .open class set by scripts/15-dropdowns.js. */
.dd { position: relative; }
.dd.mega { position: static; }        /* the mega panel is positioned against the header, not its button */

.dd-btn { position: relative; display: flex; align-items: center; gap: 7px; padding: 10px 14px; border: 0; border-radius: 999px; background: none; color: inherit; font: inherit; cursor: pointer; transition: color .15s, background .15s; }
.dd-btn .chev { opacity: .7; transition: transform .25s ease; }
.dd:hover .dd-btn, .dd.open .dd-btn { color: var(--text); background: rgba(255,255,255,.07); }
.dd.open .chev { transform: rotate(180deg); }
.nav-r .dd-btn { padding: 9px 20px; border: 1px solid rgba(255,255,255,.16); color: var(--text); }
.nav-r .dd:hover .dd-btn, .nav-r .dd.open .dd-btn { border-color: rgba(182,144,221,.7); background: rgba(182,144,221,.12); }

.dd-panel { position: absolute; left: 0; top: 100%; z-index: 40; min-width: 240px; margin-top: 18px; padding: 8px;
  background: #12151b; border: 1px solid rgba(255,255,255,.09); border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 40px 90px -24px rgba(0,0,0,.8), 0 8px 24px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px) scale(.985); transform-origin: top left;
  transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.dd-panel.right { left: auto; right: 0; transform-origin: top right; }
.dd.open .dd-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }

.dd-links { list-style: none; }
.dd-links a { display: block; padding: 12px 16px; border-radius: 14px; color: rgba(242,243,247,.72); font-size: 16px; transition: background .15s, color .15s; }
.dd-links a:hover, .dd-links a:focus-visible { background: rgba(255,255,255,.07); color: var(--text); }
.dd-links.rich { min-width: 320px; }
.dd-links.rich a { display: flex; align-items: center; gap: 14px; padding: 10px 12px; }
.dl-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--purple); transition: background .15s, color .15s; }
.dd-links.rich a:hover .dl-ic, .dd-links.rich a[aria-current] .dl-ic { background: var(--grad); color: #13161B; border-color: transparent; }
.dl-tx { display: grid; line-height: 1.3; }
.dl-tx strong { color: var(--text); font-weight: 600; font-size: 16px; }
.dl-tx small { color: var(--muted); font-size: 13px; }

/* games mega menu: list on the left, hovered game on the right */
.mega-panel { left: 50%; width: min(960px, calc(100vw - 32px)); margin-top: 14px; padding: 10px; display: grid; grid-template-columns: 340px 1fr; gap: 10px; transform: translate(-50%, -8px) scale(.985); transform-origin: top center; }
.dd.open .mega-panel { transform: translate(-50%, 0); }

.mega-list { display: flex; flex-direction: column; gap: 2px; padding: 4px; }
.mega-item { position: relative; display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 16px; color: rgba(242,243,247,.78); transition: background .15s, color .15s; }
.mega-item.active, .mega-item:focus-visible { background: rgba(255,255,255,.07); color: var(--text); }
.mi-thumb { flex: none; width: 48px; height: 48px; border-radius: 14px; }
.mi-text { display: grid; flex: 1; line-height: 1.25; }
.mi-text strong { font-size: 19px; font-weight: 600; letter-spacing: -.005em; }
.mi-text small { color: var(--muted); font-size: 13px; }
.mi-arrow { opacity: 0; transform: translateX(-6px); transition: opacity .15s, transform .15s; }
.mega-item.active .mi-arrow { opacity: .8; transform: none; }
.dd-all { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 14px 12px 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; transition: color .15s; }
.dd-all span { flex: 1; }
.dd-all:hover { color: var(--text); }

.mega-detail { position: relative; min-height: 320px; border-radius: 16px; overflow: hidden; }
.mega-preview { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
.mega-preview.active { opacity: 1; visibility: inherit; }
.mega-preview .art { position: absolute; inset: 0; transform: scale(1.06); transition: transform .8s ease; }
.mega-preview.active .art { transform: none; }
.mega-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,12,16,.78), rgba(10,12,16,.1) 62%, transparent); }
.mp-body { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: #fff; }
.mp-body h3 { margin: 0; font-size: 30px; letter-spacing: -.01em; }
.mp-body p { color: rgba(255,255,255,.78); font-size: 15px; }
.mp-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 9px 20px; border-radius: 999px; background: #fff; color: #13161B; font-family: var(--display); font-weight: 600; font-size: 15px; transition: transform .15s; }
.mp-cta:hover { transform: translateY(-2px); }

.hero { position: relative; display: flex; align-items: center; min-height: min(calc(100svh - 108px), 860px); padding: 56px 0 96px; isolation: isolate; }

/* static glow layers; only opacity changes (cheap) when the active game changes */
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glow { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; will-change: opacity; }
.g1 { background: radial-gradient(55% 60% at 12% 8%, rgba(255,159,194,.26), transparent 70%), radial-gradient(45% 55% at 92% 40%, rgba(228,139,211,.16), transparent 70%); }
.g2 { background: radial-gradient(55% 60% at 12% 8%, rgba(143,123,255,.26), transparent 70%), radial-gradient(45% 55% at 92% 40%, rgba(106,140,255,.16), transparent 70%); }
.g3 { background: radial-gradient(55% 60% at 12% 8%, rgba(95,208,230,.24), transparent 70%), radial-gradient(45% 55% at 92% 40%, rgba(127,169,255,.16), transparent 70%); }
.hero[data-tone="0"] .g1, .hero[data-tone="1"] .g2, .hero[data-tone="2"] .g3 { opacity: 1; }

.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 64px; }


.hello { display: flex; gap: 10px; max-width: 480px; margin-bottom: 20px; color: var(--muted); font-size: 19px; }
.hello .i { margin-top: 5px; color: var(--peach); }
.game-list { list-style: none; counter-reset: g; }
.game-list li { border-top: 1px solid rgba(255,255,255,.1); }
.game-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.gl-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: 14px 0; color: rgba(242,243,247,.3); transition: color .35s ease; }
.gl-num { font-family: var(--display); font-size: 15px; font-variant-numeric: tabular-nums; }
.gl-name { font-family: var(--display); font-size: clamp(36px, 4.7vw, 70px); font-weight: 600; line-height: 1.02; letter-spacing: -.025em; }
.gl-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 14px; letter-spacing: .04em; opacity: 0; transition: opacity .3s; white-space: nowrap; }
.gl-num, .gl-name { transition: transform .35s ease; }
.gl-row.active { color: var(--text); }
.gl-row.active .gl-name { transform: translateX(14px); }
.gl-row.active .gl-tag { opacity: .7; }


/* cover stage on the right */
.stage { position: relative; width: min(440px, 100%); aspect-ratio: 4 / 5; justify-self: end; border-radius: 32px; overflow: hidden; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.3); }
.slide { position: absolute; inset: 0; display: block; opacity: 0; pointer-events: none; transition: opacity .9s ease; }
.slide.active { opacity: 1; pointer-events: auto; cursor: pointer; }
.slide .art { position: absolute; inset: 0; transition: transform .7s ease; }
.slide.active:hover .art { transform: scale(1.04); }
.slide-go { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #13161B; opacity: 0; transform: translateX(-8px); transition: opacity .25s ease, transform .25s ease; }
.slide.active:hover .slide-go { opacity: 1; transform: none; }
@media (hover: none) { .slide-go { opacity: 1; transform: none; } }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,12,16,.7), transparent 55%); }
.slide-meta { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; color: #fff; }
.slide-meta strong { display: block; font-family: var(--display); font-size: 28px; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }
.slide-meta small { display: block; margin-top: 4px; color: rgba(255,255,255,.8); font-size: 15px; }
.slide-meta .chip { margin-bottom: 10px; }
.slide-count { position: absolute; z-index: 2; left: 24px; top: 22px; font-family: var(--display); font-size: 14px; letter-spacing: .08em; color: rgba(255,255,255,.85); font-variant-numeric: tabular-nums; }
.stage-progress { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.14); }
.stage-progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: #fff; }
.stage-progress i.run { animation: progress var(--auto, 5200ms) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }

/* shared card look */
.pillars li, .paths a, .channels a, .side-card, .process li, .features li, .empty, .band, .legal section { background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)), var(--bg-card); border: 1px solid var(--line); border-radius: var(--r); }
.p-ic, .pa-ic, .band-ic, .empty-ic, .cta-ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 15px; color: #13161B; background: var(--grad); box-shadow: 0 10px 24px -10px rgba(182,144,221,.6); }

/* home: key facts strip */
.facts { margin-top: -36px; position: relative; z-index: 2; }
.facts ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: rgba(23,26,33,.85); overflow: hidden; }
.facts li { display: flex; align-items: center; gap: 16px; padding: 24px 26px; }
.facts li + li { border-left: 1px solid var(--line); }
.fx-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.05); color: var(--peach); }
.facts li:nth-child(2) .fx-ic { color: var(--pink); }
.facts li:nth-child(3) .fx-ic { color: var(--purple); }
.facts li:nth-child(4) .fx-ic { color: var(--teal); }
.facts strong { display: block; font-size: 26px; line-height: 1.1; font-weight: 600; }
.facts small { color: var(--muted); font-size: 14px; }

/* pillars / values */
.pillars { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.pillars li { padding: 26px; transition: transform .25s ease, border-color .25s; }
.pillars li:hover { transform: translateY(-4px); border-color: var(--line-2); }
.pillars .p-ic { margin-bottom: 20px; }
.pillars p, .features p, .process p, .paths p, .channels p { color: var(--muted); font-size: 16px; }

/* home: studio teaser */
.studio-teaser { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.studio-teaser .pillars { grid-template-columns: 1fr 1fr; }

/* home: shortcuts + contact channels */
.paths, .channels { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.paths a, .channels a { position: relative; display: flex; flex-direction: column; height: 100%; padding: 28px; transition: transform .25s ease, border-color .25s; }
.paths a:hover, .channels a:hover { transform: translateY(-4px); border-color: rgba(182,144,221,.5); }
.pa-ic { margin-bottom: 22px; }
.pa-go { position: absolute; top: 28px; right: 28px; color: var(--muted); transition: transform .2s, color .2s; }
.paths a:hover .pa-go { color: var(--text); transform: translate(3px, -3px); }
.channels .gc-go { margin-top: auto; padding-top: 18px; }

/* community / newsletter */
.community { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 48px; border-radius: 32px; border: 1px solid var(--line);
  background: radial-gradient(60% 120% at 0% 0%, rgba(247,195,166,.16), transparent 60%), radial-gradient(60% 120% at 100% 100%, rgba(126,193,219,.16), transparent 60%), var(--bg-card); }
.community h2 { margin-bottom: 10px; }
.cm-act { display: grid; gap: 18px; justify-items: start; }

/* icon + text + button band */
.band { display: flex; align-items: center; gap: 24px; padding: 32px; }
.band h2 { font-size: 26px; margin-bottom: 4px; }
.band .lead { font-size: 16px; }
.band > div { flex: 1; }
.band .btn { flex: none; }

/* numbered steps */
.process { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; }
.process.three { grid-template-columns: repeat(3, 1fr); }
.process li { position: relative; padding: 26px 22px; }
.process .p-ic { margin-bottom: 18px; }
.pr-n { position: absolute; top: 22px; right: 22px; font-size: 14px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }

/* empty state */
.empty { display: flex; align-items: center; gap: 22px; padding: 30px; border-style: dashed; border-color: var(--line-2); }
.empty > div { flex: 1; }
.empty p { color: var(--muted); }

/* socials (icon + name) */
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; color: var(--text); transition: background .15s, border-color .15s, transform .15s; }
.socials a:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.socials.icons a { justify-content: center; width: 40px; height: 40px; padding: 0; }
.so-logo { width: 18px; height: 18px; }

/* game cards */
.ggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ggrid.two { grid-template-columns: repeat(2, 1fr); }
.gcard, .ncard { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--bg-card); border: 1px solid var(--line); overflow: hidden; transition: transform .3s ease, border-color .3s ease, box-shadow .3s; }
.gcard:hover, .ncard:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.gc-link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.gcard .thumb, .ncard .thumb { aspect-ratio: 16 / 10; }
.gcard .art, .ncard .art, .grow .art { transition: transform .6s ease; }
.gcard:hover .art, .ncard:hover .art, .grow:hover .art { transform: scale(1.05); }
.gc-num { position: absolute; z-index: 2; left: 18px; top: 14px; font-size: 14px; font-weight: 600; letter-spacing: .08em; color: rgba(255,255,255,.9); }
.gc-body, .nc-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 22px 24px 24px; }
.gc-body .status { margin-bottom: 14px; }
.gc-body h3 { font-size: 26px; letter-spacing: -.01em; }
.gc-body p { color: var(--muted); font-size: 16px; }
.gc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: auto; padding-top: 20px; }
.gc-go { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--text); }
.gc-go .i { transition: transform .2s; }
.gcard:hover .gc-go .i, .ncard:hover .gc-go .i, .channels a:hover .gc-go .i { transform: translateX(4px); }
.pf-mini { display: inline-flex; gap: 10px; color: var(--muted); }
.pf-mini svg { width: 18px; height: 18px; }

/* games page: big rows */
.glist { display: grid; gap: 24px; }
.grow { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: 28px; background: var(--bg-card); border: 1px solid var(--line); overflow: hidden; }
.gr-art { position: relative; display: block; min-height: 340px; overflow: hidden; }
.gr-art .art { position: absolute; inset: 0; }
.gr-body { display: flex; flex-direction: column; align-items: flex-start; padding: 36px 40px; }
.gr-body .status { margin-bottom: 16px; }
.gr-body h2 { margin-bottom: 6px; }
.gr-tag { font-size: 20px; color: var(--text); margin-bottom: 10px; }
.gr-about { color: var(--muted); }
.gr-body .actions { margin-top: 26px; }
.meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 32px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); width: 100%; }
.meta dt, .info dt { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.meta dd { margin-top: 2px; font-size: 15px; }

/* game page hero */
.game-hero { position: relative; overflow: hidden; padding: 40px 0 72px; min-height: 560px; display: flex; align-items: flex-end; isolation: isolate; }
.gh-art { position: absolute; inset: 0; z-index: -2; }
.gh-art .art { position: absolute; inset: 0; transform: scale(1.04); }
.game-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--bg) 2%, rgba(19,22,27,.7) 40%, rgba(19,22,27,.25)), linear-gradient(to right, rgba(19,22,27,.6), transparent 70%); }
.gh-in { display: flex; flex-direction: column; align-items: flex-start; }
.gh-in .crumbs { margin-bottom: auto; padding-bottom: 120px; }
.gh-in .status { margin-bottom: 18px; background: rgba(15,17,22,.4); }
.gh-in h1 { font-size: clamp(48px, 8vw, 104px); text-shadow: 0 10px 40px rgba(0,0,0,.3); }
.gh-tag { margin-top: 10px; font-size: clamp(19px, 2.2vw, 24px); color: rgba(255,255,255,.88); max-width: 640px; }

/* game page body */
.game-main { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.gm-block + .gm-block { margin-top: 56px; }
.gm-block h2 { display: flex; align-items: center; gap: 12px; font-size: 30px; margin-bottom: 18px; }
.gm-block h2 .i { color: var(--purple); }
.features { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.features li { padding: 22px; }
.features .p-ic { margin-bottom: 16px; }
.media { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.media > div, .m-side > div { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.m-main { aspect-ratio: 16 / 10; }
.m-side { display: grid; gap: 12px; border: 0 !important; }
.media .art { position: absolute; inset: 0; filter: saturate(.85) brightness(.8); }
.m-play, .m-ic { position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; place-items: center; transform: translate(-50%, -50%); border-radius: 50%; color: #fff; background: rgba(15,17,22,.45); border: 1px solid rgba(255,255,255,.3); }
.m-play { width: 72px; height: 72px; }
.m-ic { width: 48px; height: 48px; }

.gm-side { position: sticky; top: 100px; display: grid; gap: 16px; }
.side-card { padding: 26px; }
.side-card h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 16px; }
.side-card .btn { margin-top: 16px; }
.info div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.info div:first-child { border-top: 0; padding-top: 0; }
.info dd { text-align: right; font-size: 15px; }
.info dd a { border-bottom: 1px solid var(--line-2); }
.info dd a:hover { border-color: #fff; }
.info .pf-list.sm { justify-content: flex-end; }

/* store buttons: "Get it on" + store name, logo on the left */
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 9px 20px 9px 16px; border-radius: 14px; background: #000; border: 1px solid rgba(255,255,255,.25); color: #fff; transition: transform .15s, border-color .15s; }
.store:hover { transform: translateY(-2px); border-color: #fff; }
.store svg { width: 26px; height: 26px; }
.store span { display: grid; line-height: 1.15; }
.store small { font-size: 11px; opacity: .8; }
.store strong { font-size: 17px; font-weight: 600; }

/* studio page: story + fact card */
.story { display: grid; grid-template-columns: 1.3fr .9fr; gap: 56px; align-items: start; }
.story-copy .big { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.45; margin-bottom: 20px; }
.story-copy .lead { max-width: none; }
.story-card { position: sticky; top: 100px; padding: 30px; border-radius: var(--r); border: 1px solid var(--line);
  background: radial-gradient(80% 60% at 50% 0%, rgba(182,144,221,.18), transparent 70%), var(--bg-card); }
.story-card img { width: 100%; max-width: 260px; height: auto; margin: 6px auto 28px; }
.pillars.four { grid-template-columns: repeat(4, 1fr); }

/* platform wall: one tile per platform, logo left + name right, lights up in the platform's color on hover (--pc comes from platforms.json) */
.pf-wall { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pw { --pc: #fff; position: relative; display: flex; align-items: center; gap: 18px; min-height: 108px; padding: 22px 24px; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)), var(--bg-card); border: 1px solid var(--line);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .3s; }
.pw::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(120% 140% at 0% 50%, color-mix(in srgb, var(--pc) 26%, transparent), transparent 60%); }
.pw:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--pc) 45%, transparent); box-shadow: 0 24px 50px -28px color-mix(in srgb, var(--pc) 60%, transparent); }
.pw:hover::before { opacity: 1; }
.pw-logo { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 17px; color: var(--text); background: rgba(255,255,255,.06); border: 1px solid var(--line); transition: color .3s, background .3s, border-color .3s; }
.pw-logo svg { width: 28px; height: 28px; }
.pw:hover .pw-logo { color: var(--pc); background: color-mix(in srgb, var(--pc) 12%, transparent); border-color: color-mix(in srgb, var(--pc) 35%, transparent); }
.pw-tx { display: grid; gap: 4px; line-height: 1.2; min-width: 0; }
.pw-tx strong { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.pw-tx small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.pw-note { border-style: dashed; border-color: var(--line-2); background: transparent; }
.pw-note .pw-logo { color: var(--purple); background: rgba(182,144,221,.1); }
.pw-note small { text-transform: none; letter-spacing: 0; font-size: 14px; line-height: 1.45; }

/* small platform badges (game info card) */
.pf-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.pf { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--text); }
.pf-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.06); }
.pf-logo { width: 20px; height: 20px; }
.pf-name { font-size: 16px; font-weight: 500; white-space: nowrap; }
.pf-list.sm .pf { padding: 4px 12px 4px 4px; gap: 8px; border-radius: 10px; }
.pf-list.sm .pf-ic { width: 26px; height: 26px; border-radius: 7px; }
.pf-list.sm .pf-logo { width: 14px; height: 14px; }
.pf-list.sm .pf-name { font-size: 14px; }

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { margin: 0; font-size: inherit; line-height: inherit; }
.faq-q button { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 22px 0; background: none; border: 0; color: var(--text); font-family: var(--display); font-size: 21px; font-weight: 500; text-align: left; cursor: pointer; transition: color .2s; }
.faq-q button:hover { color: #fff; }

.faq-icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); transition: background .3s ease, border-color .3s ease, transform .4s cubic-bezier(.2,.7,.2,1); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; background: currentColor; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item.open .faq-icon { transform: rotate(180deg); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); }
.faq-item.open .faq-icon::after { transform: rotate(0deg); }

/* height animates via grid rows (0fr -> 1fr): smooth, no fixed heights, no JS measuring */
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-in { min-height: 0; overflow: hidden; }
.faq-a p { padding-bottom: 24px; color: var(--muted); font-size: 18px; opacity: 0; transform: translateY(-6px); transition: opacity .3s ease, transform .4s ease; }
.faq-item.open .faq-a p { opacity: 1; transform: none; transition-delay: .1s; }

.cta-sec { padding: 64px 0 24px; }
.cta-band { position: relative; padding: 72px 32px; border-radius: 32px; text-align: center; overflow: hidden; border: 1px solid rgba(255,255,255,.1);
  background: radial-gradient(70% 90% at 50% 0%, rgba(182,144,221,.24), transparent 70%), radial-gradient(60% 80% at 100% 100%, rgba(126,193,219,.14), transparent 70%), radial-gradient(50% 70% at 0% 100%, rgba(247,195,166,.12), transparent 70%), var(--bg-soft); }
.cta-ic { margin: 0 auto 22px; width: 60px; height: 60px; border-radius: 20px; }
.cta-band h2 { font-size: clamp(34px, 5vw, 56px); }
.cta-band .lead { margin: 0 auto; font-size: 19px; }
.cta-band .actions { margin-top: 30px; }
.mail { margin-top: 18px; color: var(--muted); }
.mail a:hover { color: var(--text); }

.footer { margin-top: 64px; padding: 72px 0 28px; border-top: 1px solid var(--line); background: linear-gradient(to bottom, rgba(255,255,255,.02), transparent 40%), #0d0f13; color: var(--muted); }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--grad); opacity: .5; }
.ft-news { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; margin-bottom: 64px; padding: 32px 36px; border-radius: 28px; border: 1px solid var(--line);
  background: radial-gradient(60% 140% at 0% 0%, rgba(247,195,166,.12), transparent 60%), radial-gradient(60% 140% at 100% 100%, rgba(126,193,219,.12), transparent 60%), var(--bg-card); }
.ft-news h2 { display: flex; align-items: center; gap: 10px; font-size: 26px; margin-bottom: 4px; }
.ft-news h2 .i { color: var(--peach); }
.ft-news .nform { justify-self: end; }
.ft-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; }
.ft-brand img { width: 190px; height: auto; display: block; margin-bottom: 20px; }
.ft-brand p { max-width: 320px; margin-bottom: 18px; font-size: 16px; }
.ft-mail { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 17px; }
.ft-mail span { border-bottom: 1px solid rgba(255,255,255,.25); transition: border-color .2s; }
.ft-mail:hover span { border-color: #fff; }
.ft-h { margin: 24px 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }

/* these are <nav> elements: undo the header nav styling */
.ft-col { display: block; gap: 0; font: inherit; letter-spacing: 0; color: var(--muted); }
.ft-col h3 { margin-bottom: 18px; color: var(--text); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.ft-col ul { list-style: none; display: grid; gap: 12px; }
.ft-col a { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; transition: color .15s, transform .15s; }
.ft-col a .i { opacity: .55; transition: opacity .15s, color .15s; }
.ft-col a:hover, .ft-col a[aria-current] { color: var(--text); transform: translateX(2px); }
.ft-col a:hover .i, .ft-col a[aria-current] .i { opacity: 1; color: var(--purple); }

.ft-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.ft-made { display: inline-flex; align-items: center; gap: 8px; }
.ft-made .i { color: var(--pink); }
.ft-tools { display: flex; align-items: center; gap: 12px; }
.ft-up { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); color: var(--text); transition: transform .2s, border-color .2s; }
.ft-up:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.3); }
/* the home page already has a newsletter block */
[data-page="home"] .ft-news { display: none; }

.ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ncard.big { display: grid; grid-template-columns: 1.2fr 1fr; margin-bottom: 20px; }
.ncard.big .thumb { aspect-ratio: auto; min-height: 340px; }
.ncard.big .nc-body { justify-content: center; padding: 40px; }
.ncard.big h3 { font-size: clamp(26px, 3vw, 36px); }
.ncard .thumb { position: relative; overflow: hidden; }
.ncard .thumb .art { position: absolute; inset: 0; }
.n-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(15,17,22,.45); border: 1px solid rgba(255,255,255,.2); }
.ncard .n-tag { position: absolute; z-index: 2; left: 16px; top: 16px; }
.nc-body time, .post-meta time { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.nc-body h3 { font-size: 22px; }
.nc-body p { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.nc-body .gc-go { margin-top: auto; }

/* single post */
.post-head { position: relative; padding: 36px 0 40px; overflow: hidden; isolation: isolate; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 28px 0 18px; }
.post-meta time { margin: 0; }
.post-head h1 { font-size: clamp(36px, 5.4vw, 62px); }
.post-cover { position: relative; aspect-ratio: 16 / 8; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 44px; }
.post-cover .art { position: absolute; inset: 0; }
.prose { font-size: 19px; line-height: 1.75; color: rgba(242,243,247,.86); }
.prose p + p { margin-top: 1.1em; }
.prose h2 { font-size: 30px; margin: 1.6em 0 .5em; color: var(--text); }
.post-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }

.press-top { display: grid; grid-template-columns: 400px 1fr; gap: 48px; align-items: start; }
.press-about h2 { display: flex; align-items: center; gap: 12px; font-size: 28px; }
.press-about h2 .i { color: var(--purple); }
.press-about .lead + h2 { margin-top: 40px; }
.press-top .info dd { max-width: 60%; }

.logos { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logos li { border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; background: var(--bg-card); }
.lg-prev { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 28px; }
.lg-prev img { max-width: 100%; max-height: 90px; width: auto; height: auto; }
.bg-dark { background: #0d0f13; }
.bg-light { background: #f2f3f7; }
.bg-grad { background: var(--grad); }
.lg-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--line); }
.lg-foot strong { font-size: 15px; font-weight: 600; }
.lg-foot span { display: flex; gap: 6px; }
.lg-foot a { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.06); border: 1px solid var(--line); transition: background .15s; }
.lg-foot a:hover { background: rgba(255,255,255,.14); }

.swatches { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sw { display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px 16px 10px 10px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg-card); color: var(--text); text-align: left; cursor: pointer; transition: border-color .15s, transform .15s; }
.sw:hover { border-color: var(--line-2); transform: translateY(-2px); }
.sw-c { flex: none; width: 52px; height: 52px; border-radius: 13px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.sw-t { display: grid; flex: 1; line-height: 1.3; }
.sw-t strong { font-size: 16px; font-weight: 600; }
.sw-t code { font-size: 14px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.sw-i { color: var(--muted); }
.sw.done .sw-t code { color: #7be0b0; }

/* inner page header */
.page-hero, .nf { position: relative; padding: 36px 0 64px; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.ph-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 80% at 10% 0%, rgba(255,159,194,.2), transparent 70%), radial-gradient(40% 70% at 90% 30%, rgba(143,123,255,.16), transparent 70%); }
.tone-1 .ph-bg { background: radial-gradient(50% 80% at 10% 0%, rgba(143,123,255,.22), transparent 70%), radial-gradient(40% 70% at 90% 30%, rgba(106,140,255,.16), transparent 70%); }
.tone-2 .ph-bg { background: radial-gradient(50% 80% at 10% 0%, rgba(95,208,230,.2), transparent 70%), radial-gradient(40% 70% at 90% 30%, rgba(169,213,212,.14), transparent 70%); }
.ph-bg::after { content: ""; position: absolute; inset: 0; opacity: .35; background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px); background-size: 26px 26px;
  -webkit-mask: linear-gradient(to bottom, #000, transparent 85%); mask: linear-gradient(to bottom, #000, transparent 85%); }
.page-hero .crumbs { margin-bottom: 44px; }
.page-hero h1 { max-width: 900px; }
.ph-lead { max-width: 680px; margin-top: 18px; color: var(--muted); font-size: clamp(18px, 1.8vw, 21px); }

/* breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 14px; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; margin-right: 2px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.crumbs a, .crumbs span { display: inline-flex; align-items: center; gap: 6px; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-hero .crumbs, .post-head .crumbs { color: rgba(255,255,255,.75); }

/* legal pages */
.legal { display: grid; gap: 14px; margin-top: 8px; }
.legal section { display: flex; gap: 20px; padding: 26px; }
.legal h2 { font-size: 22px; margin-bottom: 6px; }
.legal p { color: var(--muted); }

/* 404 */
.nf { padding: 80px 0 100px; text-align: center; border: 0; }
.nf-code { font-size: clamp(120px, 22vw, 220px); font-weight: 700; line-height: 1; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf h1 { font-size: clamp(32px, 5vw, 52px); }
.nf .ph-lead { margin-inline: auto; }

/* form card */
.pform { position: relative; padding: 36px; border-radius: 28px; border: 1px solid var(--line);
  background: radial-gradient(70% 60% at 100% 0%, rgba(182,144,221,.12), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)), var(--bg-card); }
.f-head { margin-bottom: 26px; }
.f-head h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 4px; }
.f-head p { color: var(--muted); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fld { display: grid; gap: 8px; min-width: 0; }
.fld.full { grid-column: 1 / -1; }
.fl { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--text); }
.fl em { font-style: normal; font-weight: 400; color: var(--muted); }
.fld input, .fld select, .fld textarea, .nform input { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(10,12,16,.55); color: var(--text); font: inherit; font-size: 16px; transition: border-color .15s, box-shadow .15s, background .15s; }
.fld textarea { resize: none; min-height: 120px; max-height: 480px; line-height: 1.55; overflow-y: auto; }
.fld input::placeholder, .fld textarea::placeholder, .nform input::placeholder { color: rgba(163,168,181,.7); }
.fld input:hover, .fld select:hover, .fld textarea:hover { border-color: rgba(255,255,255,.24); }
.fld input:focus, .fld select:focus, .fld textarea:focus, .nform input:focus { outline: none; border-color: rgba(182,144,221,.8); box-shadow: 0 0 0 4px rgba(182,144,221,.18); background: rgba(10,12,16,.8); }
.fld input:user-invalid, .fld select:user-invalid, .fld textarea:user-invalid { border-color: #f08a9b; }
.sel { position: relative; display: block; }
.sel select { appearance: none; padding-right: 44px; cursor: pointer; }
.sel select option { background: #1b1f27; color: var(--text); }
.sel .i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.f-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 24px; }
.f-consent { display: flex; gap: 8px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.f-consent .i { margin-top: 2px; color: var(--teal); }
.f-consent a { color: var(--text); font-weight: 600; border-bottom: 1px solid rgba(182,144,221,.6); transition: border-color .15s, color .15s; }
.f-consent a:hover { color: #fff; border-color: #fff; }
.pform button[type=submit] { flex: none; border: 0; cursor: pointer; }
.f-status { margin-top: 14px; font-size: 15px; color: var(--muted); }
.f-status:empty { display: none; }
.f-status.err { color: #f4a3b0; }
.f-status a { color: var(--text); border-bottom: 1px solid currentColor; }
form.busy button[type=submit] { opacity: .65; pointer-events: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* success state replaces the form content */
.pform.sent > :not(.f-done) { display: none; }
.f-done { text-align: center; padding: 28px 10px; }
.f-done .p-ic { margin: 0 auto 18px; width: 60px; height: 60px; border-radius: 20px; }
.f-done h3 { font-size: 26px; }
.f-done p { color: var(--muted); }

/* inline newsletter */
.nform { width: 100%; max-width: 520px; }
.nf-row { position: relative; display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(10,12,16,.6); transition: border-color .15s, box-shadow .15s; }
.nf-row:focus-within { border-color: rgba(182,144,221,.8); box-shadow: 0 0 0 4px rgba(182,144,221,.18); }
.nf-ic { margin-left: 12px; color: var(--muted); }
.nform input { flex: 1; min-width: 0; padding: 10px 6px; border: 0; background: transparent; box-shadow: none !important; }
.nform input:focus { background: transparent; }
.nform .btn { flex: none; border: 0; cursor: pointer; padding: 12px 22px; }
.nform.sent .nf-row { display: none; }
.nf-done { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 999px; background: rgba(123,224,176,.1); border: 1px solid rgba(123,224,176,.35); color: #a7f0cb; text-align: left; }
.nf-done[hidden] { display: none; }

/* home community: copy left, newsletter right */
.cm-act { display: grid; gap: 14px; justify-items: stretch; }
.cm-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.cm-note .i { color: var(--teal); }

/* games mega menu: community shortcuts above "All games" */
.mega-more { display: grid; gap: 2px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
.mega-more a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; transition: background .15s; }
.mega-more a:hover { background: rgba(255,255,255,.06); }
.mega-more .dl-ic { width: 36px; height: 36px; border-radius: 11px; }
.mega-more a:hover .dl-ic { background: var(--grad); color: #13161B; border-color: transparent; }
.mega-more .dl-tx strong { font-size: 15px; }

/* contact page */
.contact-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.contact-side { position: sticky; top: 100px; display: grid; gap: 16px; }
.big-mail { display: block; margin: 8px 0 4px; font-size: 20px; font-weight: 600; word-break: break-all; color: var(--text); }
.big-mail:hover { color: var(--peach); }
.channels a[data-topic].picked { border-color: rgba(182,144,221,.7); }

/* creators page */
.creator-main { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.rules { position: sticky; top: 100px; }
.ticks { list-style: none; display: grid; gap: 12px; margin-top: 8px; }
.ticks li { display: flex; gap: 12px; color: var(--muted); }
.ticks .i { flex: none; margin-top: 4px; color: #7be0b0; }

/* careers */
.jobs { list-style: none; display: grid; gap: 14px; }
.job { padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-card); }
.job-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 8px; }
.job-head h3 { font-size: 24px; margin: 0; }
.job-meta { display: flex; gap: 16px; color: var(--muted); font-size: 14px; }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job .ticks { margin: 16px 0 20px; }
.notify-box { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; margin-top: 14px; padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-card); }
.notify-box h3 { display: flex; align-items: center; gap: 10px; }
.notify-box h3 .i { color: var(--purple); }

/* game page notify card */
.side-card.notify .nform { margin-top: 14px; }
.side-card.notify .nform .btn { padding: 11px 16px; }
.side-card.notify .nform .btn .i { display: none; }

/* press kit */
.toc { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 28px; }
.toc a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--muted); transition: color .15s, border-color .15s; }
.toc a:hover { color: var(--text); border-color: var(--line-2); }
.toc .i { color: var(--purple); }
.press-top { grid-template-columns: 380px 1fr; }
.press-top .side-card { position: sticky; top: 100px; }
.pa-block + .pa-block { margin-top: 40px; }
.pa-block .lead { max-width: none; }
.zip { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 16px; border-radius: 16px; background: var(--grad); color: #13161B; transition: transform .15s, box-shadow .15s; }
.zip:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(182,144,221,.8); }
.zip span { display: grid; line-height: 1.3; }
.zip strong { font-size: 16px; }
.zip small { font-size: 13px; opacity: .75; }
.side-card .socials { margin-top: 16px; }
#games .empty { margin-top: 20px; }
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.dd-box { padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-card); }
.dd-box h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.dd-box.ok h3 .i { color: #7be0b0; }
.dd-box.no h3 .i { color: #f4a3b0; }
.dd-box ul { list-style: none; display: grid; gap: 10px; }
.dd-box li { display: flex; gap: 10px; color: var(--muted); }
.dd-box li .i { flex: none; margin-top: 4px; }
.dd-box.ok li .i { color: #7be0b0; }
.dd-box.no li .i { color: #f4a3b0; }
.type { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; margin-top: 20px; padding: 32px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-card); }
.type-aa { font-size: 140px; line-height: 1; font-weight: 600; letter-spacing: -.04em; text-align: center; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.type h3 { font-size: 32px; }
.type-w { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px; font-size: 18px; }
.w4 { font-weight: 400; } .w5 { font-weight: 500; } .w6 { font-weight: 600; } .w7 { font-weight: 700; }

/* Custom form controls: no browser-default UI anywhere. Shared with the admin panel (served together with admin.css). */

/* dropdown (scripts/65-select.js) */
.cs { position: relative; display: block; }
.cs > select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.cs-btn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-2, var(--line2)); background: rgba(10,12,16,.55); color: var(--text); font: inherit; font-size: 16px; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.cs-btn:hover { border-color: rgba(255,255,255,.24); }
.cs-btn:focus-visible, .cs.open .cs-btn { outline: none; border-color: rgba(182,144,221,.8); box-shadow: 0 0 0 4px rgba(182,144,221,.18); background: rgba(10,12,16,.8); }
.cs-val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-btn.placeholder .cs-val { color: rgba(163,168,181,.75); }
.cs-chev { position: static !important; transform: none !important; color: var(--muted); transition: transform .2s ease !important; }
.cs.open .cs-chev { transform: rotate(180deg) !important; }
.cs-list { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; display: none; max-height: 280px; overflow-y: auto; list-style: none; margin: 0; padding: 6px; border-radius: 16px;
  background: #1b1f27; border: 1px solid var(--line-2, var(--line2)); box-shadow: 0 24px 50px -12px rgba(0,0,0,.7); outline: none; overscroll-behavior: contain; }
.cs.open .cs-list { display: block; animation: cs-in .16s ease-out; }
.cs.up .cs-list { top: auto; bottom: calc(100% + 8px); }
@keyframes cs-in { from { opacity: 0; transform: translateY(-4px); } }
.cs-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--text); font-size: 15px; cursor: pointer; }
.cs-list li.active { background: rgba(255,255,255,.07); }
.cs-list li[aria-selected="true"] { background: rgba(182,144,221,.16); }
.cs-ck { flex: none; color: var(--purple); opacity: 0; }
.cs-list li[aria-selected="true"] .cs-ck { opacity: 1; }

/* checkbox + radio */
input[type="checkbox"], input[type="radio"] { appearance: none; -webkit-appearance: none; flex: none; display: inline-grid; place-content: center; width: 20px; height: 20px; margin: 0; border-radius: 6px; border: 1.5px solid var(--line-2, var(--line2)); background: rgba(10,12,16,.55); cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s; }
input[type="radio"] { border-radius: 50%; }
input[type="checkbox"]::before { content: ""; width: 11px; height: 11px; background: #13161B; transform: scale(0); transition: transform .15s ease;
  clip-path: polygon(14% 44%, 0 59%, 40% 100%, 100% 22%, 86% 8%, 39% 69%); }
input[type="radio"]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #13161B; transform: scale(0); transition: transform .15s ease; }
input[type="checkbox"]:checked, input[type="radio"]:checked { border-color: transparent; background: linear-gradient(120deg, #f7c3a6, #e1a2bd 30%, #b690dd 60%, #7ec1db); }
input[type="checkbox"]:checked::before, input[type="radio"]:checked::before { transform: scale(1); }
input[type="checkbox"]:hover, input[type="radio"]:hover { border-color: rgba(255,255,255,.35); }
input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(182,144,221,.25); }

/* number inputs without spinners */
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* browser autofill keeps our colors */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--text); caret-color: var(--text); -webkit-box-shadow: 0 0 0 1000px #15181f inset; transition: background-color 9999s; }

/* field errors */
.f-err { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: #f4a3b0; }
.f-err::before { content: "!"; display: grid; place-items: center; flex: none; width: 16px; height: 16px; border-radius: 50%; background: rgba(244,163,176,.18); font-size: 11px; font-weight: 700; }
.fld.invalid input, .fld.invalid textarea, .fld.invalid .cs-btn { border-color: #f08a9b; box-shadow: 0 0 0 4px rgba(240,138,155,.12); }
.nform.invalid .nf-row { border-color: #f08a9b; }
.nform > .f-err { margin: 8px 0 0 18px; }

/* scrollbars */
html { scrollbar-color: rgba(182,144,221,.45) #0d0f13; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0d0f13; }
::-webkit-scrollbar-thumb { background: rgba(182,144,221,.35); border-radius: 10px; border: 2px solid #0d0f13; }
::-webkit-scrollbar-thumb:hover { background: rgba(182,144,221,.6); }
.cs-list::-webkit-scrollbar-track { background: transparent; }
.cs-list::-webkit-scrollbar-thumb { border-color: #1b1f27; }

/* Real game art: images over the gradient mesh */
.art.has-img { background: #0c0d10; }

/* game logo over card / mega menu / list art */
.gcard .thumb::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(8,9,12,.75), transparent 55%); pointer-events: none; }
.gc-logo { position: absolute; z-index: 2; left: 18px; bottom: 14px; width: min(52%, 220px); height: auto; filter: drop-shadow(0 4px 14px rgba(0,0,0,.6)); }
.mp-logo { width: min(280px, 70%); height: auto; margin: 2px 0 4px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.6)); }
.gr-logo { display: block; width: min(360px, 100%); height: auto; margin: 4px 0 6px; }
.slide.has-poster .slide-meta strong { display: none; }
.slide.has-poster::after { background: linear-gradient(to top, rgba(10,12,16,.75), transparent 40%); }

/* game hero with key art */
.game-hero.has-hero { min-height: 0; padding-bottom: 44px; }
.game-hero.has-hero .gh-in .crumbs { padding-bottom: 64px; }
.game-hero.has-hero .g-logo { width: clamp(240px, 32vw, 460px); }
.game-hero.has-hero .gh-pf { margin-top: 16px; }
.game-hero.has-hero::before { background: linear-gradient(to top, var(--bg) 0%, rgba(19,22,27,.55) 38%, rgba(19,22,27,.15) 70%), linear-gradient(to right, rgba(12,13,16,.85), rgba(12,13,16,.25) 55%, transparent); }
.game-hero.has-hero .gh-art .art { transform: none; }
.game-hero.has-hero .gh-art img { object-position: 60% center; }
.gh-in h1.has-logo { line-height: 0; margin: 6px 0 4px; }
.g-logo { width: clamp(260px, 38vw, 540px); height: auto; filter: drop-shadow(0 10px 30px rgba(0,0,0,.55)); }
.gh-sub { margin-top: 6px; color: rgba(255,255,255,.7); font-size: 17px; }
.gh-pf { margin-top: 22px; }
.gh-pf .pf { background: rgba(12,13,16,.55); }
.pf.planned { border-style: dashed; background: transparent; }
.pf.planned .pf-name { display: inline-flex; align-items: baseline; gap: 6px; }
.pf.planned small { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.info .pf-list.sm { flex-direction: column; align-items: flex-end; gap: 6px; }

/* story + how it plays */
.gm-block .big { font-size: clamp(19px, 2vw, 22px); line-height: 1.6; color: var(--text); }
.gm-block .lead { max-width: none; }
.features.how { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* screenshots */
.shots { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.shots li:first-child { grid-column: span 2; grid-row: span 2; }
.shots a { position: relative; display: block; height: 100%; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #0c0d10; }
.shots img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s ease, filter .3s; }
.shots a:hover img { transform: scale(1.04); filter: brightness(1.08); }
.shots a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); pointer-events: none; }

/* press kit download buttons */
.side-zip { margin-top: 0; }
.game-kits { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-top: 16px; }

/* lightbox (scripts/85-lightbox.js) */
.lb { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6,7,9,.94); color: var(--text); overflow: hidden; }
.lb::backdrop { background: rgba(6,7,9,.6); }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: lb-in .2s ease-out; }
@keyframes lb-in { from { opacity: 0; } }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; }
.lb-count { color: var(--muted); font-variant-numeric: tabular-nums; }
.lb-stage { position: relative; display: grid; place-items: center; height: 100%; min-height: 0; padding: 0 72px; overflow: hidden; }
.lb-stage img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); object-fit: contain; }
.lb button { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(20,22,28,.8); color: #fff; cursor: pointer; transition: background .15s, transform .15s; }
.lb button:hover { background: rgba(255,255,255,.14); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-strip { display: flex; justify-content: center; gap: 8px; padding: 16px; overflow-x: auto; }
.lb-strip img { width: 84px; height: 48px; object-fit: cover; border-radius: 8px; opacity: .45; cursor: pointer; border: 2px solid transparent; transition: opacity .15s; }
.lb-strip img.on { opacity: 1; border-color: #fff; }

@media (max-width: 760px) {
  .game-hero.has-hero .gh-in .crumbs { padding-bottom: 40px; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features.how { grid-template-columns: minmax(0, 1fr); }
  .lb-stage { padding: 0 8px; }
  .lb-prev, .lb-next { top: auto; bottom: -62px; transform: none; }
  .lb-strip { padding-top: 70px; }
  .lb-strip img { width: 60px; height: 34px; }
}
.gm-content, .gm-side { min-width: 0; }

@media (max-width: 1080px) {
  .ggrid, .ngrid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .pillars.four { grid-template-columns: repeat(2, 1fr); }
  .logos, .swatches { grid-template-columns: repeat(2, 1fr); }
  .pf-wall { grid-template-columns: repeat(2, 1fr); }
  .contact-main, .creator-main { grid-template-columns: 1fr; }
  .contact-side, .rules { position: static; }
  .game-main { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
  .press-top { grid-template-columns: 1fr; }
  .press-top .side-card { position: static; }
  .ft-top { grid-template-columns: repeat(4, 1fr); }
  .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .ft-news, .notify-box { grid-template-columns: 1fr; }
  .ft-news .nform { justify-self: stretch; max-width: none; }
  .studio-teaser, .story, .community { grid-template-columns: 1fr; gap: 32px; }
  .story-card { position: static; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grow, .ncard.big { grid-template-columns: 1fr; }
  .gr-art, .ncard.big .thumb { min-height: 0; aspect-ratio: 16 / 9; }
  .game-main { grid-template-columns: minmax(0, 1fr); }
  .gm-side { position: static; }
}
@media (max-width: 900px) {
  .hero { min-height: 0; padding: 36px 0 88px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .gl-name { font-size: clamp(34px, 11vw, 60px); }
  .gl-tag { display: none; }
  .stage { justify-self: start; width: 100%; aspect-ratio: 16 / 11; }
}
@media (max-width: 860px) {
  .top { --hbig: 72px; }
  .bar { display: flex; justify-content: space-between; padding-block: 12px; }
  .brand { height: 46px; }
  .nav-l, .nav-r { display: none; }
  .mnav { display: block; }
  .tb-live { display: none; }
  .tb-right { width: 100%; justify-content: space-between; }
  .lang .cur { display: none; }
  .footer .lang .cur { display: inline; }
  .lang ul { grid-template-columns: 1fr; min-width: 220px; max-height: 70vh; overflow-y: auto; }
  .paths, .channels { grid-template-columns: 1fr; }
  .process, .process.three { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .band, .empty { flex-direction: column; align-items: flex-start; }
  .dos { grid-template-columns: 1fr; }
  .type { grid-template-columns: 1fr; text-align: left; }
  .type-aa { text-align: left; font-size: 100px; }
  .pform { padding: 26px 20px; }
  .f-foot { flex-direction: column; align-items: stretch; }
  .cta-band { padding: 52px 22px; }
  .community { padding: 32px 24px; }
  .faq-q button { font-size: 19px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap, .wrap.narrow { width: calc(100% - 32px); }
  .sec { padding: 48px 0; }
  .ggrid, .ggrid.two, .ngrid, .pillars.four, .studio-teaser .pillars, .process, .process.three, .logos, .swatches, .fgrid { grid-template-columns: 1fr; }
  .pf-wall { gap: 10px; }
  .pw { min-height: 0; gap: 12px; padding: 14px; border-radius: 18px; }
  .pw-logo { width: 40px; height: 40px; border-radius: 12px; }
  .pw-logo svg { width: 22px; height: 22px; }
  .pw-tx strong { font-size: 15px; }
  .pw-tx small { font-size: 11px; }
  .pw-note { grid-column: 1 / -1; }
  .nform .btn { padding: 12px 16px; }
  .nform .btn .i { display: none; }
  .facts li { padding: 18px; gap: 12px; flex-direction: column; align-items: flex-start; }
  .gr-body, .ncard.big .nc-body { padding: 26px 22px; }
  .meta { grid-template-columns: 1fr 1fr; }
  .media { grid-template-columns: 1fr; }
  .m-side { grid-template-columns: 1fr 1fr; }
  .m-side > div { aspect-ratio: 4 / 3; }
  .game-hero { min-height: 480px; }
  .gh-in .crumbs { padding-bottom: 80px; }
  .ft-top { grid-template-columns: 1fr 1fr; }
  .ft-news { padding: 24px 20px; }
  .ft-bottom { flex-direction: column; align-items: flex-start; }
  .legal section { flex-direction: column; }
  .actions .btn { flex: 1 1 auto; }
  .gl-row { grid-template-columns: 30px minmax(0, 1fr); }
  .gl-name { font-size: clamp(28px, 9.5vw, 48px); }
  .gl-row.active .gl-name { transform: translateX(6px); }
}

/* scroll reveal: scripts/50-reveal.js adds .pre only to elements below the fold, so nothing flashes and no-JS shows everything */
.reveal.pre { opacity: 0; transform: translateY(24px); }
.reveal.in { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* generated from src/config/platforms.json and brand.json */
.pw-windows { --pc: #4cc2ff; }
.pw-steam { --pc: #66c0f4; }
.pw-epicgames { --pc: #ffffff; }
.pw-playstation { --pc: #4a8bff; }
.pw-xbox { --pc: #3fbf3f; }
.pw-nintendoswitch { --pc: #ff4554; }
.pw-android { --pc: #3ddc84; }
.pw-googleplay { --pc: #34d399; }
.pw-appstore { --pc: #5fb4ff; }
.sw-peach { --c: #F7C3A6; }
.sw-pink { --c: #E1A2BD; }
.sw-purple { --c: #B690DD; }
.sw-blue { --c: #779DDC; }
.sw-teal { --c: #7EC1DB; }
.sw-mint { --c: #A9D5D4; }
.sw-ink { --c: #13161B; }
.sw-cloud { --c: #F2F3F7; }
