/* ============================================================
   IMMORASHOP — design system
   Art direction: "Performance Lab" — void black, acid volt,
   HUD brackets, telemetry mono, flat-frametime energy.
   ============================================================ */

/* ── tokens ─────────────────────────────────────────────── */
:root {
  /* Ground: cool slate with a blue bias rather than pure black —
     game key art is the saturated element, so the chrome around it
     stays cold and instrument-like. */
  --bg0: #0a0e13;
  --bg1: #0f151c;
  --bg2: #141c25;
  --bg3: #1a232e;
  --line: rgba(150, 180, 210, 0.11);
  --line-strong: rgba(150, 180, 210, 0.2);
  --ink: #e8eef2;
  --ink-dim: #8a97a3;
  --ink-faint: #5a6773;

  /* Lime is the existing brand mark. It is a signal colour here —
     CTAs and live state only — not a surface treatment. */
  --volt: #cdff2f;
  --volt-deep: #9fd400;
  --volt-08: rgba(205, 255, 47, 0.08);
  --volt-15: rgba(205, 255, 47, 0.15);
  --volt-30: rgba(205, 255, 47, 0.3);

  /* Second voice: instrument cyan carries data, labels and meta so
     the lime is not asked to do every job on the page. */
  --signal: #4dd8e6;
  --signal-dim: rgba(77, 216, 230, 0.55);
  --signal-08: rgba(77, 216, 230, 0.08);

  --warn: #ffb020;
  --danger: #ff5d5d;
  --font-display: "Unbounded", "Instrument Sans", sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --notch: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.7, 0, 0.2, 1);
  --hdr-h: 76px;
  --pad: clamp(20px, 4.5vw, 64px);
}

/* ── reset / base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg0);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-height: 100svh;
}
body.locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--volt); color: #0a0d05; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; border-radius: 4px; }
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg0); }
::-webkit-scrollbar-thumb { background: #232b26; border-radius: 99px; border: 2px solid var(--bg0); }
::-webkit-scrollbar-thumb:hover { background: var(--volt-deep); }

.mono { font-family: var(--font-mono); font-size: 0.78em; letter-spacing: 0.08em; }
.dim { color: var(--ink-dim); }
.volt { color: var(--volt); }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 999; background: var(--volt); color: #0a0d05; padding: 10px 18px; border-radius: 8px; font-weight: 700; transition: top 0.25s; }
.skip-link:focus { top: 12px; }

/* film grain */
.noise {
  position: fixed; inset: -50%; z-index: 240; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(2) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 50% { transform: translate(-2%, 1.4%); } 100% { transform: translate(1.6%, -1%); } }

/* ── typography helpers ─────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.06; letter-spacing: -0.01em; text-wrap: balance; }
.display-xl { font-size: clamp(2.6rem, 8.2vw, 6.4rem); text-transform: uppercase; }
.display-lg { font-size: clamp(2rem, 5.4vw, 4rem); text-transform: uppercase; }
.outline { color: transparent; -webkit-text-stroke: 1.5px rgba(238, 243, 238, 0.65); }
.outline-volt { color: transparent; -webkit-text-stroke: 1.5px var(--volt); }

/* ── buttons / chips ────────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--r-sm);
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
  clip-path: var(--notch); overflow: hidden;
  transition: transform 0.35s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.35s var(--ease-out); }
.btn:hover svg:last-child { transform: translateX(4px); }
.btn-volt { background: var(--volt); color: #0c1003; }
.btn-volt::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.55) 50%, transparent 62%);
  transform: translateX(-120%); transition: transform 0.7s var(--ease-out);
}
.btn-volt:hover::after { transform: translateX(120%); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--volt); color: var(--volt); background: var(--volt-08); }
.btn-dark { background: var(--bg3); border: 1px solid var(--line); }
.btn-dark:hover { border-color: var(--volt-30); }
.btn-sm { padding: 11px 18px; font-size: 0.85rem; }
.btn-lg { padding: 19px 38px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px;
  border: 1px solid var(--line); border-radius: 99px;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ink-dim); background: rgba(255, 255, 255, 0.02);
  transition: all 0.25s var(--ease-out); white-space: nowrap;
}
.chip:hover { border-color: var(--volt-30); color: var(--ink); transform: translateY(-1px); }
.chip.on, .chip[aria-pressed="true"] { background: var(--volt); border-color: var(--volt); color: #0c1003; font-weight: 700; }
.chip .n { opacity: 0.55; font-size: 0.9em; }

.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--ink); background: rgba(255, 255, 255, 0.02);
  transition: all 0.25s var(--ease-out); position: relative;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { border-color: var(--volt); color: var(--volt); transform: rotate(-6deg) scale(1.06); }
.icon-btn.sm { width: 32px; height: 32px; }
.icon-btn.sm svg { width: 14px; height: 14px; }

/* stars */
.stars { display: inline-flex; gap: 2px; }
.star svg { width: 13px; height: 13px; color: #2c352c; }
.star.on svg { color: var(--volt); }

/* ── header ─────────────────────────────────────────────── */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  padding: 14px var(--pad);
  transition: transform 0.45s var(--ease-out), padding 0.45s var(--ease-out);
}
.hdr-in {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: 1460px; margin: 0 auto;
  border: 1px solid transparent; border-radius: 16px;
  padding: 10px 18px;
  transition: all 0.45s var(--ease-out);
}
.hdr.scrolled .hdr-in {
  background: rgba(10, 13, 17, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-color: var(--line);
  box-shadow: 0 18px 50px -22px rgba(0, 0, 0, 0.8);
  padding: 7px 16px;
}
.hdr.hidden { transform: translateY(-115%); }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; letter-spacing: 0.04em; }
.logo-glyph { width: 26px; height: 26px; color: var(--volt); transition: transform 0.5s var(--ease-out); }
.logo:hover .logo-glyph { transform: rotate(90deg); }
.logo-word i { font-style: normal; color: var(--volt); }

.nav { display: flex; gap: 4px; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.nav a {
  position: relative; padding: 9px 15px; font-weight: 600; font-size: 0.92rem;
  color: var(--ink-dim); border-radius: 8px; transition: color 0.25s;
}
.nav a .roll { display: inline-block; overflow: hidden; vertical-align: top; }
.nav a .roll > span { display: block; position: relative; transition: transform 0.4s var(--ease-out); }
.nav a .roll > span::after {
  content: attr(data-txt); position: absolute; left: 0; top: 100%; color: var(--volt);
}
.nav a:hover .roll > span { transform: translateY(-100%); }
.nav a:hover { color: var(--volt); }
.nav a.is-active { color: var(--volt); }

.hdr-acts { display: flex; align-items: center; gap: 10px; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px;
  display: grid; place-items: center; padding: 0 5px;
  background: var(--volt); color: #0c1003; border-radius: 99px;
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700;
}
.cart-count.pop { animation: pop 0.45s var(--ease-out); }
@keyframes pop { 40% { transform: scale(1.45); } }

.burger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; }
.burger span { width: 16px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.35s var(--ease-out); }
body.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile nav */
.mnav { position: fixed; inset: 0; z-index: 110; pointer-events: none; display: flex; flex-direction: column; justify-content: center; padding: 100px var(--pad) 40px; }
.mnav-bg { position: absolute; inset: 0; background: rgba(6, 8, 10, 0.94); backdrop-filter: blur(20px); opacity: 0; transition: opacity 0.4s; }
.mnav-links { position: relative; display: flex; flex-direction: column; gap: 6px; }
.mnav-links a {
  font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3.2rem); font-weight: 800; text-transform: uppercase;
  opacity: 0; transform: translateY(34px) skewY(2deg);
  transition: transform 0.6s var(--ease-out), opacity 0.5s; transition-delay: calc(var(--i) * 0.055s);
}
.mnav-links a:hover { color: var(--volt); }
.mnav-foot { position: relative; margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; opacity: 0; transition: opacity 0.5s 0.3s; }
body.nav-open .mnav { pointer-events: auto; }
body.nav-open .mnav-bg, body.nav-open .mnav-foot { opacity: 1; }
body.nav-open .mnav-links a { opacity: 1; transform: none; }

/* ── page entrance (subtle fade) ────────────────────────── */
main { animation: pageIn 0.4s ease both; }
@keyframes pageIn { from { opacity: 0; } }

/* ── custom cursor ──────────────────────────────────────── */
.cursor { position: fixed; inset: 0; z-index: 400; pointer-events: none; }
.cursor-dot { position: absolute; width: 7px; height: 7px; margin: -3.5px; background: var(--volt); border-radius: 50%; }
.cursor-ring { position: absolute; width: 36px; height: 36px; margin: -18px; border: 1.5px solid var(--volt-30); border-radius: 50%; transition: width 0.3s, height 0.3s, margin 0.3s, border-color 0.3s, background 0.3s; }
.cursor.on-link .cursor-ring { width: 52px; height: 52px; margin: -26px; border-color: var(--volt); background: var(--volt-08); }
.cursor.down .cursor-ring { width: 26px; height: 26px; margin: -13px; }

/* ── layout scaffolding ─────────────────────────────────── */
main { display: block; }
.wrap { max-width: 1460px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
/* padding-block, not the padding shorthand: `.sec` and `.wrap` sit on
   the same element in the storefront pages, and the shorthand would
   reset the horizontal padding `.wrap` sets, pushing sections flush
   to the viewport edge. */
.sec { padding-block: clamp(70px, 9vw, 130px); position: relative; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(34px, 5vw, 60px); }
.sec-kicker { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.22em; color: var(--volt); text-transform: uppercase; margin-bottom: 16px; }
.sec-kicker::before { content: ""; width: 34px; height: 1px; background: var(--volt); }
.sec-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.12em; color: var(--ink-dim); text-transform: uppercase; white-space: nowrap; padding-bottom: 6px; border-bottom: 1px solid var(--line); transition: all 0.3s; }
.sec-link svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease-out); }
.sec-link:hover { color: var(--volt); border-color: var(--volt); }
.sec-link:hover svg { transform: translateX(5px); }

/* reveal */
[data-rv] { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
[data-rv].in { opacity: 1; transform: none; }

/* decorative grid bg */
.bg-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 0%, transparent 75%);
  opacity: 0.5;
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: -1; }

