/* SlotSimba — Cyberpunk Dark Mode design tokens */

:root {
  --bg-0: #06060a;
  --bg-1: #0b0b14;
  --bg-2: #0f172a;
  --bg-card: rgba(15, 19, 35, 0.6);
  --bg-card-hover: rgba(22, 28, 50, 0.75);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text-0: #ffffff;
  --text-1: #e6e8f0;
  --text-2: #a8adc1;
  --text-3: #6c7088;
  --text-4: #44475a;

  /* Accent palettes — overridden by tweaks */
  --accent-1: #22d3ee;       /* cyan (was neon green) */
  --accent-2: #00ffff;       /* electric cyan */
  --accent-3: #ff4fa3;       /* hot pink */
  --accent-1-soft: rgba(34, 211, 238, 0.12);
  --accent-1-glow: rgba(34, 211, 238, 0.45);
  --accent-2-soft: rgba(0, 255, 255, 0.12);
  --accent-2-glow: rgba(0, 255, 255, 0.45);
  --accent-3-soft: rgba(255, 79, 163, 0.12);
  --accent-3-glow: rgba(255, 79, 163, 0.45);

  /* Background aurora — decoupled from the neon accents so the glow can be
     its own moody palette. Overridden by the Background-mood tweak. */
  --bg-aura-1: #2f2d86;   /* deep indigo */
  --bg-aura-2: #6c3a8e;   /* muted violet */
  --bg-aura-3: #1f5f6e;   /* dark teal */

  --font-display: "Inter", "Avenir", "Helvetica Neue", system-ui, sans-serif;
  --font-body: "Roboto", "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
}

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

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-0);
  margin: 0;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--accent-2); color: #000; }

/* ===== Backdrop ===== */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background:
    radial-gradient(1100px 720px at 50% -25%, color-mix(in oklab, var(--bg-aura-1) 14%, transparent), transparent 60%),
    linear-gradient(180deg, #070710 0%, #0a0a14 45%, #08080f 100%);
}
/* Slow-drifting aurora — flowing curtains of the background palette
   bleeding through the dark. Two motions: a wide drift and a gentle
   breathing pulse, so it never feels static or mechanical. */
.backdrop::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(40% 55% at 16% 26%, color-mix(in oklab, var(--bg-aura-1) 60%, transparent), transparent 68%),
    radial-gradient(48% 42% at 84% 20%, color-mix(in oklab, var(--bg-aura-2) 58%, transparent), transparent 68%),
    radial-gradient(55% 50% at 66% 86%, color-mix(in oklab, var(--bg-aura-3) 52%, transparent), transparent 70%),
    radial-gradient(36% 60% at 40% 64%, color-mix(in oklab, var(--bg-aura-2) 40%, transparent), transparent 72%),
    radial-gradient(30% 70% at 92% 60%, color-mix(in oklab, var(--bg-aura-1) 38%, transparent), transparent 72%);
  filter: blur(55px) saturate(1.05);
  opacity: 0.6;
  animation: aurora-drift 34s ease-in-out infinite alternate,
             aurora-breathe 12s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes aurora-drift {
  0%   { transform: translate3d(-5%, -3%, 0) scale(1.05) rotate(0deg); }
  50%  { transform: translate3d(4%, 4%, 0)   scale(1.16) rotate(6deg); }
  100% { transform: translate3d(3%, -4%, 0)  scale(1.08) rotate(-4deg); }
}
@keyframes aurora-breathe {
  0%, 100% { opacity: 0.78; }
  50%      { opacity: 0.98; }
}
/* Organic film grain — a fine analog texture instead of any grid. */
.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .backdrop::before { animation: none; }
}

