:root {
  --accent: #0073ff;
  --accent-rgb: 0, 115, 255;
  --accent-light: #4d9dff;
  --accent-2: #7cc4ff;
  --on-accent: #ffffff;

  --bg: #03060d;
  --bg-2: #070c17;
  --surface: rgba(13, 22, 40, .6);
  --surface-solid: #0a1222;
  --border: rgba(var(--accent-rgb), .16);
  --border-strong: rgba(var(--accent-rgb), .45);
  --text: #eaf1ff;
  --muted: #8a97b0;
  --muted-2: #56627a;
  --ok: #38d6ff;
  --warn: #ffb547;
  --danger: #ff4d6a;

  --radius: 20px;
  --container: 1200px;
  --header-h: 72px;
  --topbar-h: 34px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'Cascadia Code', 'JetBrains Mono', Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scrollbar-color: rgba(var(--accent-rgb), .45) var(--bg); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; min-height: 100vh;
  font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6;
  overflow-x: clip; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
img, 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; }
input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
::selection { background: rgba(var(--accent-rgb), .4); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-fill { width: 1em; height: 1em; fill: currentColor; flex: none; }
.accent-text { color: var(--accent-light); }
.link { color: var(--accent-light); text-decoration: underline; text-decoration-color: rgba(var(--accent-rgb), .45); text-underline-offset: 3px; transition: text-decoration-color .25s; }
.link:hover { text-decoration-color: currentColor; }

.pulse { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--accent-light); animation: pulse 2s infinite; }
.pulse.ok { background: var(--ok); --pulse: 56, 214, 255; }
.pulse.warn { background: var(--warn); --pulse: 255, 181, 71; }
.pulse.soon { background: #a88bff; --pulse: 168, 139, 255; }
.pulse.down { background: var(--danger); --pulse: 255, 77, 106; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--pulse, var(--accent-rgb)), .7); }
  70% { box-shadow: 0 0 0 9px rgba(var(--pulse, var(--accent-rgb)), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--pulse, var(--accent-rgb)), 0); }
}

.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-grid-wrap {
  position: absolute; inset: 0;
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 35%, #000 25%, transparent 78%);
          mask-image: radial-gradient(ellipse 85% 70% at 50% 35%, #000 25%, transparent 78%);
}
.bg-grid {
  position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 60px);
  background-image: linear-gradient(rgba(var(--accent-rgb), .07) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--accent-rgb), .07) 1px, transparent 1px);
  background-size: 60px 60px; will-change: transform;
}
.bg-orb { position: absolute; border-radius: 50%; width: 70vmax; height: 70vmax; background: radial-gradient(circle, rgba(var(--accent-rgb), .2), transparent 62%); will-change: transform; }
.bg-orb[data-orb="0"] { top: -35vmax; right: -25vmax; }
.bg-orb[data-orb="1"] { top: 30vh; left: -38vmax; opacity: .7; }
.bg-orb[data-orb="2"] { bottom: -45vmax; right: -10vmax; opacity: .55; }
.cursor-glow {
  position: absolute; left: 0; top: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .11), transparent 62%);
  opacity: 0; transition: opacity .6s; will-change: transform;
}
.cursor-glow.on { opacity: 1; }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 12px rgba(var(--accent-rgb), .9); }

.loader { display: none; }
.js:not(.no-loader) .loader {
  position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  background: var(--bg); transition: opacity .7s var(--ease), visibility .7s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-logo { width: 84px; height: 84px; filter: drop-shadow(0 0 22px rgba(var(--accent-rgb), .8)); animation: loaderIn 1s var(--ease) both; }
@keyframes loaderIn { from { opacity: 0; transform: scale(.7) translateY(10px); } }
.loader-bar { width: 140px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.loader-bar span { display: block; height: 100%; background: var(--accent); transform-origin: left; animation: load .9s var(--ease) forwards; }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 24px; border-radius: 13px; font-weight: 600; font-size: .92rem; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, border-color .3s, opacity .3s;
}
.btn .icon-arrow { transition: transform .35s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(180deg, #1a86ff, var(--accent)); color: var(--on-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 0 1px rgba(var(--accent-rgb), .6), 0 12px 32px -12px rgba(var(--accent-rgb), .9);
}
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 0 1px rgba(var(--accent-rgb), .8), 0 18px 44px -12px rgba(var(--accent-rgb), 1); }
.btn-primary:not([data-magnetic]):hover { transform: translateY(-2px); }
.btn-ghost { background: rgba(var(--accent-rgb), .07); border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--border-strong); background: rgba(var(--accent-rgb), .13); }
.btn-sm { height: 40px; padding: 0 17px; font-size: .84rem; border-radius: 11px; }
.btn-lg { height: 58px; padding: 0 28px; font-size: 1rem; border-radius: 15px; }
.btn-block { width: 100%; }
.btn .icon-fill, .btn .icon { font-size: 1.1em; }

.chip-btn {
  height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border-radius: 11px;
  font-size: .82rem; font-weight: 600; background: rgba(255, 255, 255, .03); border: 1px solid var(--border);
  transition: border-color .3s, background-color .3s, color .3s;
}
.chip-btn:hover { border-color: var(--border-strong); background: rgba(var(--accent-rgb), .08); }
.chip-btn .icon, .chip-btn .icon-fill { font-size: 1.05rem; }
.chip-btn.icon-only { width: 40px; padding: 0; }

.pill, .badge { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(var(--accent-rgb), .08); }
.pill { padding: 7px 15px; font-size: .78rem; font-weight: 500; color: var(--text); }
.badge { padding: 6px 14px; font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-light); }
.badge .icon { font-size: .95rem; }

.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-size: .76rem; font-weight: 600; white-space: nowrap; border: 1px solid; }
.status-pill.ok { color: var(--ok); border-color: rgba(56, 214, 255, .3); background: rgba(56, 214, 255, .07); }
.status-pill.warn { color: var(--warn); border-color: rgba(255, 181, 71, .3); background: rgba(255, 181, 71, .07); }
.status-pill.down { color: var(--danger); border-color: rgba(255, 77, 106, .3); background: rgba(255, 77, 106, .07); }
.status-pill.soon { color: #c9b8ff; border-color: rgba(168, 139, 255, .3); background: rgba(168, 139, 255, .08); }

.topbar {
  position: relative; z-index: 81; height: var(--topbar-h); display: flex; align-items: center; justify-content: center;
  background: linear-gradient(90deg, #0058d6, var(--accent), #0058d6); color: #fff; font-size: .78rem; font-weight: 600;
}
.topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }

.nav { position: sticky; top: 0; z-index: 80; height: var(--header-h); border-bottom: 1px solid transparent; transition: transform .5s var(--ease), background-color .4s, border-color .4s; }
.nav.is-scrolled { background: rgba(3, 6, 13, .8); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); border-bottom-color: var(--border); }
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.08rem; letter-spacing: .04em; justify-self: start; }
.brand img { width: 38px; height: 38px; filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), .6)); transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand small { display: block; font-size: .56rem; font-weight: 600; letter-spacing: .28em; color: var(--accent-light); line-height: 1; margin-top: 2px; }
.brand b { display: block; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a, .nav-more > button {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 10px;
  font-size: .86rem; font-weight: 500; color: var(--muted); transition: color .25s, background-color .25s;
}
.nav-links a:hover, .nav-more > button:hover, .nav-more.open > button { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav-links a.is-active, .nav-more.is-active > button { color: var(--accent-light); background: rgba(var(--accent-rgb), .1); }
.nav-more { position: relative; }
.nav-more > button .icon { font-size: .8rem; transition: transform .35s var(--ease); }
.nav-more.open > button .icon { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 220px; padding: 8px;
  display: grid; gap: 2px; border-radius: 16px; background: rgba(8, 14, 27, .97); border: 1px solid var(--border);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9);
  opacity: 0; visibility: hidden; translate: -50% -8px; transition: opacity .3s, visibility .3s, translate .4s var(--ease);
}
.nav-more:not(.open) .nav-menu { pointer-events: none; }
.nav-more.open .nav-menu { opacity: 1; visibility: visible; translate: -50% 0; }
.nav-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--muted); }
.nav-menu a:hover { color: var(--text); background: rgba(var(--accent-rgb), .08); }
.nav-menu a .icon { font-size: 1.05rem; color: var(--accent-light); }
.nav-menu small { display: block; font-size: .72rem; color: var(--muted-2); line-height: 1.3; }
.nav-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.burger { display: none; }
.discord-btn { color: #fff; }

.dots {
  position: fixed; right: 18px; top: 50%; translate: 0 -50%; z-index: 70; display: flex; flex-direction: column; gap: 12px;
  padding: 12px 8px; border-radius: 20px; background: rgba(3, 6, 13, .55); border: 1px solid rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.dots:empty { display: none; }
.dot { position: relative; width: 8px; height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .18); transition: height .5s var(--ease), background-color .3s, box-shadow .3s; }
.dot::after { content: ""; position: absolute; inset: -7px; }
.dot:hover { background: rgba(255, 255, 255, .45); }
.dot.is-active { height: 28px; background: var(--accent); box-shadow: 0 0 12px rgba(var(--accent-rgb), .9); }
.dot-label {
  position: absolute; right: 22px; top: 50%; translate: 8px -50%; padding: 5px 10px; border-radius: 8px; white-space: nowrap;
  font-size: .72rem; font-weight: 600; color: var(--text); background: var(--surface-solid); border: 1px solid var(--border);
  opacity: 0; pointer-events: none; transition: opacity .3s, translate .4s var(--ease);
}
.dot:hover .dot-label, .dot:focus-visible .dot-label { opacity: 1; translate: 0 -50%; }

.js [data-reveal] {
  opacity: 0; translate: 0 44px;
  transition: opacity 1s var(--ease) var(--delay, 0ms), translate 1.1s var(--ease) var(--delay, 0ms), scale 1.1s var(--ease) var(--delay, 0ms), border-color .35s, box-shadow .35s, background-color .35s;
}
.js [data-reveal="left"] { translate: -56px 0; }
.js [data-reveal="right"] { translate: 56px 0; }
.js [data-reveal="zoom"] { translate: 0 30px; scale: .92; }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; scale: 1; }
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .14em; margin: 0 -.04em -.14em; }
.sw-i { display: inline-block; }
.js [data-split] .sw-i { translate: 0 110%; rotate: 4deg; transition: translate 1.1s var(--ease), rotate 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + var(--delay, 0ms)); }
.js [data-split].is-in .sw-i { translate: 0 0; rotate: 0deg; }