/* ── HERO ───────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--hdr-h) + 30px); overflow: clip; }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 90% 70% at 28% 45%, transparent 30%, var(--bg0) 95%); pointer-events: none; }
.hero-in { position: relative; z-index: 2; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--volt-30); border-radius: 99px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.16em; color: var(--volt); background: var(--volt-08); margin-bottom: 28px; }
.hero-tag .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--volt); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 var(--volt-30); } 55% { box-shadow: 0 0 0 9px transparent; } }

.hero h1 { margin-bottom: 28px; }
.hero h1 .hl { display: block; overflow: hidden; }
.hero h1 .hl > span { display: block; transform: translateY(112%); transition: transform 1s var(--ease-snap); transition-delay: calc(0.25s + var(--i) * 0.11s); }
body.loaded .hero h1 .hl > span { transform: none; }

.hero-sub { max-width: 520px; color: var(--ink-dim); font-size: clamp(1rem, 1.4vw, 1.15rem); margin-bottom: 36px; opacity: 0; transform: translateY(20px); transition: all 0.9s var(--ease-out) 0.75s; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; opacity: 0; transform: translateY(20px); transition: all 0.9s var(--ease-out) 0.9s; }
.hero-trust { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; opacity: 0; transition: opacity 1s 1.15s; }
body.loaded .hero-sub, body.loaded .hero-cta { opacity: 1; transform: none; }
body.loaded .hero-trust { opacity: 1; }
.hero-trust .tr { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--ink-dim); }
.hero-trust .tr b { color: var(--ink); font-size: 1rem; }
.hero-trust .sep { width: 1px; height: 26px; background: var(--line-strong); }

/* floating HUD chips */
.hud { position: absolute; z-index: 2; padding: 12px 16px; background: rgba(10, 13, 17, 0.66); border: 1px solid var(--line); border-radius: 12px; backdrop-filter: blur(12px); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--ink-dim); opacity: 0; transition: opacity 1s 1.3s; }
body.loaded .hud { opacity: 1; }
.hud b { display: block; font-size: 1.5rem; color: var(--volt); letter-spacing: 0; line-height: 1.15; }
.hud-1 { top: 24%; right: 13%; animation: float1 7s ease-in-out infinite; }
.hud-2 { top: 47%; right: 6%; animation: float2 9s ease-in-out infinite; }
.hud-3 { bottom: 24%; right: 19%; animation: float1 8s ease-in-out 1.2s infinite; }
@keyframes float1 { 50% { transform: translateY(-14px); } }
@keyframes float2 { 50% { transform: translateY(12px); } }

/* marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; position: relative; z-index: 2; background: rgba(6, 8, 10, 0.4); }
.marquee-track { display: flex; gap: 38px; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }
.marquee-track i { color: var(--volt); font-style: normal; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── PRODUCT CARD ───────────────────────────────────────── */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(295px, 1fr)); gap: 22px; }
.pcard {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg1); border: 1px solid var(--line); border-radius: var(--r-md);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: border-color 0.3s, box-shadow 0.4s;
  will-change: transform;
}
.pcard:hover { border-color: var(--volt-30); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--volt-15), 0 0 44px -18px var(--volt-30); }
.pcard::before { content: ""; position: absolute; inset: 0; border-radius: var(--r-md); background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--volt-08), transparent 45%); opacity: 0; transition: opacity 0.35s; pointer-events: none; z-index: 1; }
.pcard:hover::before { opacity: 1; }

.pcard-art { position: relative; aspect-ratio: 400 / 240; overflow: hidden; border-radius: var(--r-md) var(--r-md) 0 0; }
.pcard-art svg { width: 100%; height: 100%; transform: scale(1.02); transition: transform 0.7s var(--ease-out); }
.pcard:hover .pcard-art svg { transform: scale(1.09); }
.pcard-badge { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 5px 11px; border-radius: 6px; font-family: var(--font-mono); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; background: var(--volt); color: #0c1003; clip-path: var(--notch); }
.pcard-badge.new { background: #8b5cf6; color: #fff; }
.pcard-live { position: absolute; bottom: 12px; left: 14px; z-index: 2; font-size: 0.64rem; letter-spacing: 0.14em; color: var(--volt); display: flex; align-items: center; gap: 6px; }
.pcard-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--volt); animation: pulse 1.8s infinite; }

/* HUD corner brackets */
.cnr { position: absolute; inset: 10px; z-index: 2; pointer-events: none; opacity: 0; transition: opacity 0.3s, inset 0.4s var(--ease-out); }
.cnr::before, .cnr::after { content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid var(--volt); }
.cnr.ca::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.cnr.ca::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.cnr.cb::before { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.cnr.cb::after { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.pcard:hover .cnr { opacity: 1; inset: 6px; }

.pcard-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 20px; flex: 1; position: relative; z-index: 2; }
.pcard-meta { display: flex; gap: 8px; font-size: 0.68rem; letter-spacing: 0.13em; color: var(--ink-faint); text-transform: uppercase; }
.pcard-meta a:hover { color: var(--volt); }
.pcard h3 { font-size: 1.18rem; }
.pcard h3 a:hover { color: var(--volt); }
.pcard-tagline { font-size: 0.88rem; color: var(--ink-dim); flex: 1; }
.pcard-rating { display: flex; align-items: center; gap: 8px; font-size: 0.74rem; color: var(--ink-dim); }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.tier {
  display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 9px 4px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-mono); transition: all 0.25s var(--ease-out);
}
.tier small { font-size: 0.62rem; letter-spacing: 0.12em; color: var(--ink-faint); }
.tier b { font-size: 0.82rem; font-weight: 700; color: var(--ink-dim); }
.tier:hover { border-color: var(--volt-30); transform: translateY(-2px); }
.tier.on { border-color: var(--volt); background: var(--volt-08); }
.tier.on small { color: var(--volt); }
.tier.on b { color: var(--ink); }

.pcard-cta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.pcard-price { font-family: var(--font-mono); font-size: 1.16rem; font-weight: 700; }
.pcard-price small { font-size: 0.62rem; color: var(--ink-faint); display: block; letter-spacing: 0.1em; }

/* ── GAME TILES ─────────────────────────────────────────── */
.grid-games { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gtile {
  position: relative; overflow: hidden; aspect-ratio: 1 / 1.06; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--bg1);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px;
  transition: border-color 0.3s, transform 0.5s var(--ease-out);
}
.gtile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 0%, hsla(var(--h), 90%, 55%, 0.22), transparent 60%); transition: opacity 0.4s; opacity: 0.55; }
.gtile:hover { border-color: hsla(var(--h), 90%, 60%, 0.55); transform: translateY(-6px); }
.gtile:hover::before { opacity: 1; }
.gtile-short {
  position: absolute; top: 4px; right: 10px; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3.4rem, 6vw, 5rem); color: transparent; -webkit-text-stroke: 1.5px hsla(var(--h), 90%, 65%, 0.4);
  transition: all 0.5s var(--ease-out); line-height: 1;
}
.gtile:hover .gtile-short { -webkit-text-stroke-color: hsla(var(--h), 90%, 65%, 0.95); transform: translateY(-4px); }
.gtile h3 { font-size: 1.15rem; margin-bottom: 5px; position: relative; }
.gtile p { position: relative; font-size: 0.8rem; color: var(--ink-dim); margin-bottom: 10px; }
.gtile .mono { position: relative; font-size: 0.66rem; letter-spacing: 0.13em; color: hsla(var(--h), 90%, 65%, 0.9); display: flex; align-items: center; gap: 7px; }
.gtile .mono svg { width: 13px; height: 13px; transition: transform 0.3s var(--ease-out); }
.gtile:hover .mono svg { transform: translateX(5px); }

/* ── STATS BAND ─────────────────────────────────────────── */
.stats-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(205, 255, 47, 0.03), transparent); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(30px, 4vw, 54px) 20px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 800; color: var(--volt); line-height: 1.1; }
.stat span { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em; color: var(--ink-dim); text-transform: uppercase; }

/* ── TYPE ROWS (optimizer categories) ───────────────────── */
.type-rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.trow {
  display: grid; grid-template-columns: 70px 1.2fr 2fr auto; align-items: center; gap: 24px;
  padding: 26px 10px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden;
  transition: padding 0.4s var(--ease-out);
}
.trow::before { content: ""; position: absolute; inset: 0; background: var(--volt-08); transform: scaleY(0); transform-origin: bottom; transition: transform 0.45s var(--ease-out); }
.trow:hover { padding-left: 26px; }
.trow:hover::before { transform: scaleY(1); }
.trow > * { position: relative; }
.trow-idx { font-family: var(--font-mono); color: var(--ink-faint); font-size: 0.8rem; }
.trow h3 { font-size: clamp(1.15rem, 2.4vw, 1.7rem); text-transform: uppercase; transition: color 0.3s; }
.trow:hover h3 { color: var(--volt); }
.trow p { color: var(--ink-dim); font-size: 0.92rem; }
.trow-arrow { width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; transition: all 0.35s var(--ease-out); }
.trow-arrow svg { width: 18px; height: 18px; }
.trow:hover .trow-arrow { background: var(--volt); border-color: var(--volt); color: #0c1003; transform: rotate(-45deg); }

/* ── DISCORD BANNER ─────────────────────────────────────── */
.discord-banner {
  position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: linear-gradient(135deg, #11141b, #0c0f14 55%, rgba(88, 101, 242, 0.14));
  padding: clamp(36px, 6vw, 72px); text-align: center;
}
.discord-banner .blob { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(88, 101, 242, 0.22); filter: blur(100px); top: -40%; right: -10%; }
.discord-banner .blob.b2 { background: var(--volt-15); left: -12%; right: auto; top: auto; bottom: -50%; }
.discord-banner > * { position: relative; }
.discord-banner .d-icon { width: 64px; height: 64px; margin: 0 auto 22px; color: #8a96ff; display: grid; place-items: center; border-radius: 20px; background: rgba(88, 101, 242, 0.16); border: 1px solid rgba(120, 130, 255, 0.3); animation: float1 5s ease-in-out infinite; }
.discord-banner .d-icon svg { width: 34px; height: 34px; }
.discord-banner h2 { font-size: clamp(1.6rem, 4vw, 2.8rem); margin-bottom: 14px; text-transform: uppercase; }
.discord-banner p { color: var(--ink-dim); max-width: 520px; margin: 0 auto 28px; }
.online-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 28px; }
.avatars { display: flex; }
.avatars span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--bg1); margin-left: -9px; background: linear-gradient(135deg, hsl(calc(var(--i) * 47), 70%, 55%), hsl(calc(var(--i) * 47 + 60), 70%, 35%)); }
.avatars span:first-child { margin-left: 0; }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); margin-top: clamp(60px, 8vw, 110px); background: var(--bg1); }
.footer-marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: 13px 0; }
.footer-marquee .marquee-track span { font-size: 0.78rem; }
.footer-in { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr) 1.5fr; gap: 34px; max-width: 1460px; margin: 0 auto; padding: clamp(44px, 6vw, 70px) var(--pad); }
.footer-brand p { color: var(--ink-dim); font-size: 0.9rem; margin: 18px 0; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-dim); transition: all 0.3s var(--ease-out); }
.footer-social a svg { width: 17px; height: 17px; }
.footer-social a:hover { color: var(--volt); border-color: var(--volt); transform: translateY(-3px) rotate(-4deg); }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--ink-faint); margin-bottom: 6px; }
.footer-col a { color: var(--ink-dim); font-size: 0.9rem; width: fit-content; position: relative; transition: color 0.25s; }
.footer-col a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--volt); transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease-out); }
.footer-col a:hover { color: var(--volt); }
.footer-col a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer-news h4 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--ink-faint); margin-bottom: 12px; }
.footer-news p { color: var(--ink-dim); font-size: 0.85rem; margin-bottom: 14px; }
.news-form { display: flex; gap: 8px; }
.news-form input { flex: 1; min-width: 0; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 11px 14px; font-size: 0.88rem; transition: border-color 0.3s; }
.news-form input:focus { outline: none; border-color: var(--volt); }
.news-form input.err { animation: shake 0.45s; border-color: var(--danger); }
@keyframes shake { 25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line); padding: 20px var(--pad); max-width: 1460px; margin: 0 auto; font-size: 0.85rem; color: var(--ink-faint); }

