/* =============================================================
   splatvik — design system  (v6 "Obsidian")
   Monochrome · glassmorphism · soft gradients · premium type
   Brand: pure black & white. No accent hues anywhere.
============================================================= */

/* ---------------------------------------------- tokens ---- */
:root {
  /* surfaces */
  --bg:        #050506;
  --bg-1:      #08080a;
  --bg-2:      #0d0d10;
  --bg-3:      #131317;
  --ink:       #000000;

  /* Glass — lifted so cards actually separate from the page behind them. */
  --glass:     rgba(255, 255, 255, 0.055);
  --glass-2:   rgba(255, 255, 255, 0.085);
  --glass-3:   rgba(255, 255, 255, 0.12);
  --glass-bd:  rgba(255, 255, 255, 0.14);
  --glass-bd2: rgba(255, 255, 255, 0.26);
  --blur:      saturate(140%) blur(20px);
  --blur-lg:   saturate(160%) blur(40px);

  /* Type colours. Everything was a shade of grey before, which read as washed
     out on a black page — headings now reach pure white and the secondary
     tones were each lifted a step. */
  --fg:        #ffffff;
  --fg-2:      #e2e2e8;
  --muted:     #b0b0bc;
  --faint:     #7a7a88;
  --ghost:     #4a4a55;

  --line:      rgba(255, 255, 255, 0.11);
  --line-2:    rgba(255, 255, 255, 0.2);

  /* fonts */
  --disp: "Space Grotesk", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* motion */
  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-2: cubic-bezier(0.22, 0.61, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --pill: 999px;

  /* elevation */
  --sh-1: 0 1px 0 rgba(255,255,255,.05) inset, 0 8px 24px rgba(0,0,0,.4);
  --sh-2: 0 1px 0 rgba(255,255,255,.06) inset, 0 24px 60px rgba(0,0,0,.55);
  --sh-3: 0 1px 0 rgba(255,255,255,.08) inset, 0 48px 120px rgba(0,0,0,.7);
  --glow: 0 0 0 1px rgba(255,255,255,.14), 0 20px 70px rgba(255,255,255,.06);

  --nav-h: 68px;
  --wrap:  1200px;
}

/* ---------------------------------------------- reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}
html, body { min-height: 100%; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv02","cv03","cv04","ss01";
}
a { color: inherit; text-decoration: none; }
img, svg, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
::selection { background: #fff; color: #000; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0a0c; }
::-webkit-scrollbar-thumb { background: #232329; border-radius: 20px; border: 2px solid #0a0a0c; }
::-webkit-scrollbar-thumb:hover { background: #35353d; }
:focus-visible { outline: 2px solid rgba(255,255,255,.7); outline-offset: 3px; border-radius: 6px; }

/* Default size for every inline icon. An SVG with only a viewBox has no
   intrinsic size and will expand to fill its container, so this is the floor
   that stops stray icons blowing up. Component rules override it. */
.ico { width: 16px; height: 16px; flex: none }

/* ---------------------------------------------- layout --- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.wrap-sm { max-width: 820px; }
.wrap-xs { max-width: 560px; }
/* Denser than the original spec — the airy version read as empty rather than
   premium. Sections are tighter and carry more per screen. */
.sec { padding-block: clamp(56px, 6.5vw, 96px); position: relative; }
.sec-sm { padding-block: clamp(40px, 4.5vw, 64px); }

/* ------------------------------------- screenshot sections ---
   A real in-game capture behind a section, pushed far enough back that body
   text stays comfortably readable on top. This is what stops the page feeling
   like an abstract template and starts it feeling like a product. */
.sec-shot { position: relative; isolation: isolate; overflow: hidden }
.sec-shot > .sec-shot-bg { position: absolute; inset: 0; z-index: -1 }
.sec-shot > .sec-shot-bg img,
.sec-shot > .sec-shot-bg svg { width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(.42); transform: scale(1.04) }
.sec-shot > .sec-shot-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(5,5,6,.72) 22%, rgba(5,5,6,.78) 78%, var(--bg) 100%),
    radial-gradient(80% 60% at 50% 50%, rgba(5,5,6,.35), rgba(5,5,6,.85));
}
/* a hairline top and bottom so the band reads as deliberate */
.sec-shot::before, .sec-shot::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}
.sec-shot::before { top: 0 } .sec-shot::after { bottom: 0 }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.gap-2 { gap: 8px } .gap-3 { gap: 12px } .gap-4 { gap: 16px } .gap-6 { gap: 24px }
/* min-width:0 for the same reason as grid items — a flex child otherwise
   refuses to shrink below its content and overflows its row. */
.grow { flex: 1; min-width: 0 }
/* …except a heading, which should keep enough width to stay readable and push
   its siblings onto the next line instead of being squeezed to nothing. */
.row > h1.grow, .row > h2.grow, .row > h3.grow, .row > h4.grow { min-width: 11ch }
.center { text-align: center }
.mx-auto { margin-inline: auto }