/* Reel rails — two thin vertical guides with a glowing dot traveling down. */
/* The only motion left on the page. Pure CSS, virtually free.             */
.rails { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
.rail {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255,255,255,0.05) 15%,
    rgba(255,255,255,0.05) 85%,
    transparent 100%);
}
.rail-l { left: 7%; }
.rail-r { right: 7%; }
@media (max-width: 1024px) {
  .rail-l { left: 3%; } .rail-r { right: 3%; }
}
.rail::before {
  content: "";
  position: absolute;
  left: -2px;
  width: 5px;
  height: 80px;
  border-radius: 999px;
  background: radial-gradient(closest-side, var(--accent-2), color-mix(in oklab, var(--accent-2) 40%, transparent) 50%, transparent 100%);
  filter: blur(3px);
  animation: rail-fall 11s linear infinite;
}
.rail-r::before {
  background: radial-gradient(closest-side, var(--accent-3), color-mix(in oklab, var(--accent-3) 40%, transparent) 50%, transparent 100%);
  animation-duration: 14s;
  animation-delay: -4s;
}
@keyframes rail-fall {
  0%   { top: -10%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}

/* ===== Layout ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 720px) {
  .container { padding: 0 18px; }
}

main { padding-bottom: 96px; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(6, 6, 10, 0.7);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--text-0);
}
.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
  display: grid;
  place-items: center;
  color: #000;
  font-weight: 900;
  box-shadow: 0 0 18px var(--accent-2-glow);
}
.logo-mark-lion {
  /* Minimal mark sits unboxed — the LionMark SVG provides all the color
     and lift, no container chrome. */
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  width: 32px;
  height: 32px;
  border-radius: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.nav-link {
  position: relative;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color .15s ease, background .15s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link:hover { color: var(--text-0); background: rgba(255,255,255,0.04); }
.nav-link.active { color: var(--text-0); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: -1px;
  height: 2px;
  background: var(--accent-1);
  box-shadow: 0 0 10px var(--accent-1-glow);
}
.nav-spacer { flex: 1; }
.nav-cta {
  font-size: 13px;
  color: var(--text-2);
  border: 1px solid var(--border-strong);
  padding: 8px 14px;
  border-radius: 999px;
  background: transparent;
  transition: all .2s ease;
}
.nav-cta:hover {
  color: var(--accent-1);
  border-color: var(--accent-1);
  box-shadow: 0 0 16px var(--accent-1-glow);
}

.dropdown {
  position: relative;
}
/* Invisible bridge — covers the gap between trigger and menu so the */
/* hover state survives the trip down. Sized to match the menu offset. */
.dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
  pointer-events: none;
}
.dropdown:hover::after { pointer-events: auto; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 260px;
  background: rgba(11, 11, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { display: flex; }

/* When user just clicked a menu link, suppress hover-driven dropdowns
   until their cursor moves. Beats the :hover state that otherwise sticks
   to whatever button they clicked. */
.nav.menus-suppressed .dropdown:hover .dropdown-menu,
.nav.menus-suppressed .dropdown:focus-within .dropdown-menu { display: none; }

/* ===== Mega-menu (Slots) ===== */
.dropdown-mega .mega-menu {
  width: 720px;
  max-width: calc(100vw - 32px);
  padding: 0;
  flex-direction: column;
  gap: 0;
}
.mega-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255,255,255,0.02);
}
.mega-all {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-0);
  padding: 8px 10px;
  border-radius: 8px;
  transition: background .15s ease;
}
.mega-all:hover { background: var(--accent-2-soft); color: var(--accent-2); }
.mega-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
}
.mega-all svg { color: var(--accent-2); }
.mega-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.mega-chip {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: all .15s ease;
}
.mega-chip:hover {
  color: var(--accent-1);
  border-color: var(--accent-1);
  box-shadow: 0 0 12px var(--accent-1-glow);
}
.mega-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 6px;
  max-height: 60vh;
  overflow-y: auto;
}
.mega-col {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mega-col-head {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  padding: 6px 4px 8px;
  border-bottom: 1px dashed var(--border);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
}
.mega-col-head:hover { color: var(--accent-3); }
.mega-col-count {
  margin-left: auto;
  font-size: 9.5px;
  color: var(--text-4);
}
.mega-list { display: flex; flex-direction: column; gap: 1px; }
.mega-link {
  padding: 7px 8px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background .12s ease, color .12s ease;
}
.mega-link:hover { background: rgba(255,255,255,0.04); color: var(--accent-2); }

@media (max-width: 980px) {
  .dropdown-mega .mega-menu { width: 540px; }
  .mega-cols { grid-template-columns: repeat(2, 1fr); }
}
.dropdown-item {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--text-1);
  display: flex;
  align-items: center;
  gap: 10px;
}
.dropdown-item:hover { background: rgba(255,255,255,0.05); color: var(--accent-2); }
.dropdown-item .kbd {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-3);
}

.hamburger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-1);
  align-items: center;
  justify-content: center;
}

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: inline-flex; }
}

/* mobile menu */
.mobile-menu {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  /* Use an explicit height instead of `bottom:0`. The nav's backdrop-filter
     makes it the containing block for this fixed element, so `bottom:0`
     would collapse the box to the nav's 68px height and the background
     would paint nothing. */
  height: calc(100dvh - 68px);
  background: #07070e;
  border-top: 1px solid var(--border);
  z-index: 60;
  padding: 20px 24px calc(24px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: fade-in .2s ease both;
}
.mobile-menu .nav-link { font-size: 16px; padding: 14px 16px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-0);
  transition: all .2s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text-1);
}
.btn-ghost:hover {
  border-color: var(--accent-1);
  color: var(--accent-1);
  box-shadow: 0 0 18px var(--accent-1-glow), inset 0 0 18px color-mix(in oklab, var(--accent-1) 10%, transparent);
}
.btn-primary {
  background: var(--accent-2);
  color: #04121a;
  font-weight: 700;
}
.btn-primary:hover {
  box-shadow: 0 0 28px var(--accent-2-glow);
  transform: translateY(-1px);
}
.btn-cyan { border-color: var(--accent-2); color: var(--accent-2); }
.btn-cyan:hover {
  background: var(--accent-2);
  color: #000;
  box-shadow: 0 0 24px var(--accent-2-glow);
}
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-sm { padding: 8px 14px; font-size: 12.5px; }

/* ===== Eyebrow / chip ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  padding: 6px 12px;
  border: 1px solid color-mix(in oklab, var(--accent-2) 35%, transparent);
  border-radius: 999px;
  background: var(--accent-2-soft);
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-2);
}
.chip.green  { color: var(--accent-1); border-color: color-mix(in oklab, var(--accent-1) 35%, transparent); background: var(--accent-1-soft); }
.chip.cyan   { color: var(--accent-2); border-color: color-mix(in oklab, var(--accent-2) 35%, transparent); background: var(--accent-2-soft); }
.chip.pink   { color: var(--accent-3); border-color: color-mix(in oklab, var(--accent-3) 35%, transparent); background: var(--accent-3-soft); }

/* ===== Landing — hero + live widget + scroll cue fit one screen ===== */
.landing {
  min-height: calc(100dvh - 68px);
  display: flex;
  flex-direction: column;
  padding: 40px 0 28px;
}
/* Hero + widget centre in the space above the cue. */
.landing-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
}
/* Scroll cue pinned to the bottom of the landing screen. */
.landing-cue {
  display: flex;
  justify-content: center;
  padding-top: 24px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 0;
  overflow: visible;
}
.hero > .container { width: 100%; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.hero-stats {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 22px;
  max-width: 560px;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 14px 0 16px;
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede {
  font-size: 16px;
  color: var(--text-2);
  max-width: 540px;
  margin: 0 0 24px;
}
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 720px) { .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.hero-stats .stat .num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-0);
  letter-spacing: -0.02em;
}
.hero-stats .stat .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 4px;
}