/* ── SEARCH OVERLAY ─────────────────────────────────────── */
.search-ov { position: fixed; inset: 0; z-index: 180; pointer-events: none; }
.search-ov-bg { position: absolute; inset: 0; background: rgba(4, 6, 8, 0.85); backdrop-filter: blur(14px); opacity: 0; transition: opacity 0.35s; }
.search-panel { position: relative; max-width: 760px; margin: 0 auto; padding: clamp(80px, 12vh, 140px) var(--pad) 0; opacity: 0; transform: translateY(-26px); transition: all 0.45s var(--ease-out); }
.search-ov.open { pointer-events: auto; }
.search-ov.open .search-ov-bg { opacity: 1; }
.search-ov.open .search-panel { opacity: 1; transform: none; }
.search-bar { display: flex; align-items: center; gap: 14px; background: var(--bg2); border: 1px solid var(--line-strong); border-radius: 14px; padding: 8px 18px; }
.search-bar > svg { width: 20px; height: 20px; color: var(--volt); flex: none; }
.search-bar input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 1.1rem; padding: 12px 0; }
.search-bar kbd { font-family: var(--font-mono); font-size: 0.66rem; border: 1px solid var(--line-strong); border-radius: 6px; padding: 3px 7px; color: var(--ink-faint); }
.search-hints { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 18px; }
.search-hints .mono.dim { font-size: 0.66rem; letter-spacing: 0.18em; }
.search-results { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; max-height: 52vh; overflow: auto; padding-bottom: 30px; }
.search-hit { display: flex; align-items: center; gap: 14px; padding: 10px; background: var(--bg1); border: 1px solid var(--line); border-radius: 12px; transition: all 0.25s var(--ease-out); }
.search-hit:hover { border-color: var(--volt-30); transform: translateX(6px); background: var(--bg2); }
.search-hit-art { width: 76px; height: 48px; border-radius: 8px; overflow: hidden; flex: none; }
.search-hit-art svg { width: 100%; height: 100%; }
.search-hit-body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.search-hit-body .mono { font-size: 0.66rem; }
.search-hit > .mono { font-size: 0.72rem; white-space: nowrap; }
.search-none { text-align: center; padding: 30px 0; color: var(--ink-faint); font-size: 0.8rem; letter-spacing: 0.1em; }

/* ── CART DRAWER ────────────────────────────────────────── */
.drawer-ov { position: fixed; inset: 0; z-index: 190; pointer-events: none; }
.drawer-bg { position: absolute; inset: 0; background: rgba(4, 6, 8, 0.7); backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.4s; }
.drawer {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100vw);
  background: var(--bg1); border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(102%); transition: transform 0.55s var(--ease-snap);
  box-shadow: -40px 0 90px rgba(0, 0, 0, 0.6);
}
.drawer-ov.open { pointer-events: auto; }
.drawer-ov.open .drawer-bg { opacity: 1; }
.drawer-ov.open .drawer { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.05rem; letter-spacing: 0.04em; }
.drawer-head .mono { font-size: 0.66rem; }
.drawer-items { flex: 1; overflow-y: auto; padding: 18px 24px; display: flex; flex-direction: column; gap: 14px; }
.drawer-item { display: flex; gap: 13px; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; opacity: 0; transform: translateX(30px); animation: drawerin 0.5s var(--ease-out) forwards; animation-delay: calc(var(--i) * 0.06s); }
@keyframes drawerin { to { opacity: 1; transform: none; } }
.drawer-item-art { width: 84px; height: 56px; border-radius: 8px; overflow: hidden; flex: none; }
.drawer-item-art svg { width: 100%; height: 100%; }
.drawer-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.drawer-item-body strong { font-size: 0.92rem; }
.drawer-item-body a:hover strong { color: var(--volt); }
.drawer-item-body .mono { font-size: 0.62rem; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; }
.qty button { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; color: var(--ink-dim); transition: all 0.2s; }
.qty button:hover { border-color: var(--volt); color: var(--volt); }
.qty button svg { width: 11px; height: 11px; }
.qty span { min-width: 22px; text-align: center; font-size: 0.8rem; }
.drawer-item-end { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.drawer-item-end .mono { font-size: 0.82rem; font-weight: 700; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 24px 22px; display: flex; flex-direction: column; gap: 10px; background: var(--bg2); }
.drawer-row { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--ink-dim); }
.drawer-total { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.drawer-note { display: flex; align-items: center; gap: 8px; font-size: 0.62rem; line-height: 1.5; }
.drawer-note svg { width: 14px; height: 14px; flex: none; color: var(--volt); }
.drawer-empty { text-align: center; padding: 60px 16px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.drawer-empty-icon { width: 64px; height: 64px; display: grid; place-items: center; border: 1px dashed var(--line-strong); border-radius: 50%; color: var(--ink-faint); margin-bottom: 8px; }
.drawer-empty-icon svg { width: 26px; height: 26px; }

/* fly-to-cart chip */
.fly-chip {
  position: fixed; z-index: 350; pointer-events: none;
  background: var(--volt); color: #0c1003; font-weight: 700; font-size: 0.7rem;
  padding: 6px 12px; border-radius: 99px; transform: translate(0, 0) scale(1);
  transition: transform 0.6s cubic-bezier(0.5, -0.2, 0.6, 1), opacity 0.6s;
  box-shadow: 0 0 30px var(--volt-30);
}

/* ── FLOATING DISCORD FAB ───────────────────────────────── */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 100;
  width: 56px; height: 56px; display: grid; place-items: center;
  background: #5865f2; color: #fff; border-radius: 50%;
  box-shadow: 0 14px 36px -8px rgba(88, 101, 242, 0.65);
  transition: transform 0.35s var(--ease-out);
}
.fab svg { width: 26px; height: 26px; }
.fab:hover { transform: translateY(-4px) scale(1.06); }
.fab-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(88, 101, 242, 0.6); animation: fabring 2.4s var(--ease-out) infinite; }
@keyframes fabring { to { transform: scale(1.7); opacity: 0; } }
.fab-tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(8px);
  background: var(--bg3); border: 1px solid var(--line-strong); color: var(--ink); border-radius: 9px;
  font-size: 0.74rem; font-weight: 600; padding: 8px 13px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: all 0.3s var(--ease-out);
}
.fab:hover .fab-tip { opacity: 1; transform: translateY(-50%); }

/* ── TOASTS ─────────────────────────────────────────────── */
.toasts { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 360; display: flex; flex-direction: column; gap: 9px; align-items: center; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px;
  background: rgba(14, 19, 24, 0.92); border: 1px solid var(--volt-30); border-radius: 99px;
  padding: 11px 20px; font-size: 0.85rem; backdrop-filter: blur(12px);
  opacity: 0; transform: translateY(18px) scale(0.95); transition: all 0.4s var(--ease-out);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.8);
}
.toast.in { opacity: 1; transform: none; }
.toast-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--volt); flex: none; }

/* ── PAGE HERO (inner pages) ────────────────────────────── */
.phero { position: relative; padding: calc(var(--hdr-h) + clamp(50px, 8vw, 100px)) 0 clamp(36px, 5vw, 64px); overflow: clip; }
.phero .bg-grid { z-index: 0; }
.phero-in { position: relative; z-index: 1; }
.phero .crumbs { display: flex; gap: 9px; align-items: center; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; color: var(--ink-faint); text-transform: uppercase; margin-bottom: 22px; }
.phero .crumbs a:hover { color: var(--volt); }
.phero .crumbs i { font-style: normal; color: var(--volt); }
.phero h1 { margin-bottom: 16px; }
.phero .lede { max-width: 600px; color: var(--ink-dim); font-size: clamp(0.98rem, 1.4vw, 1.12rem); }

