/* ============================================================
   NordAff – Public Site Design System
   Premium Norwegian casino affiliate — clean, trustworthy, fast.
   ============================================================ */

/* ---- TOKENS ---- */
:root {
  /* Brand palette — deep navy + emerald accent */
  --bg:          #0b0f1a;
  --bg-soft:     #111827;
  --bg-card:     #141c2b;
  --bg-card-alt: #1a2236;
  --border:      rgba(255,255,255,0.08);
  --border-bold: rgba(255,255,255,0.16);

  --text:        #eef2ff;
  --text-sub:    #a8b4cc;
  --text-muted:  #6b7a99;

  /* Accent — emerald green (matches admin --accent) */
  --accent:      #34d399;
  --accent-dark: #059669;
  --accent-soft: rgba(52,211,153,0.12);
  --accent-ink:  #052e16;

  /* Semantic */
  --gold:        #f4cc25;
  --gold-soft:   rgba(244,204,37,0.15);
  --warn:        #fbbf24;
  --danger:      #f87171;
  --info:        #60a5fa;

  /* Radius */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;

  /* Shadows */
  --shadow-card: 0 2px 16px rgba(0,0,0,0.32);
  --shadow-btn:  0 4px 16px rgba(52,211,153,0.28);
  --shadow-top:  0 2px 20px rgba(0,0,0,0.4);

  /* Transitions */
  --ease: cubic-bezier(0.4,0,0.2,1);
  --dur:  0.18s;

  /* Layout */
  --max-w:    1100px;
  --topbar-h: 64px;

  color-scheme: dark;
}

:root.light-mode {
  --bg:          #f4f6fb;
  --bg-soft:     #eaecf5;
  --bg-card:     #ffffff;
  --bg-card-alt: #f7f8fd;
  --border:      rgba(15,23,42,0.09);
  --border-bold: rgba(15,23,42,0.18);
  --text:        #0f172a;
  --text-sub:    #374151;
  --text-muted:  #6b7280;
  --shadow-card: 0 2px 12px rgba(15,23,42,0.08);
  --shadow-top:  0 2px 12px rgba(15,23,42,0.1);
  color-scheme: light;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; cursor: pointer; }
button { border: none; background: none; color: inherit; }
input, select { outline: none; }
ul { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ---- LAYOUT ---- */
.page-wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--topbar-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--dur), background var(--dur);
}
.topbar.scrolled {
  background: rgba(11,15,26,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-top);
}
:root.light-mode .topbar.scrolled {
  background: rgba(244,246,251,0.96);
}
.topbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(52,211,153,0.25);
}
.brand-crown {
  font-size: 18px;
  color: var(--accent);
  line-height: 1;
}
.brand-text strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.brand-text small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* Nav */
.topbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-link {
  padding: 6px 12px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
  transition: color var(--dur), background var(--dur);
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: var(--bg-card-alt); }
.nav-link.active { color: var(--accent); background: var(--accent-soft); }

/* Actions */
.topbar-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  transition: border-color var(--dur), color var(--dur), background var(--dur);
}
.icon-btn:hover { border-color: var(--border-bold); color: var(--text); background: var(--bg-card-alt); }
.icon-btn svg { width: 16px; height: 16px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur), opacity var(--dur);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px 20px;
  transform: translateY(-110%);
  transition: transform 0.25s var(--ease);
  box-shadow: var(--shadow-top);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav-link {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-sub);
  border-bottom: 1px solid var(--border);
  transition: color var(--dur);
}
.mobile-nav-link:last-child { border-bottom: 0; }
.mobile-nav-link:hover { color: var(--accent); }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider-section { position: relative; overflow: hidden; }
.slider-wrap { position: relative; overflow: hidden; }
.slider-track {
  display: flex;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}
