/* ============================================
   Best Non-GamStop Casinos UK - Global Styles
   ============================================ */

:root {
  --primary: #1e3a5f;
  --primary-dark: #0f2440;
  --primary-light: #2a4f7f;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --accent-light: #fbbf24;
  --success: #10b981;
  --success-dark: #059669;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --bg-body: #f8fafc;
  --bg-white: #ffffff;
  --bg-light: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-card: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-white: #ffffff;
  --text-on-primary: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
  --radius-sm: 6px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max-width: 1200px;
  --header-height: 70px;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --transition: all 0.2s ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-sans);
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

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

h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; color: var(--text-primary); }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; margin-top: 2rem; }
h3 { font-size: 1.375rem; margin-top: 1.5rem; }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; color: var(--text-secondary); }

ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.5rem; color: var(--text-secondary); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
}

/* Lock everything inside .header-inner to the same vertical baseline */
.header-inner > * { display: flex; align-items: center; }

.site-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  height: var(--header-height);
  line-height: var(--header-height);
}

.site-logo:hover { color: var(--primary); }

.site-logo img {
  display: block;
  height: 32px;
  width: auto;
}

@media (max-width: 768px) {
  .site-logo img { height: 28px; }
}

/* Legacy text-glyph logo (still used in footer) */
.site-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary-dark);
  font-weight: 900;
}

.main-nav { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; }

.main-nav > li { list-style: none; position: relative; margin: 0; }

.main-nav > li > a {
  display: block;
  padding: 0 0.9rem;
  height: var(--header-height);
  line-height: var(--header-height);
  color: var(--text-primary);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: var(--transition);
}

.main-nav { gap: 0.1rem; }

.main-nav > li > a:hover,
.main-nav > li:hover > a { color: var(--primary); background: rgba(0,0,0,0.04); }

.main-nav > li > a.active { color: var(--primary); }

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-white);
  min-width: 260px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s ease;
  z-index: 1001;
  padding: 0.5rem 0;
  list-style: none;
  max-height: 400px;
  overflow-y: auto;
}

.main-nav > li:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 400;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.dropdown-menu li a:hover {
  background: var(--bg-light);
  color: var(--primary);
  border-left-color: var(--accent);
}

/* Has dropdown arrow */
.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
  transition: var(--transition);
}

.has-dropdown:hover > a::after { transform: rotate(180deg); }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 3.5rem 0 3rem;
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(245,158,11,0.1) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(59,130,246,0.08) 0%, transparent 50%);
}

.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; margin: 0 auto; }

.hero h1 { color: var(--text-white); font-size: 2.5rem; margin-bottom: 1rem; }
.hero h1 span { color: var(--accent); }

/* Brand-logo block at the top of a review-page hero. */
.hero-brand { display: flex; justify-content: center; margin-bottom: 1rem; }
.hero-brand-logo {
  display: inline-flex; align-items: center; justify-content: center;
  height: 72px; width: auto; max-width: 220px;
  background: #ffffff; border-radius: 10px; padding: 8px 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.hero-brand-fallback {
  width: 96px; height: 72px;
  font-size: 1.5rem; font-weight: 800;
  color: var(--primary-dark); letter-spacing: 0.06em;
}
@media (max-width: 768px) {
  .hero-brand { margin-bottom: 0.6rem; }
  .hero-brand-logo { height: 52px; max-width: 160px; padding: 6px 10px; }
  .hero-brand-fallback { width: 70px; height: 52px; font-size: 1.1rem; }
}

.hero-subtitle { font-size: 1.15rem; color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; max-width: 650px; margin-left: auto; margin-right: auto; }

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  flex-wrap: wrap;
}

.hero-meta span { display: flex; align-items: center; gap: 0.35rem; }

/* Compact hero — used on the 10 toplist pages so the affiliate list
   shows up closer to the top of the viewport on desktop. */