/* ── SHOP ───────────────────────────────────────────────── */
.shop-bar { position: sticky; top: calc(var(--hdr-h) - 6px); z-index: 90; background: rgba(6, 8, 10, 0.82); backdrop-filter: blur(16px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin-bottom: clamp(28px, 4vw, 44px); }
.shop-bar-in { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.shop-search { display: flex; align-items: center; gap: 10px; background: var(--bg2); border: 1px solid var(--line); border-radius: 99px; padding: 0 16px; flex: 1; min-width: 200px; max-width: 330px; transition: border-color 0.3s; }
.shop-search:focus-within { border-color: var(--volt); }
.shop-search svg { width: 15px; height: 15px; color: var(--ink-faint); flex: none; }
.shop-search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; padding: 11px 0; font-size: 0.9rem; }
.shop-sort { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.shop-sort label { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em; color: var(--ink-faint); }
.select-wrap { position: relative; }
.select-wrap select {
  appearance: none; background: var(--bg2); border: 1px solid var(--line); color: var(--ink);
  border-radius: 99px; padding: 10px 38px 10px 18px; font-size: 0.85rem; cursor: pointer; transition: border-color 0.3s;
}
.select-wrap select:focus { outline: none; border-color: var(--volt); }
.select-wrap::after { content: "▾"; position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--volt); pointer-events: none; font-size: 0.8rem; }
.filter-groups { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(26px, 4vw, 40px); }
.filter-group { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.filter-label { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.2em; color: var(--ink-faint); min-width: 86px; text-transform: uppercase; }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.shop-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--ink-dim); }
.shop-meta button { color: var(--danger); letter-spacing: 0.1em; font-size: 0.72rem; font-family: var(--font-mono); opacity: 0.85; }
.shop-meta button:hover { opacity: 1; text-decoration: underline; }
.shop-empty { text-align: center; padding: 80px 20px; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); }
.shop-empty h3 { margin-bottom: 10px; }
.shop-empty p { color: var(--ink-dim); margin-bottom: 20px; }

/* ── PRODUCT DETAIL ─────────────────────────────────────── */
.pd { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4.5vw, 64px); align-items: start; }
.pd-gallery { position: sticky; top: calc(var(--hdr-h) + 18px); }
.pd-art { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.pd-art svg { width: 100%; height: 100%; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.pd-thumb { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; aspect-ratio: 16/10; opacity: 0.55; transition: all 0.3s; position: relative; }
.pd-thumb svg { width: 100%; height: 100%; }
.pd-thumb.on, .pd-thumb:hover { opacity: 1; border-color: var(--volt-30); }
.pd-info { display: flex; flex-direction: column; gap: 20px; }
.pd-meta { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-title { font-size: clamp(1.9rem, 4vw, 3rem); text-transform: uppercase; }
.pd-tagline { font-size: 1.05rem; color: var(--ink-dim); }
.pd-rating { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; color: var(--ink-dim); }
.pd-durations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pd-dur {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 14px;
  display: flex; flex-direction: column; gap: 3px; text-align: left;
  background: var(--bg1); transition: all 0.3s var(--ease-out); overflow: hidden;
}
.pd-dur small { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; color: var(--ink-faint); }
.pd-dur b { font-family: var(--font-mono); font-size: 1.2rem; }
.pd-dur i { font-style: normal; font-size: 0.7rem; color: var(--ink-faint); }
.pd-dur:hover { border-color: var(--volt-30); transform: translateY(-3px); }
.pd-dur.on { border-color: var(--volt); background: var(--volt-08); box-shadow: 0 0 0 1px var(--volt), 0 14px 34px -16px var(--volt-30); }
.pd-dur.on small { color: var(--volt); }
.pd-dur .best { position: absolute; top: 0; right: 0; background: var(--volt); color: #0c1003; font-family: var(--font-mono); font-size: 0.56rem; font-weight: 700; letter-spacing: 0.1em; padding: 3px 9px; border-radius: 0 0 0 9px; }
.pd-price-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg1); }
.pd-price { font-family: var(--font-mono); font-size: 2rem; font-weight: 700; transition: opacity 0.2s; }
.pd-price small { display: block; font-size: 0.62rem; letter-spacing: 0.14em; color: var(--ink-faint); }
.pd-price.flash { animation: priceflash 0.5s var(--ease-out); }
@keyframes priceflash { 30% { color: var(--volt); transform: scale(1.06); } }
.pd-actions { display: flex; gap: 10px; }
.pd-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.pd-trust div { display: flex; align-items: center; gap: 9px; font-size: 0.78rem; color: var(--ink-dim); padding: 11px 13px; background: var(--bg1); border: 1px solid var(--line); border-radius: 10px; }
.pd-trust svg { width: 15px; height: 15px; color: var(--volt); flex: none; }
.pd-tabs { margin-top: clamp(50px, 7vw, 80px); }
.pd-tab-btns { display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.pd-tab-btn { padding: 13px 22px; font-weight: 600; font-size: 0.92rem; color: var(--ink-dim); position: relative; white-space: nowrap; }
.pd-tab-btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--volt); transform: scaleX(0); transition: transform 0.35s var(--ease-out); }
.pd-tab-btn.on { color: var(--ink); }
.pd-tab-btn.on::after { transform: scaleX(1); }
.pd-pane { display: none; padding: clamp(24px, 4vw, 40px) 0; }
.pd-pane.on { display: block; animation: panein 0.5s var(--ease-out); }
@keyframes panein { from { opacity: 0; transform: translateY(12px); } }
.feat-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 13px; }
.feat { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--bg1); border: 1px solid var(--line); border-radius: 12px; transition: border-color 0.3s, transform 0.3s var(--ease-out); }
.feat:hover { border-color: var(--volt-30); transform: translateY(-3px); }
.feat svg { width: 17px; height: 17px; color: var(--volt); flex: none; margin-top: 3px; }
.sysreq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sysreq-col { background: var(--bg1); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.sysreq-col h4 { font-size: 0.85rem; letter-spacing: 0.1em; color: var(--volt); margin-bottom: 14px; font-family: var(--font-mono); }
.sysreq-col table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.sysreq-col td { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink-dim); }
.sysreq-col td:first-child { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; color: var(--ink-faint); width: 72px; text-transform: uppercase; }
.sysreq-col tr:last-child td { border-bottom: 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.review { background: var(--bg1); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; display: flex; flex-direction: column; gap: 9px; transition: border-color 0.3s, transform 0.3s var(--ease-out); }
.review:hover { border-color: var(--volt-30); transform: translateY(-3px); }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.review-head .who { display: flex; align-items: center; gap: 9px; }
.review-head .pfp { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--volt-deep), #2b4a00); display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700; color: #0c1003; flex: none; }
.review-head strong { font-size: 0.85rem; }
.review h5 { font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; }
.review p { font-size: 0.86rem; color: var(--ink-dim); }
.review .mono.dim { font-size: 0.6rem; }
.verified { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.1em; color: var(--volt); }
.verified svg { width: 11px; height: 11px; }

/* ── CHECKOUT ───────────────────────────────────────────── */
.co { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(26px, 4vw, 56px); align-items: start; }
.co-panel { background: var(--bg1); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 36px); }
.co-step { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.co-step b { width: 30px; height: 30px; display: grid; place-items: center; background: var(--volt); color: #0c1003; border-radius: 9px; font-family: var(--font-mono); font-size: 0.8rem; clip-path: var(--notch); }
.co-step h3 { font-size: 1.05rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.16em; color: var(--ink-faint); text-transform: uppercase; }
.field input, .field textarea, .field select {
  background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 15px; font-size: 0.95rem; transition: border-color 0.3s, box-shadow 0.3s; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--volt); box-shadow: 0 0 0 3px var(--volt-08); }
.field input.err, .field textarea.err { border-color: var(--danger); animation: shake 0.45s; }
.field .hint { font-size: 0.7rem; color: var(--danger); min-height: 1em; }
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 18px; }
.pay-m { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px 8px; display: flex; flex-direction: column; gap: 5px; align-items: center; font-size: 0.74rem; color: var(--ink-dim); transition: all 0.25s var(--ease-out); }
.pay-m svg { width: 22px; height: 22px; }
.pay-m:hover { border-color: var(--volt-30); }
.pay-m.on { border-color: var(--volt); background: var(--volt-08); color: var(--ink); }
.card-preview {
  position: relative; border-radius: 16px; padding: 22px; margin-bottom: 20px; overflow: hidden;
  background: linear-gradient(120deg, #161d14, #0c1003 60%, #1c2a05);
  border: 1px solid var(--volt-30); min-height: 150px;
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: var(--font-mono);
}
.card-preview::after { content: ""; position: absolute; top: -60%; right: -20%; width: 70%; height: 200%; background: var(--volt-08); transform: rotate(25deg); }
.card-preview .cp-num { font-size: clamp(1rem, 3vw, 1.3rem); letter-spacing: 0.14em; }
.card-preview .cp-row { display: flex; justify-content: space-between; font-size: 0.7rem; color: var(--ink-dim); }
.card-preview .cp-chip { width: 38px; height: 27px; border-radius: 6px; background: linear-gradient(135deg, var(--volt), var(--volt-deep)); }
.co-summary { position: sticky; top: calc(var(--hdr-h) + 18px); }
.co-items { display: flex; flex-direction: column; gap: 11px; margin-bottom: 18px; max-height: 320px; overflow: auto; }
.co-item { display: flex; gap: 11px; align-items: center; }
.co-item-art { width: 64px; height: 42px; border-radius: 7px; overflow: hidden; flex: none; }
.co-item-art svg { width: 100%; height: 100%; }
.co-item div { flex: 1; min-width: 0; }
.co-item strong { font-size: 0.86rem; display: block; }
.co-item .mono { font-size: 0.6rem; color: var(--ink-faint); }
.co-item > .mono { font-size: 0.78rem; }
.promo-row { display: flex; gap: 8px; margin: 14px 0; }
.promo-row input { flex: 1; min-width: 0; background: var(--bg2); border: 1px dashed var(--line-strong); border-radius: var(--r-sm); padding: 11px 14px; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; transition: border-color 0.3s; }
.promo-row input:focus { outline: none; border-color: var(--volt); }
.totals { display: flex; flex-direction: column; gap: 9px; border-top: 1px solid var(--line); padding-top: 16px; }
.totals .row { display: flex; justify-content: space-between; font-size: 0.86rem; color: var(--ink-dim); }
.totals .grand { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--ink); padding-top: 6px; }
.co-secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; color: var(--ink-faint); }
.co-secure svg { width: 13px; height: 13px; color: var(--volt); }

