/* =============================================================
   BetZA — South Africa Casino Review Theme
   Palette: Deep Ink + Springbok Emerald + Amber Gold
   - Emerald (#10b981) = SA national colour, trust, go
   - Amber gold (#f59e0b) = money CTAs (highest casino conversion)
   - ZAR-first, mobile-first (81% of SA bets on mobile)
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Sora:wght@700;800&display=swap');

/* ─── Tokens ─────────────────────────────────────────────────── */
:root {
  --bg:          #07090d;
  --bg-card:     #0d1117;
  --bg-elevated: #141c24;
  --surface:     rgba(13,17,23,0.97);

  --emerald:     #10b981;
  --emerald-light: #34d399;
  --emerald-dim: rgba(16,185,129,0.10);

  --gold:        #f59e0b;
  --gold-light:  #fbbf24;
  --gold-dim:    rgba(245,158,11,0.10);

  --rank-gold:   #f59e0b;
  --rank-silver: #94a3b8;
  --rank-bronze: #b45309;

  --text:        #f0f4f8;
  --text-muted:  #6b7a90;
  --text-subtle: #3d4a5c;

  --border:      rgba(16,185,129,0.12);
  --border-card: rgba(255,255,255,0.06);

  --glow:        0 0 28px rgba(16,185,129,0.22);
  --glow-gold:   0 0 24px rgba(245,158,11,0.32);
  --glow-sm:     0 0 14px rgba(16,185,129,0.14);

  --radius:      12px;
  --radius-sm:   7px;
  --radius-xs:   4px;
  --t:           0.2s ease;
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
ul  { list-style: none; }
a   { color: var(--emerald-light); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--gold-light); }

/* ─── Typography ─────────────────────────────────────────────── */
h1,h2,h3,h4 { font-family: 'Sora', sans-serif; line-height: 1.2; color: var(--text); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 700; }
p  { margin-bottom: 1rem; }

.text-gradient {
  background: linear-gradient(135deg, #ffffff 25%, var(--emerald-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.text-gold    { color: var(--gold); }
.text-emerald { color: var(--emerald-light); }
.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }

/* ─── Layout ─────────────────────────────────────────────────── */
.container  { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.section    { padding: 4.5rem 0; }
.section-sm { padding: 2.5rem 0; }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.875rem;
  border-radius: var(--radius-sm); padding: 0.7rem 1.5rem;
  cursor: pointer; transition: all var(--t); border: none;
  white-space: nowrap; text-decoration: none; letter-spacing: 0.01em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #1c0e00;
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 3px 12px rgba(245,158,11,0.2);
}
.btn-primary:hover { color: #1c0e00; transform: translateY(-2px); box-shadow: var(--glow-gold); }
.btn-emerald {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-light) 100%);
  color: #021a0e;
  box-shadow: 0 3px 12px rgba(16,185,129,0.2);
}
.btn-emerald:hover { color: #021a0e; transform: translateY(-2px); box-shadow: var(--glow); }
.btn-ghost {
  background: transparent; color: var(--text-muted);
  border: 1px solid var(--border-card);
}
.btn-ghost:hover { color: var(--emerald-light); border-color: rgba(16,185,129,0.3); background: var(--emerald-dim); }
.btn-lg  { padding: 0.9rem 2.1rem; font-size: 1rem; }
.btn-sm  { padding: 0.42rem 1rem; font-size: 0.78rem; }
.btn-warning {
  background: var(--gold-dim); border: 1px solid rgba(245,158,11,0.28); color: var(--gold);
}
.btn-warning:hover { background: rgba(245,158,11,0.18); color: var(--gold); }

/* ─── Header ─────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(7,9,13,0.6);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: background var(--t), border-color var(--t);
}
.site-header.scrolled {
  background: rgba(7,9,13,0.96);
  border-color: rgba(16,185,129,0.2);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1.5rem;
}
.header-logo { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.header-logo img { height: 36px; }
.header-logo-text { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--emerald-light); }
.header-logo-za { color: var(--gold); }
.header-nav { display: flex; align-items: center; gap: 1.6rem; }
.header-nav a {
  font-size: 0.875rem; font-weight: 600; color: var(--text-muted);
  position: relative; padding-bottom: 2px; transition: color var(--t);
}
.header-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--emerald-light));
  border-radius: 1px; transition: width var(--t);
}
.header-nav a:hover { color: var(--text); }
.header-nav a:hover::after { width: 100%; }
.header-nav .nav-hot {
  color: var(--gold); font-size: 0.78rem;
  background: var(--gold-dim); border: 1px solid rgba(245,158,11,0.25);
  border-radius: var(--radius-xs); padding: 0.2rem 0.6rem;
}
.header-nav .nav-hot:hover { color: var(--gold-light); background: rgba(245,158,11,0.18); }
.header-actions { display: flex; align-items: center; gap: 1rem; font-size: 0.8rem; color: var(--text-subtle); }
.header-actions a { color: var(--text-subtle); }
.header-actions a:hover { color: var(--emerald-light); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-muted); transition: all var(--t); border-radius: 1px; }
.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 */
.mobile-nav {
  display: none; position: fixed; top: 64px; left: 0; right: 0;
  background: rgba(7,9,13,0.99); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem; z-index: 999; flex-direction: column; gap: 0.6rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--text-muted); font-size: 1rem; font-weight: 600; padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.mobile-nav a:hover { color: var(--emerald-light); }

/* ─── Page Intro ─────────────────────────────────────────────── */
.page-intro {
  padding: 5.75rem 0 2.5rem;
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(16,185,129,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(245,158,11,0.05) 0%, transparent 50%);
  border-bottom: 1px solid var(--border);
}
.intro-inner { max-width: 780px; }
.intro-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--emerald-dim); border: 1px solid rgba(16,185,129,0.25);
  border-radius: 100px; padding: 0.28rem 0.9rem;
  font-size: 0.75rem; font-weight: 700; color: var(--emerald-light);
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1.25rem;
}
.intro-badge::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--emerald); animation: blink 2.5s ease-in-out infinite;
}
.page-intro h1 { margin-bottom: 0.85rem; }
.page-intro .intro-text { font-size: 1rem; color: var(--text-muted); max-width: 620px; line-height: 1.75; margin-bottom: 1.5rem; }
.intro-meta { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: 0.8rem; color: var(--text-subtle); }
.intro-meta span { display: flex; align-items: center; gap: 0.3rem; }