.hero.hero-compact { padding: 1.75rem 0 1.5rem; }
.hero.hero-compact h1 { font-size: 1.85rem; margin-bottom: 0.5rem; }
.hero.hero-compact .hero-subtitle { font-size: 1rem; margin-bottom: 0.75rem; }
.hero.hero-compact .author-byline { padding: 0.5rem 0 0; margin-top: 0.5rem; }
@media (max-width: 768px) {
  .hero.hero-compact { padding: 0.6rem 0 0.6rem; }
  .hero.hero-compact h1 { font-size: 1.15rem; margin-bottom: 0.25rem; line-height: 1.2; }
  .hero.hero-compact .hero-subtitle { display: none; }
  .hero.hero-compact .hero-meta { display: none; }
  .hero.hero-compact .author-byline { padding: 0.35rem 0 0; margin-top: 0.35rem; border-top: 1px solid rgba(255,255,255,0.15); gap: 0.5rem; }
  .hero.hero-compact .author-byline .author-avatar { width: 32px; height: 32px; font-size: 0.8rem; }
  .hero.hero-compact .author-byline .author-date { font-size: 0.7rem; line-height: 1.2; }
  .hero.hero-compact .breadcrumbs,
  .hero.hero-compact nav.breadcrumb { padding-bottom: 0.4rem; font-size: 0.72rem; }
}

