/* ==========================================================================
   GOOSE-BOOM-BANG.RU — Mobile-First Crash & Arcade UI System (Belatra Style)
   Palette: Deep Target Indigo (#090817 / #141132), Neon Cyan (#22d3ee),
            Blaze Action Orange (#f97316 -> #ea580c) & Emerald Win (#10b981)
   ========================================================================== */

:root {
  --bg-deep: #090817;
  --bg-surface: #13112e;
  --bg-card: #19163b;
  --bg-elevated: #221e4d;
  --border-subtle: rgba(34, 211, 238, 0.2);
  --border-strong: rgba(168, 85, 247, 0.45);
  --cyan-bright: #22d3ee;
  --cyan-neon: #00f5d4;
  --violet-accent: #8b5cf6;
  --orange-cta: #f97316;
  --orange-cta-dark: #ea580c;
  --emerald-win: #10b981;
  --crimson-crash: #ef4444;
  --gold-star: #fbbf24;
  --text-main: #f8fafc;
  --text-soft: #cbd5e1;
  --text-muted: #94a3b8;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 14px 36px rgba(4, 3, 14, 0.55);
  --max-w: 1220px;
}

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

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

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(circle at 15% 8%, rgba(124, 58, 237, 0.22) 0%, transparent 42%),
    radial-gradient(circle at 85% 14%, rgba(34, 211, 238, 0.16) 0%, transparent 38%);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--cyan-bright);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

a:hover {
  color: var(--cyan-neon);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--cyan-bright);
  color: #090817;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 800;
  z-index: 9999;
}
.skip-link:focus {
  left: 12px;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}

/* Typography & Strict H1-H3 Hierarchy */
h1, h2, h3 {
  color: #ffffff;
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
}

h2 {
  font-size: clamp(1.38rem, 3vw, 2.02rem);
  margin-top: 28px;
}

h3 {
  font-size: clamp(1.12rem, 2.1vw, 1.35rem);
  margin-top: 22px;
  color: #e2e8f0;
}

p {
  margin: 0 0 15px;
  color: var(--text-soft);
}

ul, ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--text-soft);
}

li {
  margin-bottom: 8px;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: rgba(34, 211, 238, 0.13);
  color: var(--cyan-neon);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.9em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.96rem;
  line-height: 1.2;
  padding: 12px 20px;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #ff7a18 0%, #ea580c 55%, #dc2626 100%);
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.42);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.62);
}

.btn-cyan {
  background: linear-gradient(135deg, #00f5d4 0%, #06b6d4 100%);
  color: #071018 !important;
  box-shadow: 0 8px 22px rgba(6, 182, 212, 0.36);
}

.btn-demo {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.35);
}

.btn-shoot {
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 50%, #ef4444 100%);
  color: #090817 !important;
  font-weight: 900;
  animation: pulseShoot 0.85s infinite alternate;
}

@keyframes pulseShoot {
  from { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.65); transform: scale(1); }
  to { box-shadow: 0 0 24px 6px rgba(239, 68, 68, 0.65); transform: scale(1.03); }
}

.btn-outline {
  background: rgba(34, 211, 238, 0.08);
  border-color: rgba(34, 211, 238, 0.35);
  color: #e2e8f0 !important;
}

.btn-outline:hover {
  background: rgba(34, 211, 238, 0.18);
  border-color: var(--cyan-bright);
}

.btn-sm {
  padding: 8px 14px;
  min-height: 38px;
  font-size: 0.86rem;
  border-radius: 10px;
}

.btn-lg {
  padding: 14px 24px;
  min-height: 52px;
  font-size: 1.02rem;
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(9, 8, 23, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 70px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 900;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-size: 1.02rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.brand-text span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan-neon);
}

.main-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 12px;
  border-radius: 10px;
  color: #e2e8f0;
  font-weight: 700;
  font-size: 0.9rem;
}

.nav-link:hover, .nav-link.active {
  background: rgba(34, 211, 238, 0.12);
  color: var(--cyan-neon);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 265px;
  background: #161336;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s ease;
  z-index: 950;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 9px;
  color: #f1f5f9;
  font-size: 0.86rem;
  font-weight: 600;
}

.dropdown-link:hover {
  background: rgba(139, 92, 246, 0.22);
  color: var(--cyan-neon);
}