/* ZAR badge — for bonus amounts */
.zar-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: var(--gold-dim); border: 1px solid rgba(245,158,11,0.25);
  border-radius: var(--radius-xs); padding: 0.15rem 0.55rem;
  font-size: 0.72rem; font-weight: 700; color: var(--gold);
  letter-spacing: 0.04em; text-transform: uppercase;
}

/* ─── Stats Bar ──────────────────────────────────────────────── */
.stats-bar { background: rgba(13,17,23,0.7); border-bottom: 1px solid var(--border); padding: 0.85rem 0; }
.stats-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; }
.stat-item {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.35rem 2rem; border-right: 1px solid var(--border);
  font-size: 0.8rem; font-weight: 500; color: var(--text-muted);
}
.stat-item:last-child { border-right: none; }
.stat-num { font-weight: 700; color: var(--emerald-light); }

/* ─── Filter Bar ─────────────────────────────────────────────── */
.filter-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.filter-bar-left { display: flex; flex-direction: column; gap: 0.1rem; }
.filter-bar-left h2 { font-size: 1.15rem; }
.updated { font-size: 0.72rem; color: var(--text-subtle); }
.filter-tabs { display: flex; gap: 0.35rem; }
.filter-tab {
  padding: 0.42rem 1.1rem; border-radius: 100px; border: 1px solid var(--border-card);
  background: transparent; color: var(--text-subtle); font-size: 0.8rem; font-weight: 600;
  cursor: pointer; font-family: 'Inter', sans-serif; transition: all var(--t);
}
.filter-tab.active { background: var(--emerald-dim); border-color: rgba(16,185,129,0.4); color: var(--emerald-light); }
.filter-tab:hover { color: var(--emerald-light); border-color: rgba(16,185,129,0.25); }