/* Hero visual — abstract reel display */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(15,19,35,0.9), rgba(8,8,16,0.85));
  border: 1px solid var(--border-strong);
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.5),
    inset 0 0 0 1px rgba(255,255,255,0.02);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: linear-gradient(135deg, var(--accent-2), transparent 35%, transparent 65%, var(--accent-3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.6;
  pointer-events: none;
}
.reel-grid {
  position: absolute;
  inset: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
}
.reel-cell {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 28px;
  color: var(--text-2);
  position: relative;
  overflow: hidden;
}
.reel-cell.hot {
  color: var(--accent-1);
  border-color: color-mix(in oklab, var(--accent-1) 40%, transparent);
  background: var(--accent-1-soft);
  box-shadow: inset 0 0 30px color-mix(in oklab, var(--accent-1) 15%, transparent);
}
.reel-cell.cool {
  color: var(--accent-2);
  border-color: color-mix(in oklab, var(--accent-2) 40%, transparent);
  background: var(--accent-2-soft);
}
.reel-cell.warm {
  color: var(--accent-3);
  border-color: color-mix(in oklab, var(--accent-3) 40%, transparent);
  background: var(--accent-3-soft);
}
.hero-visual .hud {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ===== Live Feed Micro-Reel (vertical scrolling cards) ===== */
/* ===== Live Index — horizontal scrolling ticker strip ===== */
.live-index {
  position: relative;
  padding: 0;
}

/* Scroll-down cue under the landing widget */
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  padding: 8px 4px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.scroll-cue:hover { color: var(--text-1); }
.scroll-cue-chev {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  position: relative;
  flex: 0 0 auto;
  transition: border-color .2s ease, background .2s ease;
}
.scroll-cue-chev::after {
  content: "";
  position: absolute;
  left: 50%; top: 44%;
  width: 7px; height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
  animation: cue-bounce 1.6s ease-in-out infinite;
}
.scroll-cue:hover .scroll-cue-chev {
  border-color: var(--accent-2);
  background: var(--accent-2-soft);
}
@keyframes cue-bounce {
  0%, 100% { transform: translate(-50%, -65%) rotate(45deg); opacity: 0.6; }
  50%      { transform: translate(-50%, -25%) rotate(45deg); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue-chev::after { animation: none; }
}
.live-index-shell {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background:
    radial-gradient(50% 60% at 8% 0%, color-mix(in oklab, var(--accent-2) 16%, transparent), transparent 60%),
    radial-gradient(50% 60% at 92% 100%, color-mix(in oklab, var(--accent-3) 16%, transparent), transparent 60%),
    linear-gradient(180deg, rgba(8,8,16,0.96), rgba(6,6,12,0.96));
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.02);
}
.live-index-shell::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: linear-gradient(120deg, var(--accent-2), transparent 35%, transparent 65%, var(--accent-3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.55;
  pointer-events: none;
}
.feed-header, .feed-footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 9px 14px;
  background: rgba(0,0,0,0.45);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.feed-header .sep { color: var(--text-4); }
.feed-lion {
  display: inline-flex;
  align-items: center;
  margin-right: 2px;
}
.feed-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-1);
  box-shadow: 0 0 10px var(--accent-1);
  animation: blink 1.4s ease-in-out infinite;
}
.feed-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 10px var(--accent-3);
  animation: blink 1s ease-in-out infinite;
}
.feed-ticker {
  color: var(--accent-2);
  animation: fade-in .35s ease both;
}
@keyframes fade-in {
  from { opacity: 0; transform: translateX(-4px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* The horizontally-scrolling card track */
.feed-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.feed-mask {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}
.feed-track {
  display: flex;
  flex-direction: row;
  gap: 12px;
  padding: 6px 4px;
  width: max-content;
  animation: feed-scroll 60s linear infinite;
  will-change: transform;
}
.feed-window:hover .feed-track {
  animation-play-state: paused;
}
@keyframes feed-scroll {
  /* The track contains the list duplicated once, so scrolling exactly half */
  /* the width returns to the visual origin — seamless loop.                */
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.feed-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 184px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(22,24,42,0.9), rgba(10,11,22,0.92));
  border: 1px solid var(--border);
  box-shadow: 0 10px 26px rgba(0,0,0,0.45);
  flex: 0 0 auto;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.feed-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--accent-2) 50%, var(--border-strong));
  box-shadow: 0 20px 42px rgba(0,0,0,0.55);
}
.feed-card.tone-pink:hover { border-color: color-mix(in oklab, var(--accent-3) 50%, var(--border-strong)); }
.feed-card.tone-green:hover { border-color: color-mix(in oklab, var(--accent-1) 50%, var(--border-strong)); }

/* Poster — full-bleed game artwork */
.feed-poster {
  position: relative;
  width: 100%;
  height: 116px;
  overflow: hidden;
  background: linear-gradient(160deg, #1b1230, #07070f);
  display: grid;
  place-items: center;
}
.feed-poster img {
  width: auto;
  height: auto;
  max-width: 82%;
  max-height: 78%;
  object-fit: contain;
  display: block;
  transition: transform .4s ease;
}
.feed-card:hover .feed-poster img { transform: scale(1.06); }
.feed-poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8,8,16,0.85) 100%);
  pointer-events: none;
}
.feed-thumb-ph {
  font-family: var(--font-mono);
  font-size: 34px;
  color: var(--accent-2);
}
.feed-card.tone-pink .feed-thumb-ph { color: var(--accent-3); }
.feed-card.tone-green .feed-thumb-ph { color: var(--accent-1); }

