/* =========================================================================
   fp32.ai — design system
   One stylesheet shared by every page (marketing + docs + console).
   Brand: deep-space void purple + cyan, engineered for a data/AI product.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;450;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* --- surfaces --- */
  --bg-deep: #050409;
  --bg: #08060f;
  --bg-1: #0d0a18;
  --bg-2: #120e22;
  --panel: #0f0b1d;
  --panel-2: #16112a;
  --panel-hover: #1b1533;
  --line: rgba(148, 130, 220, 0.14);
  --line-strong: rgba(148, 130, 220, 0.28);

  /* --- text --- */
  --text: #ece9f6;
  --text-2: #a79fc4;
  --text-3: #6f6790;
  --text-faint: #4b4667;

  /* --- brand accents --- */
  --violet: #8a2be2;
  --violet-1: #b46aff;
  --violet-2: #9d5cff;
  --cyan: #00d4ff;
  --cyan-1: #57e2ff;
  --green: #21e5a1;
  --amber: #ffb020;
  --red: #ff4d6d;

  --grad: linear-gradient(120deg, var(--violet-1) 0%, var(--cyan) 100%);
  --grad-soft: linear-gradient(120deg, rgba(180,106,255,0.16), rgba(0,212,255,0.10));
  --glow-violet: 0 0 40px rgba(138, 43, 226, 0.35);
  --glow-cyan: 0 0 40px rgba(0, 212, 255, 0.28);

  /* --- type --- */
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* --- shape --- */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 28px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 40px 90px -30px rgba(20, 8, 50, 0.9);

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

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 450;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Cosmic backdrop, fixed behind everything */
.backdrop {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 15% -5%, rgba(138, 43, 226, 0.16), transparent 60%),
    radial-gradient(1000px 700px at 100% 0%, rgba(0, 212, 255, 0.10), transparent 55%),
    radial-gradient(900px 900px at 50% 120%, rgba(138, 43, 226, 0.08), transparent 60%),
    var(--bg-deep);
}
.backdrop::after {
  content: ''; position: absolute; inset: 0; opacity: 0.5;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.5), transparent 50%),
    radial-gradient(1px 1px at 70% 60%, rgba(180,106,255,0.5), transparent 50%),
    radial-gradient(1px 1px at 40% 80%, rgba(0,212,255,0.4), transparent 50%),
    radial-gradient(1.5px 1.5px at 85% 20%, rgba(255,255,255,0.4), transparent 50%),
    radial-gradient(1px 1px at 55% 15%, rgba(255,255,255,0.3), transparent 50%);
  background-size: 500px 500px;
}

a { color: inherit; text-decoration: none; }
img, svg, video { max-width: 100%; display: block; }
::selection { background: rgba(138, 43, 226, 0.35); color: #fff; }

/* ------------------------------------------------------------------ layout */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1340px; }
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; }
.hide { display: none !important; }