/* ─── Casino Row Card ─────────────────────────────────────────── */
.casino-list { display: flex; flex-direction: column; gap: 0.55rem; }
.casino-row {
  display: grid; grid-template-columns: 52px 148px 1fr 90px 188px;
  align-items: center; gap: 1.25rem; padding: 1.25rem 1.5rem;
  background: var(--bg-card); border: 1px solid var(--border-card);
  border-radius: var(--radius); position: relative; overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.casino-row::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--rank-color, transparent);
  border-radius: var(--radius) 0 0 var(--radius);
}
.casino-row:hover {
  border-color: rgba(16,185,129,0.25); background: var(--bg-elevated);
  box-shadow: 0 8px 40px rgba(0,0,0,0.35), var(--glow-sm);
}
.casino-row[data-rank="1"] {
  --rank-color: var(--rank-gold);
  border-color: rgba(245,158,11,0.2);
  background: linear-gradient(90deg, rgba(245,158,11,0.04) 0%, var(--bg-card) 40%);
}
.casino-row[data-rank="1"]:hover { border-color: rgba(245,158,11,0.38); box-shadow: 0 8px 40px rgba(0,0,0,0.35), var(--glow-gold); }
.casino-row[data-rank="2"] { --rank-color: var(--rank-silver); }
.casino-row[data-rank="3"] { --rank-color: var(--rank-bronze); }

.casino-rank { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.1rem; }
.rank-num { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.3rem; line-height: 1; color: var(--rank-color, var(--text-subtle)); }
.rank-medal { font-size: 1rem; line-height: 1; }

.casino-logo { display: flex; align-items: center; justify-content: center; }
.casino-logo a { display: flex; align-items: center; justify-content: center; width: 100%; }
.casino-logo img { max-height: 50px; max-width: 130px; object-fit: contain; transition: opacity var(--t), transform var(--t); filter: brightness(0.95); }
.casino-row:hover .casino-logo img { transform: scale(1.04); filter: brightness(1.08); }
.logo-fallback { font-size: 0.75rem; color: var(--emerald-light); font-weight: 700; text-align: center; word-break: break-all; }

.casino-content { min-width: 0; }
.casino-badge-row { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.5rem; }
.badge { display: inline-flex; align-items: center; font-size: 0.67rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-radius: var(--radius-xs); padding: 0.18rem 0.5rem; }
.badge-top    { background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.28); color: var(--gold); }
.badge-sa     { background: var(--emerald-dim); border: 1px solid rgba(16,185,129,0.28); color: var(--emerald-light); }
.badge-new    { background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.28); color: #a5b4fc; }
.badge-crypto { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.2); color: var(--gold-light); }

.casino-bonus { font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: 0.3rem; }
.casino-terms { font-size: 0.7rem; color: var(--text-subtle); margin-bottom: 0.5rem; }
.casino-tags  { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.tag {
  font-size: 0.68rem; font-weight: 600; color: var(--text-subtle);
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-xs); padding: 0.14rem 0.45rem;
  display: inline-flex; align-items: center; gap: 0.2rem;
}

.casino-score { text-align: center; flex-shrink: 0; }
.score-circle {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 2px solid var(--rank-color, rgba(255,255,255,0.1));
  background: rgba(0,0,0,0.2); margin: 0 auto 0.3rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.casino-row:hover .score-circle { border-color: var(--emerald); box-shadow: 0 0 12px rgba(16,185,129,0.2); }
.casino-row[data-rank="1"] .score-circle { border-color: var(--gold); }
.score-num { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--text); line-height: 1; }
.casino-row[data-rank="1"] .score-num { color: var(--gold); }
.score-denom { font-size: 0.6rem; color: var(--text-subtle); line-height: 1; }
.score-label { font-size: 0.62rem; color: var(--text-subtle); }

.casino-ctas { display: flex; flex-direction: column; gap: 0.45rem; flex-shrink: 0; min-width: 160px; }
.casino-ctas .btn-primary { width: 100%; }
.casino-ctas .btn-ghost   { width: 100%; font-size: 0.78rem; }
.cta-terms { font-size: 0.62rem; color: var(--text-subtle); text-align: center; line-height: 1.4; }

.casino-row-mobile-cta { display: none; grid-column: 1 / -1; margin-top: 0.2rem; }
.casino-row-mobile-cta a {
  display: block; width: 100%; text-align: center; padding: 0.65rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1c0e00; font-weight: 700; font-size: 0.85rem; border-radius: var(--radius-sm);
}

