html, body {
  overflow-x: hidden;
  max-width: 100%;
}

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

/* CSS Variables for Premium Design Tokens */
:root {
  /* 60% Base Color System (Backgrounds and Light Grays) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  /* 30% Secondary Brand (Deep Navy & Slate Structure) */
  --brand-primary: #0f172a;
  --brand-secondary: #1e293b;
  --brand-light: #334155;
  --border-color: #e2e8f0;
  
  /* 10% Accent/CTA (Warm Amber Gold) */
  --accent-color: #d97706;
  --accent-hover: #b45309;
  --accent-light: #fef3c7;
  
  /* Trust Signals & Highlights */
  --success-color: #10b981;
  --info-color: #0284c7;
  --warning-color: #f59e0b;
  
  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Layout & Animation */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.08);
  --shadow-premium: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
  
  --container-width: 1200px;
}

/* Dark Mode Tokens (60-30-10 Override) */
[data-theme="dark"] {
  /* 60% Base (Slate-950 and Slate-900) */
  --bg-primary: #0b0f19;
  --bg-secondary: #020617;
  --bg-tertiary: #0f172a;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  
  /* 30% Secondary Brand (Charcoal and Dark Slate) */
  --brand-primary: #020617;
  --brand-secondary: #0f172a;
  --brand-light: #1e293b;
  --border-color: #1e293b;
  
  /* 10% Accent adjusts to dark contrast */
  --accent-light: #451a03;
}

/* Dark Mode Elements Adjustments */
[data-theme="dark"] .tip-callout {
  background-color: #1c1917;
  border-left-color: var(--accent-color);
  color: #fef3c7;
}

[data-theme="dark"] .tip-title {
  color: #f59e0b;
}

[data-theme="dark"] .tip-text {
  color: #d97706;
}

[data-theme="dark"] .comparison-table tr:hover {
  background-color: rgba(30, 41, 59, 0.4);
}

[data-theme="dark"] .casino-rank {
  background-color: var(--brand-light);
  color: var(--text-secondary);
}

[data-theme="dark"] .faq-item {
  background-color: var(--bg-primary);
}

[data-theme="dark"] .faq-question {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
}

[data-theme="dark"] .faq-question:hover {
  background-color: var(--brand-light);
}

[data-theme="dark"] .faq-answer {
  background-color: var(--bg-primary);
}

[data-theme="dark"] .faq-answer p {
  border-top-color: var(--border-color);
}

[data-theme="dark"] .quick-summary-box {
  background-color: var(--bg-primary);
}

[data-theme="dark"] .pros-box, 
[data-theme="dark"] .cons-box {
  background-color: var(--bg-tertiary);
}

/* Ensure text elements using brand-primary switch to light colors in dark mode */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] .casino-name,
[data-theme="dark"] .rating-score,
[data-theme="dark"] .bonus-amount,
[data-theme="dark"] .payout-speed,
[data-theme="dark"] .review-logo-fallback,
[data-theme="dark"] .summary-value,
[data-theme="dark"] .ranking-logo-text,
[data-theme="dark"] .ranking-bonus {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .bonus-sub,
[data-theme="dark"] .ranking-bonus-sub {
  color: var(--text-secondary) !important;
}

[data-theme="dark"] .review-logo {
  background-color: var(--bg-tertiary) !important;
  border: 1px solid var(--border-color);
}

/* Theme Toggle Button Styles */
.theme-toggle-btn {
  background: none;
  border: 1px solid var(--brand-light);
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
  background-color: var(--brand-light);
  border-color: var(--accent-color);
}

/* Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--info-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--brand-secondary);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1.25;
}

/* Base Layout Wrapper */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- HEADER / NAVIGATION --- */
.site-header {
  background-color: var(--brand-primary);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--brand-light);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  font-family: var(--font-heading);
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.4);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-links a {
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition-fast);
}