/* checkout success */
.success { max-width: 720px; margin: 0 auto; text-align: center; }
.success-burst { width: 88px; height: 88px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; background: var(--volt-08); border: 1px solid var(--volt-30); color: var(--volt); position: relative; }
.success-burst svg { width: 38px; height: 38px; }
.success-burst::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--volt); animation: fabring 2s var(--ease-out) infinite; }
.keys-list { display: flex; flex-direction: column; gap: 12px; margin: 30px 0; text-align: left; }
.key-row { display: flex; align-items: center; gap: 14px; background: var(--bg1); border: 1px solid var(--volt-30); border-radius: var(--r-md); padding: 16px 18px; }
.key-row .key-art { width: 56px; height: 38px; border-radius: 7px; overflow: hidden; flex: none; }
.key-row .key-art svg { width: 100%; height: 100%; }
.key-row .key-body { flex: 1; min-width: 0; }
.key-row .key-body strong { display: block; font-size: 0.9rem; }
.key-row .key-code { font-family: var(--font-mono); color: var(--volt); font-size: clamp(0.72rem, 2vw, 0.92rem); letter-spacing: 0.08em; }
.key-row .copy-btn { flex: none; }
.copy-btn.copied { border-color: var(--volt); color: var(--volt); }

/* processing overlay */
.processing { position: fixed; inset: 0; z-index: 320; background: rgba(4, 6, 8, 0.9); backdrop-filter: blur(10px); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.processing.on { opacity: 1; pointer-events: auto; }
.proc-box { text-align: center; }
.proc-ring { width: 74px; height: 74px; margin: 0 auto 22px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--volt); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.proc-box .mono { letter-spacing: 0.2em; color: var(--ink-dim); font-size: 0.74rem; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-cat { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.22em; color: var(--volt); margin: 38px 0 14px; text-transform: uppercase; display: flex; align-items: center; gap: 12px; }
.faq-cat::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.acc { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg1); margin-bottom: 10px; overflow: hidden; transition: border-color 0.3s; }
.acc.open { border-color: var(--volt-30); }
.acc-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; padding: 19px 22px; font-weight: 600; font-size: 1rem; transition: color 0.25s; }
.acc-q:hover { color: var(--volt); }
.acc-q .acc-ico { flex: none; width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; transition: all 0.4s var(--ease-out); }
.acc-q .acc-ico svg { width: 13px; height: 13px; }
.acc.open .acc-ico { background: var(--volt); border-color: var(--volt); color: #0c1003; transform: rotate(135deg); }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-out); }
.acc-a > div { overflow: hidden; }
.acc-a p { padding: 0 22px 20px; color: var(--ink-dim); font-size: 0.94rem; max-width: 70ch; }
.acc.open .acc-a { grid-template-rows: 1fr; }

/* ── CONTACT ────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(26px, 4vw, 60px); align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 13px; }
.ccard { display: flex; gap: 15px; align-items: flex-start; padding: 20px; background: var(--bg1); border: 1px solid var(--line); border-radius: var(--r-md); transition: all 0.3s var(--ease-out); }
.ccard:hover { border-color: var(--volt-30); transform: translateX(6px); }
.ccard .ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--volt-08); border: 1px solid var(--volt-30); color: var(--volt); }
.ccard .ic svg { width: 19px; height: 19px; }
.ccard h4 { font-family: var(--font-body); font-size: 0.98rem; margin-bottom: 3px; }
.ccard p { font-size: 0.84rem; color: var(--ink-dim); }
.ccard .mono { font-size: 0.7rem; color: var(--volt); }

/* ── ABOUT ──────────────────────────────────────────────── */
.about-manifesto { font-size: clamp(1.25rem, 2.6vw, 1.9rem); line-height: 1.5; font-weight: 500; max-width: 880px; }
.about-manifesto em { font-style: normal; color: var(--volt); }
.timeline { display: flex; flex-direction: column; gap: 0; margin-top: 30px; }
.tl-item { display: grid; grid-template-columns: 110px 24px 1fr; gap: 18px; }
.tl-item .tl-year { font-family: var(--font-mono); color: var(--volt); font-size: 0.85rem; padding-top: 2px; text-align: right; }
.tl-item .tl-rail { position: relative; display: flex; justify-content: center; }
.tl-item .tl-rail::before { content: ""; position: absolute; top: 6px; bottom: -6px; width: 1px; background: var(--line-strong); }
.tl-item:last-child .tl-rail::before { display: none; }
.tl-item .tl-rail::after { content: ""; position: relative; width: 11px; height: 11px; border-radius: 50%; background: var(--bg0); border: 2px solid var(--volt); margin-top: 4px; }
.tl-item .tl-body { padding-bottom: 38px; }
.tl-item h4 { font-family: var(--font-body); font-size: 1.05rem; margin-bottom: 5px; }
.tl-item p { color: var(--ink-dim); font-size: 0.92rem; max-width: 560px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vcard { padding: 26px; background: var(--bg1); border: 1px solid var(--line); border-radius: var(--r-md); transition: all 0.35s var(--ease-out); position: relative; overflow: hidden; }
.vcard::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--volt); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out); }
.vcard:hover { border-color: var(--volt-30); transform: translateY(-5px); }
.vcard:hover::before { transform: scaleX(1); }
.vcard .v-num { font-family: var(--font-mono); color: var(--ink-faint); font-size: 0.74rem; display: block; margin-bottom: 14px; }
.vcard h3 { font-size: 1.1rem; margin-bottom: 9px; }
.vcard p { font-size: 0.88rem; color: var(--ink-dim); }

/* ── LEGAL ──────────────────────────────────────────────── */
.legal-grid { display: grid; grid-template-columns: 230px 1fr; gap: clamp(26px, 4vw, 60px); align-items: start; }
.legal-nav { position: sticky; top: calc(var(--hdr-h) + 18px); display: flex; flex-direction: column; gap: 5px; }
.legal-nav a { padding: 10px 15px; border-radius: 9px; font-size: 0.88rem; color: var(--ink-dim); border: 1px solid transparent; transition: all 0.25s; }
.legal-nav a:hover { color: var(--ink); background: var(--bg2); }
.legal-nav a.on { color: var(--volt); border-color: var(--volt-30); background: var(--volt-08); }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 1.35rem; margin: 40px 0 14px; scroll-margin-top: 110px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h2 .mono { color: var(--volt); margin-right: 10px; font-size: 0.8em; }
.legal-body p, .legal-body li { color: var(--ink-dim); font-size: 0.95rem; margin-bottom: 12px; }
.legal-body ul { padding-left: 22px; margin-bottom: 16px; }
.legal-body strong { color: var(--ink); }
.legal-updated { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; color: var(--ink-faint); padding: 10px 16px; border: 1px dashed var(--line-strong); border-radius: 9px; display: inline-block; margin-bottom: 30px; }

/* ── 404 ────────────────────────────────────────────────── */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; position: relative; overflow: clip; padding: 120px var(--pad) 60px; }
.nf-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(7rem, 26vw, 19rem); line-height: 0.9; position: relative; color: transparent; -webkit-text-stroke: 2px rgba(238, 243, 238, 0.25); user-select: none; }
.nf-code .glitch-layer { position: absolute; inset: 0; color: var(--volt); -webkit-text-stroke: 0; clip-path: inset(40% 0 45% 0); animation: glitch 2.4s steps(2) infinite; opacity: 0.85; }
.nf-code .glitch-layer.g2 { color: #8b5cf6; animation-delay: 1.1s; animation-duration: 3.1s; clip-path: inset(10% 0 75% 0); }
@keyframes glitch {
  0%, 100% { transform: translate(0); clip-path: inset(40% 0 45% 0); }
  20% { transform: translate(-7px, 3px); clip-path: inset(8% 0 80% 0); }
  40% { transform: translate(6px, -2px); clip-path: inset(62% 0 18% 0); }
  60% { transform: translate(-4px, 1px); clip-path: inset(28% 0 58% 0); }
  80% { transform: translate(5px, -3px); clip-path: inset(75% 0 8% 0); }
}
.nf h1 { font-size: clamp(1.3rem, 3.4vw, 2rem); margin: 18px 0 12px; text-transform: uppercase; }
.nf p { color: var(--ink-dim); max-width: 430px; margin: 0 auto 28px; }
.nf-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── related strip ──────────────────────────────────────── */
.hr-volt { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--volt-30), transparent); margin: 0; }