/* ─── Methodology pillars ─────────────────────────────────────── */
.how-rate { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.pillar-card {
  background: rgba(7,9,13,0.8); border: 1px solid var(--border-card);
  border-radius: var(--radius); padding: 1.5rem; position: relative; overflow: hidden;
  transition: border-color var(--t), transform var(--t);
}
.pillar-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--emerald-light));
  opacity: 0; transition: opacity var(--t);
}
.pillar-card:hover { border-color: rgba(16,185,129,0.28); transform: translateY(-3px); }
.pillar-card:hover::after { opacity: 1; }
.pillar-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.pillar-card h4 { font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 700; margin-bottom: 0.4rem; }
.pillar-card p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0; }
.pillar-weight {
  display: inline-block; margin-top: 0.85rem; font-size: 0.7rem; font-weight: 700;
  color: var(--emerald-light); background: var(--emerald-dim);
  border-radius: 100px; padding: 0.15rem 0.6rem; letter-spacing: 0.04em;
}
.methodology-link { text-align: center; margin-top: 1.75rem; font-size: 0.85rem; color: var(--text-muted); }
.methodology-link a { color: var(--emerald-light); font-weight: 600; }
.methodology-link a:hover { color: var(--gold-light); }

/* ─── Section heading ─────────────────────────────────────────── */
.section-heading { margin-bottom: 2.5rem; }
.section-heading h2 { margin-bottom: 0.4rem; }
.section-heading p  { color: var(--text-muted); font-size: 0.9rem; }
.section-heading.center { text-align: center; }

/* ─── Feature cards (Aviator, banking, etc.) ─────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border-card);
  border-radius: var(--radius); padding: 1.5rem;
  transition: border-color var(--t), transform var(--t);
  color: inherit; display: block;
}
.feature-card:hover { border-color: rgba(16,185,129,0.25); transform: translateY(-3px); color: inherit; }
.feature-link {
  display: inline-block; margin-top: 0.85rem;
  font-size: 0.82rem; font-weight: 600; color: var(--emerald-light);
}
.feature-card:hover .feature-link { color: var(--gold-light); }
.feature-card-icon,
.feature-icon { font-size: 2rem; margin-bottom: 0.85rem; }
.feature-card h3 { font-size: 1rem; font-family: 'Inter', sans-serif; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p  { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }

/* Payment method grid */
.payment-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.payment-card {
  background: var(--bg-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-sm); padding: 1.25rem;
  display: flex; flex-direction: column; gap: 0.85rem;
  transition: border-color var(--t);
}
.payment-card:hover { border-color: rgba(16,185,129,0.25); }
.payment-icon { font-size: 1.6rem; flex-shrink: 0; }
.payment-header { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.payment-name { font-size: 0.95rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.payment-details {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 0.85rem;
  padding: 0.85rem 0; border-top: 1px solid var(--border-card); border-bottom: 1px solid var(--border-card);
}
.payment-detail { display: flex; flex-direction: column; gap: 0.15rem; }
.payment-detail span { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.03em; }
.payment-detail strong { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.payment-note { font-size: 0.8rem; color: var(--text-muted); line-height: 1.55; margin: 0; }
.payment-status { flex-shrink: 0; white-space: nowrap; }
.payment-status-good { color: var(--emerald-light); font-size: 0.68rem; font-weight: 700; }
.payment-status-warn { color: var(--gold); font-size: 0.68rem; font-weight: 700; }
.payment-status-bad  { color: #f87171; font-size: 0.68rem; font-weight: 700; }

/* Watchlist / blacklist table */
.watchlist-item {
  background: rgba(248,113,113,0.04); border: 1px solid rgba(248,113,113,0.15);
  border-radius: var(--radius-sm); padding: 1rem 1.25rem;
  margin-bottom: 0.6rem; display: flex; align-items: flex-start;
  gap: 1rem;
}
.watchlist-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.1rem; }
.watchlist-item strong { display: block; color: #fca5a5; font-size: 0.9rem; margin-bottom: 0.25rem; }
.watchlist-item p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0; }

/* ─── FAQ ─────────────────────────────────────────────────────── */
.faq-section { background: var(--bg); }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border-card); border-radius: var(--radius);
  margin-bottom: 0.55rem; overflow: hidden; background: var(--bg-card);
  transition: border-color var(--t);
}
.faq-item.open { border-color: rgba(16,185,129,0.28); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; cursor: pointer; user-select: none; gap: 1rem; }
.faq-question h4 { font-size: 0.9rem; font-weight: 600; font-family: 'Inter', sans-serif; flex: 1; color: var(--text); }
.faq-icon {
  width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border-card);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all var(--t); color: var(--text-subtle); font-size: 1rem;
}
.faq-item.open .faq-icon { background: var(--emerald-dim); border-color: var(--emerald); color: var(--emerald-light); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; padding: 0 1.25rem; transition: max-height 0.32s ease, padding 0.22s ease; }
.faq-item.open .faq-answer { max-height: 600px; padding: 0 1.25rem 1.1rem; }
.faq-answer p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0; }