/* ---------------------------------------------- ambience - */
.bg-field { position: fixed; inset: 0; z-index: -3; pointer-events: none; overflow: hidden; background:
  radial-gradient(130% 80% at 50% -25%, #1e1e26 0%, #101014 38%, transparent 68%),
  radial-gradient(90% 65% at 100% 105%, #15151c 0%, transparent 58%),
  radial-gradient(75% 55% at 0% 88%, #121218 0%, transparent 55%),
  radial-gradient(60% 40% at 85% 20%, #17171e 0%, transparent 60%),
  var(--bg);
}
/* Slow aurora sweep — monochrome, so it reads as light moving across a dark
   surface rather than colour. */
.bg-field::before {
  content: ""; position: absolute; inset: -25%;
  background:
    conic-gradient(from 210deg at 30% 25%, transparent 0deg, rgba(255,255,255,.055) 55deg, transparent 140deg),
    conic-gradient(from 40deg at 75% 70%, transparent 0deg, rgba(255,255,255,.04) 70deg, transparent 165deg);
  filter: blur(70px);
  animation: aurora 42s var(--ease) infinite alternate;
}
@keyframes aurora {
  0%   { transform: translate3d(0,0,0) rotate(0deg) scale(1) }
  50%  { transform: translate3d(3%,-2%,0) rotate(8deg) scale(1.12) }
  100% { transform: translate3d(-3%,2%,0) rotate(-6deg) scale(1.06) }
}
.bg-field::after { /* film grain */
  content: ""; position: absolute; inset: -50%; opacity: .028; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 6s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) }
  40% { transform: translate(2%,-3%) } 60% { transform: translate(-2%,-2%) } 80% { transform: translate(3%,1%) }
}
/* Orbs live inside .bg-field so they are clipped by it — a fixed-position orb
   hanging off the right edge widens the document on narrow screens. */
.orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(90px);
  background: radial-gradient(circle, rgba(255,255,255,.10), transparent 66%); }
.orb-a { width: 760px; height: 760px; top: -340px; left: 50%; margin-left: -380px; opacity: .8 }
.orb-b { width: 600px; height: 600px; bottom: -280px; right: -180px; opacity: .5; animation: drift 26s var(--ease) infinite alternate }
.orb-c { width: 480px; height: 480px; top: 42%; left: -220px; opacity: .34; animation: drift2 34s var(--ease) infinite alternate }
@keyframes drift  { to { transform: translate(-90px, -60px) scale(1.12) } }
@keyframes drift2 { to { transform: translate(70px, -90px) scale(1.18) } }

/* Real game footage sitting far behind the page. Desaturated and dimmed hard so
   it never competes with text, but present enough that the site reads as a game
   product instead of a blank dark template. */
.bg-figures { position: absolute; inset: 0; opacity: .42 }
.bg-figures img {
  width: 100%; height: 100%; object-fit: cover;
  /* Blurred hard on purpose: unblurred the in-game menu text was legible behind
     the headline and fought it. Out of focus it reads as depth instead of noise. */
  filter: grayscale(1) contrast(1.1) brightness(.32) blur(4px);
  transform: scale(1.06);          /* hides the soft edge the blur leaves */
  /* Weighted to the top-right so the headline column stays clean. */
  mask-image: radial-gradient(105% 80% at 78% 26%, #000 0%, rgba(0,0,0,.45) 42%, transparent 72%);
  -webkit-mask-image: radial-gradient(105% 80% at 78% 26%, #000 0%, rgba(0,0,0,.45) 42%, transparent 72%);
}
@media (max-width: 680px) { .bg-figures { opacity: .26 } }

/* grid: fine dots over a wider line grid, both fading out down the page */
.grid-lines { position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: .9;
  background-image:
    radial-gradient(rgba(255,255,255,.055) 1px, transparent 1.4px),
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 26px 26px, 104px 104px, 104px 104px;
  mask-image: radial-gradient(100% 78% at 50% 0%, #000 0%, rgba(0,0,0,.45) 45%, transparent 80%);
  -webkit-mask-image: radial-gradient(100% 78% at 50% 0%, #000 0%, rgba(0,0,0,.45) 45%, transparent 80%);
}
/* A horizon line low on the first screen — gives the page a floor instead of
   fading into flat black. */
.grid-lines::after {
  content: ""; position: absolute; left: 0; right: 0; top: 86vh; height: 340px;
  background:
    linear-gradient(180deg, transparent, rgba(255,255,255,.05) 1px, transparent 2px),
    radial-gradient(60% 100% at 50% 0%, rgba(255,255,255,.05), transparent 70%);
}

/* ---------------------------------------------- type ----- */
h1, h2, h3, h4, h5 { font-family: var(--disp); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; }
.h-xl { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; letter-spacing: -.04em; }
.h-lg { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.04em; }
.h-md { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.h-sm { font-size: clamp(1.15rem, 2vw, 1.35rem); }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--muted); line-height: 1.75; }
.small { font-size: .875rem }
.tiny { font-size: .78rem }
.mono { font-family: var(--mono); font-size: .82em; letter-spacing: -.02em }
.muted { color: var(--muted) } .faint { color: var(--faint) }
.upper { text-transform: uppercase; letter-spacing: .18em; font-size: .7rem; font-weight: 600 }

/* Gradient wash on display headings. The old ramp bottomed out at #6f6f7c,
   which made the last line of every heading look like it was fading away. */
.grad {
  background: linear-gradient(175deg, #ffffff 10%, #f0f0f4 45%, #b9b9c6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stroke-text {
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.24);
}

/* eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 11px; border-radius: var(--pill);
  background: var(--glass); border: 1px solid var(--glass-bd);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fg-2);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px #fff; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1) } 50% { opacity: .35; transform: scale(.7) } }

.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px) }
.sec-head.center { margin-inline: auto }
.sec-head .h-lg { margin: 18px 0 14px }

/* ---------------------------------------------- glass ---- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  position: relative;
}
.glass::before { /* top sheen */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.07), transparent 42%);
  opacity: .9;
}
.glass-2 { background: var(--glass-2) }
.hairline { border-top: 1px solid var(--line) }

/* ---------------------------------------------- buttons -- */
.btn {
  --bh: 46px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: var(--bh); padding: 0 22px; border-radius: var(--pill);
  font-family: var(--disp); font-size: .93rem; font-weight: 600; letter-spacing: -.01em;
  white-space: nowrap; cursor: pointer; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn:active { transform: scale(.97) }
.btn svg { width: 17px; height: 17px; flex: none }

.btn-primary { background: #fff; color: #000; box-shadow: 0 10px 30px rgba(255,255,255,.14) }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent, rgba(0,0,0,.16), transparent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 46px rgba(255,255,255,.24) }
.btn-primary:hover::after { transform: translateX(120%); transition: transform .8s var(--ease) }

.btn-ghost {
  background: var(--glass); color: var(--fg); border: 1px solid var(--glass-bd);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
}
.btn-ghost:hover { background: var(--glass-3); border-color: var(--glass-bd2); transform: translateY(-2px) }

.btn-outline { border: 1px solid var(--line-2); color: var(--fg) }
.btn-outline:hover { background: #fff; color: #000; border-color: #fff }

.btn-sm { --bh: 38px; padding: 0 16px; font-size: .85rem }
.btn-lg { --bh: 56px; padding: 0 30px; font-size: 1rem }
.btn-block { display: flex; width: 100% }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .42; pointer-events: none }

/* ---------------------------------------------- badges --- */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px; border-radius: var(--pill);
  background: var(--glass-2); border: 1px solid var(--glass-bd);
  font-family: var(--mono); font-size: .7rem; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase; color: var(--fg-2);
}
.badge.solid { background: #fff; color: #000; border-color: #fff; font-weight: 700 }
.badge .dot { width: 6px; height: 6px; border-radius: 50% }

/* status colours are luminance-only, keeping the monochrome brand */
.st { --lum: #fff; }
.st .dot { background: var(--lum); box-shadow: 0 0 10px var(--lum) }
.st-undetected { --lum: #ffffff }
.st-updating   { --lum: #b6b6c0 }
.st-maintenance{ --lum: #8a8a96 }
.st-detected   { --lum: #55555f }
.st-offline    { --lum: #3a3a42 }
.st-detected, .st-offline { color: var(--muted) }
.st .dot.live { animation: pulse 2s var(--ease) infinite }

/* ---------------------------------------------- nav ------ */
.nav {
  position: fixed; inset: 12px 0 auto; z-index: 90;
  display: flex; justify-content: center; pointer-events: none;
  transition: inset .5s var(--ease);
}
.nav-inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 6px;
  width: min(var(--wrap), calc(100% - 32px));
  height: var(--nav-h); padding: 0 10px 0 18px;
  border-radius: var(--pill);
  background: rgba(10,10,13,.55);
  border: 1px solid var(--glass-bd);
  backdrop-filter: var(--blur-lg); -webkit-backdrop-filter: var(--blur-lg);
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 18px 50px rgba(0,0,0,.55);
  transition: background .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.nav.scrolled .nav-inner { background: rgba(8,8,11,.82); border-color: var(--glass-bd2) }
.brand { display: flex; align-items: center; gap: 10px; margin-right: 10px }
.brand img { width: 30px; height: 30px; object-fit: contain }
.brand b { font-family: var(--disp); font-size: 1.12rem; font-weight: 700; letter-spacing: -.04em }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1 }
.nav-links a {
  position: relative; padding: 9px 13px; border-radius: var(--pill);
  font-size: .875rem; font-weight: 500; color: var(--muted);
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav-links a:hover { color: var(--fg); background: var(--glass-2) }
.nav-links a.on { color: var(--fg); background: var(--glass-3) }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: auto }

/* dropdown */
.nav-drop { position: relative }
/* Invisible bridge across the gap between the button and the panel. Without it
   the pointer leaves .nav-drop on the way down and the menu snaps shut. */
.nav-drop::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 16px; display: none }
.nav-drop.open::after { display: block }
.nav-drop > button {
  display: flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: var(--pill);
  font-size: .875rem; font-weight: 500; color: var(--muted); transition: color .3s, background .3s;
}
.nav-drop > button:hover, .nav-drop.open > button { color: var(--fg); background: var(--glass-2) }
.nav-drop > button svg { width: 12px; height: 12px; transition: transform .35s var(--ease) }
.nav-drop.open > button svg { transform: rotate(180deg) }
.drop {
  position: absolute; top: calc(100% + 12px); left: -8px; min-width: 250px; padding: 8px;
  border-radius: var(--r-md); background: rgba(10,10,13,.88); border: 1px solid var(--glass-bd);
  backdrop-filter: var(--blur-lg); -webkit-backdrop-filter: var(--blur-lg);
  box-shadow: var(--sh-2);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: top left;
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s;
}
.nav-drop.open .drop { opacity: 1; visibility: visible; transform: none }
.drop a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--r-xs); transition: background .25s }
.drop a:hover { background: var(--glass-2) }
.drop a strong { font-size: .875rem; font-weight: 600; color: var(--fg) }
.drop a span { font-size: .75rem; color: var(--faint) }

.burger { display: none; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; background: var(--glass-2); border: 1px solid var(--glass-bd) }
.burger span { display: block; width: 16px; height: 1.5px; background: var(--fg); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s }
.burger span + span { margin-top: 4px }
.burger.on span:nth-child(1) { transform: translateY(5.5px) rotate(45deg) }
.burger.on span:nth-child(2) { opacity: 0 }
.burger.on span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg) }

.mobile-menu {
  position: fixed; inset: calc(var(--nav-h) + 24px) 16px auto; z-index: 89;
  padding: 14px; border-radius: var(--r-lg);
  background: rgba(8,8,11,.94); border: 1px solid var(--glass-bd);
  backdrop-filter: var(--blur-lg); -webkit-backdrop-filter: var(--blur-lg);
  box-shadow: var(--sh-3);
  max-height: calc(100vh - var(--nav-h) - 48px); overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .35s var(--ease), transform .4s var(--ease), visibility .35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none }
.mobile-menu a { display: block; padding: 12px 14px; border-radius: var(--r-sm); font-size: .95rem; font-weight: 500; color: var(--fg-2) }
.mobile-menu a:hover { background: var(--glass-2) }
.mobile-menu .grp { padding: 14px 14px 6px; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint) }

/* The full link row plus both buttons needs ~1030px of pill. Below ~1160 it was
   sitting within 20px of the edges — technically fitting, visually strangled.
   Hand over to the burger while there is still air in the bar. */
@media (max-width: 1160px) {
  .nav-links, .nav-cta .desk { display: none }
  .burger { display: flex }
}

/* ---------------------------------------------- hero ----- */
.hero { position: relative; padding-block: clamp(140px, 18vh, 210px) clamp(60px, 8vw, 110px); overflow: hidden }
.hero-grid { display: grid; gap: clamp(40px, 5vw, 64px); grid-template-columns: 1.05fr .95fr; align-items: center }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr } }
.hero h1 { margin: 26px 0 22px }
.hero .lead { max-width: 540px }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--line) }
.hero-meta div strong { display: block; font-family: var(--disp); font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em }
.hero-meta div span { font-size: .78rem; color: var(--faint); letter-spacing: .04em }