.section { position: relative; padding: 130px 0; }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-head.left { align-items: flex-start; text-align: left; margin-inline: 0; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.025em; margin: 18px 0 14px; }
.section-sub { margin: 0; color: var(--muted); font-size: 1rem; }
.head-line { display: block; width: 60px; height: 3px; border-radius: 3px; margin-top: 24px; background: linear-gradient(90deg, transparent, var(--accent-light), transparent); box-shadow: 0 0 14px rgba(var(--accent-rgb), .9); }

.card {
  position: relative; isolation: isolate; padding: 28px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(18, 30, 54, .75), rgba(7, 12, 23, .8)); border: 1px solid var(--border);
  transition: border-color .35s, box-shadow .35s;
}
.card:hover { border-color: var(--border-strong); box-shadow: 0 24px 60px -30px rgba(var(--accent-rgb), .55); }
.card-spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), .16), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.card-spot:hover::before { opacity: 1; }
.card h3 { font-size: 1.08rem; font-weight: 600; }
.card p { color: var(--muted); font-size: .9rem; margin: 0; }
.ico-box {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; flex: none; color: var(--accent-light); font-size: 1.35rem;
  background: rgba(var(--accent-rgb), .12); border: 1px solid var(--border-strong);
  box-shadow: 0 0 24px -6px rgba(var(--accent-rgb), .7), inset 0 0 12px rgba(var(--accent-rgb), .15);
}
.ico-box.sm { width: 40px; height: 40px; border-radius: 11px; font-size: 1.05rem; }
.ico-box.lg { width: 62px; height: 62px; border-radius: 18px; font-size: 1.6rem; }

.hero {
  position: relative; min-height: calc(100vh - var(--header-h) - var(--topbar-h)); min-height: calc(100svh - var(--header-h) - var(--topbar-h));
  display: grid; align-items: center; padding: 40px 0 110px;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
/* the hero title builds itself (home.html): a line of light, the outline drawn, a scan fills it */
.build-title { display: flex; flex-direction: column; gap: 6px; }
.bt-pre { display: block; font-size: .5em; font-weight: 700; letter-spacing: .02em; color: var(--text); font-variant-numeric: tabular-nums; min-height: 1.1em; }
.js .build-title:not(.is-built) .bt-pre { opacity: 0; }
.bt-word { position: relative; display: block; width: min(100%, 640px); }
.bt-svg { display: block; width: 100%; height: auto; overflow: visible; }
.bt-svg text { font-family: var(--font); font-size: 150px; font-weight: 800; letter-spacing: -.02em; }
.bt-stroke { fill: none; stroke: var(--accent-light); stroke-width: 1.3; stroke-dasharray: 900; stroke-dashoffset: 900; filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), .9)); }
.bt-fill { fill: url(#btFill); clip-path: inset(0 100% 0 0); filter: drop-shadow(0 0 26px rgba(var(--accent-rgb), .35)); }
.bt-line { position: absolute; left: -10vw; right: -10vw; top: 83%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-light) 30%, #fff 50%, var(--accent-light) 70%, transparent); box-shadow: 0 0 14px 1px rgba(var(--accent-rgb), .9); transform: scaleX(0); opacity: 0; }
.bt-laser { position: absolute; top: -6%; bottom: -6%; left: 0; width: 2px; border-radius: 2px; background: #fff; box-shadow: 0 0 12px 3px rgba(124, 196, 255, .95), 0 0 46px 10px rgba(var(--accent-rgb), .55); opacity: 0; }
.build-title.is-built .bt-line { animation: btLine 1.5s var(--ease) both; }
.build-title.is-built .bt-stroke { animation: btDraw 1.5s cubic-bezier(.6, .1, .3, 1) .35s forwards; }
.build-title.is-built .bt-fill { animation: btFill .85s cubic-bezier(.7, 0, .2, 1) 1.55s forwards; }
.build-title.is-built .bt-laser { animation: btLaser .85s cubic-bezier(.7, 0, .2, 1) 1.55s both; }
.build-title.is-done .bt-stroke { stroke-dashoffset: 0; opacity: .35; transition: opacity 1.2s; }
.build-title.is-swept .bt-laser { animation: btLaser .7s cubic-bezier(.7, 0, .2, 1) both; }
/* the staging: title alone first, a flash, then the bird, then the rest one after another */
html.js .hero.is-intro .hero-text > :not(.build-title) { opacity: 0; translate: 0 26px; filter: blur(8px); transition: none; }
html.js .hero.is-intro .hero-visual { opacity: 0; scale: .8; translate: 0 50px; filter: blur(14px); }
html.js .hero.is-intro.is-stage2 .hero-text > :not(.build-title) { opacity: 1; translate: 0 0; filter: none; transition: opacity .9s var(--ease), translate 1s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--d, 0) * 110ms + 250ms); }
html.js .hero.is-intro.is-stage2 .hero-visual { opacity: 1; scale: 1; translate: 0 0; filter: none; transition: opacity 1.1s var(--ease), scale 1.4s var(--ease), translate 1.4s var(--ease), filter 1.1s var(--ease); }
.hero-text > :nth-child(1) { --d: 0; } .hero-text > :nth-child(3) { --d: 1; } .hero-text > :nth-child(4) { --d: 2; }
.hero-text > :nth-child(5) { --d: 3; } .hero-text > :nth-child(6) { --d: 4; }
.bt-word::after { content: ""; position: absolute; inset: -40% -10%; background: radial-gradient(closest-side, rgba(124, 196, 255, .55), rgba(var(--accent-rgb), .2) 45%, transparent); opacity: 0; pointer-events: none; mix-blend-mode: screen; }
.build-title.is-built .bt-word::after { animation: btFlash 1.1s var(--ease) 2.25s both; }
@keyframes btFlash { 0% { opacity: 0; transform: scale(.7); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(1.15); } }
@keyframes btLine { 0% { transform: scaleX(0); opacity: 0; } 25% { opacity: 1; } 55% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes btDraw { to { stroke-dashoffset: 0; } }
@keyframes btFill { to { clip-path: inset(0 0 0 0); } }
@keyframes btLaser { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.no-js .bt-stroke, .build-title.is-done .bt-fill { clip-path: none; }
@media (prefers-reduced-motion: reduce) { .bt-stroke { stroke-dashoffset: 0; opacity: .35; } .bt-fill { clip-path: none; } }

/* the game-name bands between the hero and the rest */
.ribbons { position: relative; height: 230px; margin: -60px 0 -40px; overflow: hidden; pointer-events: none; }
.ribbon { position: absolute; left: -5%; right: -5%; top: 50%; overflow: hidden; padding: 14px 0; }
.ribbon-a { rotate: -4deg; translate: 0 -62%; background: linear-gradient(90deg, var(--accent), #2d8cff 50%, var(--accent)); box-shadow: 0 0 60px -10px rgba(var(--accent-rgb), .8); z-index: 1; }
.ribbon-b { rotate: 3deg; translate: 0 -30%; background: rgba(3, 6, 13, .85); border-block: 1px solid var(--border-strong); backdrop-filter: blur(6px); }
.ribbon-track { display: flex; align-items: center; gap: 28px; width: max-content; will-change: transform; white-space: nowrap; }
.ribbon-track span { font-size: clamp(1.4rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; }
.ribbon-a span { color: #fff; }
.ribbon-b span { color: transparent; -webkit-text-stroke: 1.2px rgba(124, 196, 255, .75); }
.ribbon-track i { font-style: normal; font-size: 1.1rem; }
.ribbon-a i { color: rgba(255, 255, 255, .7); }
.ribbon-b i { color: var(--accent-light); }
.hero-text { will-change: transform, opacity; }
.hero-title { font-size: clamp(2.6rem, 5.8vw, 4.7rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin: 22px 0 20px; }
.hero-title .accent-text, .js .hero-title .accent-text .sw-i { background: linear-gradient(100deg, var(--accent-2), var(--accent) 75%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.js .hero-title .accent-text { background: none; color: inherit; }
.hero-title .accent-text .sw { filter: drop-shadow(0 0 28px rgba(var(--accent-rgb), .45)); }
.hero-sub { color: var(--muted); max-width: 520px; font-size: 1.04rem; margin: 0; }
.search {
  display: flex; align-items: center; gap: 12px; max-width: 520px; height: 56px; margin-top: 30px; padding: 0 12px 0 18px;
  border-radius: 15px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); cursor: text;
  transition: border-color .3s, box-shadow .3s, opacity 1s var(--ease), translate 1.1s var(--ease);
}
.search:focus-within { border-color: var(--border-strong); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .12); }
.search .icon { font-size: 1.1rem; }
.search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: var(--text); font-size: .95rem; }
.search input::placeholder { color: var(--muted-2); }
.search input::-webkit-search-cancel-button { filter: hue-rotate(180deg); }
.search kbd { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 7px; font: 600 .75rem var(--font); color: var(--muted); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 38px; margin-top: 44px; }
.hero-stats strong { display: block; font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: .8rem; color: var(--muted); }

.hero-visual { position: relative; width: 100%; max-width: 500px; justify-self: center; perspective: 1000px; }
.emblem-scroll { will-change: transform, opacity; }
.emblem-tilt { position: relative; aspect-ratio: 1; transform-style: preserve-3d; will-change: transform; }
.emblem-glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), .42), transparent 64%); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .6; transform: scale(.94); } }
@keyframes spin { to { transform: rotate(360deg); } }
.emblem-logo {
  position: absolute; left: 50%; top: 50%; width: 46%; height: auto; aspect-ratio: 1; translate: -50% -50%;
  filter: drop-shadow(0 0 30px rgba(var(--accent-rgb), .75)) drop-shadow(0 12px 30px rgba(0, 0, 0, .5));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px) rotate(-2deg); } }