/* ─── Blog ─────────────────────────────────────────────────────── */
.blog-section { background: var(--bg-card); }
.blog-layout { display: grid; grid-template-columns: 1fr 280px; gap: 2rem; align-items: start; }
.blog-post-item { border-bottom: 1px solid var(--border); padding: 1.75rem 0; }
.blog-post-item:first-child { padding-top: 0; }
.blog-post-item h2 { font-size: 1.15rem; font-family: 'Inter', sans-serif; margin-bottom: 0.35rem; }
.blog-post-item h2 a { color: var(--text); }
.blog-post-item h2 a:hover { color: var(--emerald-light); }
.blog-meta { font-size: 0.73rem; color: var(--text-subtle); margin-bottom: 0.35rem; }
.blog-post-item p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0.6rem; }
.read-more { font-size: 0.82rem; font-weight: 600; color: var(--emerald-light); display: inline-flex; align-items: center; gap: 0.25rem; }
.read-more::after { content: '→'; }
.read-more:hover { color: var(--gold-light); }

.blog-sidebar { position: sticky; top: 80px; }
.sidebar-widget { background: rgba(7,9,13,0.8); border: 1px solid var(--border-card); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.25rem; }
.sidebar-widget h5 {
  font-family: 'Inter', sans-serif; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--emerald-light);
  margin-bottom: 0.85rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--border);
}
.sidebar-widget li { padding: 0.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 0.85rem; }
.sidebar-widget li:last-child { border-bottom: none; }
.sidebar-widget li a { color: var(--text-muted); }
.sidebar-widget li a:hover { color: var(--emerald-light); }
.sidebar-widget li p { font-size: 0.71rem; color: var(--text-subtle); margin: 0; }

.pagination { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 1.5rem; }
.pagination li a, .pagination li span {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.82rem; color: var(--text-muted); transition: all var(--t);
}
.pagination li.active a, .pagination li a:hover { background: var(--emerald-dim); border-color: var(--emerald); color: var(--emerald-light); }

/* ─── Page Hero ───────────────────────────────────────────────── */
.page-hero {
  padding: 7.5rem 0 3.5rem;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(16,185,129,0.09) 0%, transparent 60%), var(--bg-card);
  border-bottom: 1px solid var(--border); text-align: center;
}
.page-hero h1 { margin-bottom: 0.6rem; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 0.4rem; font-size: 0.8rem; color: var(--text-subtle); }
.breadcrumb a { color: var(--text-subtle); }
.breadcrumb a:hover { color: var(--emerald-light); }
.breadcrumb-sep { color: var(--border-card); }

/* ─── Info boxes ──────────────────────────────────────────────── */
.info-box {
  background: var(--emerald-dim); border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius-sm); padding: 1rem 1.25rem; margin-bottom: 1.25rem;
  font-size: 0.88rem; color: var(--text-muted);
}
.info-box strong { color: var(--emerald-light); }
.warn-box {
  background: var(--gold-dim); border: 1px solid rgba(245,158,11,0.22);
  border-radius: var(--radius-sm); padding: 1rem 1.25rem; margin-bottom: 1.25rem;
  font-size: 0.88rem; color: var(--text-muted);
}
.warn-box strong { color: var(--gold); }