.hero-visual { position: relative; perspective: 1400px }
.hero-visual .plate {
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--glass-bd); box-shadow: var(--sh-3);
  transform: rotateY(-9deg) rotateX(4deg) translateZ(0);
  transition: transform 1.2s var(--ease);
  background: linear-gradient(160deg, #101014, #050506);
}
.hero-visual:hover .plate { transform: rotateY(-4deg) rotateX(2deg) scale(1.015) }
/* hero video plate */
.hero-plate { cursor: pointer }
.hero-plate[data-hero-file] { cursor: default }
.hero-plate[data-hero-file] .hero-play { display: none }
.hero-plate .hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  opacity: 0; transition: opacity 1s var(--ease);
  /* zoom slightly so YouTube's letterboxing and title chrome sit outside the frame */
  transform: scale(1.42); transform-origin: center;
  pointer-events: none;
}
.hero-plate.playing .hero-video { opacity: 1 }
/* self-hosted clip — no zoom needed, it has no player chrome to crop away */
.hero-plate .hero-video-el {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1s var(--ease);
}
.hero-plate.playing .hero-video-el { opacity: 1 }
.hero-sound {
  position: absolute; z-index: 4; right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--pill); cursor: pointer;
  background: rgba(8,8,11,.72); border: 1px solid var(--glass-bd); color: var(--fg);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  opacity: 0; transition: opacity .6s var(--ease), background .3s, transform .3s var(--ease);
}
.hero-plate.playing .hero-sound { opacity: 1 }
.hero-sound:hover { background: rgba(255,255,255,.14); transform: translateY(-2px) }
.hero-sound svg { width: 15px; height: 15px }
.hero-plate.playing .shot-media { opacity: 0; transition: opacity 1s var(--ease) }
.hero-plate.playing .hero-play { opacity: 0; transform: scale(.7) }
.hero-plate::after { /* keeps the plate legible over bright frames */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(180deg, rgba(5,5,6,.18), transparent 30%, rgba(5,5,6,.42));
}
.hero-play {
  position: absolute; z-index: 3; inset: 50% auto auto 50%; transform: translate(-50%,-50%);
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.94); color: #000;
  box-shadow: 0 12px 44px rgba(0,0,0,.55), 0 0 0 10px rgba(255,255,255,.08);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.hero-play svg { width: 22px; height: 22px; margin-left: 3px; fill: currentColor }