.nav-links a:hover,
.nav-links li.active a {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

/* Call-to-action button in navigation */
.nav-cta {
  background-color: var(--accent-color);
  color: #ffffff !important;
  padding: 8px 16px !important;
  border-radius: var(--radius-sm);
  border-bottom: none !important;
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

/* Mobile Menu Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- HERO SECTION --- */
.hero-section {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  color: #ffffff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  color: #ffffff;
  font-size: 2.8rem;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -1px;
}

.hero-content p {
  color: #cbd5e1;
  font-size: 1.15rem;
  margin-bottom: 24px;
  max-width: 600px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: #e2e8f0;
}

.trust-badge .dot {
  width: 8px;
  height: 8px;
  background-color: var(--success-color);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success-color);
}

.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fef3c7;
}

.hero-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
}

.hero-card h3 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.hero-stat-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-stat-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.hero-stat-item span:first-child {
  color: #94a3b8;
}

.hero-stat-item span:last-child {
  font-weight: 600;
  color: #ffffff;
}

/* --- THE HOMEPAGE COMPARISON TABLE --- */
.section-title-wrap {
  margin-top: 50px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.section-title-wrap h2 {
  font-size: 2rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 4px;
}

.table-filter-controls {
  display: flex;
  gap: 10px;
}

.filter-btn {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-secondary);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

/* Responsive Table Wrapper */
.comparison-table-wrapper {
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 800px;
}

.comparison-table th {
  background-color: var(--brand-primary);
  color: #ffffff;
  padding: 18px 24px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-table th:first-child {
  border-top-left-radius: var(--radius-sm);
}

.comparison-table th:last-child {
  border-top-right-radius: var(--radius-sm);
}

.comparison-table tr {
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.comparison-table tr:hover {
  background-color: rgba(248, 250, 252, 0.8);
}

.comparison-table tr:last-child {
  border-bottom: none;
}

.comparison-table td {
  padding: 20px 24px;
  vertical-align: middle;
}

/* Rank & Casino Column */
.rank-casino-col {
  display: flex;
  align-items: center;
  gap: 16px;
}

.casino-rank {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-secondary);
  width: 28px;
  height: 28px;
  background-color: var(--bg-tertiary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
}

tr:nth-child(1) .casino-rank {
  background-color: #fef3c7;
  color: #d97706;
}

tr:nth-child(2) .casino-rank {
  background-color: #e2e8f0;
  color: #475569;
}

tr:nth-child(3) .casino-rank {
  background-color: #ffedd5;
  color: #ea580c;
}

.casino-details {
  display: flex;
  flex-direction: column;
}

.casino-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.casino-name:hover {
  color: var(--accent-color);
}

.casino-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success-color);
  background-color: #ecfdf5;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 4px;
  align-self: flex-start;
}

/* Rating Column */
.rating-container {
  display: flex;
  flex-direction: column;
}

.stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 2px;
}

.rating-score {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.rating-score span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Bonus Column */
.bonus-offer {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.bonus-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Payout Speed Column */
.payout-speed {
  font-weight: 600;
  color: var(--brand-primary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.payout-speed::before {
  content: '⚡';
  color: var(--accent-color);
}

.payout-speed.instant {
  color: var(--success-color);
}

.payout-speed.instant::before {
  content: '🔥';
  color: var(--success-color);
}

/* Action Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-color);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  box-shadow: 0 4px 6px -1px rgba(217, 119, 6, 0.2), 0 2px 4px -2px rgba(217, 119, 6, 0.2);
  transition: var(--transition-fast);
  cursor: pointer;
  width: 100%;
  text-align: center;
}

.cta-button:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(217, 119, 6, 0.3), 0 4px 6px -4px rgba(217, 119, 6, 0.3);
  color: #ffffff;
}

.table-row-review-link {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
}

.table-row-review-link:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}

/* --- CONVERSION CALLOUT / KYC TIP --- */
.tip-callout {
  background-color: #fffbeb;
  border-left: 4px solid var(--warning-color);
  padding: 18px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.tip-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.tip-title {
  font-weight: 700;
  font-size: 1rem;
  color: #92400e;
  margin-bottom: 4px;
}

.tip-text {
  font-size: 0.9rem;
  color: #78350f;
}

.tip-text a {
  font-weight: 600;
  color: #b45309;
  text-decoration: underline;
}

/* --- THREE-LAYER STRUCTURE LAYOUT --- */
.layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media(min-width: 992px) {
  .layout-grid {
    grid-template-columns: 2fr 1fr;
  }
}

/* Main Editorial Content */
.editorial-content {
  background-color: var(--bg-primary);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 0;
}

.editorial-content h2 {
  margin-top: 32px;
  margin-bottom: 16px;
  font-size: 1.6rem;
  border-bottom: 2px solid var(--bg-tertiary);
  padding-bottom: 8px;
}

.editorial-content h2:first-of-type {
  margin-top: 0;
}

.editorial-content h3 {
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.editorial-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.7;
}

.editorial-content ul, 
.editorial-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--text-secondary);
}

.editorial-content li {
  margin-bottom: 8px;
}

/* Sidebar Elements */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-width: 0;
}

.sidebar-widget {
  background-color: var(--bg-primary);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.sidebar-widget h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--bg-tertiary);
  padding-bottom: 8px;
}

/* Mini Comparison Widget */
.widget-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.widget-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.widget-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.widget-item-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.widget-item-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}