.slide {
  position: relative;
  min-width: 100%;
  height: 420px;
  overflow: hidden;
  flex-shrink: 0;
}
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 6s ease;
}
.slide.active .slide-bg { transform: scale(1); }
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,15,26,0.82) 0%, rgba(11,15,26,0.45) 60%, transparent 100%);
}
.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.slide-text { max-width: 520px; }
.slide-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(52,211,153,0.3);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}
.slide-text h2 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 10px;
}
.slide-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
  line-height: 1.5;
}
.slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-md);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--dur), transform var(--dur), box-shadow var(--dur);
  box-shadow: var(--shadow-btn);
}
.slide-cta:hover { background: #2ec98e; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(52,211,153,0.4); }
.slide-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}
.slide-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 20px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  min-width: 100px;
  text-align: center;
}
.slide-stat strong { font-size: 22px; font-weight: 800; color: #fff; line-height: 1; }
.slide-stat span { font-size: 11px; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* Slider controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  transition: background var(--dur);
}
.slider-btn:hover { background: rgba(255,255,255,0.22); }
.slider-btn svg { width: 18px; height: 18px; }
.slider-btn-prev { left: 16px; }
.slider-btn-next { right: 16px; }
.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  padding: 0;
  transition: background var(--dur), width var(--dur);
}
.slider-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sub);
}
.trust-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.trust-item strong { color: var(--text); }
.trust-sep { width: 1px; height: 20px; background: var(--border-bold); flex-shrink: 0; }

/* ============================================================
   HERO HEADLINE
   ============================================================ */
.hero-section { padding: 56px 0 40px; }
.hero-content { max-width: 680px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(52,211,153,0.2);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero-content h1 {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hero-desc {
  font-size: 17px;
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 560px;
}
.hero-cta-row { margin-bottom: 28px; }
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-md);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  transition: background var(--dur), transform var(--dur), box-shadow var(--dur);
}
.hero-cta-btn:hover { background: #2ec98e; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(52,211,153,0.4); }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat strong { font-size: 26px; font-weight: 800; color: var(--text); line-height: 1; }
.hero-stat span { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.hero-stat-sep { width: 1px; height: 36px; background: var(--border-bold); flex-shrink: 0; }

/* ============================================================
   CATEGORY SLIDER
   ============================================================ */
.category-section { padding: 0 0 40px; }
.section-label { margin-bottom: 20px; }
.section-label h2 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.section-label p { font-size: 14px; color: var(--text-muted); }
.cat-slider-wrap { position: relative; display: flex; align-items: center; gap: 8px; }
.cat-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 2px;
  flex: 1;
}
.cat-track::-webkit-scrollbar { display: none; }
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 20px;
  min-width: 120px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color var(--dur), background var(--dur), transform var(--dur);
  cursor: pointer;
}
.cat-card:hover { border-color: var(--border-bold); background: var(--bg-card-alt); transform: translateY(-2px); }
.cat-card.active { border-color: rgba(52,211,153,0.4); background: var(--accent-soft); }
.cat-icon { font-size: 24px; line-height: 1; }
.cat-name { font-size: 13px; font-weight: 600; color: var(--text); text-align: center; white-space: nowrap; }
.cat-sub { font-size: 11px; color: var(--text-muted); text-align: center; white-space: nowrap; }
.cat-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  flex-shrink: 0;
  transition: border-color var(--dur), color var(--dur);
}
.cat-arrow:hover { border-color: var(--border-bold); color: var(--text); }
.cat-arrow svg { width: 16px; height: 16px; }

/* ============================================================
   AD DISCLOSURE BAR
   ============================================================ */
.disclosure-bar {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.disclosure-inner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.disclosure-inner svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--text-muted);
  margin-top: 2px;
}
.disclosure-inner p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
}
.disclosure-inner strong { color: var(--text-sub); }

/* ============================================================
   FILTER SECTION
   ============================================================ */
.filter-section { padding: 24px 0 0; }
.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.filter-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 500;
  transition: border-color var(--dur), background var(--dur), color var(--dur);
  white-space: nowrap;
}
.filter-tab:hover { border-color: var(--border-bold); color: var(--text); }
.filter-tab.active {
  background: var(--accent-soft);
  border-color: rgba(52,211,153,0.35);
  color: var(--accent);
  font-weight: 600;
}
.sort-wrap { flex-shrink: 0; }
.sort-select {
  padding: 7px 32px 7px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-sub);
  font-size: 13px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7a99' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  transition: border-color var(--dur);
}
.sort-select:focus { border-color: var(--accent); outline: none; }