.hero-plate:hover .hero-play { transform: translate(-50%,-50%) scale(1.08) }
.hero-live {
  position: absolute; z-index: 3; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px; border-radius: var(--pill);
  background: rgba(8,8,11,.72); border: 1px solid var(--glass-bd);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
}
.hero-live .dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; animation: pulse 2s var(--ease) infinite }

.hero-visual .float-card {
  position: absolute; padding: 12px 16px; border-radius: var(--r-md);
  background: rgba(10,10,13,.72); border: 1px solid var(--glass-bd);
  backdrop-filter: var(--blur-lg); -webkit-backdrop-filter: var(--blur-lg);
  box-shadow: var(--sh-2); animation: bob 7s var(--ease) infinite alternate;
}
.float-card.fc1 { top: 8%; right: -6%; animation-delay: -1s }
.float-card.fc2 { bottom: 9%; left: -7%; animation-delay: -3.5s }
@keyframes bob { to { transform: translateY(-16px) } }
@media (max-width: 620px) { .float-card { display: none } }

/* Trust strip — the numbers are the point, so they carry display weight rather
   than sitting as caption text beside an icon. */
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  border: 1px solid var(--glass-bd); border-radius: var(--r-lg); overflow: hidden;
  background: var(--line); box-shadow: var(--sh-2);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur) }
.trust-item { position: relative; padding: clamp(24px, 3vw, 34px) clamp(20px, 2.4vw, 30px);
  background: rgba(10,10,13,.66); transition: background .45s var(--ease) }
.trust-item::after { content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(140% 100% at 50% 0%, rgba(255,255,255,.08), transparent 70%);
  transition: opacity .45s var(--ease) }
.trust-item:hover { background: rgba(255,255,255,.045) }
.trust-item:hover::after { opacity: 1 }
.trust-val { display: block; font-family: var(--disp); font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -.05em; line-height: 1;
  background: linear-gradient(175deg, #fff 10%, #c6c6d0 60%, #83838f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent }
.trust-val i { font-style: normal; font-size: .42em; font-weight: 600; letter-spacing: -.01em; margin-left: 2px }
.trust-label { display: block; margin-top: 12px; font-family: var(--disp);
  font-size: .9rem; font-weight: 600; color: var(--fg); letter-spacing: -.01em }
.trust-sub { display: block; margin-top: 3px; font-size: .74rem; color: var(--faint) }
@media (max-width: 900px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr) }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line) }
}
@media (max-width: 460px) {
  .trust-strip { grid-template-columns: 1fr }
  .trust-item + .trust-item { border-top: 1px solid var(--line) }
}

/* marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent) }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: slide 34s linear infinite }
.marquee:hover .marquee-track { animation-play-state: paused }
@keyframes slide { to { transform: translateX(-50%) } }
.marquee-item { display: flex; align-items: center; gap: 10px; font-family: var(--disp); font-size: 1.02rem; font-weight: 600; color: var(--ghost); letter-spacing: -.02em; transition: color .4s }
.marquee-item:hover { color: var(--fg-2) }

/* ---------------------------------------------- cards ---- */
.grid { display: grid; gap: 22px }
/* Grid items default to min-width:auto, which means a wide <pre> or table
   refuses to shrink and pushes the whole column sideways once a two-column
   layout collapses on mobile. This is the fix for that, everywhere. */