.widget-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.widget-cta {
  background-color: var(--accent-color);
  color: #ffffff;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.widget-cta:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--bg-secondary);
}

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

.faq-question:hover {
  background-color: var(--bg-tertiary);
}

.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--accent-color);
  font-weight: bold;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  background-color: var(--bg-primary);
}

.faq-answer p {
  padding: 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-top: 1px solid var(--border-color);
  margin-bottom: 0;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

/* --- TIER 2: CATEGORY HUB SPECIFICS --- */
.category-header {
  background-color: var(--brand-primary);
  color: #ffffff;
  padding: 40px 0;
  border-bottom: 4px solid var(--accent-color);
}

.category-header h1 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.category-header p {
  color: #cbd5e1;
  font-size: 1.1rem;
}

.category-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.feature-card {
  background-color: var(--bg-primary);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
}

.feature-icon {
  font-size: 2rem;
  line-height: 1;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --- TIER 3: SINGLE REVIEW LAYOUT --- */
.review-header {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  color: #ffffff;
  padding: 50px 0;
}

.review-header-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media(min-width: 768px) {
  .review-header-grid {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
}

.review-logo {
  width: 100px;
  height: 100px;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.review-logo-fallback {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-primary);
}

.review-meta-info h1 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.rating-pill-wrap {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.rating-pill {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rating-pill span {
  color: var(--accent-color);
  font-weight: 800;
}

.review-header-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 250px;
}

/* Quick Summary Box */
.quick-summary-box {
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 30px;
  margin-top: -30px;
  margin-bottom: 40px;
  border: 1px solid var(--border-color);
  position: relative;
  z-index: 10;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.summary-item {
  display: flex;
  flex-direction: column;
}

.summary-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.summary-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
}

@media(min-width: 768px) {
  .pros-cons-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pros-box, .cons-box {
  padding: 24px;
  border-radius: var(--radius-md);
  background-color: var(--bg-secondary);
}

.pros-box {
  border-top: 4px solid var(--success-color);
}

.cons-box {
  border-top: 4px solid #ef4444;
}

.pros-box h3, .cons-box h3 {
  font-size: 1.15rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.pros-box li, .cons-box li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  position: relative;
  padding-left: 24px;
}

.pros-box li::before {
  content: '✓';
  color: var(--success-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.cons-box li::before {
  content: '✗';
  color: #ef4444;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* --- TRANSPARENT RATING TABLE IN METHODOLOGY --- */
.criteria-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 30px 0;
}

.criteria-item {
  background-color: var(--bg-secondary);
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media(min-width: 768px) {
  .criteria-item {
    flex-direction: row;
    align-items: center;
  }
}

.criteria-weight {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-color);
  min-width: 80px;
  font-family: var(--font-heading);
}

.criteria-details-text h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.criteria-details-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* --- EEAT COMPLIANT FOOTER --- */
.site-footer {
  background-color: var(--brand-primary);
  color: #cbd5e1;
  padding: 60px 0 20px 0;
  font-size: 0.9rem;
  margin-top: 60px;
  border-top: 4px solid var(--accent-color);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--brand-light);
  padding-bottom: 40px;
}

@media(min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-about h4 {
  color: #ffffff;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.footer-about p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-links h4 {
  color: #ffffff;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 4px;
}

.footer-compliance h4 {
  color: #ffffff;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.compliance-logos {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.compliance-logo-btn {
  background-color: var(--brand-secondary);
  border: 1px solid var(--brand-light);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.compliance-logo-btn:hover {
  background-color: var(--brand-light);
  color: #ffffff;
  border-color: var(--accent-color);
}

.age-badge {
  background-color: #ef4444;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  border: 2px solid #ffffff;
}

.footer-middle-warning {
  background-color: rgba(217, 119, 6, 0.05);
  border: 1px solid rgba(217, 119, 6, 0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

@media(min-width: 768px) {
  .footer-middle-warning {
    flex-direction: row;
    text-align: left;
    gap: 20px;
  }
}

.warning-emblem {
  font-size: 2.2rem;
  line-height: 1;
}

.warning-msg-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.warning-msg-text {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #94a3b8;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
}

@media(min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Responsive Table Helper styling */
@media(max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-card {
    display: none; /* Hide secondary hero card to keep clean mobile first fold */
  }
}

@media(max-width: 767px) {
  .header-container {
    position: relative;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: -20px;
    right: -20px;
    flex-direction: column;
    background-color: var(--brand-primary);
    padding: 20px;
    gap: 16px;
    border-bottom: 3px solid var(--accent-color);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  
  .nav-links a {
    display: block;
    padding: 10px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-title-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .table-filter-controls {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  
  .filter-btn {
    white-space: nowrap;
  }
  
  .editorial-content {
    padding: 20px;
  }
}

/* --- WAGERING CALCULATOR WIDGET --- */
.calculator-widget {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
  margin-top: 30px;
}

.calculator-widget h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--bg-tertiary);
  padding-bottom: 8px;
}

.calc-group {
  margin-bottom: 16px;
}

.calc-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.calc-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.calc-prefix {
  position: absolute;
  left: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

.calc-input {
  width: 100%;
  padding: 10px 12px 10px 28px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.calc-input:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: var(--bg-primary);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.calc-button {
  background-color: var(--accent-color);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: center;
  transition: var(--transition-fast);
  margin-top: 10px;
}

.calc-button:hover {
  background-color: var(--accent-hover);
}

.calc-result {
  margin-top: 20px;
  padding: 16px;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-color);
  display: none;
}

.calc-result.active {
  display: block;
}

.calc-result-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.calc-result-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-color);
}

/* --- RESPONSIVE CARD AND ROW RANKING SYSTEM (AS SHOWN IN USER SCREENSHOTS) --- */
.ranking-wrapper {
  margin-top: 30px;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  counter-reset: rank-counter;
}

/* Card layout by default (for mobile-first, and top 3 on desktop) */
.ranking-item {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 35px 24px 20px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-normal);
  counter-increment: rank-counter;
}

.ranking-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

/* Rank Badge top-left corner using CSS counters */
.ranking-item .rank-badge {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #3b82f6; /* Modern Blue badge */
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-bottom-right-radius: var(--radius-sm);
  border-top-left-radius: var(--radius-md);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 5;
}

.ranking-item .rank-badge::before {
  content: "#" counter(rank-counter);
}

/* Dynamically color rank badges based on sorted order index */
.ranking-item:nth-child(1) .rank-badge {
  background-color: #1e3a8a; /* Slate-blue hue 1 */
}
.ranking-item:nth-child(2) .rank-badge {
  background-color: #2563eb; /* Slate-blue hue 2 */
}
.ranking-item:nth-child(3) .rank-badge {
  background-color: #3b82f6; /* Slate-blue hue 3 */
}
.ranking-item:nth-child(4) .rank-badge {
  background-color: #1e293b; /* Slate-blue hue 4 */
}
.ranking-item:nth-child(5) .rank-badge {
  background-color: #0f172a; /* Slate-blue hue 5 */
}

.ranking-logo-container {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.ranking-logo-text {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-primary);
  letter-spacing: -1.5px;
}

.ranking-details-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.ranking-bonus {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
}

.ranking-bonus-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.ranking-cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.ranking-cta-button {
  background-color: #f97316; /* Bright orange CTA from screenshot */
  color: #ffffff !important;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.2);
  transition: var(--transition-fast);
  margin-bottom: 16px;
  display: inline-block;
}

.ranking-cta-button:hover {
  background-color: #ea580c;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.3);
}

.ranking-rating-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
}

.ranking-rating-wrap::after {
  content: '★';
  color: #f97316; /* Orange star */
  margin-left: 2px;
}

/* Desktop Grid and Row Layout: Ranks 1-3 as Columns, Ranks 4-5 as Row blocks */
@media (min-width: 768px) {
  .ranking-wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  /* Positions 4 and 5 span all columns to look like horizontal lists! */
  .ranking-item:nth-child(4),
  .ranking-item:nth-child(5) {
    grid-column: span 3;
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 20px 30px 20px 80px; /* Space for the left badge */
  }
  
  .ranking-item:nth-child(4):hover,
  .ranking-item:nth-child(5):hover {
    transform: translateY(-2px);
  }
  
  .ranking-item:nth-child(4) .ranking-logo-container,
  .ranking-item:nth-child(5) .ranking-logo-container {
    margin-bottom: 0;
    width: 150px;
    justify-content: flex-start;
  }
  
  .ranking-item:nth-child(4) .ranking-details-block,
  .ranking-item:nth-child(5) .ranking-details-block {
    align-items: flex-start;
    flex: 1;
    margin-left: 30px;
  }
  
  .ranking-item:nth-child(4) .ranking-bonus,
  .ranking-item:nth-child(5) .ranking-bonus {
    font-size: 1.25rem;
    min-height: auto;
    margin-bottom: 4px;
    justify-content: flex-start;
  }
  
  .ranking-item:nth-child(4) .ranking-bonus-sub,
  .ranking-item:nth-child(5) .ranking-bonus-sub {
    margin-bottom: 0;
  }
  
  .ranking-item:nth-child(4) .ranking-cta-block,
  .ranking-item:nth-child(5) .ranking-cta-block {
    flex-direction: row;
    align-items: center;
    gap: 30px;
    width: auto;
  }
  
  .ranking-item:nth-child(4) .ranking-cta-button,
  .ranking-item:nth-child(5) .ranking-cta-button {
    margin-bottom: 0;
    width: auto;
    padding: 12px 30px;
  }
}

/* Dark Mode Theme Overrides for Rankings */
[data-theme="dark"] .ranking-item {
  background-color: var(--bg-primary);
  border-color: var(--border-color);
}





/* Mega Menu Dropdown Styles */
.nav-icon {
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.dropdown-arrow {
  display: inline-block;
  margin-left: 4px;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.nav-links li:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-links a {
  display: flex;
  align-items: center;
}

.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 720px;
  background-color: var(--brand-primary);
  border: 1px solid var(--brand-light);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-md);
  padding: 0;
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  overflow: hidden;
}

.nav-links li:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-sidebar {
  background-color: var(--brand-light);
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mega-sidebar-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-color);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.mega-sidebar-item {
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.mega-sidebar-item:hover,
.mega-sidebar-item.active {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.mega-column {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mega-col-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
  margin-bottom: 4px;
}

.mega-link-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.mega-link-list a {
  color: #94a3b8 !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  border-bottom: none !important;
  padding: 2px 0 !important;
  transition: color 0.2s ease !important;
  text-decoration: none;
}

.mega-link-list a:hover {
  color: var(--accent-color) !important;
}

.mega-watermark {
  position: absolute;
  bottom: -15px;
  right: -10px;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.015);
  user-select: none;
  pointer-events: none;
  font-family: var(--font-heading);
  white-space: nowrap;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .mega-dropdown {
    display: none !important;
  }
}

/* Mobile layout optimization and text wrapping fixes */
@media (max-width: 768px) {
  .review-meta-info h1 {
    font-size: 1.8rem !important;
  }
  
  .quick-summary-box,
  .pros-box,
  .cons-box,
  .sidebar-widget {
    padding: 20px !important;
  }
  
  .summary-grid {
    gap: 16px !important;
  }
  
  .summary-value {
    font-size: 1rem !important;
    overflow-wrap: break-word;
    word-break: break-word;
  }
}