.dropdown-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 99px;
  background: rgba(34, 211, 238, 0.16);
  color: var(--cyan-neon);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #e2e8f0;
  padding: 8px 12px;
  min-height: 40px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
}

.search-trigger span, .search-trigger kbd {
  display: none;
}

.search-trigger kbd {
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 0.72rem;
  color: var(--cyan-bright);
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid var(--border-strong);
  color: #ffffff;
  font-size: 1.25rem;
  cursor: pointer;
}

@media (min-width: 1040px) {
  .main-nav { display: flex; }
  .mobile-menu-btn { display: none; }
  .search-trigger span, .search-trigger kbd { display: inline; }
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 12px 0 2px;
  font-size: 0.83rem;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--text-muted);
}

.breadcrumbs li + li::before {
  content: "›";
  margin-right: 6px;
  color: var(--cyan-bright);
}

/* Hero Section */
.hero {
  padding: 28px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 920px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
  }
}

.hero-eyebrow {
  display: inline-block;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.13);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--cyan-neon);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.hero-lead {
  font-size: 1.04rem;
  color: #dbeafe;
  margin-bottom: 20px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 600px) {
  .quick-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-pill {
  background: rgba(25, 22, 59, 0.88);
  border: 1px solid var(--border-subtle);
  border-radius: 13px;
  padding: 11px 12px;
  text-align: center;
}

.stat-pill strong {
  display: block;
  font-size: 1.18rem;
  color: var(--cyan-neon);
  font-weight: 900;
}

.stat-pill span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.hero-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.hero-visual-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 0.82rem;
  color: var(--text-soft);
  background: rgba(9, 8, 23, 0.75);
}

/* Sections & Prose Cards */
.section {
  padding: 26px 0;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 20px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan-neon);
  margin-bottom: 6px;
}

.section-sub {
  max-width: 820px;
  margin: 0;
  font-size: 0.96rem;
  color: var(--text-muted);
}

.prose-card {
  background: linear-gradient(180deg, rgba(25, 22, 59, 0.94) 0%, rgba(19, 17, 46, 0.96) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .prose-card {
    padding: 32px 34px;
  }
}

/* Casino Rating Rows */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.filter-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #e2e8f0;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.filter-chip.active, .filter-chip:hover {
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  border-color: transparent;
  color: #ffffff;
}

.casino-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.casino-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 18px 18px;
  box-shadow: var(--shadow-card);
}

.casino-row.top-choice {
  border-color: rgba(0, 245, 212, 0.55);
  background: linear-gradient(135deg, rgba(34, 30, 77, 0.96) 0%, rgba(19, 17, 46, 0.98) 100%);
}

@media (min-width: 900px) {
  .casino-row {
    grid-template-columns: 255px 1fr 220px;
    padding: 24px 22px 20px;
  }
}

.casino-rank {
  position: absolute;
  top: -11px;
  left: 18px;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 3px 11px;
  border-radius: 99px;
  letter-spacing: 0.04em;
}

.casino-brand-col {
  display: flex;
  align-items: center;
  gap: 14px;
}