.grid > *, .panel-shell > *, .hero-grid > *, .footer-top > *, .shots > * { min-width: 0 }
.g-2 { grid-template-columns: repeat(2, 1fr) }
.g-3 { grid-template-columns: repeat(3, 1fr) }
.g-4 { grid-template-columns: repeat(4, 1fr) }
@media (max-width: 1000px) { .g-4 { grid-template-columns: repeat(2, 1fr) } .g-3 { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 680px)  { .g-2, .g-3, .g-4 { grid-template-columns: 1fr } }

.card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--glass); border: 1px solid var(--glass-bd);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--sh-1);
  transition: transform .6s var(--ease), border-color .5s var(--ease), box-shadow .6s var(--ease), background .5s var(--ease);
}
.card::after { /* cursor spotlight */
  content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.09), transparent 62%);
  transition: opacity .5s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--glass-bd2); box-shadow: var(--sh-2) }
.card:hover::after { opacity: 1 }
.card-pad { padding: clamp(20px, 2.4vw, 28px) }

/* product card */
.p-card { display: flex; flex-direction: column }
.p-shot { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #0a0a0d; border-bottom: 1px solid var(--line) }
.p-shot img, .p-shot svg { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s }
.p-card:hover .p-shot img, .p-card:hover .p-shot svg { transform: scale(1.06) }
.p-shot .overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(5,5,6,.45) 0%, transparent 32%, transparent 52%, rgba(5,5,6,.92) 100%) }
.p-shot .top-row { position: absolute; z-index: 2; inset: 12px 12px auto; display: flex; justify-content: space-between; gap: 8px }
/* small brand mark in the corner so a raw game capture still reads as ours */
.p-mark { position: absolute; z-index: 2; right: 12px; bottom: 12px; width: 30px; height: 30px;
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(8,8,11,.62); border: 1px solid var(--glass-bd);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  opacity: .85; transition: opacity .5s var(--ease), transform .5s var(--ease) }
.p-mark img { width: 17px; height: 17px; object-fit: contain }
.p-card:hover .p-mark { opacity: 1; transform: scale(1.08) }
.p-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1 }
.p-body h3 { font-size: 1.24rem }
.p-body .tag { font-size: .86rem; color: var(--muted) }
.p-feats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; flex: 1; align-content: flex-start }
.p-feats span { padding: 5px 10px; border-radius: 8px;
  background: linear-gradient(150deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid var(--line); font-size: .7rem; color: var(--fg-2);
  font-family: var(--mono); letter-spacing: -.01em; white-space: nowrap;
  transition: border-color .4s var(--ease), background .4s var(--ease) }
.p-card:hover .p-feats span { border-color: var(--line-2) }
.p-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line) }
.p-meta div { min-width: 0 }
.p-meta dt { font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ghost) }
.p-meta dd { margin-top: 3px; font-size: .78rem; color: var(--fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.p-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line) }
.p-price small { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint) }
.p-price strong { font-family: var(--disp); font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em }
.p-price strong span { font-size: .8rem; font-weight: 500; color: var(--muted) }

/* ---------------------------------------------- bento --- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px }
.bento-card { display: flex; flex-direction: column; overflow: hidden }
.bento-wide { grid-column: span 2 }
.bento-art { position: relative; aspect-ratio: 16/9; overflow: hidden; border-bottom: 1px solid var(--line); background: #0a0a0d }
.bento-wide .bento-art { aspect-ratio: 32/9 }
.bento-art svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease), opacity .6s var(--ease) }
.bento-card:hover .bento-art svg { transform: scale(1.05) }
.bento-art::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5,5,6,.85)) }
.bento-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1 }
.bento-body h3 { font-size: 1.1rem }
.bento-body p { font-size: .9rem; color: var(--muted); line-height: 1.7 }
.bento-ico { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
  border: 1px solid var(--glass-bd); color: #fff }
.bento-ico svg { width: 16px; height: 16px }
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr) }
  .bento-wide { grid-column: span 2 }
  .bento-wide .bento-art { aspect-ratio: 21/9 }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: 1fr }
  .bento-wide { grid-column: span 1 }
  .bento-wide .bento-art { aspect-ratio: 16/9 }
}

/* feature card */
.f-card { padding: 26px; display: flex; flex-direction: column; gap: 12px }
.f-ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(255,255,255,.14), rgba(255,255,255,.03));
  border: 1px solid var(--glass-bd); color: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.4);
}
.f-ico svg { width: 21px; height: 21px }
.f-card h3 { font-size: 1.05rem }
.f-card p { font-size: .9rem; color: var(--muted); line-height: 1.7 }

/* stat */
.stat { padding: 26px 24px; text-align: center }
.stat b { display: block; font-family: var(--disp); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -.045em; line-height: 1 }
.stat span { display: block; margin-top: 8px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint) }

/* review */
.rv { padding: 26px; display: flex; flex-direction: column; gap: 14px; height: 100% }
.rv .stars { display: flex; gap: 3px }
.rv .stars svg { width: 14px; height: 14px; color: #fff }
.rv p { font-size: .93rem; color: var(--fg-2); line-height: 1.75; flex: 1 }
.rv .who { display: flex; align-items: center; gap: 11px; padding-top: 14px; border-top: 1px solid var(--line) }
.rv .av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(150deg, #2a2a32, #101014); border: 1px solid var(--glass-bd); font-family: var(--disp); font-weight: 700; font-size: .85rem }
.rv .who b { font-size: .85rem; display: block } .rv .who span { font-size: .72rem; color: var(--faint) }
.badge.verified { gap: 5px; padding: 4px 9px; font-size: .62rem; background: #fff; color: #000; border-color: #fff; font-weight: 700 }
.badge.verified svg { width: 11px; height: 11px }
/* a review that just arrived over the live stream */
.rv.just-in { animation: reviewIn .8s var(--spring) }
@keyframes reviewIn { from { opacity: 0; transform: translateY(-14px) scale(.96) } }

/* ---------------------------------------- star picker --- */
.star-input { display: flex; align-items: center; gap: 4px }
.star-input .star { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px;
  color: var(--ghost); cursor: pointer; transition: color .25s var(--ease), transform .3s var(--spring), background .25s }
.star-input .star svg { width: 21px; height: 21px }
.star-input .star:hover { background: var(--glass-2); transform: scale(1.12) }
.star-input .star.on { color: #fff }
.star-input .star:focus-visible { outline: 2px solid rgba(255,255,255,.7); outline-offset: 2px }
.star-label { margin-left: 8px; font-family: var(--mono); font-size: .78rem; color: var(--muted) }

/* ---------------------------------------------- table --- */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9rem }
.tbl th { text-align: left; padding: 13px 16px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 600; border-bottom: 1px solid var(--line) }
.tbl td { padding: 15px 16px; border-bottom: 1px solid var(--line); color: var(--fg-2) }
.tbl tr:last-child td { border-bottom: 0 }
.tbl tbody tr { transition: background .3s } .tbl tbody tr:hover { background: var(--glass) }
.tbl-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--glass-bd); background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur) }

