/* ============================================
   Atelier Lodge — Dark Theme (Sitewide)
   Amber/gold primary, emerald secondary, Montserrat headlines, Inter body.
   Preserves all original class names so existing HTML restyles automatically.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

:root {
  /* Surfaces */
  --bg: #19120a;
  --bg-light: #140d06;
  --bg-dark: #0e0904;
  --surface: #19120a;
  --surface-low: #221a12;
  --surface: #261e15;
  --surface-high: #31281f;
  --surface-highest: #3c3329;
  --surface-bright: #41382e;

  /* Brand */
  --primary: #ffc174;          /* gold */
  --primary-light: #ffddb8;
  --primary-dim: #ffb95f;
  --primary-container: #f59e0b;
  --on-primary: #2a1700;
  --on-primary-container: #613b00;

  /* Accents */
  --accent: #ffc174;
  --accent-hover: #ffb95f;
  --accent-light: rgba(255, 193, 116, 0.14);

  --secondary: #4edea3;        /* emerald */
  --secondary-dim: #6ffbbe;
  --secondary-container: #00a572;
  --on-secondary: #003824;

  --tertiary: #d5c3ff;
  --info: #6ffbbe;
  --success: #4edea3;
  --danger: #ffb4ab;

  /* Text */
  --text: #f0e0d1;             /* on-surface */
  --text-light: #d8c3ad;       /* on-surface-variant */
  --text-muted: #a08e7a;
  --text-white: #ffffff;

  /* Lines */
  --border: rgba(160, 142, 122, 0.25);
  --border-light: rgba(160, 142, 122, 0.12);
  --outline: #a08e7a;
  --outline-variant: #534434;

  /* Effects */
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 14px rgba(0, 0, 0, 0.25);
  --card-shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.5), 0 4px 14px rgba(0, 0, 0, 0.3);
  --neon-glow: 0 0 18px rgba(245, 158, 11, 0.35);

  /* Geometry */
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --max-width: 1280px;
  --header-height: 80px;

  /* Type */
  --font-heading: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --transition: all 0.2s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(circle at 2px 2px, rgba(245, 158, 11, 0.05) 1px, transparent 0);
  background-size: 40px 40px;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dim); }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--primary-container); color: var(--on-primary); }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; margin-top: 2.5rem; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); margin-bottom: 0.5rem; margin-top: 2rem; }
h4 { font-size: 1.125rem; margin-bottom: 0.5rem; margin-top: 1.5rem; }
h2 strong, h1 strong, h3 strong { color: var(--primary); font-weight: 800; }
p { margin-bottom: 1rem; color: var(--text-light); }
strong { color: var(--text); font-weight: 600; }

/* Layout */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 3.5rem 0; }
.section-alt { background: var(--bg-light); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(20, 13, 6, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  overflow: visible;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: var(--primary);
}
.logo:hover { color: var(--primary); opacity: 0.9; }
.logo img, .logo svg { height: 120px; width: auto; display: block; margin: -20px 0; }
.site-footer .logo img { height: 140px; margin: 0 0 0.5rem; }
.logo span { color: var(--text); }
.nav-menu { display: flex; gap: 2rem; align-items: center; }
.nav-menu > li { position: relative; }
.nav-menu a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-light);
  text-transform: uppercase;
  padding: 0.4rem 0;
}
.nav-menu a:hover { color: var(--primary); }
.nav-menu a.active,
.nav-menu .active > a {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}
.nav-dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--surface-high);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  box-shadow: var(--card-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: var(--transition);
}
.nav-dropdown:hover .nav-dropdown-content,
.nav-dropdown:focus-within .nav-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-content a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
}
.nav-dropdown-content a:hover { background: var(--surface-highest); color: var(--primary); }
.mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: inline-flex; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary {
  background: var(--primary-container);
  color: var(--on-primary-container);
  box-shadow: var(--neon-glow);
}
.btn-primary:hover { background: var(--primary-dim); color: var(--on-primary); }
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover { background: rgba(255, 193, 116, 0.1); color: var(--primary); }
.btn-block { display: flex; width: 100%; }
.btn-large { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-small { padding: 0.45rem 1rem; font-size: 0.85rem; }

/* Hero */
.hero {
  position: relative;
  padding: 4rem 0 3rem;
  background: var(--bg-light);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(245, 158, 11, 0.06) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero > * { position: relative; }
.hero h1 { color: var(--text); }
.hero p { color: var(--text-light); font-size: 1.1rem; max-width: 700px; }
.hero-badges, .rg-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.hero-badge, .rg-badge, .updated-badge, .age-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface-high);
  border: 1px solid var(--border);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
}
.hero-badge strong, .rg-badge strong { color: var(--text); }
.guide-hero, .review-hero { padding-bottom: 1.5rem; }
.guide-meta { color: var(--text-light); font-size: 0.95rem; margin-bottom: 1rem; }