/* 3D logo (static/store/js/logo3d.js): replaces the flat one once it is ready. */
.logo3d { position: absolute; inset: 0; pointer-events: auto; }
.logo3d canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .8s var(--ease); }
.is-3d .logo3d canvas { opacity: 1; }
.emblem-logo { transition: opacity .6s var(--ease); }
.is-3d .emblem-logo { opacity: 0; }
.is-3d .emblem-glow { inset: 6%; background: radial-gradient(closest-side, rgba(var(--accent-rgb), .3), rgba(var(--accent-rgb), .08) 55%, transparent); }
/* a soft shadow under the feet, so the bird stands somewhere */
.emblem-shadow { position: absolute; left: 30%; right: 22%; bottom: 13%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); filter: blur(6px); opacity: 0; transition: opacity .8s var(--ease); }
.is-3d .emblem-shadow { opacity: 1; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 9px; font-size: .64rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.mouse { width: 24px; height: 38px; border: 1.5px solid rgba(var(--accent-rgb), .6); border-radius: 14px; display: flex; justify-content: center; padding-top: 7px; }
.mouse span { width: 3px; height: 8px; border-radius: 2px; background: var(--accent-light); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(13px); } }

.pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pay-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 32px 24px; min-height: 300px; }
.pay-card h3 { margin-top: 4px; }
.pay-card > :last-child { margin-top: auto; }
.big-stat { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--text); }
.big-stat small { display: block; font-size: .74rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-top: 6px; }
.flow { display: flex; align-items: center; }
.flow-step { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.05rem; color: var(--accent-light); background: rgba(var(--accent-rgb), .08); border: 1px solid var(--border); }
.flow-step.is-done { background: var(--accent); color: #fff; border-color: transparent; box-shadow: 0 0 20px rgba(var(--accent-rgb), .7); }
.flow-line { width: 30px; height: 2px; opacity: .8; background: linear-gradient(90deg, var(--accent-light) 50%, transparent 0) 0 0 / 10px 2px; animation: dash .6s linear infinite; }
@keyframes dash { to { background-position: 10px 0; } }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.chips span { padding: 4px 10px; border-radius: 8px; font-size: .72rem; font-weight: 600; color: var(--text); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.corner-badge { position: absolute; top: 16px; right: 16px; padding: 3px 9px; border-radius: 999px; font-size: .7rem; font-weight: 700; background: var(--accent); color: #fff; box-shadow: 0 0 16px rgba(var(--accent-rgb), .8); }
.resp { display: inline-flex; align-items: center; gap: 9px; font-size: .8rem; font-weight: 500; color: var(--text); }

.p-card {
  position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 22px; background: linear-gradient(170deg, rgba(16, 27, 50, .85), rgba(6, 10, 20, .92)); border: 1px solid var(--border);
  transition: border-color .35s, box-shadow .35s;
}
.p-card:hover { border-color: var(--border-strong); box-shadow: 0 30px 70px -30px rgba(var(--accent-rgb), .6); }
.p-media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: radial-gradient(120% 90% at 25% 15%, hsl(var(--h) 100% 55% / .55), transparent 60%), radial-gradient(80% 70% at 90% 100%, hsl(198 100% 55% / .26), transparent 60%), linear-gradient(135deg, #0a1633, #03060d);
}
.p-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 26px 26px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent); mask-image: linear-gradient(to bottom, #000, transparent);
}
.p-media.has-image::after { display: none; }
.p-media-inner { position: absolute; inset: 0 -12%; display: grid; place-items: center; will-change: transform; transition: transform .8s var(--ease); }
.p-media.has-image .p-media-inner { inset: 0; }
.p-media-inner > img.cover { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .9s var(--ease); }
.p-card:hover .p-media-inner > img.cover { transform: scale(1.05); }
.p-media-inner > img.logo { width: 34%; filter: drop-shadow(0 0 24px rgba(var(--accent-rgb), .8)); position: relative; }
.p-bigtext { position: absolute; font-size: 5.2rem; font-weight: 900; letter-spacing: -.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .26); white-space: nowrap; }
.p-icon { position: relative; width: 80px; height: 80px; stroke-width: 1.4; color: hsl(var(--h) 100% 78%); filter: drop-shadow(0 0 18px hsl(var(--h) 100% 55% / .95)); transition: transform .6s var(--ease); }
.p-card:hover .p-icon { transform: scale(1.1) rotate(-6deg); }
.p-tag.is-reco { display: inline-flex; align-items: center; gap: 5px; background: linear-gradient(135deg, #ffcc4d, #ff9f1c); color: #1a1000; box-shadow: 0 0 16px rgba(255, 180, 60, .7); }
.p-tag.is-reco .icon { width: 12px; height: 12px; }
.spoof-pill { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--ok); background: rgba(56, 214, 255, .08); border: 1px solid rgba(56, 214, 255, .3); }
.p-tag { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 4px 11px; border-radius: 999px; font-size: .7rem; font-weight: 700; background: var(--accent); color: #fff; box-shadow: 0 0 16px rgba(var(--accent-rgb), .8); }
.p-status { position: absolute; top: 14px; right: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 9px; border-radius: 999px; font-size: .68rem; font-weight: 600; background: rgba(3, 6, 13, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .1); }
.p-status .pulse { width: 7px; height: 7px; }
.p-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 20px 22px 22px; }
.p-cat { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-light); }
.p-name { font-size: 1.1rem; font-weight: 700; }
.p-desc { margin: 0; font-size: .85rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.p-price { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.p-price small { font-size: .7rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); margin-right: 4px; }
.p-price.is-soon { font-size: .92rem; font-weight: 700; letter-spacing: .02em; color: #c9b8ff; }
.p-view { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px; border-radius: 11px; font-size: .82rem; font-weight: 600; color: var(--accent-light); background: rgba(var(--accent-rgb), .1); border: 1px solid var(--border-strong); transition: background-color .3s, color .3s; }
.p-card:hover .p-view { background: var(--accent); color: #fff; }
.p-view .icon { transition: transform .35s var(--ease); }
.p-card:hover .p-view .icon { transform: translateX(3px); }
.p-card--more { justify-content: center; align-items: center; text-align: center; gap: 14px; padding: 30px; background: repeating-linear-gradient(135deg, rgba(var(--accent-rgb), .04) 0 12px, transparent 12px 24px), rgba(7, 12, 23, .6); border-style: dashed; }
.p-card--more .ico-box { transition: transform .5s var(--ease); }
.p-card--more:hover .ico-box { transform: translateX(6px); }

.shop { position: relative; padding: 130px 0 90px; }
.shop.is-pinned { padding: 0; }
.shop.is-pinned .shop-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.shop-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.shop-head h2 { margin-top: 16px; }
.shop-head .section-sub { max-width: 460px; }
.shop-meta { display: flex; align-items: center; gap: 16px; font-size: .85rem; color: var(--muted); padding-bottom: 6px; }
.shop-count { font-variant-numeric: tabular-nums; }
.shop-count b { font-size: 1.5rem; font-weight: 700; color: var(--text); }
.shop-bar { width: 150px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.shop-bar span { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: var(--accent-light); box-shadow: 0 0 10px var(--accent); }
.shop-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.shop-viewport::-webkit-scrollbar { display: none; }
.shop.is-pinned .shop-viewport { overflow: visible; scroll-snap-type: none; }
.shop-track { display: flex; gap: 22px; width: max-content; padding: 14px max(24px, calc((100vw - var(--container)) / 2)) 34px; will-change: transform; }
.shop-track .p-card { width: 340px; flex: none; scroll-snap-align: center; }

.gui-scope .quail-window { margin-inline: auto; }
.gui-hint { margin-top: 16px; text-align: center; font-size: .78rem; color: var(--muted); }
.gui-hint .icon { display: inline; vertical-align: -2px; margin-right: 6px; color: var(--accent-light); }

.why { position: relative; padding: 130px 0; }
.why.is-pinned { height: 280vh; padding: 0; }
.why.is-pinned .why-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.why.is-pinned .why-sticky > .container { padding-top: 20px; }
.why .section-head { margin-bottom: 34px; }
.why-card { max-width: 940px; margin: 0 auto; padding: 44px; overflow: hidden; }
.why-logo { position: absolute; right: -40px; top: -40px; width: 300px; opacity: .07; z-index: -1; pointer-events: none; transform: translateY(calc(var(--why-p, 0) * 60px)) rotate(calc(var(--why-p, 0) * -10deg)); }
.why-card .why-text { color: var(--text); font-size: clamp(1.2rem, 2.3vw, 1.75rem); font-weight: 600; line-height: 1.5; letter-spacing: -.01em; margin: 0 0 30px; }
.why-text mark { background: none; color: inherit; }
.js .why-text .word { color: rgba(234, 241, 255, .13); transition: color .4s, text-shadow .4s; }
.js .why-text .word.on { color: var(--text); }
.js .why-text .word.hl.on { color: var(--accent-light); text-shadow: 0 0 24px rgba(var(--accent-rgb), .7); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 30px; }
.why-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .06); }
.why-item strong { display: block; font-size: .92rem; font-weight: 600; }
.why-item small { color: var(--muted); font-size: .78rem; }
.js .why-item { opacity: .15; translate: 0 16px; transition: opacity .7s var(--ease), translate .7s var(--ease), border-color .5s; }
.js .why-item.on { opacity: 1; translate: 0 0; border-color: var(--border); }
.js .why-btn { opacity: 0; translate: 0 16px; transition: opacity .7s var(--ease), translate .7s var(--ease), box-shadow .35s; }
.js .why-btn.on { opacity: 1; translate: 0 0; }
.why-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; transform-origin: left; transform: scaleX(var(--why-p, 0)); background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 10px var(--accent); }

.games-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.game-tile { --hc: hsl(var(--h) 85% 60%); position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; overflow: hidden; color: var(--text); }
.game-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 140% at 0% 50%, hsl(var(--h) 80% 55% / .16), transparent 60%); opacity: .7; transition: opacity .4s; }
a.game-tile:hover::after { opacity: 1; }
.game-mark { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; font-weight: 800; font-size: .95rem; letter-spacing: .02em; color: #fff; background: linear-gradient(145deg, hsl(var(--h) 75% 52%), hsl(var(--h) 70% 28%)); box-shadow: 0 10px 30px -12px var(--hc), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .5s var(--ease); }
a.game-tile:hover .game-mark { transform: scale(1.06) rotate(-3deg); }
.game-mark.has-logo img { width: 72%; height: 72%; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.game-info { flex: 1; min-width: 0; display: grid; gap: 3px; }
.game-info b { font-size: 1.02rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-info small { color: var(--muted); font-size: .82rem; }
.game-go { flex: none; color: var(--accent-light); transition: translate .35s var(--ease); }
a.game-tile:hover .game-go { translate: 4px 0; }
.game-tile.is-soon .game-mark { filter: saturate(.75); }
.game-soon { position: absolute; top: 12px; right: 12px; padding: 3px 9px; border-radius: 999px; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: hsl(var(--h) 90% 75%); background: hsl(var(--h) 70% 50% / .14); border: 1px solid hsl(var(--h) 70% 60% / .3); }

.spotlight { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; padding: 26px; overflow: hidden; }
.spotlight::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; aspect-ratio: 1; z-index: -1; background: radial-gradient(circle, rgba(var(--accent-rgb), .22), transparent 65%); pointer-events: none; }
.spotlight-media { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-strong); background: #050a15; box-shadow: 0 30px 80px -40px rgba(var(--accent-rgb), .7); }
.spotlight-media img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .9s var(--ease); translate: 0 var(--py, 0); scale: 1.12; }
.spotlight:hover .spotlight-media img { transform: scale(1.04); }
.spotlight-rank { position: absolute; bottom: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: .85rem; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 8px 24px -8px var(--accent); }
.spotlight-body { display: grid; gap: 16px; justify-items: start; padding-right: 10px; }
.spotlight-title { margin: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; }
.spotlight-perks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; width: 100%; }
.spotlight-perks li { display: flex; gap: 12px; align-items: flex-start; }
.spotlight-perks li > span:last-child { display: grid; gap: 2px; min-width: 0; }
.spotlight-perks b { font-size: .92rem; }
.spotlight-perks small { color: var(--muted); font-size: .8rem; line-height: 1.45; }
.spotlight-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 6px; }
.spotlight-price { display: grid; font-size: 1.9rem; font-weight: 800; line-height: 1; }
.spotlight-price small { margin-top: 6px; font-size: .75rem; font-weight: 500; color: var(--muted); }