/* ─── Forms ───────────────────────────────────────────────────── */
.form-section { background: var(--bg-card); }
.form-group { margin-bottom: 1.1rem; }
.form-label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.07em; }
.form-control {
  width: 100%; padding: 0.75rem 1rem;
  background: rgba(7,9,13,0.9); border: 1px solid var(--border-card);
  border-radius: var(--radius-sm); color: var(--text); font-family: 'Inter', sans-serif; font-size: 0.9rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-control::placeholder { color: var(--text-subtle); opacity: 0.7; }
.form-control:focus { outline: none; border-color: rgba(16,185,129,0.45); box-shadow: 0 0 0 3px rgba(16,185,129,0.08); }
textarea.form-control { min-height: 130px; resize: vertical; }
.contact-info-card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; text-align: center; max-width: 360px; margin: 0 auto 2.5rem; }
.contact-info-card .icon { font-size: 2rem; margin-bottom: 0.75rem; }
.contact-info-card h6 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 0.4rem; font-family: 'Inter', sans-serif; }

/* ─── RG banner ───────────────────────────────────────────────── */
.rg-banner {
  background: rgba(245,158,11,0.04); border: 1px solid rgba(245,158,11,0.17);
  border-radius: var(--radius); padding: 1.25rem 1.75rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; flex-wrap: wrap; margin-top: 2rem;
}
.rg-banner strong { display: block; color: var(--gold); font-size: 0.92rem; margin-bottom: 0.2rem; }
.rg-banner p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0; }

/* ─── Content pages ───────────────────────────────────────────── */
.content-section { background: var(--bg); }
.content-body h2 { margin-bottom: 1.25rem; }
.content-body h3 { font-size: 1.05rem; margin-top: 1.5rem; margin-bottom: 0.55rem; }
.content-body p  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.8; }
.content-body ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.content-body li { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0.4rem; line-height: 1.65; }
.content-body a  { color: var(--emerald-light); }
.content-body a:hover { color: var(--gold-light); }
.content-body strong { color: var(--text); }

/* ─── Footer ──────────────────────────────────────────────────── */
.site-footer { background: var(--bg-card); border-top: 1px solid var(--border); padding-top: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--border); }
.footer-logo { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.85rem; }
.footer-logo img { height: 32px; }
.footer-logo span { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--emerald-light); }
.footer-logo .za-text { color: var(--gold); }
.footer-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.75; }
.footer-col h5 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--emerald-light); margin-bottom: 1rem; font-family: 'Inter', sans-serif; }
.footer-links li { padding: 0.3rem 0; }
.footer-links li a { font-size: 0.82rem; color: var(--text-muted); }
.footer-links li a:hover { color: var(--emerald-light); }
.footer-casinos { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-casino-item { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.85rem; background: rgba(7,9,13,0.5); border: 1px solid var(--border-card); border-radius: 8px; transition: all var(--t); }
.footer-casino-item:hover { border-color: rgba(16,185,129,0.22); }
.footer-casino-item img { height: 28px; max-width: 85px; object-fit: contain; }
.footer-bottom { padding: 1.25rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; }
.footer-bottom p { margin-bottom: 0; font-size: 0.73rem; color: var(--text-subtle); }
.footer-bottom a { color: var(--text-subtle); }
.footer-bottom a:hover { color: var(--emerald-light); }
.cert-badge { background: rgba(255,255,255,0.03); border: 1px solid var(--border-card); border-radius: var(--radius-xs); padding: 0.22rem 0.55rem; font-size: 0.66rem; font-weight: 700; color: var(--text-subtle); letter-spacing: 0.05em; }
.footer-certs { display: flex; align-items: center; gap: 0.6rem; }

/* ─── Post content ────────────────────────────────────────────── */
.post-content { color: var(--text); line-height: 1.8; }
.post-content h1,.post-content h2,.post-content h3 { margin: 1.5rem 0 0.65rem; }
.post-content p   { margin-bottom: 0.9rem; }
.post-content a   { color: var(--emerald-light); }
.post-content a:hover { color: var(--gold-light); }
.post-content ul,.post-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.post-content li  { margin-bottom: 0.35rem; }
.post-content img { border-radius: var(--radius); margin: 1.25rem 0; }
.post-info { font-size: 0.78rem; color: var(--text-subtle); margin-top: 1.25rem; padding-top: 0.9rem; border-top: 1px solid var(--border); }

/* ─── Scroll-to-top ───────────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 100;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--emerald-dim); border: 1px solid rgba(16,185,129,0.28);
  display: flex; align-items: center; justify-content: center;
  color: var(--emerald-light); font-size: 1rem; cursor: pointer;
  opacity: 0; pointer-events: none; transition: all var(--t); text-decoration: none;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--gold-dim); border-color: rgba(245,158,11,0.28); color: var(--gold-light); box-shadow: var(--glow-gold); }

/* ─── Reveal ──────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Animations ──────────────────────────────────────────────── */
@keyframes blink {
  0%,100% { opacity: 1; box-shadow: 0 0 5px var(--emerald); }
  50%      { opacity: 0.3; box-shadow: none; }
}

/* ─── Locale picker ───────────────────────────────────────────── */
.locale-picker,.locale-list { list-style: none; }
.locale-list a { color: var(--text-subtle) !important; font-size: 0.78rem; }
.locale-list a:hover { color: var(--emerald-light) !important; }

/* ─── Logo text (used in header + footer without image) ──────────── */
.logo-text { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.35rem; color: var(--emerald-light); letter-spacing: -0.01em; }
.logo-za   { color: var(--gold); }

/* ─── Badge: exclusive / editor's choice ─────────────────────────── */
.badge-exclusive { background: rgba(245,158,11,0.10); border: 1px solid rgba(245,158,11,0.28); color: var(--gold); }

/* ─── Site Hero ───────────────────────────────────────────────────── */
.site-hero {
  position: relative; overflow: hidden;
  padding: 7.5rem 0 0;
  background: var(--bg);
}
.hero-bg-layer {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 80% at -5% 60%, rgba(16,185,129,0.11) 0%, transparent 50%),
    radial-gradient(ellipse 55% 65% at 105% 40%, rgba(245,158,11,0.07) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='32' height='32' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(255,255,255,0.035)'/%3E%3C/svg%3E");
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3.5rem;
  align-items: center;
  padding-bottom: 4.5rem;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--emerald-dim); border: 1px solid rgba(16,185,129,0.25);
  border-radius: 100px; padding: 0.3rem 1rem;
  font-size: 0.73rem; font-weight: 700; color: var(--emerald-light);
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1.4rem;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: var(--emerald); animation: blink 2.5s ease-in-out infinite;
}
.hero-text h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.5rem);
  margin-bottom: 1rem; line-height: 1.12;
}
.hero-zar {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: 1.05rem; color: var(--text-muted); max-width: 540px;
  line-height: 1.75; margin-bottom: 2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2rem; }