/* ---------------------------------------------- accordion */
.acc { border-bottom: 1px solid var(--line) }
.acc:first-child { border-top: 1px solid var(--line) }
.acc > button { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 22px 4px; text-align: left; font-family: var(--disp); font-size: 1.03rem; font-weight: 500; color: var(--fg); transition: color .3s, padding .4s var(--ease) }
.acc > button:hover { color: #fff; padding-left: 10px }
.acc .ic { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: transform .45s var(--ease), background .35s, color .35s }
.acc .ic svg { width: 12px; height: 12px }
.acc.open .ic { transform: rotate(45deg); background: #fff; color: #000; border-color: #fff }
.acc .panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease) }
.acc.open .panel { grid-template-rows: 1fr }
.acc .panel > div { overflow: hidden }
.acc .panel p { padding: 0 4px 24px; color: var(--muted); font-size: .95rem; line-height: 1.8; max-width: 760px }

/* ---------------------------------------------- tabs ---- */
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: var(--pill); background: var(--glass); border: 1px solid var(--glass-bd); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur) }
.tabs button { padding: 9px 18px; border-radius: var(--pill); font-size: .86rem; font-weight: 600; font-family: var(--disp); color: var(--muted); transition: color .3s, background .35s var(--ease) }
.tabs button.on { background: #fff; color: #000 }
.tabs button:not(.on):hover { color: var(--fg); background: var(--glass-2) }

/* filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px }
.chip { padding: 8px 15px; border-radius: var(--pill); background: var(--glass); border: 1px solid var(--glass-bd); font-size: .82rem; font-weight: 500; color: var(--muted); transition: all .35s var(--ease); cursor: pointer }
.chip:hover { color: var(--fg); border-color: var(--glass-bd2) }
.chip.on { background: #fff; color: #000; border-color: #fff; font-weight: 600 }

/* ---------------------------------------------- forms --- */
.field { display: flex; flex-direction: column; gap: 8px }
.field label { font-size: .8rem; font-weight: 600; color: var(--fg-2); letter-spacing: .01em }
.input, .select, .textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.035); border: 1px solid var(--glass-bd);
  color: var(--fg); font-size: .93rem; transition: border-color .3s, background .3s, box-shadow .3s;
}
.input::placeholder, .textarea::placeholder { color: var(--ghost) }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); box-shadow: 0 0 0 4px rgba(255,255,255,.05) }
.textarea { min-height: 130px; resize: vertical; font-family: inherit; line-height: 1.7 }
.select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9aa6' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 15px; padding-right: 40px }
.select option { background: #0d0d10 }
.search { position: relative }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--faint); pointer-events: none }
.search .input { padding-left: 42px }
.note { font-size: .8rem; color: var(--faint) }
.err { font-size: .84rem; color: #fff; padding: 11px 14px; border-radius: var(--r-sm); background: rgba(255,255,255,.07); border: 1px solid var(--glass-bd2) }
.ok  { font-size: .84rem; color: #000; padding: 11px 14px; border-radius: var(--r-sm); background: #fff }

/* ---------------------------------------------- prose --- */
.prose { font-size: 1.02rem; line-height: 1.85; color: var(--fg-2); max-width: 74ch }
.prose > * + * { margin-top: 1.25em }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-top: 2.2em; margin-bottom: .1em; scroll-margin-top: calc(var(--nav-h) + 30px) }
.prose h3 { font-size: clamp(1.16rem, 2vw, 1.35rem); margin-top: 1.9em; scroll-margin-top: calc(var(--nav-h) + 30px) }
.prose h4 { font-size: 1.02rem; margin-top: 1.6em; color: var(--fg) }
.prose p { color: var(--fg-2) }
.prose a { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.32); transition: text-decoration-color .3s }
.prose a:hover { text-decoration-color: #fff }
.prose strong { color: #fff; font-weight: 600 }
.prose ul, .prose ol { padding-left: 1.35em; display: flex; flex-direction: column; gap: .5em }
.prose li { padding-left: .25em }
.prose li::marker { color: var(--faint) }
.prose blockquote { padding: 4px 0 4px 22px; border-left: 2px solid var(--line-2); color: var(--muted); font-style: italic }
.prose code { font-family: var(--mono); font-size: .86em; padding: 3px 7px; border-radius: 6px; background: var(--glass-2); border: 1px solid var(--line); color: #fff }
.prose pre { padding: 20px 22px; border-radius: var(--r-md); background: #08080a; border: 1px solid var(--glass-bd); overflow-x: auto }
.prose pre code { padding: 0; background: none; border: 0; font-size: .84rem; line-height: 1.7; color: var(--fg-2) }
.prose img { border-radius: var(--r-md); border: 1px solid var(--glass-bd) }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.6em 0 }
.prose .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%;
  border: 1px solid var(--line); border-radius: var(--r-sm) }
.prose .table-scroll table { margin: 0; min-width: 420px }
.prose .table-scroll th:first-child, .prose .table-scroll td:first-child { padding-left: 16px }
.prose .table-scroll th:last-child, .prose .table-scroll td:last-child { padding-right: 16px }
.prose .table-scroll tr:last-child td { border-bottom: 0 }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem }
.prose th { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line-2); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--faint) }
.prose td { padding: 11px 14px; border-bottom: 1px solid var(--line) }