/* ============================================================
   CASINO LIST SECTION
   ============================================================ */
.casino-list-section { padding: 16px 0 48px; }

/* Column header */
.list-header {
  display: grid;
  grid-template-columns: 36px 56px 1fr 2fr 100px 140px;
  gap: 12px;
  align-items: center;
  padding: 8px 16px;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   BONUS CARD — matches admin .bonus-preview spec
   ============================================================ */
.casino-cards { display: flex; flex-direction: column; gap: 10px; }

.bonus-card {
  position: relative;
  display: grid;
  grid-template-columns: 36px 56px 1fr 2fr 100px 140px;
  gap: 12px;
  align-items: center;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--dur), box-shadow var(--dur), transform var(--dur);
  box-shadow: var(--shadow-card);
}
.bonus-card:hover {
  border-color: var(--border-bold);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  transform: translateY(-1px);
}

/* Left accent bar using brand_color */
.bonus-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent-bar, var(--accent));
  border-radius: var(--r-lg) 0 0 var(--r-lg);
}

/* Featured card — rank 1 */
.bonus-card--featured {
  border-color: rgba(52,211,153,0.3);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(52,211,153,0.04) 100%);
}
.bonus-card--featured:hover { border-color: rgba(52,211,153,0.5); }

.bonus-card-featured-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  border-radius: 0 var(--r-lg) 0 var(--r-md);
  letter-spacing: 0.02em;
}

/* Rank number */
.bonus-card-rank {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-muted);
  text-align: center;
  line-height: 1;
}
.bonus-card--featured .bonus-card-rank { color: var(--accent); }