/* Payment strip */
.hero-payment-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.85rem;
  font-size: 0.75rem;
}
.hps-label { color: var(--text-subtle); font-weight: 600; }
.hps-item  { font-weight: 700; font-size: 0.73rem; }
.hps-good  { color: var(--emerald-light); }
.hps-bad   { color: var(--text-subtle); text-decoration: line-through; }
.hps-divider { width: 1px; height: 14px; background: var(--border-card); }

/* Hero right stat panel */
.hero-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
  align-content: start;
}
.hero-stat {
  background: var(--bg-card); border: 1px solid var(--border-card);
  border-radius: var(--radius); padding: 1.1rem;
  display: flex; flex-direction: column; gap: 0.2rem;
  transition: border-color var(--t);
}
.hero-stat:hover { border-color: rgba(16,185,129,0.25); }
.hs-num   { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.45rem; color: var(--emerald-light); line-height: 1; }
.hs-label { font-size: 0.72rem; color: var(--text-subtle); font-weight: 500; }
.hero-trust {
  grid-column: 1 / -1;
  background: rgba(16,185,129,0.04); border: 1px solid rgba(16,185,129,0.12);
  border-radius: var(--radius-sm); padding: 0.8rem 1rem;
  display: flex; flex-direction: column; gap: 0.3rem;
  font-size: 0.73rem; color: var(--text-muted); font-weight: 500;
}
.hero-trust span { display: flex; align-items: center; gap: 0.4rem; }

/* Gradient separator below hero */
.hero-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--emerald) 30%, var(--gold) 70%, transparent 100%);
  opacity: 0.4;
}