.callout { padding: 20px 22px; border-radius: var(--r-md); background: var(--glass); border: 1px solid var(--glass-bd); display: flex; gap: 14px }
.callout svg { width: 19px; height: 19px; flex: none; margin-top: 3px; color: #fff }
.callout p { margin: 0; font-size: .93rem; color: var(--fg-2) }

/* ---------------------------------------------- misc ---- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-size: .8rem; color: var(--faint) }
.breadcrumb a { color: var(--muted); transition: color .3s } .breadcrumb a:hover { color: #fff }
.breadcrumb svg { width: 12px; height: 12px; opacity: .5 }

.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent) }

/* Repeated blocks inside one section — pricing tiers per product, FAQ groups,
   status panels. A display heading needs far more air above it than a plain
   margin gives, otherwise the next group reads as part of the previous one. */
.group + .group {
  margin-top: clamp(52px, 6vw, 88px);
  padding-top: clamp(36px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.kbd { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--glass-2); border: 1px solid var(--line-2); border-bottom-width: 2px; font-family: var(--mono); font-size: .76rem }

.skeleton { position: relative; overflow: hidden; background: var(--glass-2); border-radius: var(--r-sm) }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent); animation: shimmer 1.5s infinite }
@keyframes shimmer { to { transform: translateX(100%) } }

.spinner { width: 17px; height: 17px; border-radius: 50%; border: 2px solid rgba(255,255,255,.22); border-top-color: #fff; animation: spin .7s linear infinite }
@keyframes spin { to { transform: rotate(360deg) } }

.progress { height: 5px; border-radius: 4px; background: var(--glass-2); overflow: hidden }
.progress i { display: block; height: 100%; background: #fff; border-radius: 4px; transition: width .8s var(--ease) }

/* toast */
.toasts { position: fixed; z-index: 200; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 10px; max-width: 340px }
.toast { padding: 13px 17px; border-radius: var(--r-md); background: rgba(10,10,13,.92); border: 1px solid var(--glass-bd2);
  backdrop-filter: var(--blur-lg); -webkit-backdrop-filter: var(--blur-lg); box-shadow: var(--sh-2);
  font-size: .88rem; animation: toastIn .55s var(--spring) }
.toast.out { animation: toastOut .35s var(--ease) forwards }
@keyframes toastIn  { from { opacity: 0; transform: translateY(16px) scale(.95) } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px) } }

/* ---------------------------------------------- reveal -- */
[data-rv] { opacity: 0; transform: translateY(26px); filter: blur(8px);
  transition: opacity .95s var(--ease), transform .95s var(--ease), filter .95s var(--ease) }
[data-rv].in { opacity: 1; transform: none; filter: none }
[data-rv="scale"] { transform: scale(.94) }
[data-rv="left"]  { transform: translateX(-28px) }
[data-rv="right"] { transform: translateX(28px) }
[data-rv="fade"]  { transform: none }

/* page transition */
.page-fade { animation: pageIn .7s var(--ease) }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px) } }
body.leaving { opacity: 0; transition: opacity .22s ease }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important }
  [data-rv] { opacity: 1; transform: none; filter: none }
}

/* ---------------------------------------------- footer -- */
.footer { position: relative; margin-top: 40px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(255,255,255,.02)) }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; padding-block: clamp(52px, 6vw, 76px) }
@media (max-width: 940px) { .footer-top { grid-template-columns: 1fr 1fr } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr } }
.footer h4 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; font-weight: 600 }
.footer nav { display: flex; flex-direction: column; gap: 11px }
.footer nav a { font-size: .88rem; color: var(--muted); transition: color .3s, transform .3s var(--ease); width: fit-content }
.footer nav a:hover { color: #fff; transform: translateX(3px) }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-block: 24px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--faint) }
.socials { display: flex; gap: 8px }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--glass-bd); color: var(--muted); transition: all .4s var(--ease) }
.socials a:hover { background: #fff; color: #000; border-color: #fff; transform: translateY(-3px) }
.socials svg { width: 17px; height: 17px }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); text-align: center;
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
  border: 1px solid var(--glass-bd2); box-shadow: var(--sh-2) }
.cta-band::before { content: ""; position: absolute; width: 620px; height: 620px; top: -70%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 62%); filter: blur(50px); pointer-events: none }
.cta-band > * { position: relative }

/* ---------------------------------------------- panel layout */
.panel-shell { display: grid; grid-template-columns: 262px 1fr; gap: 28px; padding-top: calc(var(--nav-h) + 46px); padding-bottom: 80px; align-items: start }
@media (max-width: 940px) { .panel-shell { grid-template-columns: 1fr } }
.side { position: sticky; top: calc(var(--nav-h) + 26px); padding: 14px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--glass-bd); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur) }
@media (max-width: 940px) { .side { position: static } }
.side a, .side button { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 13px; border-radius: var(--r-sm); font-size: .89rem; font-weight: 500; color: var(--muted); text-align: left; transition: background .3s, color .3s }
.side a:hover, .side button:hover { background: var(--glass-2); color: var(--fg) }
.side a.on { background: #fff; color: #000; font-weight: 600 }
.side svg { width: 16px; height: 16px; flex: none }
.side .grp { padding: 14px 13px 7px; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ghost) }

/* TOC */
.toc { position: sticky; top: calc(var(--nav-h) + 26px); font-size: .85rem }
.toc h5 { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px }
.toc a { display: block; padding: 6px 0 6px 14px; border-left: 1px solid var(--line); color: var(--muted); transition: color .3s, border-color .3s }
.toc a:hover, .toc a.on { color: #fff; border-color: #fff }
.toc a.lvl3 { padding-left: 26px; font-size: .81rem }

/* -------------------------------------- layered media ---
   Generated artwork paints instantly underneath; the real screenshot
   fades in once decoded, so a 4MB PNG never blocks first paint. */
.shot-media { position: absolute; inset: 0; display: block }
.p-shot .shot-media, .game-tile .shot-media, .shot .shot-media { position: absolute; inset: 0 }
/* loading placeholder — a quiet dark panel with a slow sheen */
.shot-ph { position: absolute; inset: 0; overflow: hidden;
  background: linear-gradient(150deg, #14141a, #0a0a0d 60%) }
.shot-ph::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.05), transparent);
  animation: shimmer 2.2s var(--ease) infinite }