/* Logo tile */
.bonus-card-logo {
  width: 56px;
  height: 56px;
  border-radius: var(--r-sm);
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.bonus-card-logo img { width: 100%; height: 100%; object-fit: contain; }
.bonus-card-initials {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

/* Main info */
.bonus-card-main { min-width: 0; }
.bonus-card-casino {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bonus-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.bonus-tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--bg-card-alt);
  color: var(--text-muted);
  white-space: nowrap;
}
.bonus-tag--anbefalt  { background: var(--accent-soft); border-color: rgba(52,211,153,0.25); color: var(--accent); }
.bonus-tag--eksklusiv { background: rgba(96,165,250,0.12); border-color: rgba(96,165,250,0.25); color: var(--info); }
.bonus-tag--nodeposit { background: rgba(251,191,36,0.12); border-color: rgba(251,191,36,0.25); color: var(--warn); }
.bonus-tag--freespins { background: rgba(167,139,250,0.12); border-color: rgba(167,139,250,0.25); color: #a78bfa; }
.bonus-tag--velkomst  { background: rgba(248,113,113,0.10); border-color: rgba(248,113,113,0.25); color: var(--danger); }
.bonus-tag--default   { background: var(--bg-card-alt); border-color: var(--border); color: var(--text-muted); }

/* Bonus headline */
.bonus-card-headline {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 6px;
}

/* Term chips */
.bonus-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.term-chip {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
  white-space: nowrap;
}
.term-chip--code {
  background: var(--accent-soft);
  border-color: rgba(52,211,153,0.25);
  color: var(--accent);
  font-family: ui-monospace, "Cascadia Code", "Fira Code", monospace;
  letter-spacing: 0.03em;
}

/* Rating block */
.bonus-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.bonus-rating-block { text-align: right; }
.bonus-rating-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.bonus-stars {
  display: flex;
  gap: 1px;
  justify-content: flex-end;
  margin: 4px 0 2px;
}
.bonus-star        { font-size: 13px; color: var(--gold); }
.bonus-star--half  { font-size: 13px; color: var(--gold); opacity: 0.6; }
.bonus-star--empty { font-size: 13px; color: var(--text-muted); opacity: 0.4; }
.bonus-reviews { font-size: 11px; color: var(--text-muted); }

/* CTA button */
.bonus-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  transition: background var(--dur), transform var(--dur), box-shadow var(--dur);
  box-shadow: 0 2px 10px rgba(52,211,153,0.25);
}
.bonus-cta:hover { background: #2ec98e; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(52,211,153,0.35); }
.bonus-cta--disabled {
  background: var(--bg-card-alt);
  color: var(--text-muted);
  cursor: not-allowed;
  border: 1px solid var(--border);
  box-shadow: none;
}
.bonus-cta--disabled:hover { transform: none; box-shadow: none; }

/* ============================================================
   LOADING STATE & SKELETON
   ============================================================ */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 14px;
}
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border-bold);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Skeleton cards */
.bonus-card-skeleton {
  display: grid;
  grid-template-columns: 36px 56px 1fr 2fr 100px 140px;
  gap: 12px;
  align-items: center;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.skel {
  background: linear-gradient(90deg, var(--bg-card-alt) 25%, var(--bg-soft) 50%, var(--bg-card-alt) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--r-xs);
}
@keyframes shimmer { to { background-position: -200% 0; } }
.skel-rank   { width: 28px; height: 28px; border-radius: 50%; }
.skel-logo   { width: 56px; height: 56px; border-radius: var(--r-sm); }
.skel-main   { display: flex; flex-direction: column; gap: 8px; }
.skel-right  { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.skel-line   { height: 14px; border-radius: var(--r-xs); }
.skel-w50    { width: 50%; }
.skel-w80    { width: 80%; }
.skel-w40    { width: 40%; }
.skel-rating { width: 60px; height: 32px; border-radius: var(--r-sm); }
.skel-btn    { width: 120px; height: 38px; border-radius: var(--r-sm); }

/* ============================================================
   NO RESULTS
   ============================================================ */
.no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 60px 20px;
  text-align: center;
  color: var(--text-muted);
}
.no-results svg { width: 40px; height: 40px; opacity: 0.3; }
.no-results p { font-size: 15px; }
.reset-btn {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-bold);
  background: var(--bg-card);
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 500;
  transition: border-color var(--dur), color var(--dur);
}
.reset-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   LOAD MORE
   ============================================================ */
.load-more-wrap { display: flex; justify-content: center; padding: 28px 0 0; }
.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-bold);
  background: var(--bg-card);
  color: var(--text-sub);
  font-size: 14px;
  font-weight: 600;
  transition: border-color var(--dur), color var(--dur), background var(--dur);
}
.load-more-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.load-more-btn svg { width: 16px; height: 16px; }

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section { padding: 56px 0; background: var(--bg-soft); }
.stats-header { text-align: center; margin-bottom: 36px; }
.stats-header h2 { font-size: 26px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.stats-header p { font-size: 15px; color: var(--text-muted); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  text-align: center;
  transition: border-color var(--dur), transform var(--dur);
}
.stat-card:hover { border-color: var(--border-bold); transform: translateY(-2px); }
.stat-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.stat-sub { font-size: 12px; color: var(--text-muted); }

/* ============================================================
   INFO SECTION
   ============================================================ */
.info-section { padding: 56px 0; }
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: border-color var(--dur), transform var(--dur);
}
.info-card:hover { border-color: var(--border-bold); transform: translateY(-2px); }
.info-card--highlight {
  border-color: rgba(52,211,153,0.25);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(52,211,153,0.04) 100%);
}
.info-card-icon { font-size: 32px; margin-bottom: 14px; }
.info-card h2 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.info-card p { font-size: 14px; color: var(--text-sub); line-height: 1.65; margin-bottom: 18px; }
.info-cta {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: gap var(--dur);
  gap: 4px;
}
.info-cta:hover { gap: 8px; }

/* ============================================================
   HOW WE TEST
   ============================================================ */