.casino-logo {
  border-radius: 16px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.casino-name {
  font-size: 1.14rem;
  font-weight: 900;
}

.casino-rating-stars {
  color: var(--gold-star);
  font-weight: 800;
  font-size: 0.9rem;
}

.casino-bonus-headline {
  font-size: 1.02rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.casino-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.tag-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 7px;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #e9d5ff;
}

.tag-badge.green {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.promo-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px dashed var(--cyan-bright);
  color: var(--cyan-neon);
  padding: 7px 13px;
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.promo-copy-btn:hover {
  background: rgba(34, 211, 238, 0.22);
}

.casino-cta-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Interactive GOOSE BOOM BANG Crash Simulator (#gbbDemoApp) */
.crash-cabinet {
  background: linear-gradient(180deg, #111029 0%, #0a091b 100%);
  border: 2px solid rgba(34, 211, 238, 0.42);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
}

.crash-topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.crash-history-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 10px;
  background: rgba(5, 5, 15, 0.82);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
}

.hist-chip {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  white-space: nowrap;
}

.hist-chip.win {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.38);
}

.hist-chip.loss {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.38);
}

.hist-chip.epic {
  background: rgba(251, 191, 36, 0.22);
  color: #fde047;
  border: 1px solid rgba(251, 191, 36, 0.5);
}

.crash-sky-stage {
  position: relative;
  height: 270px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #1d7bf6 0%, #58b8ff 65%, #93ddff 84%, #1d4ed8 85%, #1e3a8a 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.crash-sky-stage.crashed {
  background: linear-gradient(180deg, #7f1d1d 0%, #b91c1c 65%, #ef4444 84%, #450a0a 85%, #1f0505 100%);
}

.crash-sky-stage.bagged {
  background: linear-gradient(180deg, #065f46 0%, #10b981 65%, #6ee7b7 84%, #064e3b 85%, #022c22 100%);
}

.sky-clouds {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  font-size: 2rem;
  opacity: 0.85;
  pointer-events: none;
}

.marsh-reeds {
  position: absolute;
  bottom: 8px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 1.55rem;
  pointer-events: none;
}

.crash-mult-readout {
  position: relative;
  z-index: 4;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 6px 22px rgba(9, 8, 23, 0.55);
  letter-spacing: -0.03em;
  line-height: 1;
}

.crash-sub-badge {
  position: relative;
  z-index: 4;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 99px;
  background: rgba(9, 8, 23, 0.65);
  color: #f8fafc;
  font-size: 0.84rem;
  font-weight: 700;
}

.goose-sprite {
  position: absolute;
  left: 10%;
  bottom: 18%;
  font-size: 2.8rem;
  z-index: 5;
  transition: left 0.12s linear, bottom 0.12s linear, transform 0.2s ease;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.35));
}

.predator-alert {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 6;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(9, 8, 23, 0.78);
  color: #fde047;
  font-size: 0.82rem;
  font-weight: 800;
}

.demo-status-bar {
  margin: 12px 0;
  padding: 11px 14px;
  border-radius: 11px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.28);
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 600;
}

.demo-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.demo-hud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hud-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 12px;
  min-width: 120px;
}

.hud-box span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.hud-box strong {
  font-size: 0.98rem;
  color: var(--cyan-neon);
}

.demo-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.auto-cash-input {
  width: 86px;
  background: #090817;
  border: 1px solid var(--cyan-bright);
  color: #ffffff;
  border-radius: 9px;
  padding: 8px 10px;
  font-weight: 800;
  font-size: 0.9rem;
}

/* Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 18px 0 22px;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
  background: rgba(15, 13, 38, 0.9);
}

th, td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

th {
  background: rgba(124, 58, 237, 0.24);
  color: #ffffff;
  font-weight: 800;
}

tr:hover td {
  background: rgba(34, 211, 238, 0.05);
}

/* Grids: Steps, Features, Media, Slot Cluster, Reviews */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 18px 0 24px;
}

.step-card, .feature-box {
  background: rgba(9, 8, 23, 0.66);
  border: 1px solid var(--border-subtle);
  border-radius: 15px;
  padding: 18px;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  color: #ffffff;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
  margin: 20px 0;
}

.media-figure {
  margin: 0;
  background: rgba(9, 8, 23, 0.72);
  border: 1px solid var(--border-subtle);
  border-radius: 15px;
  overflow: hidden;
}

.media-figure figcaption {
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* TOC */
.toc-box {
  background: rgba(25, 22, 59, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 18px 20px;
}

.toc-title {
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.toc-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px 16px;
  font-size: 0.88rem;
}

/* Cluster Cards */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.slot-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.slot-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #090817;
}

.slot-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slot-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(9, 8, 23, 0.86);
  border: 1px solid var(--cyan-bright);
  color: var(--cyan-neon);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 99px;
}

.slot-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.slot-card-title {
  margin: 0;
  font-size: 1.12rem;
}

.slot-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--cyan-bright);
  font-weight: 700;
}

/* Calculator */
.calc-box {
  margin-top: 24px;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(6, 182, 212, 0.12));
  border: 1px solid var(--border-strong);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
}