/* Info boxes */
.info-box {
  display: flex;
  gap: 1rem;
  background: var(--surface-low);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
}
.info-box-icon { font-size: 1.5rem; line-height: 1; color: var(--primary); flex-shrink: 0; }
.info-box-content { color: var(--text-light); }
.info-box-content strong { display: block; color: var(--text); margin-bottom: 0.25rem; }
.info-box-info { border-left-color: var(--info); }
.info-box-info .info-box-icon { color: var(--info); }
.info-box-success { border-left-color: var(--success); }
.info-box-success .info-box-icon { color: var(--success); }
.info-box-warning { border-left-color: var(--primary); }
.info-box-warning .info-box-icon { color: var(--primary); }
.info-box-danger { border-left-color: var(--danger); }
.info-box-danger .info-box-icon { color: var(--danger); }

/* Casino card */
.casino-card {
  position: relative;
  background: var(--surface-high);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.casino-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 193, 116, 0.45);
  box-shadow: var(--card-shadow-hover);
}
.casino-card-rank {
  position: absolute;
  top: -12px;
  left: 1.25rem;
  background: linear-gradient(135deg, var(--primary-container), var(--primary));
  color: var(--on-primary-container);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}
.casino-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.casino-logo-placeholder {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--surface-highest), var(--surface-high));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary);
  font-size: 0.75rem;
  text-align: center;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
}
.casino-logo {
  width: 110px;
  height: 64px;
  object-fit: contain;
  background: var(--surface-highest);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
}
.casino-card-title { font-size: 1.25rem; margin: 0 0 0.125rem; color: var(--text); font-family: var(--font-heading); }
.casino-card-license { font-size: 0.8rem; color: var(--text-light); }
.casino-card-bonus {
  background: rgba(255, 193, 116, 0.08);
  border: 1px solid rgba(255, 193, 116, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}
.casino-card-bonus strong { color: var(--primary); font-size: 1.05rem; display: block; font-weight: 700; }
.casino-card-bonus small { color: var(--text-light); display: block; font-size: 0.78rem; margin-top: 0.25rem; }
.casino-card-rating { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem; }
.rating-score {
  background: var(--secondary-container);
  color: var(--on-secondary);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(78, 222, 163, 0.35);
}
.rating-stars { color: var(--primary); font-size: 1rem; letter-spacing: 0.05em; }
.rating-label { color: var(--secondary); font-size: 0.85rem; font-weight: 600; }
.casino-card-features { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.casino-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--surface-highest);
  color: var(--text-light);
  font-size: 0.78rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
}
.casino-feature svg { color: var(--secondary); }
.casino-card-pros, .pros-list ul, .cons-list ul { padding: 0; }
.casino-card-pros { margin-bottom: 1rem; }
.casino-card-pros li,
.pros-list li,
.cons-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 0.35rem;
  line-height: 1.5;
}
.casino-card-pros li::before,
.pros-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 800;
}
.cons-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--danger);
  font-weight: 800;
}
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1rem 0 1.25rem; }
@media (max-width: 700px) { .pros-cons { grid-template-columns: 1fr; } }
.pros-list h4, .cons-list h4 {
  font-size: 0.8rem;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}
.pros-list h4 { color: var(--secondary); }
.cons-list h4 { color: var(--danger); }
.casino-card-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: auto;
  flex-wrap: wrap;
}
.casino-card-actions .btn { flex: 1; min-width: 0; }