.how-section { padding: 56px 0; background: var(--bg-soft); }
.how-header { text-align: center; margin-bottom: 40px; }
.how-header h2 { font-size: 26px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.how-header p { font-size: 15px; color: var(--text-muted); }
.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.how-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
}
.step-content h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.step-content p { font-size: 13px; color: var(--text-sub); line-height: 1.6; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { padding: 56px 0; }
.faq-header { text-align: center; margin-bottom: 36px; }
.faq-header h2 { font-size: 26px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.faq-header p { font-size: 15px; color: var(--text-muted); }
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur);
}
.faq-item.open { border-color: rgba(52,211,153,0.3); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--dur);
}
.faq-q:hover { color: var(--accent); }
.faq-q[aria-expanded="true"] { color: var(--accent); }
.faq-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--dur);
  color: var(--text-muted);
}
.faq-q[aria-expanded="true"] .faq-arrow { transform: rotate(180deg); color: var(--accent); }
.faq-a { padding: 0 20px 16px; }
.faq-a p { font-size: 14px; color: var(--text-sub); line-height: 1.7; }

/* ============================================================
   DISCLAIMER
   ============================================================ */
.disclaimer-section { padding: 24px 0; }
.disclaimer-box {
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  border-left: 3px solid var(--accent);
}
.disclaimer-box p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }
.disclaimer-box strong { color: var(--text-sub); }
.disclaimer-box a { color: var(--accent); text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}
.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 32px;
}
.newsletter-text h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.newsletter-text p { font-size: 14px; color: var(--text-muted); }
.newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.newsletter-form input {
  padding: 10px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-bold);
  background: var(--bg-card);
  color: var(--text);
  font-size: 14px;
  min-width: 220px;
  transition: border-color var(--dur);
}
.newsletter-form input:focus { border-color: var(--accent); outline: none; }
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-btn {
  padding: 10px 20px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 700;
  border: none;
  transition: background var(--dur);
  white-space: nowrap;
}
.newsletter-btn:hover { background: #2ec98e; }
.footer-divider { height: 1px; background: var(--border); margin: 0 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-logo .brand-crown { font-size: 20px; color: var(--accent); }
.footer-logo strong { font-size: 18px; font-weight: 700; color: var(--text); }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.footer-social { display: flex; gap: 8px; }
.social-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  transition: border-color var(--dur), color var(--dur);
}
.social-btn:hover { border-color: var(--border-bold); color: var(--text); }
.social-btn svg { width: 16px; height: 16px; }
.footer-links h4 { font-size: 12px; font-weight: 700; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: var(--text-sub); transition: color var(--dur); }
.footer-links a:hover { color: var(--accent); }
.footer-resp h4 { font-size: 12px; font-weight: 700; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.resp-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.resp-badge {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-bold);
  background: var(--bg-card);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}
.resp-badge--main {
  background: var(--accent-soft);
  border-color: rgba(52,211,153,0.3);
  color: var(--accent);
}
.resp-links { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.resp-links a { font-size: 12px; color: var(--accent); text-decoration: underline; }
.resp-note { font-size: 12px; color: var(--text-muted); }
.resp-note strong { color: var(--text-sub); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 900px) {
  .topbar-nav { display: none; }
  .hamburger { display: flex; }

  .slide { height: 320px; }
  .slide-stats { display: none; }

  .bonus-card {
    grid-template-columns: 28px 48px 1fr 120px;
    grid-template-rows: auto auto;
  }
  .bonus-card-main { grid-column: 3; }
  .bonus-card-headline { display: none; }
  .bonus-card-chips { display: none; }
  .bonus-card-right { grid-column: 4; grid-row: 1 / 3; }
  .bonus-card-featured-badge { font-size: 10px; padding: 3px 8px; }

  .list-header { display: none; }

  .bonus-card-skeleton {
    grid-template-columns: 28px 48px 1fr 120px;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 600px) {
  :root { --topbar-h: 56px; }

  .hero-section { padding: 36px 0 28px; }
  .hero-content h1 { font-size: 26px; }
  .hero-desc { font-size: 15px; }

  .slide { height: 260px; }
  .slide-text h2 { font-size: 22px; }
  .slide-text p { font-size: 14px; }

  .trust-bar-inner { gap: 6px 12px; }
  .trust-sep { display: none; }

  .filter-row { flex-direction: column; align-items: flex-start; }
  .filter-tabs { gap: 4px; }
  .filter-tab { padding: 6px 12px; font-size: 12px; }

  .bonus-card {
    grid-template-columns: 24px 44px 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px;
    padding: 14px;
  }
  .bonus-card-main { grid-column: 3; }
  .bonus-card-right {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 10px;
    margin-top: 2px;
  }
  .bonus-rating-block { text-align: left; }
  .bonus-stars { justify-content: flex-start; }
  .bonus-card-featured-badge { display: none; }

  .bonus-card-skeleton {
    grid-template-columns: 24px 44px 1fr;
    grid-template-rows: auto auto;
  }
  .skel-right { display: none; }

  .how-steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-newsletter { flex-direction: column; align-items: flex-start; }
  .newsletter-form { width: 100%; }
  .newsletter-form input { min-width: 0; flex: 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Very small */
@media (max-width: 380px) {
  .filter-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .filter-tab { flex-shrink: 0; }
}

/* ============================================================
   GAME ADS SHOWCASE
   ============================================================ */
.game-ads-section {
  padding: 40px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.game-ads-header { margin-bottom: 20px; }
.game-ads-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.game-ads-title-row h2 { font-size: 20px; font-weight: 700; color: var(--text); }
.game-ads-label {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-bold);
  color: var(--text-muted);
}
.game-ads-header p { font-size: 13px; color: var(--text-muted); }
.game-ads-track-wrap { overflow: hidden; }
.game-ads-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 2px 12px;
}
.game-ads-track::-webkit-scrollbar { display: none; }

/* Game tile */
.game-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 160px;
  max-width: 160px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  scroll-snap-align: start;
  flex-shrink: 0;
  transition: border-color var(--dur), transform var(--dur);
}
.game-tile:hover { border-color: var(--border-bold); transform: translateY(-2px); }

.game-tile-thumb {
  width: 100%;
  height: 100px;
  background: linear-gradient(135deg, var(--game-color, #2cb55e) 0%, color-mix(in srgb, var(--game-color, #2cb55e) 60%, #000) 100%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.game-tile-initial {
  font-size: 40px;
  font-weight: 800;
  color: rgba(255,255,255,0.25);
  line-height: 1;
  user-select: none;
}
.game-tile-info {
  padding: 10px 12px 4px;
  flex: 1;
}
.game-tile-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-tile-provider {
  font-size: 11px;
  color: var(--text-muted);
}
.game-tile-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(0,0,0,0.55);
  color: #fff;
  letter-spacing: 0.03em;
}
.game-tile-cta {
  display: block;
  margin: 8px 12px 12px;
  padding: 7px 0;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(52,211,153,0.25);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background var(--dur), border-color var(--dur);
}
.game-tile-cta:hover { background: rgba(52,211,153,0.2); border-color: rgba(52,211,153,0.4); }

/* ============================================================
   DETAIL PAGE
   ============================================================ */
#detailPage {
  min-height: 100vh;
  padding-top: var(--topbar-h);
}
.detail-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 80px 20px;
  color: var(--text-muted);
  font-size: 14px;
}
.detail-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 20px 60px;
}

/* Back link */
.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 24px;
  padding: 6px 0;
  transition: color var(--dur);
}
.detail-back:hover { color: var(--accent); }
.detail-back svg { width: 16px; height: 16px; }