/* ── breakpoints ────────────────────────────────────────── */
@media (max-width: 1180px) {
  .grid-games { grid-template-columns: repeat(3, 1fr); }
  .footer-in { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-news { grid-column: 2 / -1; }
  .hud-3 { display: none; }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .pd { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .co { grid-template-columns: 1fr; }
  .co-summary { position: static; order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .hud { display: none; }
  .values-grid { grid-template-columns: 1fr; }
  .trow { grid-template-columns: 44px 1fr auto; }
  .trow p { display: none; }
}
@media (max-width: 760px) {
  :root { --hdr-h: 66px; }
  .grid-games { grid-template-columns: repeat(2, 1fr); }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-news { grid-column: 1 / -1; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .sysreq { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .pd-durations { grid-template-columns: 1fr; }
  .pd-dur { flex-direction: row; align-items: center; justify-content: space-between; }
  .filter-label { min-width: 100%; }
  .shop-sort { margin-left: 0; width: 100%; justify-content: space-between; }
  .fab { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .tl-item { grid-template-columns: 56px 20px 1fr; gap: 10px; }
  .tl-item .tl-year { font-size: 0.7rem; }
}
@media (max-width: 480px) {
  .grid-products { grid-template-columns: 1fr; }
  .pay-methods { grid-template-columns: 1fr; }
  .pd-actions { flex-direction: column; }
  .pd-actions .btn { justify-content: center; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .grid-games { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gtile { padding: 14px; }
}

/* ── SEGMENT CARDS (catalog scope switcher) ─────────────── */
.segs { display: grid; grid-template-columns: repeat(auto-fit, minmax(218px, 1fr)); gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); }
.seg {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 20px 22px; background: var(--bg1); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: all 0.3s var(--ease-out); position: relative; overflow: hidden;
}
.seg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(140% 120% at 50% 0%, var(--volt-08), transparent 55%); opacity: 0; transition: opacity 0.3s; }
.seg:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.seg.on { border-color: var(--volt); background: var(--volt-08); box-shadow: 0 0 0 1px var(--volt-15), 0 16px 40px -22px var(--volt-30); }
.seg.on::after { opacity: 1; }
.seg-ic { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-dim); background: var(--bg2); transition: all 0.3s; position: relative; z-index: 1; }
.seg-ic svg { width: 18px; height: 18px; }
.seg.on .seg-ic { color: var(--volt); border-color: var(--volt-30); }
.seg div { position: relative; z-index: 1; min-width: 0; }
.seg b { display: block; font-family: var(--font-body); font-weight: 700; font-size: 1rem; }
.seg small { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.16em; color: var(--ink-faint); text-transform: uppercase; }
.seg.on small { color: var(--volt-deep); }

/* selectable game tiles (categories drill-down) */
button.gtile { width: 100%; text-align: left; cursor: pointer; }
.gtile.on { border-color: var(--volt); box-shadow: 0 0 0 1px var(--volt-15), 0 18px 44px -24px var(--volt-30); }
.gtile .gtile-check {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em;
  background: var(--volt); color: #0c1003; padding: 4px 10px; border-radius: 99px;
  opacity: 0; transform: scale(0.8); transition: all 0.25s var(--ease-out);
}
.gtile.on .gtile-check { opacity: 1; transform: none; }
.cat-step { display: flex; align-items: center; gap: 14px; margin: clamp(30px, 4vw, 46px) 0 18px; scroll-margin-top: 96px; }
.cat-step b { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.2em; color: var(--volt); white-space: nowrap; }
.cat-step::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cat-step .pick { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.12em; color: var(--ink-faint); }

/* ── PILL FILTER BAR (price | duration) ─────────────────── */
.pill-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: 16px; background: var(--bg1);
  padding: 12px 18px; margin-bottom: clamp(22px, 3vw, 34px);
}
.pill-bar .filter-label { min-width: 0; }
.pill-bar .vsep { width: 1px; height: 26px; background: var(--line-strong); }
@media (max-width: 760px) { .pill-bar .vsep { display: none; } .pill-bar { padding: 14px; } }

/* ── GAME TILE IMAGES ───────────────────────────────────── */
.gtile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.62; transition: opacity 0.4s, transform 0.7s var(--ease-out); }
.gtile:hover .gtile-img { opacity: 0.85; transform: scale(1.07); }
.gtile-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 8, 10, 0) 28%, rgba(6, 8, 10, 0.55) 60%, rgba(6, 8, 10, 0.97) 88%); }
.gtile h3 { position: relative; }
.gtile-body { position: relative; display: flex; flex-direction: column; gap: 7px; }
.gtile-body h3 { font-size: clamp(1.1rem, 1.7vw, 1.4rem); text-transform: uppercase; letter-spacing: 0.01em; }
.gtile-body .mono { font-size: 0.64rem; }

/* game filter chips with thumbnails */
.chip-thumb { width: 19px; height: 19px; border-radius: 50%; object-fit: cover; margin-left: -5px; border: 1px solid var(--line-strong); }
.chip.on .chip-thumb { border-color: rgba(0, 0, 0, 0.4); }

/* ── TESTIMONIAL WALL ───────────────────────────────────── */
.twall { display: flex; flex-direction: column; gap: 16px; }
.twall-row { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.twall-track { display: flex; gap: 16px; width: max-content; padding: 4px 0; animation: marquee 52s linear infinite; }
.twall-row:nth-child(2) .twall-track { animation-duration: 64s; animation-direction: reverse; }
.twall-row:hover .twall-track { animation-play-state: paused; }
.tcard {
  width: min(370px, 80vw); flex: none; display: flex; flex-direction: column; gap: 11px;
  background: var(--bg1); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.tcard:hover { border-color: var(--volt-30); transform: translateY(-3px); }
.tcard-head { display: flex; align-items: center; justify-content: space-between; }
.tcard-head .mono { font-size: 0.58rem; letter-spacing: 0.16em; color: var(--volt); }
.tcard p { font-size: 0.9rem; color: var(--ink-dim); line-height: 1.65; }
.tcard-who { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--ink); }
.tcard-who::before { content: "— "; color: var(--volt); }

/* paused product state */
.pcard.paused .pcard-art { filter: grayscale(0.8) brightness(0.6); }
.pcard-paused-tag { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 11px; border-radius: 6px; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; background: rgba(14, 19, 24, 0.85); border: 1px solid var(--line-strong); color: var(--ink-dim); }

/* ── ADMIN ──────────────────────────────────────────────── */
.adm-login { min-height: 100svh; display: grid; place-items: center; padding: 24px; position: relative; overflow: clip; }
.adm-login-card { width: min(420px, 100%); background: var(--bg1); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; position: relative; }
.adm-login-card .logo { margin-bottom: 22px; }
.adm-login-card h1 { font-size: 1.3rem; margin-bottom: 6px; }
.adm-login-card > p { color: var(--ink-dim); font-size: 0.88rem; margin-bottom: 22px; }
.adm-hint { margin-top: 16px; padding: 11px 14px; border: 1px dashed var(--line-strong); border-radius: 10px; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em; color: var(--ink-faint); line-height: 1.7; }
.adm-hint b { color: var(--volt); }

.adm { display: grid; grid-template-columns: 232px 1fr; min-height: 100svh; }
.adm-side { border-right: 1px solid var(--line); background: var(--bg1); padding: 22px 14px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100svh; }
.adm-side .logo { padding: 0 10px 18px; }
.adm-side .logo-word { font-size: 0.88rem; }
.adm-nav-label { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.22em; color: var(--ink-faint); padding: 14px 10px 6px; }
.adm-link { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 10px; font-size: 0.9rem; font-weight: 600; color: var(--ink-dim); border: 1px solid transparent; transition: all 0.22s; width: 100%; text-align: left; }
.adm-link svg { width: 17px; height: 17px; flex: none; }
.adm-link:hover { color: var(--ink); background: var(--bg2); }
.adm-link.on { color: var(--volt); background: var(--volt-08); border-color: var(--volt-30); }
.adm-link .badge { margin-left: auto; font-family: var(--font-mono); font-size: 0.62rem; background: var(--bg3); border: 1px solid var(--line); padding: 2px 8px; border-radius: 99px; color: var(--ink-dim); }
.adm-side .spacer { flex: 1; }

.adm-main { padding: clamp(20px, 3vw, 38px); min-width: 0; }
.adm-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.adm-head h1 { font-size: clamp(1.3rem, 2.6vw, 1.9rem); text-transform: uppercase; }
.adm-head .sub { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; color: var(--ink-faint); margin-top: 4px; }
.adm-acts { display: flex; gap: 9px; flex-wrap: wrap; }

.adm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 26px; }
.adm-stat { background: var(--bg1); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; position: relative; overflow: hidden; }
.adm-stat::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--volt), transparent); opacity: 0.6; }
.adm-stat b { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: var(--ink); line-height: 1.2; }
.adm-stat span { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em; color: var(--ink-faint); text-transform: uppercase; }
.adm-stat .delta { font-family: var(--font-mono); font-size: 0.66rem; color: var(--volt); }

.adm-panel { background: var(--bg1); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin-bottom: 22px; }
.adm-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.adm-panel-head h3 { font-size: 0.95rem; }
.adm-table-wrap { overflow-x: auto; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; min-width: 640px; }
.adm-table th { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.16em; color: var(--ink-faint); text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); text-transform: uppercase; white-space: nowrap; }
.adm-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink-dim); vertical-align: middle; }
.adm-table tr:last-child td { border-bottom: 0; }
.adm-table tr:hover td { background: rgba(255, 255, 255, 0.015); }
.adm-table td strong { color: var(--ink); font-weight: 600; }
.adm-thumb { width: 58px; height: 36px; border-radius: 6px; overflow: hidden; display: block; }
.adm-thumb svg { width: 100%; height: 100%; }
.adm-table .mono { font-size: 0.74rem; }
.adm-row-acts { display: flex; gap: 6px; justify-content: flex-end; }
.adm-pill { display: inline-flex; padding: 3px 10px; border-radius: 99px; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; border: 1px solid var(--line-strong); color: var(--ink-dim); text-transform: uppercase; }
.adm-pill.live { color: var(--volt); border-color: var(--volt-30); background: var(--volt-08); }
.adm-pill.hot { color: #ffb03a; border-color: rgba(255, 176, 58, 0.4); }
.adm-pill.new { color: #a78bfa; border-color: rgba(167, 139, 250, 0.4); }

.adm-bars { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.adm-bar { display: grid; grid-template-columns: 150px 1fr 44px; align-items: center; gap: 12px; font-size: 0.82rem; }
.adm-bar .track { height: 7px; border-radius: 99px; background: var(--bg3); overflow: hidden; }
.adm-bar .fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--volt-deep), var(--volt)); transition: width 0.8s var(--ease-out); }
.adm-bar .mono { text-align: right; }

/* admin modal */
.adm-modal { position: fixed; inset: 0; z-index: 260; display: grid; place-items: center; padding: 20px; pointer-events: none; }
.adm-modal-bg { position: absolute; inset: 0; background: rgba(4, 6, 8, 0.8); backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.3s; }
.adm-modal-card { position: relative; width: min(680px, 100%); max-height: 88svh; overflow-y: auto; background: var(--bg1); border: 1px solid var(--line-strong); border-radius: var(--r-lg); padding: 28px; opacity: 0; transform: translateY(22px) scale(0.98); transition: all 0.35s var(--ease-out); }
.adm-modal.open { pointer-events: auto; }
.adm-modal.open .adm-modal-bg { opacity: 1; }
.adm-modal.open .adm-modal-card { opacity: 1; transform: none; }
.adm-modal-card h3 { margin-bottom: 18px; font-size: 1.15rem; }
.adm-modal-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

.adm-empty { padding: 44px 20px; text-align: center; color: var(--ink-faint); font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; }
.adm-search { display: flex; align-items: center; gap: 9px; background: var(--bg2); border: 1px solid var(--line); border-radius: 99px; padding: 0 14px; min-width: 200px; }
.adm-search svg { width: 14px; height: 14px; color: var(--ink-faint); flex: none; }
.adm-search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; padding: 9px 0; font-size: 0.85rem; }
.btn-danger { background: rgba(255, 93, 93, 0.1); border: 1px solid rgba(255, 93, 93, 0.35); color: var(--danger); }
.btn-danger:hover { background: rgba(255, 93, 93, 0.18); }