/* Casino list */
.casino-list-item {
  background: var(--surface-high);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1rem;
}
.casino-list-rank {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  width: 48px;
  text-align: center;
}
.casino-list-info { display: flex; flex-direction: column; gap: 0.25rem; }
.casino-list-meta { color: var(--text-light); font-size: 0.85rem; }
.casino-list-bonus { color: var(--text); font-weight: 600; }
.casino-list-tag {
  display: inline-block;
  background: var(--surface-highest);
  color: var(--primary);
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  margin-left: 0.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Comparison table */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background: var(--surface-low);
  box-shadow: var(--card-shadow);
}
.comparison-table { width: 100%; min-width: 900px; }
.comparison-table thead tr {
  background: var(--surface-high);
}
.comparison-table th {
  text-align: left;
  padding: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-light);
}
.comparison-table td {
  padding: 1rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
  font-size: 0.92rem;
}
.comparison-table tbody tr { transition: background 0.15s ease; }
.comparison-table tbody tr:hover { background: var(--surface); }
.table-casino-name { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; }
.table-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  margin-left: 0.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.table-badge-top { background: var(--primary-container); color: var(--on-primary); }
.table-badge-new { background: var(--secondary-container); color: var(--on-secondary); }

/* TOC */
.toc {
  background: var(--surface-low);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--primary);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  margin: 1.5rem 0 2rem;
}
.toc-title { font-family: var(--font-heading); font-weight: 700; margin-bottom: 0.6rem; color: var(--text); }
.toc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.4rem 1rem; }
.toc-list li::before { content: '›'; color: var(--primary); margin-right: 0.5rem; font-weight: 800; }
.toc a { color: var(--text-light); font-size: 0.9rem; }
.toc a:hover { color: var(--primary); }

/* FAQ */
.faq-item {
  background: var(--surface-low);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--text);
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-question:hover { background: var(--surface-high); color: var(--primary); }
.faq-question::after { content: '＋'; color: var(--primary); font-size: 1.1rem; }
.faq-item[open] .faq-question::after,
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { padding: 0 1.25rem 1rem; color: var(--text-light); }
.faq-answer-inner { padding-top: 0.25rem; }

/* Sidebar */
.content-with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; }
@media (max-width: 1024px) { .content-with-sidebar { grid-template-columns: 1fr; } }
.sidebar-card {
  background: var(--surface-low);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.sidebar-card h3, .sidebar-card h4 { margin-top: 0; }
.sidebar-casino-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}
.sidebar-casino-item:last-child { border-bottom: 0; }
.sidebar-rank {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary-container);
  color: var(--on-primary);
  font-weight: 800;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sidebar-casino-info { flex: 1; min-width: 0; }
.sidebar-casino-name { font-weight: 700; color: var(--text); font-size: 0.95rem; }
.sidebar-casino-bonus { color: var(--text-light); font-size: 0.8rem; }

/* Author / Review */
.author-box {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--surface-low);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 1.5rem 0;
}
.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: var(--on-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
  border: 2px solid var(--primary);
  overflow: hidden;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.author-info { color: var(--text-light); font-size: 0.9rem; }
.author-info strong { color: var(--text); display: block; font-size: 1rem; }

.review-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.review-stat {
  background: var(--surface-low);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem;
}
.review-stat-label { color: var(--text-light); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.review-stat-value { color: var(--primary); font-weight: 800; font-size: 1.4rem; font-family: var(--font-heading); }
.review-score-breakdown { display: grid; gap: 0.75rem; margin: 1.5rem 0; }
.score-row { display: grid; grid-template-columns: 140px 1fr 48px; align-items: center; gap: 1rem; }
.score-label { color: var(--text-light); font-size: 0.9rem; }
.score-bar { height: 8px; background: var(--surface-highest); border-radius: var(--radius-pill); overflow: hidden; }
.score-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary-dim), var(--primary)); border-radius: inherit; }
.score-value { color: var(--primary); font-weight: 700; text-align: right; }

/* Features grid (generic cards) */
.feature-card {
  background: var(--surface-low);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}
.feature-card:hover { border-color: rgba(255, 193, 116, 0.45); transform: translateY(-2px); }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255, 193, 116, 0.12);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