/* Detail header */
.detail-header {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  margin-bottom: 20px;
  overflow: hidden;
}
.detail-header::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent-bar, var(--accent));
  border-radius: var(--r-xl) 0 0 var(--r-xl);
}
.detail-logo {
  width: 80px;
  height: 80px;
  border-radius: var(--r-md);
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.detail-logo img { width: 100%; height: 100%; object-fit: contain; }
.detail-logo-initials {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-soft);
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.detail-casino-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.1;
}
.detail-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.detail-rating-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.detail-stars { display: flex; gap: 2px; }
.detail-reviews { font-size: 12px; color: var(--text-muted); }
.detail-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.detail-header-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
.detail-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border-radius: var(--r-md);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  box-shadow: var(--shadow-btn);
  transition: background var(--dur), transform var(--dur);
}
.detail-cta:hover { background: #2ec98e; transform: translateY(-1px); }
.detail-cta--disabled {
  background: var(--bg-card-alt);
  color: var(--text-muted);
  cursor: not-allowed;
  border: 1px solid var(--border);
  box-shadow: none;
}
.detail-cta--disabled:hover { transform: none; }
.detail-cta-note { font-size: 11px; color: var(--text-muted); text-align: right; }

/* Detail sections */
.detail-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 16px;
}
.detail-section--alt { background: var(--bg-soft); }
.detail-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.detail-headline {
  font-size: 15px;
  color: var(--text-sub);
  margin-bottom: 16px;
  line-height: 1.5;
}
.detail-blurb {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Facts table */
.detail-facts { display: flex; flex-direction: column; gap: 0; }
.detail-fact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.detail-fact-row:last-child { border-bottom: 0; }
.detail-fact-key { color: var(--text-muted); font-weight: 500; flex-shrink: 0; }
.detail-fact-val { color: var(--text); font-weight: 600; text-align: right; }

/* Code chip */
.detail-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  font-size: 14px;
}
.detail-code-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(52,211,153,0.3);
  color: var(--accent);
  font-family: ui-monospace, "Cascadia Code", "Fira Code", monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--dur);
}
.detail-code-chip:hover { background: rgba(52,211,153,0.2); }
.detail-code-copy {
  font-family: inherit;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0;
}