/* ------------------------------------------------------------------ type */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; }
.h-hero { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.03; }
.h1 { font-size: clamp(2rem, 4vw, 3rem); }
.h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.h3 { font-size: 1.3rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--text-2); line-height: 1.6; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.mono { font-family: var(--font-mono); }
.eyebrow {
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--violet-1);
}
.gradient-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.balance { text-wrap: balance; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  padding: 12px 22px; border-radius: var(--r-sm); border: 1px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap; line-height: 1;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #0a0316; box-shadow: 0 8px 30px -8px rgba(138, 43, 226, 0.6); font-weight: 700; }
.btn-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(0, 212, 255, 0.55); }
.btn-ghost { background: rgba(138, 43, 226, 0.08); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover:not(:disabled) { background: rgba(138, 43, 226, 0.16); border-color: var(--violet-1); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--text-2); }
.btn-outline:hover:not(:disabled) { color: var(--text); border-color: var(--violet-1); }
.btn-danger { background: rgba(255, 77, 109, 0.12); border-color: rgba(255,77,109,0.4); color: #ff8ba0; }
.btn-danger:hover:not(:disabled) { background: rgba(255, 77, 109, 0.2); }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

/* ------------------------------------------------------------------ pills / badges */
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  border: 1px solid var(--line-strong); border-radius: 100px; background: rgba(138, 43, 226, 0.08);
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.05em; color: var(--text-2);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(33,229,161,0.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(33,229,161,0.45); } 50% { box-shadow: 0 0 0 6px rgba(33,229,161,0); } }
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 6px;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; border: 1px solid var(--line);
  background: var(--panel-2); color: var(--text-2);
}
.tag-green { color: var(--green); border-color: rgba(33,229,161,0.3); background: rgba(33,229,161,0.08); }
.tag-violet { color: var(--violet-1); border-color: rgba(180,106,255,0.3); background: rgba(180,106,255,0.08); }
.tag-cyan { color: var(--cyan-1); border-color: rgba(0,212,255,0.3); background: rgba(0,212,255,0.08); }
.tag-amber { color: var(--amber); border-color: rgba(255,176,32,0.3); background: rgba(255,176,32,0.08); }
.tag-red { color: #ff8ba0; border-color: rgba(255,77,109,0.3); background: rgba(255,77,109,0.08); }

/* ------------------------------------------------------------------ cards / panels */
.card {
  background: linear-gradient(180deg, var(--panel), var(--bg-1));
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.card-hover:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: var(--shadow); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.divider { height: 1px; background: var(--line); border: 0; margin: 24px 0; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.feature-icon {
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  border-radius: 12px; background: var(--grad-soft); border: 1px solid var(--line-strong);
  color: var(--violet-1); margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: rgba(6, 4, 12, 0.72); border-bottom: 1px solid var(--line);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand .mark { width: 52px; height: 52px; }
.brand b { font-weight: 700; }
.brand .dot-ai { color: var(--violet-1); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 8px 14px; border-radius: 8px; font-size: 0.92rem; font-weight: 500; color: var(--text-2); transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--text); background: rgba(138,43,226,0.08); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; }
.nav-toggle span + span { margin-top: 4px; }

/* ------------------------------------------------------------------ hero shells */
.hero { padding: 84px 0 72px; position: relative; }
.stat-row { display: flex; gap: 40px; flex-wrap: wrap; }
.stat .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.stat .l { font-size: 0.82rem; color: var(--text-3); font-family: var(--font-mono); letter-spacing: 0.04em; }

/* ------------------------------------------------------------------ usage cards + meters */
.metric { }
.metric .mv { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.1; }
.metric .ml { font-size: 0.7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin-top: 4px; }
.metric .ms { font-size: 0.78rem; color: var(--text-3); margin-top: 2px; font-family: var(--font-mono); }
.usebar { height: 6px; border-radius: 4px; background: var(--line-strong); overflow: hidden; margin-top: 10px; }
.usebar > span { display: block; height: 100%; border-radius: 4px; background: var(--grad); transition: width .4s ease; }
.usebar.warn > span { background: linear-gradient(120deg, #ffb020, #ff6b6b); }
.usebar.crit > span { background: linear-gradient(120deg, #ff6b6b, #ff4d6d); }

/* per-index usage chart (Chart.js) */
.usage-chart {
  width: 100%;
  height: 280px;
  position: relative;
  margin-top: 4px;
  padding: 8px 4px 0;
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(180,106,255,0.04), transparent 55%);
}
.usage-chart canvas { width: 100% !important; height: 100% !important; }
.ur-btn { padding: 5px 12px; }

/* ------------------------------------------------------------------ code blocks */
.code {
  position: relative; background: #0a0813; border: 1px solid var(--line); border-radius: var(--r);
  font-family: var(--font-mono); font-size: 0.85rem; line-height: 1.7; overflow: hidden;
}
.code-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.code-head .fname { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-3); }
.code pre { padding: 16px 18px; overflow-x: auto; margin: 0; }
.code code { font-family: var(--font-mono); color: #cdd6f4; }
.tok-key { color: var(--violet-1); }
.tok-str { color: var(--green); }
.tok-num { color: var(--cyan-1); }
.tok-com { color: var(--text-3); font-style: italic; }
.tok-fn { color: var(--cyan); }
.copy-btn { background: none; border: 1px solid var(--line); color: var(--text-3); border-radius: 6px; padding: 4px 10px; font-family: var(--font-mono); font-size: 0.72rem; cursor: pointer; transition: 0.2s; }
.copy-btn:hover { color: var(--text); border-color: var(--violet-1); }

/* inline code */
code.inline { font-family: var(--font-mono); font-size: 0.85em; background: rgba(138,43,226,0.12); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; color: var(--cyan-1); }

/* ------------------------------------------------------------------ forms */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-2); margin-bottom: 7px; font-family: var(--font-display); }
.field .hint { font-size: 0.78rem; color: var(--text-3); margin-top: 6px; }
.input, .select, .textarea {
  width: 100%; background: #0a0813; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  color: var(--text); font-family: var(--font-body); font-size: 0.95rem; padding: 11px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--violet-1); box-shadow: 0 0 0 3px rgba(138,43,226,0.18); }
.textarea { resize: vertical; min-height: 96px; font-family: var(--font-mono); font-size: 0.86rem; }
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }

/* ------------------------------------------------------------------ table */
.table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.table th { text-align: left; font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); padding: 12px 14px; border-bottom: 1px solid var(--line); font-weight: 600; }
.table td { padding: 13px 14px; border-bottom: 1px solid var(--line); color: var(--text-2); vertical-align: middle; }
.table tr:hover td { background: rgba(138,43,226,0.04); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }

/* ------------------------------------------------------------------ alerts / toast */
.alert { border-radius: var(--r-sm); padding: 12px 16px; font-size: 0.9rem; border: 1px solid var(--line); background: var(--panel-2); }
.alert-error { border-color: rgba(255,77,109,0.4); background: rgba(255,77,109,0.08); color: #ffb3c0; }
.alert-ok { border-color: rgba(33,229,161,0.4); background: rgba(33,229,161,0.08); color: #8ff0cf; }
.alert-info { border-color: var(--line-strong); background: rgba(0,212,255,0.06); color: var(--cyan-1); }
#toast { position: fixed; right: 20px; bottom: 20px; z-index: 3000; display: flex; flex-direction: column; gap: 10px; }
.toast { padding: 12px 18px; border-radius: var(--r-sm); background: var(--panel-2); border: 1px solid var(--line-strong); box-shadow: var(--shadow); font-size: 0.9rem; animation: toastIn 0.25s ease; max-width: 360px; }
.toast.err { border-color: rgba(255,77,109,0.5); }
.toast.ok { border-color: rgba(33,229,161,0.5); }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ------------------------------------------------------------------ misc */
.spinner { width: 18px; height: 18px; border: 2px solid var(--line-strong); border-top-color: var(--violet-1); border-radius: 50%; animation: spin 0.7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--panel) 25%, var(--panel-2) 50%, var(--panel) 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: 6px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty { text-align: center; padding: 56px 24px; color: var(--text-3); }
.empty svg { width: 44px; height: 44px; margin: 0 auto 14px; color: var(--text-faint); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

.kbd { font-family: var(--font-mono); font-size: 0.78rem; background: var(--panel-2); border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 6px; padding: 2px 7px; color: var(--text-2); }

/* shared modal (marketing pages; the console defines its own tuned copy inline) */
.modal-overlay { position: fixed; inset: 0; background: rgba(3,2,7,0.72); backdrop-filter: blur(5px); z-index: 500; display: flex; align-items: center; justify-content: center; padding: 24px; animation: toastIn .2s ease; }
.modal { width: 100%; max-width: 520px; max-height: 88vh; overflow-y: auto; background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 28px; }
.modal h3 { margin-bottom: 6px; }
.modal-x { float: right; background: none; border: none; color: var(--text-3); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.modal-x:hover { color: var(--text); }

/* ------------------------------------------------------------------ footer */
.footer { border-top: 1px solid var(--line); background: rgba(5,4,9,0.7); padding: 56px 0 34px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer h5 { font-family: var(--font-display); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text); margin-bottom: 14px; }
.footer a { display: block; color: var(--text-3); font-size: 0.88rem; padding: 5px 0; transition: color 0.2s; }
.footer a:hover { color: var(--violet-1); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 0.82rem; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 940px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: rgba(6,4,12,0.98); border-bottom: 1px solid var(--line); padding: 12px; gap: 2px;
  }
  .nav-toggle { display: block; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .stat-row { gap: 26px; }
  .hide-sm { display: none !important; }
}

/* =========================================================================
   Games studio extensions (landing + Keepshore + shared legal)
   ========================================================================= */

.game-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), var(--bg-1));
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 100%;
}
.game-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.game-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-2);
}
.game-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.game-card:hover .game-card-media img { transform: scale(1.04); }
.game-card-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,4,9,0.92) 100%);
  pointer-events: none;
}
.game-card-body {
  padding: 22px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.game-card-body h3 {
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}
.game-card-body p {
  color: var(--text-2);
  line-height: 1.65;
  flex: 1;
}
.game-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.game-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

/* Keepshore page media */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.shot-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--r);
  border: 1px solid var(--line);
}
.shot-grid.two { grid-template-columns: repeat(2, 1fr); }
.feature-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  margin: 56px 0;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-row img {
  width: 100%;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.feature-row ul {
  margin: 14px 0 0 18px;
  color: var(--text-2);
}
.feature-row li { margin: 8px 0; line-height: 1.55; }
.feature-row li strong { color: var(--text); }
.hero-keep {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 72px;
  overflow: hidden;
}
.hero-keep-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover;
  background-position: center;
}
.hero-keep-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,4,9,0.35) 0%, rgba(5,4,9,0.55) 40%, rgba(5,4,9,0.96) 100%),
    linear-gradient(90deg, rgba(5,4,9,0.75) 0%, transparent 70%);
}
.hero-keep .container { position: relative; z-index: 1; }
.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  margin: 18px 0;
}
.checklist li {
  list-style: none;
  position: relative;
  padding-left: 22px;
  color: var(--text-2);
  line-height: 1.5;
}
.checklist li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--violet-1);
  font-weight: 700;
}
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }

@media (max-width: 940px) {
  .game-cards { grid-template-columns: 1fr; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; direction: ltr; }
  .shot-grid { grid-template-columns: 1fr 1fr; }
  .checklist { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .shot-grid, .shot-grid.two { grid-template-columns: 1fr; }
}