/* Payment grid */
.payment-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 0.75rem; }
.payment-item {
  background: var(--surface-low);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Breadcrumbs */
.breadcrumbs {
  color: var(--text-light);
  font-size: 0.85rem;
  margin: 1rem 0;
}
.breadcrumbs a { color: var(--text-light); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs > * + *::before { content: '/'; margin: 0 0.5rem; color: var(--outline-variant); }

/* Keyword highlight */
.keyword-highlight {
  background: rgba(255, 193, 116, 0.18);
  color: var(--primary);
  padding: 0.05em 0.35em;
  border-radius: 4px;
  font-weight: 600;
}

/* Content body styling */
.content-body p { color: var(--text-light); }
.content-body ul li, .content-body ol li { color: var(--text-light); margin-bottom: 0.4rem; padding-left: 1.2rem; position: relative; }
.content-body ul li::before { content: '•'; color: var(--primary); position: absolute; left: 0; font-weight: 800; }
.content-body ol { counter-reset: list; }
.content-body ol li { counter-increment: list; }
.content-body ol li::before { content: counter(list) '.'; color: var(--primary); position: absolute; left: 0; font-weight: 800; }
.content-body a { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(255, 193, 116, 0.4); text-underline-offset: 3px; }
.content-body a:hover { text-decoration-color: var(--primary); }

/* Footer */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-light);
  margin-top: 4rem;
  padding: 3rem 0 1.5rem;
  color: var(--text-light);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.85rem;
}
.footer-col ul li { margin-bottom: 0.4rem; }
.footer-col a { color: var(--text-light); font-size: 0.9rem; }
.footer-col a:hover { color: var(--primary); }
.footer-brand { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-brand .logo { font-size: 1.2rem; }
.footer-disclaimer { color: var(--text-muted); font-size: 0.78rem; line-height: 1.6; }
.footer-rg { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--primary); }

/* Material Symbols sizing reset */
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; vertical-align: middle; }

/* Glass utility (used by some sections) */
.glass-card {
  background: rgba(38, 30, 21, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.5rem;
}

/* Misc helpers used in inline styles */
[style*="background:#fef3c7"], [style*="background: #fef3c7"] { background: var(--surface-low) !important; color: var(--text-light) !important; }

/* Inline svg checkmarks in feature chips */
.casino-feature svg { width: 14px; height: 14px; }

/* Scrollbar polish (Webkit) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--surface-highest); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--outline); }

/* ============================================
   PATCHES — match actual page markup
   ============================================ */

/* Header geometry — taller so the logo can breathe; dropdowns must NOT be clipped */
:root { --header-height: 110px; }
.site-header { overflow: visible; }
.site-header, .nav-dropdown, .nav-dropdown-content { z-index: 1100; }

/* Logo sizing — much larger; let it overflow horizontally if needed */
.logo {
  flex-shrink: 0;
  max-width: 360px;
}
.logo img, .logo svg {
  height: 96px;
  width: auto;
  max-height: 96px;
  display: block;
  margin: 0;
  object-fit: contain;
}
.site-footer .logo img { height: 140px; max-height: 140px; margin: 0 0 0.75rem; }

/* Nav: markup uses direct <a> and <div.nav-dropdown> children (no <li>) */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-menu > a,
.nav-menu > .nav-dropdown > a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-light);
  text-transform: uppercase;
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.nav-menu > a:hover,
.nav-menu > .nav-dropdown > a:hover { color: var(--primary); }
.nav-menu > a.active,
.nav-menu > .nav-dropdown.active > a {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.nav-dropdown { position: relative; }
.nav-dropdown:hover > .nav-dropdown-content,
.nav-dropdown:focus-within > .nav-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 240px;
  max-height: 70vh;
  overflow-y: auto;
  background: var(--surface-high);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  box-shadow: 0 14px 40px rgba(0,0,0,0.55);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

/* Header layout: container needs horizontal padding even though there's no .container */
.header-inner { padding: 0 1.5rem; gap: 2rem; }

/* Mobile nav: show toggle on small screens, hide menu */
@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
}

/* Hero subtitle (not just default p) */
.hero .subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 760px;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.hero h1 strong { color: var(--primary); }
.hero .breadcrumbs { color: var(--text-muted); }
.hero .breadcrumbs .current { color: var(--text); }

/* Section toplist — sits between hero and main content */
.section-toplist {
  background: var(--bg-light);
  padding: 2.5rem 0 3rem;
  border-bottom: 1px solid var(--border-light);
}
.section-toplist h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.section-toplist > .container > p { margin-bottom: 1.5rem; }