/* ─── #1 Spotlight Card ───────────────────────────────────────────── */
.spotlight-wrap {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-card) 100%);
  padding: 2.25rem 0 2.75rem;
  border-bottom: 1px solid var(--border);
}
.spotlight-label {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold); margin-bottom: 0.85rem;
}
.casino-spotlight {
  display: grid;
  grid-template-columns: 52px 160px 1fr 90px 200px;
  align-items: center; gap: 1.5rem; padding: 1.75rem 2rem;
  background: linear-gradient(90deg, rgba(245,158,11,0.06) 0%, var(--bg-card) 35%);
  border: 1px solid rgba(245,158,11,0.28); border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(245,158,11,0.08), 0 12px 50px rgba(0,0,0,0.4), var(--glow-gold);
  position: relative; overflow: hidden;
}
.casino-spotlight::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--gold-light));
  border-radius: var(--radius) 0 0 var(--radius);
}
.spotlight-rank {
  display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
}
.spotlight-num {
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 2rem;
  color: var(--gold); line-height: 1;
}
.spotlight-logo { display: flex; align-items: center; justify-content: center; }
.spotlight-logo img { max-height: 60px; max-width: 140px; object-fit: contain; }
.spotlight-content { min-width: 0; }
.spotlight-bonus {
  font-size: 1.25rem; font-weight: 800; color: var(--text);
  line-height: 1.3; margin-bottom: 0.35rem;
}
.spotlight-score { text-align: center; flex-shrink: 0; }
.spotlight-score .score-circle {
  width: 64px; height: 64px; border-color: var(--gold);
  box-shadow: 0 0 16px rgba(245,158,11,0.25);
}
.spotlight-score .score-num { font-size: 1.3rem; color: var(--gold); }
.spotlight-ctas {
  display: flex; flex-direction: column; gap: 0.5rem; flex-shrink: 0; min-width: 170px;
}
.spotlight-ctas .btn-primary { width: 100%; }
.spotlight-ctas .btn-ghost   { width: 100%; font-size: 0.8rem; }

/* ─── Page Header (inner pages) ───────────────────────────────────── */
.page-header {
  padding: 6.5rem 0 2.75rem;
  background:
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(16,185,129,0.08) 0%, transparent 60%),
    var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.page-header h1 { margin-bottom: 0.6rem; }
.page-header p  { color: var(--text-muted); max-width: 680px; font-size: 0.95rem; }
.breadcrumb {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; color: var(--text-subtle); margin-bottom: 0.75rem;
}
.breadcrumb a { color: var(--text-subtle); }
.breadcrumb a:hover { color: var(--emerald-light); }
.breadcrumb span:not(:last-child):after { content: '/'; margin-left: 0.4rem; color: var(--border-card); }

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .header-nav,.header-actions { display: none; }
  .hamburger { display: flex; }
  /* Mobile nav dropdown — triggered by JS adding .open to .nav-links */
  .header-nav.open {
    display: flex; flex-direction: column; gap: 0.1rem;
    position: fixed; top: 64px; left: 0; right: 0; z-index: 999;
    background: rgba(7,9,13,0.99); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
  }
  .header-nav.open a {
    font-size: 1rem; color: var(--text-muted); font-weight: 600;
    padding: 0.65rem 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .header-nav.open a:hover { color: var(--emerald-light); }
  .header-nav.open a:last-child { border-bottom: none; }

  /* Hero: stack to single column */
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .hero-trust { grid-column: 1 / -1; }

  /* Spotlight */
  .casino-spotlight { grid-template-columns: 44px 120px 1fr; }
  .spotlight-score,.spotlight-ctas { display: none; }
  .casino-spotlight .casino-row-mobile-cta { display: block; }

  /* Casino rows */
  .casino-row { grid-template-columns: 44px 110px 1fr; }
  .casino-score,.casino-ctas { display: none; }
  .casino-row-mobile-cta { display: block; }

  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > *:first-child { grid-column: 1 / -1; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}
@media (max-width: 768px) {
  .section { padding: 2.75rem 0; }

  /* Hero */
  .site-hero { padding-top: 6rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Spotlight collapses to logo + content */
  .casino-spotlight { grid-template-columns: 40px 90px 1fr; gap: 0.7rem; padding: 1rem; }
  .spotlight-bonus { font-size: 1rem; }

  .casino-row { grid-template-columns: 40px 88px 1fr; padding: 0.9rem; gap: 0.7rem; }
  .pillars-grid,.feature-grid { grid-template-columns: 1fr; }
  .payment-grid { grid-template-columns: 1fr; }
  .filter-bar { flex-direction: column; align-items: flex-start; }
  .rg-banner { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