/* Rank badge */
.feed-rank {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-0);
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(6,6,12,0.7);
  border: 1px solid var(--border);
  backdrop-filter: blur(4px);
}
.feed-card.tone-cyan .feed-rank { color: var(--accent-2); }
.feed-card.tone-pink .feed-rank { color: var(--accent-3); }
.feed-card.tone-green .feed-rank { color: var(--accent-1); }

.feed-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 11px 13px 13px;
  min-width: 0;
}
/* Top accent hairline tinted per tone */
.feed-body::before {
  content: "";
  position: absolute;
  top: 0; left: 13px; right: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-2);
  box-shadow: 0 0 8px var(--accent-2);
  opacity: 0.75;
}
.feed-card.tone-pink .feed-body::before { background: var(--accent-3); box-shadow: 0 0 8px var(--accent-3); }
.feed-card.tone-green .feed-body::before { background: var(--accent-1); box-shadow: 0 0 8px var(--accent-1); }

.feed-name {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-0);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feed-stats {
  display: flex;
  align-items: center;
  gap: 8px;
}
.feed-rtp {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--text-2);
}
.feed-vol {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-3);
}
.feed-vol.vol-high   { color: var(--accent-3); border-color: color-mix(in oklab, var(--accent-3) 40%, transparent); }
.feed-vol.vol-medium { color: var(--accent-2); border-color: color-mix(in oklab, var(--accent-2) 40%, transparent); }
.feed-vol.vol-low    { color: var(--accent-1); border-color: color-mix(in oklab, var(--accent-1) 40%, transparent); }

/* ===== Section heading ===== */
.section {
  padding: 72px 0;
  position: relative;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.section-head .sub {
  color: var(--text-3);
  font-size: 14px;
  margin-top: 8px;
  max-width: 460px;
}
.section-head .actions { display: flex; gap: 8px; align-items: center; }

/* ===== Slot card ===== */
.grid-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.density-compact .grid-slots { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.density-spacious .grid-slots { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }

/* Mobile: always show slot cards two-up. Override the auto-fill minmax
   (which would otherwise collapse to a single column) and the density
   variants, and tighten the card internals so two fit per row. */
@media (max-width: 640px) {
  .grid-slots,
  .density-compact .grid-slots,
  .density-spacious .grid-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .slot-card .body { padding: 12px 12px 14px; }
  .slot-card .body h3 { font-size: 15px; }
  .slot-card .provider { font-size: 10px; }
  .slot-card .stat-chips { gap: 6px; }
  .slot-card .stat-chips .chip { font-size: 10.5px; padding: 3px 8px; }
  .slot-card .meta-row { gap: 10px; font-size: 10px; }
  .slot-card .thumb-img { padding: 0; max-width: 72%; max-height: 64%; }
  /* The hover play-overlay isn't reachable on touch — hide it so it never
     covers the tap target. */
  .slot-card .play-overlay { display: none; }
}

.slot-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.slot-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 30px 60px rgba(0,0,0,0.45), 0 0 30px color-mix(in oklab, var(--accent-1) 14%, transparent);
}
.slot-card .thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, color-mix(in oklab, var(--accent-2) 18%, transparent), transparent 60%),
    linear-gradient(160deg, #1a1024, #0a0a14);
}
.slot-card .thumb-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.slot-card .badge-row {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.slot-card .play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.7) 100%);
  opacity: 0;
  transition: opacity .25s ease;
}
.slot-card:hover .play-overlay { opacity: 1; }

/* Official Pragmatic thumbnail (replaces art-frame placeholder when
   slot.gameSymbol resolves to a public CDN image). */
/* Show the official Pragmatic artwork in FULL (no crop). The image is
   contained within the themed reel-gradient backdrop and inset so it reads
   as a framed thumbnail rather than a cropped fill. */
.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 14px;
  background: transparent;
}
/* Grid-card thumbnails: cap the logo to a fraction of the frame so it always
   sits fully inside with generous margin (never fills, never clips). Sized by
   max-dimensions rather than object-fit, so no stale 'cover' rule can affect it. */
.slot-card .thumb-img {
  width: auto;
  height: auto;
  max-width: 70%;
  max-height: 62%;
  padding: 0;
  object-fit: contain;
  transition: transform .4s ease;
}
.slot-card .thumb-art { overflow: hidden; }
.slot-card .thumb-img {
  transition: transform .4s ease;
}
.slot-card:hover .thumb-img { transform: scale(1.04); }
/* Detail-page hero: SlotArt sits inside detail-hero-art which is its own
   rounded card — make sure the image rounds with it. */
.detail-hero-art .thumb-img { border-radius: 16px; }