/* Footer — markup uses h4 + direct <a> siblings (no <ul>) */
.site-footer .container { padding: 0 1.5rem; }
.footer-rg {
  display: block;
  background: var(--surface-low);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-rg h4 {
  margin: 0 0 0.5rem;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 1.05rem;
}
.footer-rg p {
  margin: 0 0 0.75rem;
  color: var(--text-light);
  font-size: 0.9rem;
}
.footer-rg .rg-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}
.footer-disclaimer {
  background: var(--surface-low);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}
.footer-disclaimer strong { color: var(--text-light); }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 0.85rem;
  font-weight: 700;
}
.footer-col > a {
  display: block;
  color: var(--text-light);
  font-size: 0.9rem;
  padding: 0.25rem 0;
}
.footer-col > a:hover { color: var(--primary); }
.footer-brand p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}
.footer-bottom { font-size: 0.8rem; }
.footer-bottom span:last-child a { color: var(--text-muted); }
.footer-bottom span:last-child a:hover { color: var(--primary); }

/* Breadcrumb works as <nav class="breadcrumbs"> too */
nav.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; padding: 0.75rem 0; }
nav.breadcrumbs a, nav.breadcrumbs span { font-size: 0.85rem; color: var(--text-muted); }
nav.breadcrumbs a:hover { color: var(--primary); }
nav.breadcrumbs .current { color: var(--text-light); }
nav.breadcrumbs > * + *::before { content: '/'; margin: 0 0.4rem; color: var(--outline-variant); }
nav.breadcrumbs > a + span:not(.current)::before,
nav.breadcrumbs > a + span::before { content: ''; margin: 0; }
nav.breadcrumbs span:not(.current) { color: var(--outline-variant); }

/* Sidebar: guide pages use <aside class="content-sidebar"> */
.content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .content-with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem; }
}

/* Author info on review pages */
.author-role { color: var(--text-light); font-size: 0.85rem; }
.author-bio { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; margin-top: 0.5rem; }

/* Inline-style overrides that conflict with dark theme */
[style*="background:#fef2f2"], [style*="background: #fef2f2"],
[style*="background:#fff"], [style*="background: #fff"],
[style*="background: rgba(255,255,255,0"],
[style*="background:#fef3c7"], [style*="background: #fef3c7"],
[style*="background:#f8fafc"], [style*="background: #f8fafc"],
[style*="background:#f3f4f6"], [style*="background: #f3f4f6"],
[style*="background:#1a1f36"], [style*="background: #1a1f36"] {
  background: var(--surface-low) !important;
  color: var(--text-light) !important;
  border-color: var(--border-light) !important;
}
[style*="color:#1f2937"], [style*="color: #1f2937"],
[style*="color:#1a1f36"], [style*="color: #1a1f36"] {
  color: var(--text) !important;
}

/* Existing comparison tables that aren't the new toplist (e.g. inline data tables) */
table { color: var(--text); }
th { color: var(--text); }
td { color: var(--text-light); }

/* Updated badge polish */
.updated-badge { background: var(--surface-high); }
.updated-badge svg { color: var(--primary); }

/* Hero badge svg color */
.hero-badge svg { color: var(--primary); }
.rg-badge svg { color: var(--primary); }

/* Article body inside main */
main.section { padding: 2.5rem 0 3.5rem; }
main .content-body > p:first-of-type { font-size: 1.05rem; }

/* Constrain prose to a readable column; let cards/tables/grids stay wide */
.content-body { max-width: 920px; margin-left: auto; margin-right: auto; }
.content-body > .grid-2,
.content-body > .grid-3,
.content-body > .casino-card,
.content-body > .comparison-table-wrapper,
.content-body > .pros-cons,
.content-body > .review-stats,
.content-body > .payment-grid,
.content-body > table { max-width: none; }
/* When the page uses sidebar layout, content-body is already constrained by its column */
.content-with-sidebar .content-body { max-width: none; }

/* Anchor-jump scroll offset (sticky header) */
:target { scroll-margin-top: calc(var(--header-height) + 16px); }

/* Make sure links inside dark surface-low boxes are readable */
.info-box a, .sidebar-card a, .toc a { color: var(--primary); }
.info-box a:hover, .sidebar-card a:hover { color: var(--primary-dim); }