/* Footer logo — site image, white bg pill so it reads against the dark footer. */
.site-logo.footer-logo img { height: 36px; width: auto; background: #ffffff; padding: 4px 10px; border-radius: 6px; }

/* Sticky bottom-of-viewport CTA — mobile only.
   Drives #1 affiliate offer; visible only on viewports ≤ 768px. */
.sticky-cta { display: none; }
@media (max-width: 768px) {
  .sticky-cta {
    display: block;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #ffffff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
    z-index: 998;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .sticky-cta-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 0.75rem; padding: 0.55rem 0.75rem;
  }
  .sticky-cta-meta { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
  .sticky-cta-rank { font-size: 1.1rem; font-weight: 800; color: var(--accent); }
  .sticky-cta-brand { display: block; font-size: 0.88rem; color: var(--text-primary); line-height: 1.15; }
  .sticky-cta-offer { display: block; font-size: 0.72rem; color: var(--text-muted); line-height: 1.1; margin-top: 1px; }
  .sticky-cta-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff; font-weight: 700; padding: 0.6rem 1rem; border-radius: 6px;
    text-decoration: none; white-space: nowrap; font-size: 0.85rem;
  }
  /* leave room above the footer for the sticky bar */
  body { padding-bottom: 64px; }
}

/* Footer trust strip — BeGambleAware / GamCare / 18+ / helpline.
   Lives above the disclaimer in the footer. */
.footer-trust {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1rem 1.5rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08); margin: 1rem 0;
}
.footer-trust .trust-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.85); font-size: 0.82rem; text-decoration: none;
  transition: var(--transition);
}
.footer-trust a.trust-badge:hover { color: var(--accent); }
.footer-trust .trust-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 28px; border-radius: 4px; background: rgba(255,255,255,0.1);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em;
}
.footer-trust .trust-icon.trust-age { background: var(--danger); color: #fff; }
.footer-trust .trust-helpline { font-weight: 600; }

/* Intro / overview block collapsible on mobile.
   Checkbox-hack pattern from affiliate-list-placement.md §4. */
/* Review "toon meer" toggle (all viewports, CSS-only) */
.reviews-collapse-toggle { position: absolute; left: -9999px; }
.reviews-extra { display: none; }
.reviews-collapse-toggle:checked ~ .reviews-extra { display: block; }
.reviews-more-label {
  display: block; max-width: 340px; margin: 1.25rem auto 0; text-align: center;
  cursor: pointer; padding: 0.85rem 1.5rem; border-radius: var(--radius-md);
  background: var(--primary); color: #fff; font-weight: 600; user-select: none;
}
.reviews-more-label:hover { filter: brightness(1.05); }
.reviews-more-label::after { content: "Toon de overige 7 casino's \25BE"; }
.reviews-collapse-toggle:checked ~ .reviews-more-label::after { content: "Toon minder \25B4"; }

.intro-collapse-toggle { position: absolute; left: -9999px; }
.intro-collapse-summary { display: none; }
.intro-collapse-body { display: block; }
@media (max-width: 768px) {
  .intro-collapse-summary {
    display: inline-block;
    cursor: pointer;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0.25rem 0 0.75rem;
    user-select: none;
  }
  .intro-collapse-summary::after { content: " \25BE"; margin-left: 2px; }
  .intro-collapse-body { display: none; }
  .intro-collapse-toggle:checked ~ .intro-collapse-summary::after { content: " \25B4"; }
  .intro-collapse-toggle:checked ~ .intro-collapse-body { display: block; }
}

/* When breadcrumb + byline are placed inside the hero, recolour for the dark
   hero background (per affiliate-list-placement.md rule 1). */
.hero .breadcrumbs,
.hero nav.breadcrumb { color: rgba(255,255,255,0.7); padding: 0 0 0.75rem; font-size: 0.8rem; }
.hero .breadcrumbs a,
.hero nav.breadcrumb a { color: var(--accent); }
.hero .breadcrumbs a:hover,
.hero nav.breadcrumb a:hover { color: #fff; }
.hero .breadcrumbs strong,
.hero nav.breadcrumb [aria-current="page"] { color: rgba(255,255,255,0.85); font-weight: 500; }
.hero nav.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.hero nav.breadcrumb li { margin: 0; color: inherit; }
.hero nav.breadcrumb li + li::before { content: '\203A'; margin-right: 0.5rem; color: rgba(255,255,255,0.45); }

.hero .author-byline {
  padding: 0.75rem 0 0;
  margin: 0.75rem 0 0;
  border-bottom: none;
  border-top: 1px solid rgba(255,255,255,0.15);
  justify-content: center;
}
.hero .author-byline .author-name { color: #fff; }
.hero .author-byline .author-name a { color: var(--accent); }
.hero .author-byline .author-name a:hover { color: #fff; }
.hero .author-byline .author-date { color: rgba(255,255,255,0.7); }
.hero .author-byline .verified-badge { background: rgba(255,255,255,0.12); color: #ecfdf5; }

/* ============================================
   AUTHOR BYLINE
   ============================================ */
.author-byline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

/* When .author-avatar is an <img>, render the photo cleanly and drop
   the initials-chip gradient + flex centering. */
img.author-avatar {
  background: none;
  display: block;
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(255,255,255,0.25);
}
.hero img.author-avatar { border-color: rgba(255,255,255,0.35); }

.author-info { font-size: 0.85rem; }
.author-name { font-weight: 600; color: var(--text-primary); }
.author-name a { color: var(--primary); }
.author-name a:hover { color: var(--accent); }
.author-date { color: var(--text-muted); margin: 0; }
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #ecfdf5;
  color: var(--success);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 0.5rem;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}

.content-section h2 {
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 1.25rem;
  margin-top: 0;
}

.content-section h3 { margin-top: 1.5rem; margin-bottom: 0.75rem; }

.content-section h2 + h3 { margin-top: 1rem; }

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  font-size: 0.9rem;
}

.comparison-table thead { background: var(--primary-dark); }

.comparison-table th {
  padding: 1rem 0.75rem;
  text-align: left;
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.comparison-table td {
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.comparison-table tbody tr:hover { background: var(--bg-light); }
.comparison-table tbody tr:last-child td { border-bottom: none; }

.table-rank {
  display: inline-flex;
  align-items: baseline;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: #64748b; /* neutral slate for rank 4+ */
  font-variant-numeric: tabular-nums;
}

.table-rank .rank-hash {
  font-weight: 600;
  font-size: 0.85em;
  margin-right: 1px;
  opacity: 0.6;
}

.table-rank.gold,
.table-rank.silver,
.table-rank.bronze { color: var(--accent); }

.table-rank.gold   { font-size: 1.35rem; }
.table-rank.silver { font-size: 1.25rem; }
.table-rank.bronze { font-size: 1.18rem; }

.toplist-intro { margin: 0.5rem 0 1rem; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.55; }
.toplist-intro a { color: var(--primary); font-weight: 600; }
.toplist-intro a:hover { color: var(--accent); }

/* Internal (in-content) links — brand orange, site-wide.
   Scoped to content + hero; .btn excluded so CTAs keep their button styling.
   !important so it also overrides inline color:inherit on author/byline stamps. */
main a[href^="/"]:not(.btn),
.hero-content a[href^="/"]:not(.btn) {
  color: var(--accent) !important;
  font-weight: 600;
}
main a[href^="/"]:not(.btn):hover,
.hero-content a[href^="/"]:not(.btn):hover {
  color: var(--accent-dark) !important;
  text-decoration: underline;
}

.brand-cell { display: flex; align-items: center; gap: 0.75rem; }
.brand-cell-meta { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.brand-logo { width: 64px; height: 36px; object-fit: contain; background: #fff; border-radius: 6px; padding: 3px 5px; flex-shrink: 0; border: 1px solid var(--border); }
.brand-logo-fallback { display: inline-flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 800; color: var(--primary); letter-spacing: 0.05em; }
.table-tested { font-size: 0.68rem; color: var(--success-dark); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.15rem; }
.table-tested::before { content: "\2713 "; }
@media (max-width: 768px) {
  .brand-cell { gap: 0.5rem; }
  .brand-logo { width: 48px; height: 28px; padding: 2px 3px; }
}

.table-casino-name {
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}

.table-casino-name a { color: var(--text-primary); }
.table-casino-name a:hover { color: var(--primary); }

.table-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  background: #eff6ff;
  color: var(--primary);
  margin-top: 4px;
}

.table-bonus { font-weight: 600; color: var(--success-dark); }

.table-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--accent-dark);
}

.table-rating .stars { color: var(--accent); font-size: 0.8rem; }

/* ---- Desktop toplist polish (horizontal table, >768px) ---- */
.toplist-table { font-size: 0.95rem; }
.toplist-table thead th { padding: 0.95rem 0.9rem; font-size: 0.72rem; }
.toplist-table tbody td { padding: 1.2rem 0.9rem; }
.toplist-table tbody tr { transition: background 0.15s; }
.toplist-table tbody tr:hover { background: #f1f5f9; }
/* #1 row gets a subtle amber wash + accent left edge */
.toplist-table tbody tr:first-child {
  background: linear-gradient(90deg, rgba(245,158,11,0.07), transparent 55%);
  box-shadow: inset 4px 0 0 0 var(--accent);
}
.toplist-table tbody tr:first-child:hover { background: linear-gradient(90deg, rgba(245,158,11,0.12), transparent 55%); }

/* bigger logo box */
.toplist-table .brand-cell { gap: 1rem; }
.toplist-table .brand-logo { width: 116px; height: 60px; padding: 7px 11px; border-radius: 8px; }
.toplist-table .table-casino-name { font-size: 1.05rem; }
.toplist-table .table-tag {
  background: var(--accent); color: var(--primary-dark); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.66rem;
}

/* rank → filled circular badge (top 3 coloured, rest slate) */
.toplist-table .table-rank {
  display: inline-flex; justify-content: center; align-items: center; line-height: 1;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 1.05rem; color: #fff; background: #64748b;
}
.toplist-table .table-rank .rank-hash { display: none; }
.toplist-table .table-rank.gold   { background: linear-gradient(135deg, var(--accent-light), var(--accent-dark)); color: var(--primary-dark); }
.toplist-table .table-rank.silver { background: linear-gradient(135deg, #cbd5e1, #94a3b8); color: var(--primary-dark); }
.toplist-table .table-rank.bronze { background: linear-gradient(135deg, #d6a06a, #b45309); }

/* bonus → bold navy headline number */
.toplist-table .table-bonus { font-size: 1.05rem; font-weight: 800; color: var(--primary); }

/* CTA → larger, shinier */
.toplist-table .btn-table {
  padding: 0.72rem 1.6rem; font-size: 0.92rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.02em; border-radius: 10px;
  box-shadow: 0 4px 12px rgba(245,158,11,0.35); white-space: nowrap;
}
.toplist-table .btn-table:hover { transform: translateY(-2px); box-shadow: 0 7px 18px rgba(245,158,11,0.45); }

/* ============================================
   CTA BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(245,158,11,0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245,158,11,0.4);
  color: var(--primary-dark);
}

.btn-secondary {
  background: var(--primary);
  color: var(--text-white);
}

.btn-secondary:hover {
  background: var(--primary-dark);
  color: var(--text-white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--text-white);
}

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.8rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-table {
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  border-radius: var(--radius-sm);
}

/* ============================================
   REVIEW CARDS
   ============================================ */
.review-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.review-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.review-header-left { display: flex; align-items: center; gap: 1rem; }

.review-rank {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

/* Brand logo inside the review-card header (homepage stack + per-review hero card). */
.review-logo {
  width: 84px;
  height: 56px;
  background: #ffffff;
  border-radius: var(--radius);
  padding: 6px 10px;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.review-logo-fallback {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 0.06em;
}
@media (max-width: 768px) {
  .review-header-left { gap: 0.5rem; flex-wrap: wrap; }
  .review-rank { width: 36px; height: 36px; font-size: 0.95rem; }
  .review-logo { width: 60px; height: 40px; padding: 4px 6px; }
  .review-logo-fallback { font-size: 0.85rem; }
}

.review-title-area h3 {
  color: var(--text-white);
  margin: 0;
  font-size: 1.35rem;
}

.review-award {
  display: inline-block;
  background: rgba(245,158,11,0.2);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 4px;
}

.review-header-right { text-align: right; }

.review-bonus-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.5px; }

.review-bonus-value { font-size: 1.5rem; font-weight: 800; color: var(--accent); display: block; }

.review-body { padding: 2rem; }

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-item {
  text-align: center;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: var(--radius);
}

.info-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; margin-bottom: 0.25rem; }

.info-value { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); }

/* Pros & Cons */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.5rem 0; }

.pros-box, .cons-box {
  padding: 1.25rem;
  border-radius: var(--radius);
}

.pros-box { background: #f0fdf4; border: 1px solid #bbf7d0; }
.cons-box { background: #fef2f2; border: 1px solid #fecaca; }

.pros-box h4, .cons-box h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.pros-box h4 { color: var(--success-dark); }
.cons-box h4 { color: var(--danger); }

.pros-box ul, .cons-box ul { list-style: none; padding: 0; margin: 0; }

.pros-box li, .cons-box li {
  padding: 0.35rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pros-box li::before { content: '\2713'; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.cons-box li::before { content: '\2717'; position: absolute; left: 0; color: var(--danger); font-weight: 700; }

/* Review Text */
.review-text { margin: 1.5rem 0; }
.review-text p { margin-bottom: 0.75rem; }

/* Testing Experience */
.testing-box {
  background: linear-gradient(135deg, #eff6ff, #f0f9ff);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.testing-box h4 {
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.testing-box p { font-size: 0.9rem; }

/* Rating Breakdown */
.rating-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.rating-item { text-align: center; }

.rating-item .rating-score {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.rating-item .rating-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rating-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--success));
  border-radius: 2px;
}

/* Pull Quote */
.pull-quote {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--bg-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-primary);
  font-size: 1.05rem;
}

/* Review CTA */
.review-cta {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--bg-light);
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-sans);
  transition: var(--transition);
}

.faq-question:hover { background: var(--border); }

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-question::after { content: '\2212'; }

.faq-answer {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer { max-height: 500px; padding: 1rem 1.25rem; }

.faq-answer p { font-size: 0.9rem; margin-bottom: 0.5rem; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 0;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p { font-size: 0.85rem; line-height: 1.6; color: rgba(255,255,255,0.5); margin-top: 0.75rem; }

.footer-col h4 {
  color: var(--text-white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; padding: 0; }

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.footer-disclaimer {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--danger);
  color: white;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.75rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breadcrumbs a { color: var(--primary); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { margin: 0 0.4rem; }

/* ============================================
   SIDEBAR / TABLE OF CONTENTS
   ============================================ */
.page-layout { display: grid; grid-template-columns: 1fr 280px; gap: 2rem; align-items: start; }

.toc {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 90px;
  border: 1px solid var(--border-light);
}

.toc h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 1rem; }

.toc ul { list-style: none; padding: 0; }
.toc li { margin-bottom: 0.5rem; }
.toc a { font-size: 0.85rem; color: var(--text-secondary); display: block; padding: 0.25rem 0; border-left: 2px solid transparent; padding-left: 0.75rem; }
.toc a:hover { color: var(--primary); border-left-color: var(--accent); }

/* ============================================
   GUIDE CARDS / LISTING
   ============================================ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 1.5rem 0; }

.guide-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.guide-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.guide-card-img {
  height: 160px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 2.5rem;
}

.guide-card-body { padding: 1.25rem; }

.guide-card-body h3 { font-size: 1.05rem; margin: 0 0 0.5rem; }
.guide-card-body h3 a { color: var(--text-primary); }
.guide-card-body h3 a:hover { color: var(--primary); }

.guide-card-body p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ============================================
   CATEGORY PAGE CASINO LIST
   ============================================ */
.casino-list-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.casino-list-item:hover { box-shadow: var(--shadow-md); }

.casino-list-rank {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.casino-list-info { flex: 1; }
.casino-list-info h3 { margin: 0; font-size: 1.1rem; }
.casino-list-info p { margin: 0.25rem 0 0; font-size: 0.85rem; }

.casino-list-bonus {
  text-align: center;
  flex-shrink: 0;
}

.casino-list-bonus .bonus-amount { font-size: 1.1rem; font-weight: 800; color: var(--success-dark); display: block; }
.casino-list-bonus .bonus-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; }

.casino-list-cta { flex-shrink: 0; }

/* ============================================
   INFO BOXES / CALLOUTS
   ============================================ */
.info-box {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  border-left: 4px solid;
}

.info-box.tip { background: #f0fdf4; border-left-color: var(--success); }
.info-box.warning { background: #fffbeb; border-left-color: var(--warning); }
.info-box.danger { background: #fef2f2; border-left-color: var(--danger); }
.info-box.info { background: #eff6ff; border-left-color: var(--info); }

.info-box h4 { margin-bottom: 0.5rem; font-size: 0.95rem; }
.info-box p { font-size: 0.9rem; margin: 0; }

/* ============================================
   CONTACT FORM
   ============================================ */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font-sans);
  transition: var(--transition);
  background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,58,95,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-primary { background: #eff6ff; color: var(--primary); }
.badge-success { background: #ecfdf5; color: var(--success-dark); }
.badge-warning { background: #fffbeb; color: var(--accent-dark); }
.badge-danger { background: #fef2f2; color: var(--danger); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .page-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.15rem; }

  .hero { padding: 2.5rem 0 2rem; }
  .hero h1 { font-size: 1.35rem; line-height: 1.25; overflow-wrap: anywhere; padding: 0; }
  .hero h1 span { display: inline; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-meta { display: none; }
  /* Mobile toplist — 3-row stacked card per casino:
     Row 1: rank + brand block (logo, name, descriptor, tested badge)
     Row 2: rank (spans) + bonus copy
     Row 3: full-width Claim CTA.
     Wagering / payout / rating hidden on mobile.
     Scoped to .toplist-table so other .comparison-table instances
     (secondary content tables on guides etc.) keep table layout. */
  .toplist-table + .comparison-table-wrapper,
  .comparison-table-wrapper:has(.toplist-table) { overflow: visible; }
  .toplist-table, .toplist-table tbody, .toplist-table tr,
  .toplist-table td { display: block; width: 100%; box-sizing: border-box; }
  .toplist-table thead { display: none; }
  /* Centered vertical card: rank badge → big centered logo → name+tag
     → bold navy bonus highlight → big shiny amber CTA. */
  .toplist-table tbody tr {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "rank" "brand" "bonus" "cta";
    gap: 0.6rem;
    padding: 1.5rem 0.9rem 1.1rem;
    margin: 0.85rem 0;
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(15,23,42,0.09);
    position: relative;
  }
  .toplist-table tbody td { padding: 0; border: none; }
  /* rank → floating pill badge centered on the top border */
  .toplist-table tbody td:nth-child(1) {
    grid-area: rank; position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  }
  .toplist-table .table-rank {
    display: inline-flex; align-items: center; justify-content: center; line-height: 1;
    background: var(--primary); color: #fff;
    min-width: 2.4rem; padding: 0.4rem 0.7rem; border-radius: 999px; font-weight: 800;
    font-size: 1rem !important; box-shadow: 0 3px 8px rgba(15,23,42,0.28);
  }
  .toplist-table .table-rank.gold   { background: linear-gradient(135deg, var(--accent-light), var(--accent-dark)); color: var(--primary-dark); font-size: 1.05rem !important; }
  .toplist-table .table-rank.silver { background: #64748b; }
  .toplist-table .table-rank.bronze { background: #b45309; }
  .toplist-table .table-rank .rank-hash { display: inline; opacity: 0.65; }
  /* brand block: logo centered + name + tag */
  .toplist-table tbody td:nth-child(2) { grid-area: brand; }
  .toplist-table .brand-cell { flex-direction: column; align-items: center; gap: 0.5rem; }
  .toplist-table .brand-logo {
    width: 160px; height: 84px; padding: 8px 12px; object-fit: contain;
    border: 1px solid var(--border); border-radius: 10px; background: #fff;
  }
  .toplist-table .brand-cell-meta { align-items: center; text-align: center; gap: 0.25rem; }
  .toplist-table .table-casino-name { font-size: 1.2rem; font-weight: 800; line-height: 1.2; }
  .toplist-table .table-tag {
    display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 3px 12px;
    border-radius: 999px; background: var(--accent); color: var(--primary-dark);
    text-transform: uppercase; letter-spacing: 0.04em; margin: 0;
  }
  .toplist-table .table-tested { font-size: 0.66rem; }
  /* bonus → bold navy highlight banner (highlight, NOT a button) */
  .toplist-table tbody td:nth-child(3) {
    grid-area: bonus;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff; font-size: 1.3rem; font-weight: 800; line-height: 1.2;
    padding: 0.7rem 0.85rem; border-radius: 8px;
    pointer-events: none; box-shadow: none;
  }
  .toplist-table tbody td:nth-child(3)::before {
    content: "Welkomstbonus"; display: block; font-size: 0.62rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.09em; color: var(--accent-light);
    margin-bottom: 3px;
  }
  .toplist-table tbody td:nth-child(4),
  .toplist-table tbody td:nth-child(5),
  .toplist-table tbody td:nth-child(6) { display: none; }
  /* CTA → big shiny amber button, the only interactive element */
  .toplist-table tbody td:nth-child(7) { grid-area: cta; margin-top: 0.15rem; }
  .toplist-table tbody td:nth-child(7) .btn {
    display: block; width: 100%; text-align: center;
    padding: 1rem 1rem !important; font-size: 1.15rem !important; font-weight: 800;
    letter-spacing: 0.03em; text-transform: uppercase;
    background: linear-gradient(180deg, var(--accent-light) 0%, var(--accent-dark) 100%);
    color: var(--primary-dark); border-radius: 12px;
    box-shadow: 0 6px 18px rgba(245,158,11,0.45);
    transition: transform 0.15s, box-shadow 0.15s;
  }
  .toplist-table tbody td:nth-child(7) .btn:active {
    transform: translateY(1px); box-shadow: 0 3px 10px rgba(245,158,11,0.35);
  }

  /* Secondary / kw tables — scroll horizontally inside their wrapper. */
  .comparison-table-wrapper,
  .table-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -0.5rem;
    padding: 0 0.5rem;
  }
  /* Subtle scroll affordance: hint chevrons via box-shadow on the wrapper */
  .table-scroll-wrapper { position: relative; }
  .comparison-table:not(.toplist-table),
  table.kw-table {
    display: table;
    width: 100%;
    min-width: 480px;
    font-size: 0.82rem;
  }
  .comparison-table:not(.toplist-table) th,
  .comparison-table:not(.toplist-table) td,
  table.kw-table th, table.kw-table td {
    padding: 0.5rem 0.6rem;
    white-space: nowrap;
  }
  /* On really wide tables (≥6 cols) on small viewports, also drop font-size a hair more */
  .comparison-table:not(.toplist-table) { font-size: 0.78rem; }
  .hero-subtitle { font-size: 1rem; }

  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 1rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 999;
    border-top: 1px solid rgba(0,0,0,0.06);
  }

  .main-nav.open { transform: translateX(0); }

  .main-nav > li > a {
    height: auto;
    line-height: 1.5;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0,0,0,0.03);
    border-radius: 0;
    display: none;
  }

  .has-dropdown.open .dropdown-menu { display: block; }

  .dropdown-menu li a { color: var(--text-secondary); padding: 0.5rem 2rem; }
  .dropdown-menu li a:hover { background: rgba(0,0,0,0.05); color: var(--primary); border-left-color: var(--primary); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .pros-cons { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .rating-breakdown { grid-template-columns: repeat(3, 1fr); }

  .comparison-table { font-size: 0.8rem; }
  .comparison-table th, .comparison-table td { padding: 0.75rem 0.5rem; }

  .review-header { padding: 1rem 1.25rem; }
  .review-body { padding: 1.25rem; }

  .casino-list-item { flex-direction: column; text-align: center; gap: 1rem; }

  .content-section { padding: 1.25rem 0.75rem; }
  /* Container has 1.5rem horizontal padding; on toplist mobile rows we need
     to claw back every pixel so the Claim CTA stays inside the viewport. */
  main.container { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero h1 { font-size: 1.5rem; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================
   JAVASCRIPT INTERACTIONS
   ============================================ */
/* FAQ toggle handled by JS */
/* Nav toggle handled by JS */

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .site-header, .site-footer, .btn, .nav-toggle { display: none; }
  body { font-size: 12pt; }
  .content-section { box-shadow: none; border: 1px solid #ccc; }
}


/* AUTHOR-HUB-EXTRAS */
.author-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 0.5rem; }
.author-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }
.author-card-head { display: flex; align-items: flex-start; gap: 1rem; }
@media (max-width: 768px) { .author-card-grid { grid-template-columns: 1fr; } }

.expertise-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.expertise-pill { display: inline-block; padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--bg-light); color: var(--text-primary); font-size: 0.8rem; font-weight: 500; border: 1px solid var(--border); }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.75rem; margin-top: 0.5rem; }
.stat { background: var(--bg-light); border-radius: var(--radius); padding: 1rem; text-align: center; border: 1px solid var(--border); }
.stat-value { font-size: 1.5rem; font-weight: 800; color: var(--primary); line-height: 1.1; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* Specialist category grid (homepage) */
.category-grid { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0.85rem; }
.category-grid li { background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.85rem 1rem; line-height: 1.45; font-size: 0.95rem; }
.category-grid li a { color: var(--text); text-decoration: none; }
.category-grid li a:hover { color: var(--primary); }
.category-grid li strong { display: inline; }