@media (min-width: 820px) {
  .calc-grid {
    grid-template-columns: 1fr 1.15fr;
  }
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background: rgba(9, 8, 23, 0.88);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 11px 13px;
  color: #ffffff;
  font-size: 0.95rem;
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.calc-stat {
  background: rgba(9, 8, 23, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.calc-stat strong {
  display: block;
  font-size: 1.15rem;
  color: var(--cyan-neon);
}

.calc-stat span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Reviews & FAQ & E-E-A-T */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 16px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.review-author strong {
  display: block;
  color: #ffffff;
  font-size: 0.96rem;
}

.review-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.verified-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
  white-space: nowrap;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 14px 18px;
}

.faq-question {
  font-weight: 800;
  color: #ffffff;
  cursor: pointer;
  font-size: 1rem;
}

.faq-answer {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.93rem;
}

.eeat-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(25, 22, 59, 0.92);
  border: 1px solid var(--border-strong);
  margin-bottom: 22px;
}

@media (min-width: 640px) {
  .eeat-box {
    flex-direction: row;
    align-items: center;
  }
}

.eeat-avatar {
  border-radius: 18px;
  flex-shrink: 0;
}

.cluster-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cluster-pill {
  padding: 8px 13px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid rgba(139, 92, 246, 0.36);
  color: #f8fafc;
  font-size: 0.85rem;
  font-weight: 700;
}

.cluster-pill:hover {
  background: rgba(34, 211, 238, 0.2);
  border-color: var(--cyan-bright);
}

/* Mobile Drawer & Search Modal */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(4, 3, 14, 0.78);
  z-index: 1100;
  display: none;
  justify-content: flex-end;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer-panel {
  width: min(340px, 88vw);
  height: 100%;
  background: #13112e;
  border-left: 1px solid var(--border-strong);
  padding: 18px;
  overflow-y: auto;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.drawer-close {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  cursor: pointer;
}

.drawer-group-title {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--cyan-neon);
  margin: 14px 0 6px;
}

.drawer-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 10px;
  border-radius: 9px;
  color: #f1f5f9;
  font-size: 0.9rem;
  font-weight: 600;
}

.drawer-link span {
  font-size: 0.74rem;
  color: var(--cyan-bright);
}

.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 3, 14, 0.82);
  backdrop-filter: blur(8px);
  z-index: 1200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 16px 20px;
}

.search-modal.open {
  display: flex;
}

.search-dialog {
  width: 100%;
  max-width: 680px;
  background: #161336;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.search-input-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.search-input-bar input {
  flex: 1;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1rem;
  outline: none;
}

.search-results {
  max-height: 62vh;
  overflow-y: auto;
  padding: 10px;
}

.search-hit {
  display: block;
  padding: 11px 13px;
  border-radius: 11px;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.03);
}

.search-hit:hover {
  background: rgba(34, 211, 238, 0.14);
}

/* Footer */
.site-footer {
  margin-top: 40px;
  padding: 40px 0 26px;
  background: #060511;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 26px;
}

.footer-title {
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 0.96rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 7px;
  font-size: 0.88rem;
}

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 9px;
  border-radius: 7px;
  background: #dc2626;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.78rem;
}


/* Editorial guide pages */
.guide-article { max-width: 100%; }
.guide-meta { color: var(--text-muted); font-size: .84rem; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--border-subtle); }
.guide-article .toc-box { margin: 0 0 26px; }
.guide-article .toc-list { padding-left: 22px; }
.guide-article .guide-content { max-width: 920px; }
.guide-article .guide-content h2 { scroll-margin-top: 92px; padding-top: 8px; }
.guide-article .guide-content h3 { margin-top: 20px; }
.guide-article .table-wrap { overflow-x: auto; margin: 18px 0 24px; }
.guide-article table { width: 100%; border-collapse: collapse; min-width: 560px; }
.guide-article th, .guide-article td { padding: 11px 13px; border: 1px solid var(--border-subtle); text-align: left; vertical-align: top; }
.guide-article th { color: #fff; background: rgba(34, 211, 238, .10); }
.related-guides { margin-top: 34px; padding-top: 8px; border-top: 1px solid var(--border-subtle); }
.related-guides h2 { margin-bottom: 16px; }
.related-guides .feature-box { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.related-guides .feature-box p { margin: 0; }
@media (max-width: 640px) { .guide-article { padding: 20px 16px; } .guide-article .toc-list { display: block; } }