.shot-media > .shot-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .7s var(--ease);
}
.shot-media > .shot-img.ready { opacity: 1 }
/* keep the parent's hover-zoom working on whichever layer is on top */
.p-card:hover .shot-media > *, .game-tile:hover .shot-media > *, .shot:hover .shot-media > * { transform: scale(1.06) }
.shot-media > * { transition: transform 1.1s var(--ease), opacity .7s var(--ease) }

/* ---------------------------------------------- gallery */
.shots { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr) }
@media (max-width: 820px) { .shots { grid-template-columns: 1fr 1fr } }
.shot { position: relative; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--glass-bd); background: #0a0a0d; cursor: zoom-in; aspect-ratio: 16/10 }
.shot img, .shot svg { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease) }
.shot:hover img, .shot:hover svg { transform: scale(1.07) }
.shot figcaption { position: absolute; inset: auto 0 0; padding: 26px 16px 14px; background: linear-gradient(transparent, rgba(5,5,6,.92)); font-size: .8rem }
.shot figcaption b { display: block; font-family: var(--disp) } .shot figcaption span { color: var(--faint); font-size: .74rem }

.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 4vw;
  background: rgba(3,3,4,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s }
.lightbox.open { opacity: 1; visibility: visible }
.lightbox > * { max-width: 100%; max-height: 88vh; border-radius: var(--r-md); border: 1px solid var(--glass-bd); transform: scale(.94); transition: transform .5s var(--spring) }
.lightbox.open > * { transform: none }
.lightbox .close { position: fixed; top: 22px; right: 24px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--glass-bd); background: var(--glass-2); display: grid; place-items: center; transform: none }

/* video */
.video-frame { position: relative; aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--glass-bd); background: #08080a; box-shadow: var(--sh-2) }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0 }

/* pricing */
.price-card { display: flex; flex-direction: column; gap: 18px; padding: 30px 28px; height: 100% }
.price-card.featured { background: linear-gradient(165deg, rgba(255,255,255,.11), rgba(255,255,255,.025)); border-color: var(--glass-bd2); box-shadow: var(--glow) }
.price-card .amt { font-family: var(--disp); font-size: 2.7rem; font-weight: 700; letter-spacing: -.045em; line-height: 1 }
.price-card .amt span { font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0 }
.price-card ul { display: flex; flex-direction: column; gap: 11px; flex: 1; list-style: none }
.price-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .89rem; color: var(--fg-2) }
.price-card li svg { width: 15px; height: 15px; flex: none; margin-top: 4px; color: #fff }
.price-card li.off { color: var(--ghost) } .price-card li.off svg { color: var(--ghost) }

/* blog card */
.b-card { display: flex; flex-direction: column; height: 100% }
.b-thumb { aspect-ratio: 16/9; overflow: hidden; background: #0a0a0d; border-bottom: 1px solid var(--line) }
.b-thumb img, .b-thumb svg { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease) }
.b-card:hover .b-thumb img, .b-card:hover .b-thumb svg { transform: scale(1.05) }
.b-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1 }
.b-body h3 { font-size: 1.1rem; line-height: 1.35 }
.b-body p { font-size: .875rem; color: var(--muted); line-height: 1.7; flex: 1 }
.b-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .74rem; color: var(--faint); font-family: var(--mono) }
.b-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--ghost) }

/* timeline (changelog) */
.tl { position: relative; padding-left: 30px }
.tl::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(180deg, var(--line-2), var(--line), transparent) }
.tl-item { position: relative; padding-bottom: 34px }
.tl-item::before { content: ""; position: absolute; left: -29px; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--line-2) }
.tl-item.latest::before { background: #fff; border-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.12) }
.tl-item h4 { font-size: 1.02rem; margin-bottom: 5px }
.tl-item .when { font-family: var(--mono); font-size: .74rem; color: var(--faint); margin-bottom: 9px }
.tl-item ul { padding-left: 18px; display: flex; flex-direction: column; gap: 5px }
.tl-item li { font-size: .89rem; color: var(--muted) }

/* game tile */
.game-tile { position: relative; aspect-ratio: 3/4; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--glass-bd); background: #0a0a0d;
  transition: transform .6s var(--ease), border-color .5s }
.game-tile:hover { transform: translateY(-6px); border-color: var(--glass-bd2) }
.game-tile svg, .game-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease) }
.game-tile:hover svg, .game-tile:hover img { transform: scale(1.07) }
.game-tile .meta { position: absolute; inset: auto 0 0; padding: 40px 16px 16px; background: linear-gradient(transparent, rgba(5,5,6,.94)) }
.game-tile .meta b { font-family: var(--disp); font-size: .98rem; display: block; letter-spacing: -.02em }
.game-tile .meta span { font-size: .72rem; color: var(--faint) }

/* empty state */
.empty { padding: 60px 24px; text-align: center; color: var(--faint) }
.empty svg { width: 34px; height: 34px; margin: 0 auto 14px; opacity: .4 }

/* utility spacing */
.mt-1{margin-top:4px}.mt-2{margin-top:8px}.mt-3{margin-top:12px}.mt-4{margin-top:16px}.mt-5{margin-top:20px}
.mt-6{margin-top:24px}.mt-8{margin-top:32px}.mt-10{margin-top:40px}.mt-12{margin-top:48px}.mt-16{margin-top:64px}
.mb-4{margin-bottom:16px}.mb-6{margin-bottom:24px}.mb-8{margin-bottom:32px}
.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}
.w-full{width:100%}.rel{position:relative}