/* Status flag — NEW / UPCOMING ribbon */
.slot-card .status-flag {
  position: absolute;
  top: 0;
  left: 14px;
  padding: 6px 12px 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  font-weight: 600;
  z-index: 2;
  border-radius: 0 0 6px 6px;
  border: 1px solid var(--border);
  border-top: none;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.slot-card .flag-new {
  color: var(--accent-1);
  border-color: color-mix(in oklab, var(--accent-1) 55%, transparent);
  box-shadow: 0 0 14px color-mix(in oklab, var(--accent-1) 25%, transparent);
}
.slot-card .flag-upcoming {
  color: var(--accent-2);
  border-color: color-mix(in oklab, var(--accent-2) 55%, transparent);
  box-shadow: 0 0 14px color-mix(in oklab, var(--accent-2) 25%, transparent);
}
.slot-card.is-upcoming .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in oklab, var(--accent-2) 8%, transparent), transparent 70%);
  pointer-events: none;
}
.slot-card .body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.slot-card .body h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.slot-card .body .provider {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.slot-card .meta-row {
  margin-top: 10px;
  display: flex;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.06em;
}
.slot-card .stat-chips {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.slot-card .meta-row .v {
  color: var(--text-1);
  font-weight: 600;
}

/* Placeholder art */
.art-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(120% 90% at 50% 8%, color-mix(in oklab, currentColor 22%, transparent), transparent 62%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.035) 0 9px, transparent 9px 18px),
    linear-gradient(160deg, #160f22, #07070f);
  display: grid;
  place-items: center;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  padding: 18px 22px;
}
.art-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid color-mix(in oklab, currentColor 30%, transparent);
  border-radius: 12px;
  pointer-events: none;
}

/* ===== Provider card ===== */
.grid-providers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.provider-card {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all .25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 200px;
}
.provider-card:hover {
  border-color: var(--accent-2);
  box-shadow: 0 0 30px var(--accent-2-glow), 0 30px 60px rgba(0,0,0,0.5);
  transform: translateY(-2px);
}
.provider-mark {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1a1a2e, #0a0a14);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--text-0);
  position: relative;
}
.provider-mark::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-2), transparent 60%);
  z-index: -1;
  filter: blur(8px);
  opacity: 0.4;
}
.provider-card h3 { font-size: 19px; }
.provider-card .meta {
  display: flex;
  gap: 14px;
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.provider-card .meta .v { color: var(--text-1); font-weight: 600; }

/* ===== Filter bar ===== */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 22px;
  align-items: center;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 6px;
}
.filter-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-right: 4px;
}
.filter-pill {
  font-family: var(--font-body);
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--text-2);
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
  flex: 0 0 auto;
}
.filter-pill:hover { color: var(--text-0); border-color: var(--border-strong); }
.filter-pill.active {
  background: var(--accent-1-soft);
  border-color: var(--accent-1);
  color: var(--accent-1);
  box-shadow: 0 0 14px var(--accent-1-glow);
}
.search-input {
  flex: 1;
  min-width: 200px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 14px;
  color: var(--text-0);
  font-family: var(--font-body);
  font-size: 13.5px;
  outline: none;
  transition: border-color .15s ease;
}
.search-input:focus { border-color: var(--accent-2); box-shadow: 0 0 0 3px var(--accent-2-soft); }

/* On narrow screens, stack each filter group: label on its own line above a
   wrapping row of pills, every group full width. */
@media (max-width: 720px) {
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
  }
  .filter-bar > .row { flex: 1 1 auto !important; min-width: 0 !important; }
  .filter-group {
    flex-wrap: wrap;
    gap: 8px;
  }
  .filter-label {
    flex: 1 0 100%;
    margin: 0 0 2px;
  }
  .search-input { min-width: 0; }
}

/* ===== Detail page ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 28px 0 24px;
}
.breadcrumb a:hover { color: var(--accent-2); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .here { color: var(--text-1); }

.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 960px) { .detail-grid { grid-template-columns: 1fr; gap: 32px; } }

.detail-hero-art {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, #1a1024 0%, #0a0a14 60%);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.detail-hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 30% 20%, color-mix(in oklab, var(--accent-2) 30%, transparent), transparent 60%),
    radial-gradient(60% 50% at 80% 80%, color-mix(in oklab, var(--accent-3) 25%, transparent), transparent 60%);
}

.spec-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.spec-cell {
  background: var(--bg-1);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.spec-cell .k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.spec-cell .v {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-0);
  letter-spacing: -0.01em;
}
.spec-cell .v.green { color: var(--accent-1); }
.spec-cell .v.cyan  { color: var(--accent-2); }
.spec-cell .v.pink  { color: var(--accent-3); }

.prose {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
}
.prose h3 {
  color: var(--text-0);
  font-size: 20px;
  margin: 28px 0 12px;
}
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-left: 20px; }
.prose li { margin: 6px 0; }

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0 0;
}
@media (max-width: 540px) { .feature-list { grid-template-columns: 1fr; } }
.feature-list .feat {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
}
.feature-list .feat .tick {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-1-soft);
  color: var(--accent-1);
  display: grid;
  place-items: center;
  font-size: 11px;
  flex-shrink: 0;
}

/* ===== Footer ===== */
.footer {
  margin-top: 80px;
  padding: 56px 0 28px;
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.footer h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 14px;
}
.footer-list { display: flex; flex-direction: column; gap: 8px; }
.footer-list a:hover { color: var(--accent-2); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ===== About / Contact ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.field input, .field textarea {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text-0);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color .15s ease;
  width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px var(--accent-2-soft);
}