.adm-burger { display: none; }
@media (max-width: 920px) {
  .adm { grid-template-columns: 1fr; }
  .adm-side { position: fixed; z-index: 150; left: 0; top: 0; bottom: 0; width: 250px; transform: translateX(-105%); transition: transform 0.4s var(--ease-out); height: 100svh; }
  .adm.side-open .adm-side { transform: none; box-shadow: 40px 0 80px rgba(0, 0, 0, 0.6); }
  .adm-burger { display: inline-flex; }
  .adm-bar { grid-template-columns: 100px 1fr 44px; }
}

/* ── reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .noise { animation: none; }
  [data-rv] { opacity: 1; transform: none; }
  .hero h1 .hl > span { transform: none; }
  .hero-sub, .hero-cta, .hero-trust, .hud { opacity: 1; transform: none; }
  main { animation: none; }
}

/* ============================================================
   STOREFRONT SUPPLEMENT
   Additions for the D1-backed storefront: catalog-driven copy
   of arbitrary length, status chips, and the toast tones.
   ============================================================ */

/* Headline sizing. heroTitle is admin-editable, so the display
   scale steps down rather than overflowing the hero. */
.display-xl.is-long  { font-size: clamp(2.2rem, 5.6vw, 4.4rem); line-height: 1.02; }
.display-xl.is-xlong { font-size: clamp(1.9rem, 4.2vw, 3.4rem); line-height: 1.06; text-transform: none; letter-spacing: -0.01em; }

/* A long sentence headline needs the hero to grow with it rather
   than clip under the fixed header. Centring a tall block overflows
   in both directions and hides the top behind the header, so the
   hero is top-aligned with explicit clearance instead. */
.hero {
  min-height: min(100svh, 940px);
  justify-content: flex-start;
  padding-top: calc(var(--hdr-h) + clamp(44px, 9vh, 112px));
  padding-bottom: clamp(40px, 6vw, 88px);
}

/* Status + filter chips */
.chip.sm { font-size: 0.68rem; padding: 4px 10px; }
.chip.on { background: var(--volt); color: #0a0d05; border-color: var(--volt); }
button.chip { cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
button.chip:hover:not(.on) { border-color: var(--volt-30); color: var(--volt); }

/* Toast tones */
.toast.warn .toast-dot { background: #ffc53d; }
.toast.err  .toast-dot { background: var(--danger); }

.icon-btn.sm { width: 30px; height: 30px; }
.icon-btn.sm svg { width: 15px; height: 15px; }

/* Product card foot: price and status sit on one row and wrap
   together on narrow cards. */
.pcard-cta { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pcard-price i { font-style: normal; color: var(--ink-faint); font-size: 0.78em; margin-right: 4px; }

/* Variant picker: the label/price/note stack. Scoped above the
   narrow breakpoint so the existing single-column row layout at
   small widths still wins. */
@media (min-width: 761px) {
  .pd-dur { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; }
}
.pd-dur i { font-style: normal; font-size: 0.72rem; color: var(--ink-faint); }
/* .pd-dur.on is a translucent volt tint, not a filled swatch, so the
   note stays light — dark ink here would be unreadable. */
.pd-dur.on i { color: var(--volt); opacity: 0.75; }

.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 26px 0 8px; }
.pd-actions p { flex-basis: 100%; margin: 0; }

/* Checkout error line */
#coErr { color: var(--danger); margin-top: 12px; }

/* Empty / failure states */
.shop-empty { padding: clamp(40px, 7vw, 80px) 0; text-align: center; }
.shop-empty p { margin-bottom: 14px; }

/* Footer nested game links inherit the column's link styling */
.footer-col #footGames { display: contents; }

/* The filter bar already reads as a section break, so the grid
   below it doesn't need a full section's worth of lead-in. */
.shop-bar + .sec { padding-top: clamp(28px, 4vw, 56px); }

/* Header at phone widths: logo + three controls must fit 375px
   without the burger being pushed off the right edge. */
@media (max-width: 480px) {
  .hdr-in { gap: 10px; padding: 10px 12px; }
  .hdr.scrolled .hdr-in { padding: 7px 10px; }
  .logo { font-size: 0.86rem; gap: 7px; }
  .logo-glyph { width: 22px; height: 22px; }
  .hdr-acts { gap: 6px; }
  .icon-btn, .burger { width: 38px; height: 38px; }

  /* Search, sort and the result count each take a full row rather
     than fighting over one. */
  .shop-meta { flex-wrap: wrap; row-gap: 12px; }
  .shop-search { max-width: none; flex-basis: 100%; }
  .shop-sort { margin-left: 0; flex: 1; }
  .select-wrap { flex: 1; }
  .select-wrap select { width: 100%; }
}

/* ============================================================
   SHELF — art-led product cards and category tiles

   Direction: the chrome is a cold instrument panel; the game key
   art is the only saturated thing on the page. Accent lime is a
   signal (CTA, live state) and cyan carries data and labels, so
   neither is asked to do every job.
   ============================================================ */

.pcard {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg1); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  transition: border-color .35s var(--ease-out), transform .5s var(--ease-out);
}
.pcard:hover { border-color: hsla(var(--h, 200), 70%, 60%, .4); transform: translateY(-4px); }
.pcard:focus-within { border-color: var(--volt); }

.pcard-art {
  position: relative; display: block; aspect-ratio: 16 / 10;
  overflow: hidden; background: var(--bg2);
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.pcard-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 32%;
  filter: saturate(.92) contrast(1.04);
  transform: scale(var(--art-zoom, 1));
  transition: transform .8s var(--ease-out), filter .5s;
}
.pcard:hover .pcard-img {
  transform: scale(calc(var(--art-zoom, 1) * 1.06));
  filter: saturate(1.05) contrast(1.06);
}

/* Two-stop shade: keeps the art readable at the top while giving
   the caption strip underneath enough ground to sit on. */
.pcard-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,14,19,.55) 0%, rgba(10,14,19,0) 34%),
    linear-gradient(0deg, var(--bg1) 2%, rgba(10,14,19,.55) 32%, rgba(10,14,19,0) 62%);
}
.pcard-tech { position: absolute; inset: 0; }
.pcard-tech svg { width: 100%; height: 100%; }

.pcard-tags {
  position: absolute; top: 12px; left: 12px; right: 12px;
  display: flex; gap: 6px; flex-wrap: wrap; align-items: flex-start;
}
.tag {
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .12em;
  text-transform: uppercase; padding: 4px 9px; border-radius: 5px; white-space: nowrap;
}
.tag-cat {
  color: var(--signal); background: rgba(10,14,19,.72);
  border: 1px solid var(--signal-dim); backdrop-filter: blur(6px);
}
.tag-badge { color: #0a0e13; background: var(--volt); font-weight: 700; margin-left: auto; }

.pcard-game {
  position: absolute; left: 14px; bottom: 12px;
  font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); text-shadow: 0 1px 12px rgba(0,0,0,.9);
}

.pcard-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 18px; flex: 1; }
.pcard-body h3 { font-size: 1.02rem; line-height: 1.25; text-wrap: balance; }
.pcard-body h3 a:hover { color: var(--volt); }
.pcard-tagline {
  font-size: .84rem; color: var(--ink-dim); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard-cta {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 6px;
}
.pcard-price {
  font-family: var(--font-mono); font-size: 1.02rem; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.pcard-price i { font-style: normal; color: var(--ink-faint); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; margin-right: 5px; }
.pcard-status { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }

/* Feature variant — one listing given the whole row on the home
   page so the grid is not a flat repeat of equal tiles. */
@media (min-width: 861px) {
  .pcard.is-lead { grid-column: span 2; grid-row: span 2; }
  .pcard.is-lead .pcard-art { aspect-ratio: 16 / 11; }
  .pcard.is-lead .pcard-body { padding: 22px 22px 24px; gap: 10px; }
  .pcard.is-lead .pcard-body h3 { font-size: 1.5rem; }
  .pcard.is-lead .pcard-tagline { font-size: .95rem; -webkit-line-clamp: 4; }
  .pcard.is-lead .pcard-price { font-size: 1.3rem; }
}

/* ── category tiles ─────────────────────────────────────── */
.grid-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }

.ccat {
  position: relative; display: block; overflow: hidden;
  min-height: 250px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--bg1);
  transition: border-color .35s, transform .5s var(--ease-out);
}
.ccat:hover { border-color: var(--signal-dim); transform: translateY(-4px); }
.ccat-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .3; filter: grayscale(.45) contrast(1.1);
  transition: opacity .5s, transform .8s var(--ease-out);
}
.ccat:hover .ccat-img { opacity: .42; transform: scale(1.05); }
.ccat-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,19,.35) 0%, rgba(10,14,19,.88) 62%, var(--bg1) 100%);
}
.ccat-body { position: relative; display: flex; flex-direction: column; gap: 9px; height: 100%; padding: 20px; justify-content: flex-end; min-height: 250px; }
.ccat-count { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--signal); }
.ccat-body h3 { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.01em; }
.ccat-body p { font-size: .86rem; color: var(--ink-dim); line-height: 1.55; }
.ccat-foot { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-top: 4px; }

/* ── filter groups ──────────────────────────────────────── */
.filter-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filter-row + .filter-row { margin-top: 12px; }
.filter-row > .filter-label {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-faint); min-width: 66px;
}

/* Filter groups stack as labelled rows — Type above Game — instead
   of running together into one undifferentiated chip soup. */
.filter-chips { display: block; flex: 1 1 100%; }
.shop-bar-in { align-items: flex-start; }

/* Selected filter is state, not a call to action. Solid lime stays
   reserved for buttons that actually do something; an active chip
   reads in the cyan data voice instead. */
.chip.on,
.chip[aria-pressed="true"] {
  background: var(--signal-08);
  border-color: var(--signal);
  color: var(--signal);
  font-weight: 600;
}
.chip.on:hover { border-color: var(--signal); color: var(--signal); }

/* Page heroes were carrying a full viewport of dead space above the
   content they introduce. Tighten to a proportionate lead-in. */
.phero { padding: calc(var(--hdr-h) + clamp(34px, 5vw, 62px)) 0 clamp(24px, 3vw, 40px); }
.phero .hero-sub { max-width: 58ch; margin-bottom: 0; opacity: 1; transform: none; }
.phero h1 { margin-bottom: 14px; }