.code-window { border-radius: 18px; overflow: hidden; background: #050a15; border: 1px solid var(--border-strong); box-shadow: 0 40px 100px -40px rgba(var(--accent-rgb), .6); }
.code-top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: rgba(var(--accent-rgb), .05); }
.code-top i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.code-top i:first-child { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.code-top span { margin-left: 8px; font-size: .78rem; color: var(--muted); font-family: var(--mono); }
.code-body { display: flex; gap: 16px; padding: 22px 20px; font-family: var(--mono); font-size: .84rem; line-height: 1.7; overflow-x: auto; }
.code-body .ln { color: var(--muted-2); user-select: none; }
.code-body code { white-space: pre-wrap; word-break: break-all; color: #cfe0ff; }
.code-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--border); }
.code-actions small { color: var(--muted); font-size: .78rem; }
.copy-btn.copied { background: #1aa6ff; }

.reviews { overflow: hidden; }
.marquee { overflow: hidden; padding: 10px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee + .marquee { margin-top: 12px; }
.marquee-track { display: flex; gap: 18px; width: max-content; will-change: transform; }
.review { flex: none; width: 360px; margin: 0; padding: 22px 24px; border-radius: 18px; display: flex; flex-direction: column; background: linear-gradient(160deg, rgba(18, 30, 54, .75), rgba(7, 12, 23, .8)); border: 1px solid var(--border); }
.review-stars { color: var(--accent-light); letter-spacing: 3px; font-size: .9rem; }
.review blockquote { margin: 10px 0 18px; font-size: .92rem; line-height: 1.55; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption b { display: block; font-size: .88rem; }
.review figcaption small { color: var(--muted); font-size: .76rem; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; overflow: hidden; background: linear-gradient(135deg, var(--accent-2), var(--accent) 60%, #0040a8); }
.avatar img { width: 72%; }

.community { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; max-width: 1040px; margin: 0 auto; }
.discord-card { display: flex; flex-direction: column; gap: 18px; padding: 40px; overflow: hidden; background: radial-gradient(120% 120% at 100% 0%, rgba(var(--accent-rgb), .35), transparent 55%), linear-gradient(160deg, rgba(18, 30, 54, .85), rgba(7, 12, 23, .9)); }
.discord-card .discord-mark { width: 64px; height: 64px; color: #fff; filter: drop-shadow(0 0 20px rgba(var(--accent-rgb), .9)); }
.discord-card h3 { font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; }
.discord-card p { font-size: .98rem; max-width: 460px; }
.discord-card .btn { align-self: flex-start; }
.discord-big { position: absolute; right: -60px; bottom: -80px; width: 320px; opacity: .06; z-index: -1; color: #fff; }
.uses { display: grid; gap: 12px; }
.use { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); transition: border-color .3s, background-color .3s; }
.use:hover { border-color: var(--border-strong); background-color: rgba(var(--accent-rgb), .08); }
.use b { display: block; font-weight: 600; font-size: .95rem; }
.use small { color: var(--muted); font-size: .8rem; }

.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; max-width: 1040px; margin: 0 auto; align-items: start; }
.help-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 38px 30px; position: sticky; top: calc(var(--header-h) + 20px); }
.help-card .btn { margin-top: 8px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: 16px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.faq-item.open { border-color: var(--border-strong); background: rgba(var(--accent-rgb), .06); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 20px; text-align: left; font-weight: 600; font-size: .95rem; }
.plus { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; color: var(--accent-light); background: rgba(var(--accent-rgb), .1); transition: transform .45s var(--ease), background-color .3s, color .3s; }
.faq-item.open .plus { transform: rotate(135deg); background: var(--accent); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 20px 20px; color: var(--muted); font-size: .9rem; }
#faq { padding-bottom: 100px; }

.page-hero { padding: 64px 0 40px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; margin: 18px 0 12px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--text); }
.crumbs .icon { font-size: .7rem; color: var(--muted-2); }
.inline-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.inline-stats span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; font-size: .82rem; color: var(--muted); background: var(--surface); border: 1px solid var(--border); }
.inline-stats b { color: var(--text); font-weight: 700; }
.inline-stats .icon { color: var(--accent-light); }

.catalog-bar {
  position: sticky; top: calc(var(--header-h) + 12px); z-index: 60; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 10px; margin-bottom: 26px; border-radius: 18px; background: rgba(7, 12, 23, .82); border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .9);
  transition: top .5s var(--ease);
}
.nav-up .catalog-bar { top: 12px; }
.catalog-bar .search { margin: 0; height: 46px; flex: 1 1 260px; max-width: none; border-radius: 12px; }
.cat-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip { height: 46px; padding: 0 16px; border-radius: 12px; font-size: .84rem; font-weight: 600; color: var(--muted); white-space: nowrap; border: 1px solid transparent; transition: color .25s, background-color .25s, border-color .25s; }
.cat-chip:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.cat-chip.is-active { color: #fff; background: var(--accent); box-shadow: 0 0 20px -4px rgba(var(--accent-rgb), .8); }
.cat-chip small { margin-left: 6px; font-weight: 500; opacity: .7; }
.sort { position: relative; }
.sort select { appearance: none; height: 46px; padding: 0 40px 0 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: .84rem; font-weight: 600; cursor: pointer; }
.sort select:focus-visible { outline: 2px solid var(--accent-light); }
.sort option { background: var(--surface-solid); }
.sort .icon { position: absolute; right: 14px; top: 50%; translate: 0 -50%; pointer-events: none; color: var(--muted); font-size: .8rem; }
.catalog-count { font-size: .84rem; color: var(--muted); margin: 0 0 16px; }
.catalog-count b { color: var(--text); }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.catalog-grid .p-card { view-transition-class: card; }
.g-card .p-media { position: relative; }
.g-logo { position: absolute; left: 16px; bottom: 14px; z-index: 2; width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: .7rem; font-weight: 800; color: #fff; background: linear-gradient(145deg, hsl(var(--h) 75% 52%), hsl(var(--h) 70% 28%)); box-shadow: 0 10px 26px -10px hsl(var(--h) 85% 55%), inset 0 1px 0 rgba(255, 255, 255, .25); }
.g-logo img { width: 70%; height: 70%; object-fit: contain; }
.games-bar { display: flex; gap: 12px; align-items: center; }
.games-bar .search { flex: 1; min-width: 0; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 18px; font-size: .88rem; }
.catalog .back-link:last-child { margin: 26px 0 0; }
.game-hero { --hc: hsl(var(--h) 85% 55%); position: relative; overflow: hidden; }
.game-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; opacity: .22; -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 100%); mask-image: linear-gradient(180deg, #000 20%, transparent 100%); pointer-events: none; }
.game-hero .container { position: relative; }
.game-hero-head { display: flex; align-items: center; gap: 22px; margin-top: 18px; }
.game-hero-head .game-mark { width: 84px; height: 84px; border-radius: 22px; }
.game-hero-head h1 { margin: 0; }
.catalog-grid .p-card[hidden] { display: none; }
.catalog-empty { padding: 70px 24px; text-align: center; color: var(--muted); border: 1px dashed var(--border); border-radius: var(--radius); }
.catalog-empty .icon { font-size: 2.2rem; margin: 0 auto 12px; color: var(--muted-2); }
::view-transition-group(*.card) { animation-duration: .45s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }

.pd { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: 60px; }
.pd-main { display: flex; flex-direction: column; gap: 56px; min-width: 0; }
.pd-aside { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 16px; transition: top .5s var(--ease); }
.nav-up .pd-aside { top: 20px; }
.pd-title { font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; margin: 10px 0 6px; }
.pd-tagline { color: var(--muted); margin: 0 0 12px; font-size: .92rem; }
.pd-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pd-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; margin: 4px 0 0; }
.pd-price strong { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.pd-price span { color: var(--muted); font-size: .85rem; }
.pd-price .quick { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--text); padding: 5px 10px; border-radius: 999px; background: rgba(var(--accent-rgb), .1); border: 1px solid var(--border); }
.pd-price .quick .icon { color: var(--accent-light); }
.buy-card { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.buy-card .btn-lg { height: 54px; }
.buy-card .btn-ghost { height: 44px; }
.meta { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .06); }
.meta b { display: block; font-size: 1.05rem; }
.meta small { color: var(--muted); font-size: .74rem; }
.pay-note { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--muted); margin: 0; }
.pay-note .icon-fill, .pay-note .icon { color: var(--accent-light); }
.label { display: flex; justify-content: space-between; gap: 8px; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.label em { font-style: normal; letter-spacing: 0; text-transform: none; font-weight: 500; }

.req {
  position: relative; overflow: hidden; padding: 20px 22px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(var(--accent-rgb), .2), rgba(var(--accent-rgb), .05) 60%), #07101f;
  border: 1.5px solid rgba(var(--accent-rgb), .6);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .08), 0 24px 60px -30px rgba(var(--accent-rgb), .8);
}
.req::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--accent-2), var(--accent)); box-shadow: 0 0 16px var(--accent); }
.req-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.req-head h2 { font-size: 1.05rem; font-weight: 700; margin: 0; letter-spacing: 0; }
.req-head .ico-box { width: 36px; height: 36px; border-radius: 10px; font-size: 1rem; }
.req ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.req li { display: flex; align-items: flex-start; gap: 11px; font-size: .9rem; font-weight: 500; color: var(--text); }
.req li .tick { width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; display: grid; place-items: center; flex: none; font-size: .72rem; background: var(--accent); color: #fff; box-shadow: 0 0 12px rgba(var(--accent-rgb), .7); }
.req li .tick .icon { stroke-width: 3; }
.req li a { margin-left: 6px; }

.pd-block h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 18px; }
.prose p { color: #c3cde0; margin: 0 0 14px; font-size: .98rem; }
.prose p:last-child { margin-bottom: 0; }
.legal { max-width: 760px; }
.legal h2 { font-size: 1.2rem; margin: 34px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.pd-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.pd-stats .meta { text-align: center; padding: 18px 12px; }
.pd-stats .meta b { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fs-grid { columns: 2; column-gap: 14px; }
.fs-card { break-inside: avoid; margin-bottom: 14px; padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.fs-card header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.fs-card h3 { flex: 1; margin: 0; font-size: 1rem; }
.fs-card header small { padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; color: var(--accent-light); background: rgba(var(--accent-rgb), .12); }
.fs-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.fs-card li { position: relative; padding-left: 18px; font-size: .86rem; line-height: 1.45; color: #c3cde0; }
.fs-card li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 8px rgba(var(--accent-rgb), .8); }
.fs-card details { margin-top: 10px; }
.fs-card details ul { margin-top: 10px; }
.fs-card summary { cursor: pointer; font-size: .82rem; font-weight: 600; color: var(--accent-light); list-style: none; }
.fs-card summary::-webkit-details-marker { display: none; }
.fs-card summary::after { content: " +"; }
.fs-card details[open] summary::after { content: " −"; }
.feature-item { display: flex; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); transition: border-color .3s; }
.feature-item:hover { border-color: var(--border-strong); }
.feature-item b { display: block; font-size: .92rem; margin-bottom: 2px; }
.feature-item small { color: var(--muted); font-size: .8rem; line-height: 1.5; display: block; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: step; }
.step { position: relative; padding: 20px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 1.6rem; font-weight: 800; line-height: 1; margin-bottom: 12px; color: transparent; -webkit-text-stroke: 1px rgba(var(--accent-rgb), .8); }
.step b { display: block; font-size: .92rem; margin-bottom: 4px; }
.step small { color: var(--muted); font-size: .8rem; line-height: 1.5; display: block; }

.pd-media { position: relative; }
.pd-media .gui-scope .quail-window { width: 100%; }
.gallery-main { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border-strong); background: #050a15; cursor: zoom-in; box-shadow: 0 40px 100px -40px rgba(var(--accent-rgb), .6); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .35s, transform .8s var(--ease); }
.gallery-main:hover img { transform: scale(1.02); }
.gallery-main .zoom { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: .72rem; font-weight: 600; background: rgba(3, 6, 13, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .1); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: none; width: 110px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; border: 1.5px solid var(--border); opacity: .55; transition: opacity .3s, border-color .3s; background: #050a15; }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.thumb:hover { opacity: .85; }
.thumb.is-active { opacity: 1; border-color: var(--accent); box-shadow: 0 0 16px -4px rgba(var(--accent-rgb), .8); }
.media-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 14px; border-radius: 13px; background: var(--surface); border: 1px solid var(--border); }
.media-tabs button { height: 36px; padding: 0 14px; border-radius: 9px; font-size: .82rem; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; transition: color .25s, background-color .25s; }
.media-tabs button.is-active { background: var(--accent); color: #fff; }
.media-pane[hidden] { display: none; }
.art-placeholder { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-strong); }
.art-placeholder .p-media { position: absolute; inset: 0; aspect-ratio: auto; }
.art-placeholder .p-bigtext { font-size: clamp(5rem, 13vw, 9rem); }
.art-placeholder .p-icon { width: 120px; height: 120px; }
.art-placeholder .note { position: absolute; left: 50%; bottom: 16px; translate: -50% 0; font-size: .74rem; padding: 6px 12px; border-radius: 999px; color: var(--muted); background: rgba(3, 6, 13, .7); white-space: nowrap; }

.related .catalog-grid { grid-template-columns: repeat(4, 1fr); }

.lightbox { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 60px 24px; background: rgba(1, 3, 8, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 14px; box-shadow: 0 40px 120px rgba(0, 0, 0, .8); scale: .96; transition: scale .5s var(--ease); }
.lightbox.open img { scale: 1; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background-color .25s; }
.lb-btn:hover { background: var(--accent); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; translate: 0 -50%; }
.lb-next { right: 18px; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; top: 28px; left: 50%; translate: -50% 0; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--text); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }

.status-banner { display: flex; align-items: center; gap: 18px; padding: 26px 28px; border-radius: var(--radius); border: 1px solid; margin-top: 30px; }
.status-banner.ok { border-color: rgba(56, 214, 255, .35); background: linear-gradient(120deg, rgba(56, 214, 255, .12), rgba(var(--accent-rgb), .04)); }
.status-banner.warn { border-color: rgba(255, 181, 71, .35); background: linear-gradient(120deg, rgba(255, 181, 71, .12), transparent); }
.status-banner.down { border-color: rgba(255, 77, 106, .35); background: linear-gradient(120deg, rgba(255, 77, 106, .12), transparent); }
.status-banner .pulse { width: 14px; height: 14px; }
.status-banner h2 { font-size: 1.35rem; margin: 0; letter-spacing: -.01em; }
.status-banner small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.status-banner .btn { margin-left: auto; }
.status-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; padding-bottom: 60px; }
.status-col { display: grid; gap: 20px; }
.card.panel { padding: 0; overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.panel-head h3 { font-size: 1rem; display: flex; align-items: center; gap: 10px; }
.panel-head h3 .icon { color: var(--accent-light); }
.panel-head small { color: var(--muted); font-size: .78rem; }
.status-row { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-bottom: 1px solid rgba(255, 255, 255, .05); transition: background-color .25s; }
.status-row:last-child { border-bottom: 0; }
a.status-row:hover { background: rgba(var(--accent-rgb), .06); }
.status-row .thumb-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; overflow: hidden; font-size: 1.1rem; color: hsl(var(--h, 215) 100% 78%); background: radial-gradient(circle at 30% 20%, hsl(var(--h, 215) 100% 55% / .5), transparent 70%), #0a1633; }
.status-row .thumb-ico img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.status-row .thumb-ico img.is-logo { object-fit: contain; padding: 5px; }
.status-row .grow { flex: 1; min-width: 0; }
.status-row b { display: block; font-size: .92rem; font-weight: 600; }
.status-row small { display: block; color: var(--muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kv { display: grid; gap: 4px; padding: 20px 22px; }
.kv code { font-family: var(--mono); font-size: .9rem; color: var(--accent-2); word-break: break-all; }
.kv small { color: var(--muted); font-size: .8rem; }
.incident { padding: 18px 22px; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.incident:last-child { border-bottom: 0; }
.incident b { font-size: .92rem; }
.incident small { display: block; color: var(--muted); font-size: .76rem; margin: 2px 0 6px; }
.incident p { margin: 0; color: #c3cde0; font-size: .86rem; }
.empty-state { padding: 34px 22px; text-align: center; color: var(--muted); font-size: .88rem; }
.empty-state .icon { font-size: 1.8rem; margin: 0 auto 10px; color: var(--ok); }

.footer { position: relative; padding-top: 70px; border-top: 1px solid var(--border); background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), .04)); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand p { color: var(--muted); font-size: .88rem; max-width: 330px; margin: 14px 0 18px; }
.status-link { display: inline-flex; align-items: center; gap: 9px; font-size: .78rem; color: var(--muted); padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border); background: rgba(var(--accent-rgb), .05); transition: border-color .3s, color .3s; }
.status-link:hover { color: var(--text); border-color: var(--border-strong); }
.footer h4 { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer ul a { color: var(--muted); font-size: .9rem; transition: color .25s; }
.footer ul a:hover { color: var(--text); }
.footer-giant {
  --fill: 0%; margin-top: 50px; text-align: center; user-select: none;
  font-size: clamp(5rem, 22vw, 20rem); font-weight: 900; line-height: .8; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(var(--accent-rgb), .35);
  background: linear-gradient(to top, var(--accent) 0%, var(--accent-2) var(--fill), transparent var(--fill)); -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 30px rgba(var(--accent-rgb), .25));
}
.footer-bottom { position: relative; padding: 22px 0; border-top: 1px solid var(--border); font-size: .8rem; color: var(--muted-2); background: var(--bg); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem;
  color: var(--accent-light); background: rgba(7, 12, 23, .85); border: 1px solid var(--border); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; translate: 0 20px; pointer-events: none; transition: opacity .4s, translate .5s var(--ease), color .3s, background-color .3s;
}
.to-top.show { opacity: 1; translate: 0 0; pointer-events: auto; }
.to-top:hover { background: var(--accent); color: #fff; }
.to-top-ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); rotate: -90deg; }
.to-top-ring circle { fill: none; stroke: var(--accent-light); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 150.8; stroke-dashoffset: 150.8; }
.toasts { position: fixed; left: 50%; bottom: 24px; translate: -50% 0; z-index: 160; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 13px; font-size: .86rem; font-weight: 500; white-space: nowrap;
  background: rgba(10, 18, 34, .92); border: 1px solid var(--border-strong); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .8), 0 0 24px -8px rgba(var(--accent-rgb), .6);
  opacity: 0; translate: 0 16px; scale: .96; transition: opacity .4s var(--ease), translate .5s var(--ease), scale .5s var(--ease);
}
.toast.show { opacity: 1; translate: 0 0; scale: 1; }
.toast .icon { color: var(--accent-light); font-size: 1.05rem; }

@media (max-width: 1180px) {
  .dots { display: none; }
  .pay-grid { grid-template-columns: repeat(2, 1fr); }
  .pay-card { min-height: 0; }
  .related .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1001px) and (max-height: 820px) {
  .pd-aside { position: relative; top: 0; }
}

@media (max-width: 1000px) {
  .pd { grid-template-columns: 1fr; gap: 44px; }
  .pd-main { display: contents; }
  .pd-aside { position: relative; top: 0; order: -1; }
  .nav-up .pd-aside { top: 0; }
  .pd-media-first { order: -2; }
  .status-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .container { width: min(var(--container), 100% - 32px); }
  .section, .why { padding: 96px 0; }
  .section-head { margin-bottom: 44px; }
  .js [data-reveal="left"], .js [data-reveal="right"] { translate: 0 40px; }

  .nav-inner { grid-template-columns: auto 1fr auto; }
  .burger { display: inline-flex; }
  .brand { justify-self: start; }
  .brand-text { display: none; }
  .nav-links {
    position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px;
    background: rgba(8, 14, 27, .97); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9);
    opacity: 0; visibility: hidden; translate: 0 -10px; transition: opacity .35s, visibility .35s, translate .45s var(--ease);
  }
  .nav:not(.menu-open) .nav-links, .nav:not(.menu-open) .nav-links * { pointer-events: none; }
  .nav.menu-open .nav-links { opacity: 1; visibility: visible; translate: 0 0; }
  .nav.menu-open .nav-menu { pointer-events: auto; }
  .nav.menu-open { background: rgba(3, 6, 13, .95); border-bottom-color: var(--border); }
  .nav-links a { padding: 13px 14px; font-size: .95rem; }
  .nav-more > button { display: none; }
  .nav-menu, .nav-more.open .nav-menu { position: static; opacity: 1; visibility: inherit; translate: none; transition: none; min-width: 0; padding: 0; background: none; border: 0; box-shadow: none; border-top: 1px solid var(--border); margin-top: 4px; padding-top: 4px; border-radius: 0; }
  .nav-menu small { display: none; }
  .nav-actions .shop-cta span { display: none; }
  .nav-actions .shop-cta { width: 40px; padding: 0; }

  .hero { padding: 24px 0 110px; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-visual { max-width: 280px; order: -1; margin-bottom: -16px; }
  .hero-text { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-sub { margin-inline: auto; }
  .search { width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; gap: 28px; }

  .shop { padding: 96px 0 60px; }
  .shop-head { flex-direction: column; align-items: flex-start; }
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spotlight { grid-template-columns: 1fr; gap: 24px; padding: 18px; }
  .spotlight-body { padding: 0 6px 6px; }
  .community, .faq-grid { grid-template-columns: 1fr; }
  .help-card { position: relative; top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .catalog-bar { position: relative; top: 0; }
  .nav-up .catalog-bar { top: 0; }
  .feature-list { grid-template-columns: 1fr; }
  .fs-grid { columns: 1; }
}

@media (max-width: 600px) {
  :root { --topbar-h: 32px; }
  body { font-size: 15px; }
  .section, .why { padding: 80px 0; }
  .pay-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .game-tile { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px; }
  .game-mark { width: 48px; height: 48px; border-radius: 13px; font-size: .78rem; }
  .game-info b { white-space: normal; font-size: .95rem; line-height: 1.2; }
  .game-info small { font-size: .76rem; }
  .game-go { position: absolute; top: 16px; right: 14px; }
  .spotlight-perks { grid-template-columns: 1fr; }
  .games-bar { flex-direction: column; align-items: stretch; }
  .game-hero-head { gap: 14px; }
  .game-hero-head .game-mark { width: 60px; height: 60px; border-radius: 16px; }
  .durations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spotlight-rank { bottom: 10px; left: 10px; padding: 4px 10px; font-size: .75rem; }
  .card { padding: 24px; }
  .why-card { padding: 26px 22px; }
  .why-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero { padding-top: 12px; }
  .hero-title { font-size: clamp(2.3rem, 11vw, 3rem); margin: 16px 0 14px; }
  .hero-visual { max-width: 210px; }
  .hero-stats { gap: 18px; margin-top: 34px; }
  .hero-stats strong { font-size: 1.25rem; }
  .hero-stats span { font-size: .72rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .search { margin-top: 22px; height: 52px; }
  .search kbd { display: none; }
  .scroll-hint { display: none; }
  .shop-track { padding-inline: 16px; }
  .shop-track .p-card { width: min(300px, 80vw); }
  .p-bigtext { font-size: 4.2rem; }
  .review { width: 290px; padding: 20px; }
  .discord-card { padding: 28px 24px; }
  .footer-grid { gap: 28px; }
  .to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; }
  .toasts { bottom: 80px; width: calc(100% - 32px); }
  .toast { white-space: normal; }
  .catalog-grid { grid-template-columns: 1fr; }
  .related .catalog-grid { grid-template-columns: 1fr; }
  .catalog-bar .search { flex-basis: 100%; }
  .cat-chips { width: 100%; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .sort { flex: 1 1 100%; }
  .sort select { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .pd-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .pd-stats .meta b { font-size: 1.2rem; }
  .status-banner { flex-wrap: wrap; }
  .status-banner .btn { margin-left: 0; width: 100%; }
  .status-row .status-pill { padding: 4px 9px; font-size: .7rem; }
  .code-actions { flex-direction: column; align-items: stretch; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; translate: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html:not(.lenis) { scroll-behavior: auto; }
  .js [data-reveal], .js [data-split] .sw-i { opacity: 1; translate: none; scale: none; rotate: none; }
}

/* ==========================================================================
   Executors, Online Games, BABFT Builds (pages outside the shop)
   ========================================================================== */
.section-tight { padding: 0 0 100px; }

.exec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.exec-card { display: flex; flex-direction: column; gap: 16px; }
.exec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.exec-head h2 { margin: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.exec-tag { padding: 5px 11px; border-radius: 999px; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-light); background: rgba(var(--accent-rgb), .1); border: 1px solid var(--border); }
.exec-status { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; line-height: 1.5; }
.exec-status .icon { flex: none; margin-top: 2px; font-size: 1.05rem; }
.exec-status.is-full { color: var(--text); }
.exec-status.is-full .icon { color: var(--ok); }
.exec-status.is-partial { color: #f3dfbd; }
.exec-status.is-partial .icon { color: var(--warn); }
.exec-platforms { display: flex; flex-wrap: wrap; gap: 8px; }
.exec-platforms span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 9px; font-size: .78rem; color: var(--muted); background: rgba(255, 255, 255, .03); border: 1px solid var(--border); }
.exec-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.exec-note { margin-top: 26px; text-align: center; }

.arcade-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.arcade-card { position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: linear-gradient(160deg, rgba(18, 30, 54, .75), rgba(7, 12, 23, .8)); border: 1px solid var(--border); transition: border-color .3s, transform .35s var(--ease), box-shadow .35s; }
.arcade-card:hover { border-color: var(--border-strong); box-shadow: 0 20px 50px -30px rgba(var(--accent-rgb), .6); }
.arcade-card[hidden] { display: none; }
.arcade-card.is-original { border-color: rgba(var(--accent-rgb), .4); }
.arcade-thumb { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--surface-solid); }
.arcade-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.arcade-card:hover .arcade-thumb img { transform: scale(1.06); }
.arcade-badge { position: absolute; left: 10px; top: 10px; padding: 4px 9px; border-radius: 8px; font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--accent); box-shadow: 0 6px 18px -6px rgba(var(--accent-rgb), .9); }
.arcade-body { display: grid; gap: 3px; padding: 12px 14px 14px; }
.arcade-body b { font-size: .92rem; font-weight: 600; line-height: 1.3; }
.arcade-body small { font-size: .74rem; color: var(--muted); }

.play-hero { padding-bottom: 26px; }
.play-head { display: flex; align-items: center; gap: 18px; }
.play-head h1 { margin: 0 0 4px; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.play-icon { width: 64px; height: 64px; border-radius: 16px; border: 1px solid var(--border); object-fit: cover; }
.play-stage { position: relative; aspect-ratio: 16 / 9; max-height: 78vh; width: 100%; overflow: hidden; border-radius: var(--radius); background: #000; border: 1px solid var(--border); }
.play-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play-stage:fullscreen { max-height: none; border-radius: 0; border: 0; }
/* the game fills the window (iPhone, where a page can't go full screen) */
html.game-max, html.game-max body { overflow: hidden; height: 100%; overscroll-behavior: none; }
html.game-max .play-stage { position: fixed; inset: 0; z-index: 2147483000; width: 100vw; height: 100vh; height: 100dvh; max-height: none; aspect-ratio: auto; border-radius: 0; border: 0;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
html.game-max .play-stage iframe { position: static; width: 100%; height: 100%; }
.play-exit { display: none; position: absolute; z-index: 3; top: 50%; left: max(6px, env(safe-area-inset-left)); transform: translateY(-50%); width: 34px; height: 34px;
  place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .55); color: #fff; cursor: pointer; opacity: .75; }
.play-exit svg { width: 16px; height: 16px; }
html.game-max .play-exit, .play-stage:fullscreen .play-exit { display: grid; }
@media (pointer: coarse) { .play-stage { aspect-ratio: 16 / 10; max-height: 82vh; } }
.play-loading { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); background: var(--bg-2); }
.play-loading[hidden] { display: none; }
.play-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0 34px; }
.play-bar .small-note { margin-left: auto; }
.play-info { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
.play-h2 { margin: 0 0 12px; font-size: 1.15rem; font-weight: 700; }
.play-more { margin: 50px 0 18px; }
.play-meta { display: grid; gap: 10px; margin: 20px 0 0; }
.play-meta div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; font-size: .86rem; }
.play-meta dt { color: var(--muted); }
.play-meta dd { margin: 0; }
.play-keys { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.play-keys li { display: grid; grid-template-columns: minmax(90px, auto) 1fr; gap: 12px; align-items: center; font-size: .86rem; color: var(--muted); }
.play-keys kbd { justify-self: start; padding: 5px 9px; border-radius: 8px; font: 600 .76rem var(--font); color: var(--text); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }

.builds-search { max-width: 640px; padding-right: 8px; }
.builds-search .btn { height: 40px; }
.builds-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.kind-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; padding: 2px 0; }
.builds-toolbar { align-items: flex-start; }
.colour-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.colour-label { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-right: 4px; }
.colour-chip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px 0 7px; border-radius: 999px; font-size: .76rem; font-weight: 600; color: var(--muted); background: rgba(255, 255, 255, .025); border: 1px solid var(--border); transition: color .2s, border-color .2s, background-color .2s; }
.colour-chip i { width: 18px; height: 18px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.colour-chip:hover { color: var(--text); border-color: var(--border-strong); }
.colour-chip.is-active { color: var(--text); border-color: var(--accent); background: rgba(var(--accent-rgb), .16); }
.kind-chips::-webkit-scrollbar { display: none; }
.kind-chip, .sort-menu summary { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap; color: var(--muted); background: rgba(255, 255, 255, .025); border: 1px solid var(--border); transition: color .2s, background-color .2s, border-color .2s; }
.kind-chip small { font-size: .7rem; font-weight: 500; color: var(--muted-2); }
.kind-chip:hover, .sort-menu summary:hover { color: var(--text); border-color: var(--border-strong); }
.kind-chip.is-active { color: var(--text); background: rgba(var(--accent-rgb), .16); border-color: var(--accent); }
.kind-chip.is-active small { color: var(--accent-2); }
.sort-menu { position: relative; flex: none; }
.sort-menu summary { list-style: none; color: var(--text); cursor: pointer; user-select: none; }
.sort-menu summary::-webkit-details-marker { display: none; }
.sort-menu summary span { color: var(--muted-2); font-weight: 500; }
.sort-menu summary .icon { font-size: .95rem; color: var(--muted); transition: rotate .25s var(--ease); }
.sort-menu[open] summary { border-color: var(--border-strong); }
.sort-menu[open] summary .icon { rotate: 180deg; }
.sort-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; display: grid; gap: 2px; min-width: 200px; padding: 6px; border-radius: 14px; background: var(--surface-solid); border: 1px solid var(--border-strong); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .7); }
.sort-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 11px; border-radius: 9px; font-size: .82rem; color: var(--muted); }
.sort-list a:hover { color: var(--text); background: rgba(var(--accent-rgb), .08); }
.sort-list a.is-active { color: var(--text); }
.sort-list a .icon { font-size: .95rem; color: var(--accent-light); }
@media (max-width: 640px) {
  .builds-toolbar { flex-direction: column-reverse; align-items: stretch; }
  .sort-menu { align-self: flex-end; }
  /* phones: one line each, swiped sideways (a finger can scroll it) */
  .kind-chips, .colour-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .kind-chips::-webkit-scrollbar, .colour-chips::-webkit-scrollbar { display: none; }
  .colour-chip { flex: none; }
  .kind-chip { flex: none; }
}
.builds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.build-card { display: flex; flex-direction: column; gap: 14px; padding: 14px; }
.build-link { display: grid; gap: 12px; }
.build-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 13px; background: #05070d; }
.build-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.build-card:hover .build-thumb img { transform: scale(1.04); }
.build-count { position: absolute; left: 10px; bottom: 10px; padding: 4px 9px; border-radius: 8px; font-size: .72rem; font-weight: 600; background: rgba(3, 6, 13, .8); border: 1px solid var(--border); }
.build-kind { position: absolute; left: 10px; top: 10px; padding: 4px 9px; border-radius: 8px; font-size: .72rem; font-weight: 600; color: #fff; background: rgba(var(--accent-rgb), .85); }
.build-verified { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; background: var(--accent); }
.build-meta { display: flex; align-items: center; gap: 10px; min-width: 0; }
.build-avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-solid); border: 1px solid var(--border); object-fit: cover; }
.build-who { display: grid; min-width: 0; }
.build-who b, .build-who small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.build-who b { font-size: .92rem; font-weight: 600; }
.build-who small { font-size: .76rem; color: var(--muted); }
.build-copy { align-self: flex-start; }
.builds-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 34px; }

.viewer-page { padding-top: 40px; }
.viewer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.viewer-wrap { position: relative; height: min(74vh, 760px); overflow: hidden; border-radius: var(--radius); background: #05070d; border: 1px solid var(--border); }
.viewer-wrap canvas { display: block; width: 100% !important; height: 100% !important; cursor: grab; }
.viewer-wrap canvas:active { cursor: grabbing; }
.viewer-overlay { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted); background: #05070d; transition: opacity .4s; }
.viewer-overlay p { margin: 0; }
.viewer-overlay.is-hidden { opacity: 0; pointer-events: none; }
.viewer-overlay.is-error .spinner { display: none; }
.viewer-overlay.is-error p { color: var(--danger); }
.viewer-hint { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; padding: 6px 12px; border-radius: 999px; font-size: .74rem; color: var(--muted); background: rgba(3, 6, 13, .75); border: 1px solid var(--border); pointer-events: none; }
.viewer-tip { position: absolute; left: 0; top: 0; z-index: 2; display: grid; gap: 2px; max-width: min(240px, calc(100% - 16px)); padding: 8px 11px; border-radius: 11px; font-size: .76rem; line-height: 1.35; color: var(--muted); background: rgba(3, 6, 13, .9); border: 1px solid var(--border-strong); pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .12s; }
.viewer-tip.is-on { opacity: 1; visibility: visible; }
.viewer-tip b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; font-weight: 600; color: var(--text); }
.viewer-kinds { margin-top: 18px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.viewer-kinds[hidden], .viewer-kinds-more[hidden] { display: none; }
.viewer-kinds-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; margin: 0 4px 12px; }
.viewer-kinds-head h2 { margin: 0; font-size: 1.05rem; font-weight: 700; }
.viewer-kinds-head span { font-size: .78rem; color: var(--muted); }
.viewer-kinds-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 4px 14px; }
.viewer-kinds-list:not(.is-all) .is-extra { display: none; }
.viewer-kind { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 11px; font: inherit; font-size: .84rem; text-align: left; color: var(--text); background: transparent; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.viewer-kind:hover { background: rgba(var(--accent-rgb), .07); }
.viewer-kind.is-on { background: rgba(var(--accent-rgb), .14); border-color: var(--border-strong); }
.viewer-kind:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.viewer-kind-sw { width: 14px; height: 14px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, .18); }
.viewer-kind-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer-kind-pcs { font-size: .74rem; color: var(--muted); }
.viewer-kind-need { min-width: 3.5em; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.viewer-kinds-more { margin: 12px 4px 0; }

@media (max-width: 760px) {
  .play-info { grid-template-columns: minmax(0, 1fr); }
  .play-bar .small-note { margin-left: 0; width: 100%; }
  .play-stage { aspect-ratio: 4 / 3; }
  .arcade-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
  .viewer-wrap { height: 64vh; }
}

/* NFA "Check availability (live)" button + result box.
   Same card as .req (Requirements) but without the blue left bar and with less glow. */
.nfa-check { margin: 22px 0 8px; }        /* space above (from payment methods); small gap below (Buy now) */
.nfa-check .btn { width: 100%; }
.nfa-check-status {
  margin: 12px 0 0; padding: 18px 20px; border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 10px; font-size: .92rem; font-weight: 600;
  background: linear-gradient(160deg, rgba(var(--accent-rgb), .2), rgba(var(--accent-rgb), .05) 60%), #07101f;
  border: 1.5px solid rgba(var(--accent-rgb), .55);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .05);   /* subtle ring, no big glow */
}
.nfa-check-status[hidden] { display: none; }            /* display:flex would override [hidden] */
.nfa-check-status .ok { color: var(--ok); }
.nfa-check-status .bad { color: var(--danger); }
.nfa-check-status .icon { vertical-align: -2px; }