/* Mobile responsive table */
@media (max-width: 700px) {
  .comparison-table { min-width: 720px; font-size: 0.85rem; }
  .comparison-table th, .comparison-table td { padding: 0.6rem; }
}

/* Casino card actions on smaller screens */
@media (max-width: 520px) {
  .casino-card-actions { flex-direction: column; }
  .casino-card-actions .btn { width: 100%; }
}

/* ============================================
   Above-the-fold layout
   Hero stays compact: breadcrumb → updated-badge → H1 →
   2-sentence summary (always visible) → "See more" toggle
   on mobile that reveals the longer subtitle/badges.
   Toplist sits directly underneath.
   ============================================ */

/* Hero — compact on all screens */
.hero, .guide-hero, .review-hero {
  padding: 1.75rem 0 1.25rem;
}
.hero > .container,
.guide-hero > .container,
.review-hero > .container {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.hero .breadcrumbs,
.guide-hero .breadcrumbs,
.review-hero .breadcrumbs { margin: 0; }
.hero .updated-badge,
.guide-hero .updated-badge,
.review-hero .updated-badge { align-self: flex-start; margin: 0; }
.hero h1, .guide-hero h1, .review-hero h1 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.18;
  margin: 0;
}

/* Always-visible 2-sentence summary under H1 */
.hero-summary {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-light);
  max-width: 780px;
}

/* Secondary content (subtitle + badges + stats) — visible on desktop, collapsed on mobile */
.hero .subtitle,
.guide-hero .subtitle,
.review-hero .subtitle {
  margin: 0;
  color: var(--text-light);
}
.hero .hero-badges,
.guide-hero .hero-badges { margin: 0.25rem 0 0; }

/* Hero toggle button — only visible on mobile */
.hero-toggle {
  display: none;
  align-self: flex-start;
  margin-top: 0.25rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  align-items: center;
  gap: 0.4rem;
}
.hero-toggle:hover { color: var(--primary); border-color: var(--primary); }
.hero-toggle-icon { transition: transform 0.2s ease; line-height: 1; display: inline-block; }

/* Toplist sits flush under hero */
.section-toplist { padding: 1.5rem 0 2rem; border-bottom: 1px solid var(--border-light); }
.section-toplist > .container { display: flex; flex-direction: column; gap: 0.65rem; }
.section-toplist h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  margin: 0;
  line-height: 1.2;
}
.section-toplist > .container > p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-light);
  max-width: 780px;
}
.section-toplist .comparison-table-wrapper { margin-top: 0.4rem; }

/* Author credit beneath the table — mobile only */
.toplist-credit {
  display: none;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--surface-low);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}
.toplist-credit .author-avatar {
  width: 44px;
  height: 44px;
  border-width: 1.5px;
}
.toplist-credit-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.toplist-credit-meta strong { color: var(--text); font-size: 0.92rem; font-weight: 700; }
.toplist-credit-meta span { color: var(--text-light); font-size: 0.78rem; }