/* ============================================================
   HERO — copy left, fanned shelf of covered titles right.
   The hero states what the store is for by showing it, rather
   than filling a viewport with display type.
   ============================================================ */
.hero-in {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.hero-copy { min-width: 0; }
.hero .display-xl { font-size: clamp(2.1rem, 4.4vw, 3.9rem); line-height: 1.03; letter-spacing: -0.015em; text-wrap: balance; }
.hero .display-xl.is-long { font-size: clamp(1.95rem, 3.8vw, 3.3rem); }
.hero .display-xl.is-xlong { font-size: clamp(1.75rem, 3.2vw, 2.8rem); text-transform: none; }
.hero-sub { max-width: 52ch; }

/* Fanned shelf */
.hero-shelf {
  position: relative; display: grid; min-height: 380px;
  grid-template-columns: 1fr; place-items: center;
}
.hero-shelf.is-empty { display: none; }
.hshelf-card {
  position: absolute; width: min(62%, 300px); aspect-ratio: 3 / 4;
  border-radius: 14px; overflow: hidden;
  border: 1px solid hsla(var(--h, 200), 60%, 60%, .3);
  background: var(--bg2);
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .95);
  transform: translateX(calc((var(--i) - 1.5) * 30%)) rotate(calc((var(--i) - 1.5) * 4deg));
  transition: transform .6s var(--ease-out), border-color .4s;
  z-index: calc(4 - var(--i));
}
.hshelf-card img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.hero-shelf:hover .hshelf-card {
  transform: translateX(calc((var(--i) - 1.5) * 38%)) rotate(calc((var(--i) - 1.5) * 6deg));
}
.hshelf-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,19,0) 42%, rgba(10,14,19,.94) 92%);
}
.hshelf-meta {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2;
  display: flex; flex-direction: column; gap: 2px;
}
.hshelf-meta b { font-family: var(--font-display); font-size: .92rem; letter-spacing: -.01em; }
.hshelf-meta i { font-style: normal; font-size: .6rem; letter-spacing: .13em; text-transform: uppercase; color: var(--signal); }

/* Instrument strip: real counts from the catalog, nothing invented.
   width:100% is required — .wrap carries `margin: 0 auto`, which in a
   column flex container overrides stretch and shrinks it to fit. */
.hero-strip {
  position: relative; z-index: 2; width: 100%;
  display: flex; gap: clamp(24px, 5vw, 64px); flex-wrap: wrap;
  padding-top: clamp(22px, 3vw, 34px); margin-top: clamp(20px, 3vw, 36px);
  border-top: 1px solid var(--line);
}
.hstrip-item { display: flex; flex-direction: column; gap: 3px; }
.hstrip-item b {
  font-family: var(--font-mono); font-size: clamp(1.25rem, 2vw, 1.65rem);
  color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1;
}
.hstrip-item i {
  font-style: normal; font-size: .62rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--ink-faint);
}

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 34px; }
  .hero-shelf { min-height: 300px; order: 2; }
  .hshelf-card { width: min(46%, 210px); }
}
@media (max-width: 560px) {
  .hero-shelf { min-height: 250px; }
  .hshelf-card { width: min(52%, 180px); }
  .hero-strip { gap: 22px; }
}

/* Section rhythm: the original spacing stacked ~230px of empty
   ground between every band, which reads as an unfinished page
   rather than breathing room. */
.sec { padding-block: clamp(52px, 6vw, 88px); }
.sec + .sec { padding-top: clamp(38px, 4.5vw, 66px); }

/* Schematic backdrop for categories with no game art behind them. */
.ccat-tech { position: absolute; inset: 0; opacity: .5; }
.ccat-tech svg { width: 100%; height: 100%; object-fit: cover; }
.ccat:hover .ccat-tech { opacity: .68; }

/* The drawer total renders a label and an amount as siblings; without
   a layout they butt together as "Subtotal€4.99". */
.drawer-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.drawer-total b { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--volt); }

/* Thumbnail slots were written when the art was always an inline
   <svg>. They now carry a real <img> for listings that belong to a
   game, which renders at its natural size and blows out the row
   unless it is sized the same way. */
.search-hit-art > *,
.drawer-item-art > *,
.co-item-art > * { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Two payment rails, not three — the grid was sized for a third
   option that no longer exists, leaving the labels cramped. */
.pay-methods { grid-template-columns: 1fr; }

/* `.co-item div { flex: 1 }` outranks `.co-item-art { flex: none }`
   on specificity, so the thumbnail stretched to fill the row.
   Re-assert it with a class-on-class selector rather than renaming
   the element and breaking the sibling that does want to flex. */
.co-item .co-item-art { flex: 0 0 auto; }

/* The global reset strips heading margins; panel headings need their
   own spacing or they sit directly on the first row. */
.co-panel h2, .co-summary h2 { margin-bottom: 18px; }
.co-summary .field { margin-bottom: 6px; }

/* ============================================================
   PRIVACY NOTICE
   Carried over from the previous storefront (cookie-banner.js),
   retokenised for this palette. The old rules referenced
   --bg-1 / --accent / --fg-2, which do not exist here.
   ============================================================ */
.cookie-banner {
  position: fixed; left: 50%; bottom: 20px;
  transform: translate(-50%, 24px);
  width: min(640px, calc(100vw - 32px));
  background: rgba(15, 21, 28, .93);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .6);
  opacity: 0; z-index: 200;
  transition: transform .35s var(--ease-out), opacity .35s;
}
.cookie-banner.in { transform: translate(-50%, 0); opacity: 1; }
.cookie-banner-inner {
  display: grid; grid-template-columns: 1fr auto;
  gap: 14px; align-items: center; padding: 14px 18px;
}
.cookie-banner-icon { display: none; }
.cookie-banner-text { font-size: .8rem; line-height: 1.55; color: var(--ink-dim); }
.cookie-banner-text strong { color: var(--ink); }
.cookie-banner-text a { color: var(--volt); }
.cookie-banner-ok {
  background: var(--volt); color: #0a0e13; border: 0; border-radius: 8px;
  padding: 9px 16px; font-family: var(--font-body); font-size: .8rem; font-weight: 700;
  cursor: pointer; white-space: nowrap; transition: opacity .15s, transform .15s;
}
.cookie-banner-ok:hover { opacity: .9; transform: translateY(-1px); }

@media (max-width: 520px) {
  .cookie-banner-inner { grid-template-columns: 1fr; }
  .cookie-banner-ok { width: 100%; }
}

/* Contact page: channels left, practical guidance right. */
.contact-aside { display: flex; flex-direction: column; gap: 16px; }
.contact-aside .feat-list { margin: 12px 0; }
.contact-aside p + p { margin-top: 10px; }

/* Launch progress — restored from the previous storefront, which read
   the same launchProgress setting out of D1. */
.hero-progress { margin-top: 26px; max-width: 320px; }
.prog-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 7px; }
.prog-head span { font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-faint); }
.prog-head b { font-size: .8rem; color: var(--signal); font-variant-numeric: tabular-nums; }
.prog-track { height: 3px; border-radius: 99px; background: var(--bg3); overflow: hidden; }
.prog-fill {
  display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--signal), var(--volt));
}
.contact-col { display: flex; flex-direction: column; gap: 16px; }
.contact-aside .feat-list { grid-template-columns: 1fr; margin-top: 14px; }

/* ============================================================
   DENSITY
   The catalog is small (8 listings, 4 games). Wide auto-fill
   tracks stretched a handful of cards across the full width and
   read as an unfinished page. Denser tracks and a capped section
   width make a short catalog look deliberate instead.
   ============================================================ */
.grid-products { grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 18px; }
.grid-cats { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.ccat { min-height: 210px; }
.ccat-body { min-height: 210px; padding: 18px; }

/* Two category tiles across 1460px is a lot of tile. Cap the row so
   they stay card-sized until a third category exists. */
.grid-cats:has(> :last-child:nth-child(2)) { max-width: 860px; }

/* Savings badge + per-day figure on the option picker. */
.pd-dur { position: relative; }
.pd-dur .save {
  position: absolute; top: 0; right: 0;
  background: var(--signal); color: #06121a;
  font-family: var(--font-mono); font-size: .58rem; font-weight: 700;
  letter-spacing: .08em; padding: 3px 8px; border-radius: 0 0 0 9px;
}
.pd-dur em {
  font-style: normal; font-size: .62rem; letter-spacing: .06em;
  color: var(--ink-faint); font-variant-numeric: tabular-nums;
}
.pd-dur.on em { color: var(--signal); }

/* Provider byline — several optimizers per game, each from a
   different vendor, so the vendor has to be visible on the card. */
.pcard-provider {
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--signal); margin-bottom: 2px;
}

/* Same sizing trap as the small thumbs: .pd-art was written for an
   inline <svg> and now receives a real <img>, which letterboxed
   inside the 4:3 frame instead of filling it. */
.pd-art > * { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   COMPARISON TABLE
   One game can carry several optimizers from different vendors,
   so the product page ends with a like-for-like comparison
   rather than a row of unrelated cards.
   ============================================================ */
.cmp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg1);
}
.cmp-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp-table th, .cmp-table td { text-align: left; padding: 14px 16px; vertical-align: middle; }
.cmp-table thead th {
  font-family: var(--font-mono); font-size: .62rem; font-weight: 400;
  letter-spacing: .15em; text-transform: uppercase; color: var(--ink-faint);
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
.cmp-table tbody tr { border-bottom: 1px solid var(--line); }
.cmp-table tbody tr:last-child { border-bottom: 0; }
.cmp-table tbody th { font-weight: 600; font-size: .92rem; color: var(--ink); }
.cmp-table tbody th a:hover { color: var(--volt); }
.cmp-table td { font-size: .86rem; color: var(--ink-dim); }
.cmp-table .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--ink); }

/* The row you are already on is context, not a destination. */
.cmp-table tr.is-current { background: var(--signal-08); }
.cmp-table tr.is-current th { color: var(--signal); }
.cmp-you {
  font-family: var(--font-mono); font-size: .56rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--signal);
  border: 1px solid var(--signal-dim); border-radius: 4px;
  padding: 2px 6px; margin-left: 8px; white-space: nowrap;
}