/* Operator enrichment */
.detail-op-facts { margin-top: 12px; }
.detail-op-confidence { font-size: 11px; color: var(--text-muted); margin-top: 8px; font-style: italic; }

/* How we rated steps */
.detail-how-steps { display: flex; flex-direction: column; gap: 16px; }
.detail-how-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.detail-step-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  flex-shrink: 0;
  min-width: 36px;
}
.detail-how-step strong { display: block; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.detail-how-step p { font-size: 13px; color: var(--text-sub); line-height: 1.6; margin: 0; }

/* Other casinos strip */
.detail-others {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mini-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 40px;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-decoration: none;
  overflow: hidden;
  transition: border-color var(--dur), background var(--dur);
}
.mini-card:hover { border-color: var(--border-bold); background: var(--bg-soft); }
.mini-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent-bar, var(--accent));
  border-radius: var(--r-md) 0 0 var(--r-md);
}
.mini-card-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.mini-card-logo img { width: 100%; height: 100%; object-fit: contain; }
.mini-card-initials {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.mini-card-name { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.mini-card-headline { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-card-rating { font-size: 16px; font-weight: 800; color: var(--text); text-align: right; }

/* Detail footer note */
.detail-footer-note {
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  border-left: 3px solid var(--accent);
  margin-top: 8px;
}
.detail-footer-note p { font-size: 12px; color: var(--text-muted); line-height: 1.6; margin-bottom: 6px; }
.detail-footer-note p:last-child { margin-bottom: 0; }
.detail-footer-note strong { color: var(--text-sub); }
.detail-footer-note a { color: var(--accent); text-decoration: underline; }

/* ============================================================
   DETAIL PAGE RESPONSIVE
   ============================================================ */
@media (max-width: 700px) {
  .detail-header {
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto;
  }
  .detail-header-cta {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    border-top: 1px solid var(--border);
    padding-top: 14px;
    margin-top: 4px;
  }
  .detail-cta-note { text-align: left; }
  .detail-casino-name { font-size: 20px; }
}

@media (max-width: 480px) {
  .game-tile { min-width: 140px; max-width: 140px; }
  .game-tile-thumb { height: 80px; }
  .detail-wrap { padding: 16px 16px 48px; }
}