/* ==== Home: living background, cinematic scroll (home.html, GSAP) ==== */
/* two layers of light: a new section's colours go on the hidden one, then they cross-fade (no repaint while scrolling) */
.aurora { position: fixed; inset: -15vmax; z-index: -1; pointer-events: none; will-change: transform; animation: aurora 30s ease-in-out infinite alternate; }
.aurora i { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; will-change: opacity;
  background: radial-gradient(40vmax 40vmax at 72% 22%, var(--a1), transparent), radial-gradient(38vmax 38vmax at 18% 58%, var(--a2), transparent),
              radial-gradient(42vmax 42vmax at 70% 82%, var(--a3), transparent); }
.aurora i.is-on { opacity: .3; }
@keyframes aurora { 50% { transform: translate(-6vmax, 4vmax) scale(1.08); } 100% { transform: translate(5vmax, -5vmax) scale(.96); } }
.section-head h2, .shop-head h2 { will-change: transform; }

/* the games: big key-art cards sliding sideways while the page scrolls */
.games-h { position: relative; margin-bottom: 8vh; }
.gh-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow-x: clip; overflow-y: visible; padding: 24px 0; box-sizing: border-box; }
.gh-head { margin-bottom: 30px; } .games-h .gh-head .section-head { margin: 0; }
.gh-track { display: flex; gap: 26px; padding: 0 max(24px, calc((100vw - var(--container)) / 2)); width: max-content; will-change: transform; }
.gh-card { position: relative; flex: none; width: clamp(240px, 24vw, 360px); height: min(50vh, 470px); border-radius: 26px; overflow: hidden; color: #fff; isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); transform: rotate(var(--r, 0deg)); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.gh-card:hover { transform: rotate(0deg) translateY(-10px) scale(1.02); box-shadow: 0 50px 90px -40px rgba(var(--accent-rgb), .7); }
.gh-card img.gh-art { position: absolute; top: 0; left: -18%; width: 136%; max-width: none; height: 100%; object-fit: cover; z-index: -2; translate: var(--px, 0) 0; transition: scale .9s var(--ease); }
.gh-card:hover img.gh-art { scale: 1.06; }
.gh-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 6, 13, 0) 35%, rgba(3, 6, 13, .92)), radial-gradient(120% 60% at 50% 120%, hsl(var(--h) 85% 50% / .55), transparent 70%); }
.gh-card .gh-logo { position: absolute; left: 22px; top: 22px; width: 54px; height: 54px; border-radius: 15px; padding: 7px; background: rgba(3, 6, 13, .55); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .12); }
.gh-card .gh-info { position: absolute; left: 24px; right: 24px; bottom: 22px; }
.gh-card b { display: block; font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 900; line-height: .95; letter-spacing: -.03em; text-transform: uppercase; }
.gh-card small { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .82rem; color: rgba(234, 241, 255, .8); }
.gh-card .gh-num { position: absolute; right: 22px; top: 18px; font-size: 4.2rem; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .45); }
.gh-card.is-soon { filter: saturate(.55); }
.gh-card .game-soon { position: absolute; right: 22px; bottom: 26px; }