/* small helpers */
.divider {
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}
.muted { color: var(--text-3); }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spaced { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* fade-in on route change */
/* NOTE: only animate opacity here. Animating `transform` with
   `animation-fill-mode: both` would leave a non-none transform on
   `.page` after the animation ends — that turns `.page` into a
   containing block for `position: fixed` descendants and breaks
   any modal/overlay rendered inside it (e.g. the demo popup,
   which would then anchor to the page instead of the viewport). */
@keyframes fade-up {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.page { animation: fade-up .35s ease both; }

/* ===== Categories grid ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.cat-card {
  --cat-tone: var(--accent-2);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, color-mix(in oklab, var(--cat-tone) 14%, transparent));
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.cat-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--cat-tone) 50%, transparent);
  box-shadow: 0 24px 50px rgba(0,0,0,0.35), 0 0 18px color-mix(in oklab, var(--cat-tone) 18%, transparent);
}
.cat-card:hover::before { opacity: 1; }
.cat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: color-mix(in oklab, var(--cat-tone) 10%, transparent);
  border: 1px solid color-mix(in oklab, var(--cat-tone) 35%, transparent);
  box-shadow: inset 0 0 14px color-mix(in oklab, var(--cat-tone) 14%, transparent);
}
.cat-body h3 { font-size: 18px; margin-bottom: 6px; }
.cat-body p { color: var(--text-3); font-size: 13.5px; margin: 0; line-height: 1.55; }
.cat-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}
.cat-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cat-tone);
}

/* ===== Comparison table ===== */
.cmp-wrap {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-card);
  overflow: hidden;
}
.cmp-head, .cmp-row {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1.4fr;
  align-items: stretch;
}
.cmp-head {
  background: rgba(0,0,0,0.35);
  border-bottom: 1px solid var(--border);
}
.cmp-col-label {
  padding: 16px 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
}
.cmp-row { border-top: 1px solid var(--border); }
.cmp-row:first-of-type { border-top: 0; }
.cmp-topic {
  padding: 18px 22px;
  font-weight: 600;
  color: var(--text-0);
  font-size: 14px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.015);
}
.cmp-cell {
  padding: 18px 22px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-2);
}
.cmp-cell.cmp-ukgc { color: var(--text-3); background: rgba(255,255,255,0.01); }
.cmp-cell.cmp-off  { color: var(--text-1); }
.cmp-x {
  flex-shrink: 0;
  width: 18px; height: 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  color: var(--text-3);
  font-size: 11px;
}
.cmp-tick {
  flex-shrink: 0;
  width: 18px; height: 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-2-soft);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 0 8px var(--accent-2-glow);
}
.cmp-foot {
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-3);
  background: rgba(0,0,0,0.25);
}
@media (max-width: 720px) {
  .cmp-head, .cmp-row { grid-template-columns: 1fr; }
  .cmp-col-label { display: none; }
  .cmp-col-label:first-child { display: block; }
  .cmp-topic { padding-bottom: 8px; }
  .cmp-cell { padding-top: 8px; }
  .cmp-cell.cmp-ukgc::before { content: "UKGC: "; color: var(--text-3); margin-right: 4px; }
  .cmp-cell.cmp-off::before { content: "Non-GamStop: "; color: var(--accent-2); margin-right: 4px; }
}

/* ===== Volatility grid ===== */
.vol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.vol-card {
  --vol-tone: var(--accent-2);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  cursor: pointer;
  transition: all .2s ease;
}
.vol-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--vol-tone) 50%, transparent);
  box-shadow: 0 24px 50px rgba(0,0,0,0.4), 0 0 18px color-mix(in oklab, var(--vol-tone) 18%, transparent);
}
.vol-card header { display: flex; flex-direction: column; gap: 12px; }
.vol-bars { display: flex; gap: 4px; height: 12px; align-items: flex-end; }
.vol-bar {
  width: 8px;
  border-radius: 2px;
  background: rgba(255,255,255,0.07);
  transition: all .2s ease;
}
.vol-bar:nth-child(1) { height: 30%; }
.vol-bar:nth-child(2) { height: 48%; }
.vol-bar:nth-child(3) { height: 66%; }
.vol-bar:nth-child(4) { height: 84%; }
.vol-bar:nth-child(5) { height: 100%; }
.vol-card h3 { font-size: 22px; margin: 0; }
.vol-card > p { color: var(--text-3); font-size: 14px; line-height: 1.55; margin: 0; }
.vol-examples {
  list-style: none;
  padding: 12px 0 0;
  margin: 0;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vol-examples li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-1);
}
.vol-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.vol-rtp {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-3);
}
.vol-cta {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid color-mix(in oklab, var(--vol-tone) 40%, transparent);
  color: var(--vol-tone);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s ease;
}
.vol-cta:hover {
  background: color-mix(in oklab, var(--vol-tone) 14%, transparent);
  box-shadow: 0 0 14px color-mix(in oklab, var(--vol-tone) 40%, transparent);
}

/* ===== FAQ accordion ===== */
.faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq details {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq details[open] {
  border-color: color-mix(in oklab, var(--accent-2) 40%, transparent);
  box-shadow: 0 0 22px color-mix(in oklab, var(--accent-2) 12%, transparent);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-0);
}
.faq summary::-webkit-details-marker { display: none; }
.faq-q { flex: 1; }
.faq-mark {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-2);
  transition: all .2s ease;
}
.faq details[open] .faq-mark {
  color: var(--accent-2);
  border-color: var(--accent-2);
  background: var(--accent-2-soft);
  box-shadow: 0 0 12px var(--accent-2-glow);
}
.faq-a {
  padding: 0 22px 20px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ===== Slot detail — deep sections ===== */
.slot-deep {
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.slot-deep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 880px) { .slot-deep-grid { grid-template-columns: 1fr; } }
.slot-deep-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}
.slot-deep-card > header { margin-bottom: 20px; }
.slot-deep-card > header h3 {
  font-size: 22px;
  margin-top: 12px;
  letter-spacing: -0.02em;
}