/* ---------- Mobile (≤768px) ---------- */
@media (max-width: 768px) {
  .hero, .guide-hero, .review-hero { padding: 0.85rem 0 0.5rem; }
  .hero > .container,
  .guide-hero > .container,
  .review-hero > .container { gap: 0.5rem; }
  .hero h1, .guide-hero h1, .review-hero h1 { font-size: 1.4rem; }
  .hero-summary { font-size: 0.95rem; max-width: none; }

  /* Hide secondary content until "See more" is tapped */
  .hero .subtitle,
  .hero .hero-badges,
  .guide-hero .subtitle,
  .guide-hero .hero-badges,
  .review-hero .subtitle,
  .review-hero .review-stats,
  .review-hero .btn-large {
    display: none;
  }
  .hero.hero--expanded .subtitle,
  .guide-hero.hero--expanded .subtitle,
  .review-hero.hero--expanded .subtitle { display: block; }
  .hero.hero--expanded .hero-badges,
  .guide-hero.hero--expanded .hero-badges { display: flex; }
  .review-hero.hero--expanded .review-stats { display: grid; }
  .review-hero.hero--expanded .btn-large { display: inline-flex; }

  .hero-toggle { display: inline-flex; }
  .hero--expanded .hero-toggle-icon { transform: rotate(180deg); }
  .hero--expanded .hero-toggle .hero-toggle-label::before { content: 'Show less'; }
  .hero--expanded .hero-toggle .hero-toggle-label { font-size: 0; line-height: 0; }
  .hero--expanded .hero-toggle .hero-toggle-label::before { font-size: 0.78rem; line-height: 1; }

  /* Toplist gets the lower half of the viewport */
  .section-toplist { padding: 1rem 0 1.25rem; }
  .section-toplist > .container { gap: 0.5rem; }
  .section-toplist h2 { font-size: 1.15rem; }
  .section-toplist > .container > p { font-size: 0.88rem; }

  /* Convert comparison table into stacked cards — no horizontal scroll, CTA always visible */
  .comparison-table-wrapper {
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
  }
  .comparison-table { display: block; width: 100%; min-width: 0; }
  .comparison-table thead { display: none; }
  .comparison-table tbody, .comparison-table tbody tr { display: block; }
  .comparison-table tbody tr {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    grid-template-areas:
      "rank casino rating"
      "bonus bonus bonus"
      "cta cta cta";
    column-gap: 0.7rem;
    row-gap: 0.55rem;
    align-items: center;
    padding: 0.85rem 0.9rem;
    margin-bottom: 0.65rem;
    background: var(--surface-high);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
  }
  .comparison-table tbody tr:hover { background: var(--surface-high); }
  .comparison-table td {
    display: block;
    padding: 0;
    border: 0;
    font-size: 0.85rem;
    color: var(--text);
  }
  .comparison-table td:nth-child(1) {       /* Rank */
    grid-area: rank;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.55rem;
    text-align: center;
    line-height: 1;
  }
  .comparison-table td:nth-child(1) strong { font-weight: 800; }
  .comparison-table td:nth-child(2) {       /* Casino name + logo */
    grid-area: casino;
    min-width: 0;
  }
  .comparison-table td:nth-child(2) .table-casino-name {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text);
    flex-wrap: wrap;
  }
  .comparison-table td:nth-child(3) {       /* Welcome bonus */
    grid-area: bonus;
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.35;
    padding: 0.45rem 0.65rem;
    background: rgba(255, 193, 116, 0.08);
    border: 1px solid rgba(255, 193, 116, 0.22);
    border-radius: 8px;
  }
  .comparison-table td:nth-child(3)::before {
    content: 'Welcome bonus · ';
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline;
    margin-right: 0.25rem;
  }
  /* Hide secondary stats columns on mobile (Free Spins · Min Deposit · Payout Speed) */
  .comparison-table td:nth-child(4),
  .comparison-table td:nth-child(5),
  .comparison-table td:nth-child(6) { display: none; }
  .comparison-table td:nth-child(7) {       /* Rating */
    grid-area: rating;
    align-self: center;
    justify-self: end;
  }
  .comparison-table td:nth-child(7) .rating-score { padding: 0.25rem 0.55rem; font-size: 0.85rem; }
  .comparison-table td:nth-child(8) {       /* CTA — always visible, full width */
    grid-area: cta;
    text-align: center;
  }
  .comparison-table td:nth-child(8) .btn {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.92rem;
  }
  .table-casino-logo { width: 36px; height: 22px; margin-right: 0.5rem; }
  .table-badge { display: inline-block; margin-top: 0.2rem; }

  /* Show the author credit beneath the table on mobile */
  .toplist-credit { display: flex; }

  /* Hide in-hero author bylines on mobile so the only author block
     visible above the fold is the one beneath the toplist table. */
  .hero .author-box,
  .guide-hero .guide-meta,
  .review-hero .author-box { display: none; }
  .hero.hero--expanded .author-box,
  .guide-hero.hero--expanded .guide-meta,
  .review-hero.hero--expanded .author-box { display: flex; }
}

/* Review-page hero brand logo */
.casino-hero-logo {
  width: auto;
  height: 96px;
  max-width: 240px;
  object-fit: contain;
  background: var(--surface-highest);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: block;
  margin-bottom: 1.25rem;
}

/* Inline logo inside comparison-table rows */
.table-casino-logo {
  display: inline-block;
  width: 48px;
  height: 28px;
  object-fit: contain;
  background: var(--surface-highest);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 2px 4px;
  margin-right: 0.6rem;
  vertical-align: middle;
  flex-shrink: 0;
}
.table-casino-name { display: inline-flex; align-items: center; gap: 0.3rem; }