@media (max-width: 760px) {
  /* phones: no pinning, the cards swipe sideways */
  .games-h { margin-bottom: 0; padding: 90px 0 40px; }
  .gh-pin { position: relative; height: auto; overflow: visible; padding: 0; }
  .gh-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 24px 30px; scroll-padding: 0 24px; }
  .gh-track::-webkit-scrollbar { display: none; }
  .gh-card { width: 76vw; height: 108vw; max-height: 470px; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  .aurora { animation: none; }
}

/* ==== Every page: the home page's look (base.html, _macros.html) ====
   its living background (.aurora, above), a big outlined word behind each page title, titles lit from above,
   sticker cards that sit a little crooked and straighten under the pointer. */
.page-hero { position: relative; isolation: isolate; padding: 72px 0 46px; }
.page-hero[data-ghost]::before {
  content: attr(data-ghost); position: absolute; z-index: -1; top: 34px; right: max(16px, calc((100vw - var(--container)) / 2));
  max-width: 78vw; overflow: hidden; white-space: nowrap; pointer-events: none;
  font-size: clamp(4.4rem, 13vw, 12.5rem); font-weight: 900; line-height: .9; letter-spacing: -.045em;
  color: transparent; -webkit-text-stroke: 1.2px rgba(124, 196, 255, .17);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%); mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
}
.page-hero h1 { font-size: clamp(2.5rem, 5.8vw, 4.4rem); font-weight: 900; letter-spacing: -.045em; line-height: 1.02; margin: 18px 0 14px; }
.page-hero h1, .js .page-hero h1[data-split] .sw-i, .page-hero .acct-title, .auth-side-title, .auth-title, .pd-title {
  background: linear-gradient(180deg, #fff 30%, #8fc9ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero h1 .sw { filter: drop-shadow(0 0 26px rgba(var(--accent-rgb), .4)); }
.page-hero .section-sub { max-width: 640px; font-size: 1.04rem; }
.pd-title { font-weight: 900; letter-spacing: -.04em; }
.page-hero .head-line { margin-top: 26px; }
.page-hero.acct-hero { padding-top: 56px; }
.game-hero .badge { margin-bottom: 4px; }

/* the games as the home page shows them, in a grid */
.gh-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px 16px; padding: 6px 0 10px; }
.gh-card.gh-tile { width: auto; height: auto; aspect-ratio: 3 / 4; border-radius: 20px; }
.gh-tile b { font-size: clamp(1rem, 1.35vw, 1.3rem); }
.gh-tile .gh-num { font-size: 2.6rem; right: 14px; top: 12px; }
.gh-tile .gh-logo { width: 40px; height: 40px; left: 14px; top: 14px; border-radius: 11px; padding: 5px; }
.gh-tile .gh-info { left: 14px; right: 14px; bottom: 14px; }
.gh-tile small { font-size: .74rem; margin-top: 6px; }
.gh-tile .gh-best { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 8px; padding: 3px 9px; border-radius: 999px; font-size: .64rem; font-weight: 700;
  color: #1a1000; background: linear-gradient(135deg, #ffcc4d, #ff9f1c); box-shadow: 0 0 16px rgba(255, 180, 60, .7); }
.gh-tile .gh-best .icon { width: 12px; height: 12px; margin: 0; }
.gh-card small .icon { transition: translate .4s var(--ease); }
.gh-card:hover small .icon { translate: 4px 0; }
.others-grid { margin-top: 36px; }

/* product and online game cards: rounder, with a glow of their colour */
.p-card { border-radius: 24px; }
.p-card::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(120% 45% at 50% 115%, hsl(var(--h, 214) 85% 50% / .28), transparent 70%); }
.arcade-card { border-radius: 20px; }
.arcade-card:hover { box-shadow: 0 30px 60px -30px rgba(var(--accent-rgb), .75); }
.exec-card, .card.panel { border-radius: 24px; }
.status-banner { border-radius: 24px; }

@media (max-width: 760px) {
  .page-hero { padding: 48px 0 34px; }
  .page-hero[data-ghost]::before { top: 22px; font-size: clamp(3.4rem, 20vw, 6rem); }
  .gh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; }
  .gh-card.gh-tile { border-radius: 16px; }
  .gh-tile b { font-size: .95rem; }
  .gh-tile .gh-num { font-size: 1.8rem; right: 10px; top: 8px; }
  .gh-tile .gh-logo { width: 30px; height: 30px; left: 10px; top: 10px; border-radius: 9px; padding: 4px; }
  .gh-tile .gh-info { left: 10px; right: 10px; bottom: 10px; }
  .gh-tile small { font-size: .66rem; margin-top: 4px; }
  .gh-tile .gh-best { margin-bottom: 5px; padding: 2px 7px; font-size: .58rem; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .gh-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 460px) {
  .gh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gh-tile b { font-size: 1.05rem; }
}