/* Pay structure rows */
.paystruct { display: flex; flex-direction: column; gap: 1px; }
.paystruct-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px dashed var(--border);
  font-size: 13.5px;
}
.paystruct-row:first-child { border-top: 0; padding-top: 0; }
.paystruct-row.off { opacity: 0.55; }
.paystruct-k {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-1);
  font-size: 13.5px;
}
.paystruct-pill {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
}
.paystruct-pill.on {
  background: var(--accent-1-soft);
  color: var(--accent-1);
  box-shadow: 0 0 10px var(--accent-1-glow);
}
.paystruct-pill.off {
  background: rgba(255,255,255,0.04);
  color: var(--text-4);
}
.paystruct-v { color: var(--text-3); line-height: 1.55; }

/* Strategy rows */
.strategy { display: flex; flex-direction: column; gap: 18px; }
.strategy-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--border);
}
.strategy-row:last-child { border-bottom: 0; padding-bottom: 0; }
.strategy-k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.strategy-row p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.6; }
@media (max-width: 540px) {
  .strategy-row { grid-template-columns: 1fr; gap: 4px; }
  .paystruct-row { grid-template-columns: 1fr; gap: 4px; }
}

/* Slot FAQ card */
.slot-faq-card .faq details { background: rgba(255,255,255,0.025); }

/* ===== Provider detail — deep sections ===== */
.prov-stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-card);
}
@media (max-width: 880px) { .prov-stats { grid-template-columns: repeat(2, 1fr); } }
.prov-stat {
  padding: 20px 22px;
  border-right: 1px solid var(--border);
}
.prov-stat:last-child { border-right: 0; }
@media (max-width: 880px) {
  .prov-stat { border-right: 0; border-bottom: 1px solid var(--border); }
  .prov-stat:nth-child(2n) { border-right: 0; }
}
.prov-stat .k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}
.prov-stat .v {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-0);
  letter-spacing: -0.015em;
}
.prov-stat .v.green { color: var(--accent-1); }
.prov-stat .v.cyan  { color: var(--accent-2); }

/* Engines grid */
.engines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.engine-card {
  position: relative;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.engine-card:hover {
  border-color: color-mix(in oklab, var(--accent-2) 50%, transparent);
  box-shadow: 0 0 22px color-mix(in oklab, var(--accent-2) 18%, transparent);
}
.engine-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent-2);
  margin-bottom: 12px;
}
.engine-card h3 { font-size: 17px; margin: 0 0 8px; }
.engine-card p { color: var(--text-3); font-size: 13.5px; line-height: 1.55; margin: 0; }

/* Timeline */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 70px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent-3));
  opacity: 0.4;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 14px 0 26px;
}
.timeline-mark {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.timeline-mark::before {
  content: "";
  position: absolute;
  left: 70px;
  top: 8px;
  width: 11px; height: 11px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
  z-index: 1;
}
.timeline-year {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-2);
}
.timeline-body { padding-top: 2px; }
.timeline-body h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-0);
  margin: 0 0 4px;
}
.timeline-body p {
  color: var(--text-3);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 600px) {
  .timeline::before { left: 50px; }
  .timeline-item { grid-template-columns: 80px 1fr; gap: 14px; }
  .timeline-mark::before { left: 50px; }
}

/* ===== Demo Modal ===== */
.demo-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(2, 2, 6, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 20px;
  animation: demo-fade-in .2s ease;
}
@keyframes demo-fade-in { from { opacity: 0; } to { opacity: 1; } }

.demo-modal {
  width: min(1100px, 96vw);
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(15,19,35,0.96), rgba(8,8,16,0.96));
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0,0,0,0.6),
    0 0 50px color-mix(in oklab, var(--accent-2) 18%, transparent),
    inset 0 0 0 1px rgba(255,255,255,0.03);
  animation: demo-rise .25s ease;
}
.demo-modal.fullscreen {
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  border-radius: 0;
}
@keyframes demo-rise {
  from { transform: translateY(20px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0)    scale(1);     opacity: 1; }
}

.demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(0,0,0,0.45);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.demo-head-l { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.demo-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--accent-2);
}
.demo-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-1);
  box-shadow: 0 0 10px var(--accent-1);
  animation: blink 1.4s ease-in-out infinite;
}
.demo-head h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-0);
  margin: 0;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.demo-icon-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-2);
  font-size: 14px;
  display: grid;
  place-items: center;
  cursor: pointer;
  text-decoration: none;
  transition: all .15s ease;
}
.demo-icon-btn:hover {
  color: var(--accent-2);
  border-color: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2-glow);
}
.demo-close {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 79, 163, 0.1);
  color: var(--accent-3);
  font-size: 14px;
  cursor: pointer;
  transition: all .15s ease;
  display: grid;
  place-items: center;
}
.demo-close:hover {
  background: var(--accent-3);
  color: #000;
  box-shadow: 0 0 14px var(--accent-3-glow);
}

.demo-frame-wrap {
  position: relative;
  flex: 1;
  background: #000;
  min-height: 480px;
  aspect-ratio: 16 / 10;
  max-height: calc(100vh - 220px);
}
.demo-modal.fullscreen .demo-frame-wrap { aspect-ratio: auto; max-height: none; }
.demo-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
@media (max-width: 720px) {
  .demo-frame-wrap { min-height: 300px; aspect-ratio: 4 / 3; }
  .demo-head h3 { font-size: 15px; }
}

.demo-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--text-2);
  background: linear-gradient(180deg, rgba(8,8,16,0.6), rgba(0,0,0,0.85));
}
.demo-loader-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  border-top-color: var(--accent-2);
  animation: demo-spin .8s linear infinite;
  box-shadow: 0 0 20px var(--accent-2-glow);
}
@keyframes demo-spin { to { transform: rotate(360deg); } }
.demo-loader-text {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-1);
}
.demo-loader-sub {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text-3);
  margin-top: 6px;
  max-width: 320px;
}

.demo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 24px;
  text-align: center;
  background: linear-gradient(180deg, rgba(8,8,16,0.85), rgba(0,0,0,0.95));
  z-index: 2;
}
.demo-fallback-mark {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--accent-2-soft);
  border: 1px solid var(--accent-2);
  display: grid;
  place-items: center;
  font-size: 26px;
  color: var(--accent-2);
  box-shadow: 0 0 22px var(--accent-2-glow);
}
.demo-fallback-mark.official {
  background: var(--accent-1-soft);
  border-color: var(--accent-1);
  color: var(--accent-1);
  box-shadow: 0 0 22px var(--accent-1-glow);
}
.demo-official { background: linear-gradient(180deg, rgba(8,8,16,0.4), rgba(0,0,0,0.7)); }
.demo-fallback h4 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-0);
  margin: 0;
  letter-spacing: -0.01em;
}
.demo-fallback p {
  max-width: 460px;
  color: var(--text-3);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.demo-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-4);
  margin-top: 6px;
}

.demo-foot {
  display: flex;
  gap: 24px;
  padding: 12px 20px;
  background: rgba(0,0,0,0.5);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}
.demo-foot > div { display: flex; align-items: center; gap: 6px; }
.demo-foot-k { text-transform: uppercase; color: var(--text-4); }
.demo-foot-v { color: var(--text-1); font-weight: 600; }
.demo-foot-warn {
  margin-left: auto;
  color: var(--accent-3);
  letter-spacing: 0.12em;
}

/* Play demo launcher on slot detail hero */
.demo-launch-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: max-content;
  height: max-content;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--accent-2) 60%, transparent);
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-0);
  cursor: pointer;
  transition: all .2s ease;
  z-index: 3;
  box-shadow: 0 0 30px var(--accent-2-glow), 0 20px 40px rgba(0,0,0,0.4);
}
.demo-launch-btn:hover {
  border-color: var(--accent-2);
  transform: scale(1.04);
  box-shadow: 0 0 40px var(--accent-2-glow), 0 24px 50px rgba(0,0,0,0.5);
}
.demo-launch-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-2);
  color: #000;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 0 18px var(--accent-2);
  padding-left: 3px; /* nudge the triangle to optical center */
}
.demo-launch-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.demo-launch-line1 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.demo-launch-line2 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ===== Upcoming-mode demo card (slot announced, no demo yet) ===== */
.demo-upcoming-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 32px;
  padding: 36px 44px;
  background:
    radial-gradient(circle at 25% 30%, color-mix(in oklab, var(--accent-2) 18%, transparent), transparent 55%),
    radial-gradient(circle at 80% 75%, color-mix(in oklab, var(--accent-1) 14%, transparent), transparent 60%),
    linear-gradient(180deg, rgba(15,19,35,0.96), rgba(8,8,16,0.98));
  overflow: hidden;
}
.demo-upcoming-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  pointer-events: none;
}
.demo-upcoming-art {
  position: relative;
  display: grid;
  place-items: center;
  align-self: center;
  aspect-ratio: 1 / 1;
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
}
.demo-upcoming-glow {
  position: absolute; inset: 12%;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--accent-2) 45%, transparent), transparent 70%);
  filter: blur(22px);
  animation: demo-upcoming-pulse 3.6s ease-in-out infinite;
}
@keyframes demo-upcoming-pulse {
  0%, 100% { transform: scale(0.94); opacity: 0.55; }
  50%      { transform: scale(1.06); opacity: 0.9; }
}
.demo-upcoming-clock {
  position: relative;
  z-index: 2;
  width: 200px; height: 200px;
  border-radius: 50%;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 35%, color-mix(in oklab, var(--accent-2) 18%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(20,24,40,0.85), rgba(8,10,18,0.9));
  border: 1px solid color-mix(in oklab, var(--accent-2) 40%, transparent);
  box-shadow:
    0 0 60px color-mix(in oklab, var(--accent-2) 28%, transparent),
    0 20px 50px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.06);
}
.demo-upcoming-clock-ring {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px dashed color-mix(in oklab, var(--accent-2) 35%, transparent);
  animation: demo-upcoming-spin 22s linear infinite;
}
@keyframes demo-upcoming-spin { to { transform: rotate(360deg); } }
.demo-upcoming-clock-label {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.demo-upcoming-clock-label span {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent-2);
  text-shadow: 0 0 22px color-mix(in oklab, var(--accent-2) 60%, transparent);
  line-height: 1;
}
.demo-upcoming-clock-label em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-2);
}
.demo-upcoming-body {
  position: relative;
  z-index: 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.demo-upcoming-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.demo-upcoming-card h4 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  color: var(--text-0);
}
.demo-upcoming-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0;
  max-width: 56ch;
}
.demo-upcoming-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 6px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(0,0,0,0.35);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-3);
}
.demo-upcoming-meta b {
  color: var(--accent-2);
  font-weight: 600;
  margin-right: 6px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 10px;
}
.demo-upcoming-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.demo-upcoming-card .demo-note {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--text-4);
  line-height: 1.5;
}
@media (max-width: 820px) {
  .demo-upcoming-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 18px;
    overflow-y: auto;
  }
  .demo-upcoming-art { max-width: 200px; }
  .demo-upcoming-clock { width: 150px; height: 150px; }
  .demo-upcoming-clock-label span { font-size: 32px; }
  .demo-upcoming-card h4 { font-size: 22px; }
}

/* Crawlable slot-card title link — looks identical to the heading text */
.slot-card-link { color: inherit; text-decoration: none; }
.slot-card-link:hover { color: var(--accent-2); }
