/* ==========================================================================
   CARLISTAS.ORG - Premium Motorsport & Sports Betting Guide (France)
   Design System & Styling — 100% Flexbox Architecture & Optimized Mobile
   ========================================================================== */

:root {
  --bg-primary: #0a0e14;
  --bg-secondary: #111822;
  --bg-card: #16202c;
  --bg-card-hover: #1c2938;
  --bg-accent: #1e293b;
  --border-color: #273546;
  --border-light: #334155;
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --racing-red: #e10600;
  --racing-red-hover: #b80500;
  --gold-accent: #f59e0b;
  --gold-accent-hover: #d97706;
  --blue-anj: #2563eb;
  --green-win: #10b981;
  --green-win-dark: #059669;
  
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(225, 6, 0, 0.25);
  --transition: all 0.25s ease-in-out;
}

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

html {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #0a0e14;
  overflow-x: hidden;
  width: 100%;
}

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

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

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

/* ==========================================================================
   1. Mandatory ANJ Warning Top Bar
   ========================================================================== */
.anj-top-bar {
  background: #000000;
  border-bottom: 2px solid #e10600;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-align: center;
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.35;
}

.anj-top-bar .age-badge {
  background: #e10600;
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
}

.anj-top-bar .anj-sep {
  color: rgba(251, 191, 36, 0.4);
}

.anj-top-bar a {
  color: #60a5fa;
  text-decoration: underline;
}

.anj-top-bar a:hover {
  color: #93c5fd;
}

/* ==========================================================================
   2. Header & Navigation
   ========================================================================== */
.site-header {
  background: #0b0f15;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

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

.logo-container img {
  height: 42px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-nav a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: #ffffff;
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--racing-red);
  border-radius: 2px;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-badge-anj {
  display: flex;
  align-items: center;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.4);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #93c5fd;
  gap: 6px;
  white-space: nowrap;
}

.header-badge-anj .dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0.6; transform: scale(0.9); }
}

.burger-btn {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px 10px;
  color: var(--text-main);
  transition: var(--transition);
}

.burger-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
}

.burger-btn svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* Mobile Drawer (App-like overlay) */
.mobile-drawer {
  display: none;
  background: #111822;
  border-top: 1px solid var(--border-color);
  border-bottom: 2px solid var(--racing-red);
  padding: 16px 20px 24px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.6);
}

.mobile-drawer.open {
  display: block;
  animation: slideDown 0.25s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: #cbd5e1;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid transparent;
  transition: var(--transition);
}

.mobile-nav-links a::after {
  content: '›';
  font-size: 18px;
  color: var(--text-dim);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: #ffffff;
  background: rgba(225, 6, 0, 0.12);
  border-color: rgba(225, 6, 0, 0.3);
}

.mobile-nav-links a:hover::after,
.mobile-nav-links a.active::after {
  color: var(--racing-red);
}

/* ==========================================================================
   3. Hero Section (100% Flexbox)
   ========================================================================== */
.hero-section {
  padding: 64px 0 52px;
  position: relative;
  overflow: hidden;
  background-color: #0b0f15;
  background-image: 
    linear-gradient(180deg, rgba(11, 15, 21, 0.55) 0%, rgba(11, 15, 21, 0.38) 35%, rgba(11, 15, 21, 0.65) 75%, #0b0f15 100%),
    radial-gradient(ellipse at center, rgba(11, 15, 21, 0.35) 0%, rgba(11, 15, 21, 0.82) 95%),
    url('/images/hero-bg.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(225, 6, 0, 0.15);
  border: 1px solid rgba(225, 6, 0, 0.35);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #f87171;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.18;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

.hero-title span {
  color: var(--racing-red);
}

.hero-lead {
  font-size: 1.05rem;
  color: #e2e8f0;
  margin-bottom: 24px;
  line-height: 1.6;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 28px;
}

.hero-badge-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
}

.hero-badge-pill svg {
  color: var(--gold-accent);
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
  min-height: 46px;
}

.btn-primary {
  background: var(--racing-red);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(225, 6, 0, 0.4);
}

.btn-primary:hover {
  background: var(--racing-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 6, 0, 0.5);
}

.btn-secondary {
  background: var(--bg-card);
  color: #ffffff;
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--green-win);
  color: #ffffff;
}

.btn-green:hover {
  background: var(--green-win-dark);
  transform: translateY(-2px);
}

/* Quick Hero Spotlight Card */
.hero-spotlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--racing-red), var(--blue-anj), var(--gold-accent));
}

.spotlight-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.spotlight-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.spotlight-date {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-accent);
  background: rgba(245, 158, 11, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
}

.spotlight-duo {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.duo-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.duo-logo-img {
  width: 90px;
  height: auto;
  border-radius: 4px;
  flex-shrink: 0;
}

.duo-text h4 {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.duo-text p {
  font-size: 11px;
  color: var(--text-muted);
}

.duo-rate {
  text-align: right;
  flex-shrink: 0;
}

.duo-score {
  font-size: 16px;
  font-weight: 900;
  color: var(--green-win);
}

.duo-score-sub {
  font-size: 9px;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ==========================================================================
   4. Section Containers & Headers
   ========================================================================== */
.section {
  padding: 44px 0;
}

.section-dark {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--racing-red);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 1.9rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   5. Comparison Section (ParionsSport vs PMU - 100% Flexbox Modern Redesign)
   ========================================================================== */
.comparison-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 30px;
}

/* 5.1 Dual Operator Showcase Cards */
.compare-duo-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.compare-hero-card {
  flex: 1 1 calc(50% - 12px);
  min-width: 300px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-md);
}

.compare-hero-card.card-parionssport {
  border: 1px solid rgba(37, 99, 235, 0.4);
  background: #111827;
}

.compare-hero-card.card-parionssport:hover {
  border-color: rgba(37, 99, 235, 0.85);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.22);
  transform: translateY(-2px);
}

.compare-hero-card.card-pmu {
  border: 1px solid rgba(16, 185, 129, 0.4);
  background: #111827;
}

.compare-hero-card.card-pmu:hover {
  border-color: rgba(16, 185, 129, 0.85);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.22);
  transform: translateY(-2px);
}

.compare-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  min-width: 0;
}

.compare-brand-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.compare-brand-logo {
  height: 38px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  flex-shrink: 0;
}

.compare-brand-title {
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
}

.compare-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.compare-pill.pill-blue {
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(37, 99, 235, 0.4);
}

.compare-pill.pill-green {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.compare-score-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 10px;
  padding: 8px 12px;
  min-width: 78px;
  text-align: center;
  flex-shrink: 0;
}

.compare-score-badge.score-pmu {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.35);
}

.compare-score-badge .score-num {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.compare-score-badge .score-max {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 600;
}

.compare-score-badge .score-label {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-top: 3px;
  letter-spacing: 0.3px;
}

.compare-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.compare-key-points {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compare-key-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.5;
}

.compare-key-points li svg {
  color: var(--green-win);
  flex-shrink: 0;
  margin-top: 2px;
}

.compare-key-points li strong {
  color: #ffffff;
}

.compare-card-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.compare-card-cta .btn {
  width: 100%;
}

.compare-card-disclaimer {
  font-size: 10px;
  color: var(--text-dim);
  text-align: center;
}

.compare-site-url {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.compare-site-url a {
  color: #60a5fa;
  font-weight: 700;
  text-decoration: underline;
  transition: var(--transition);
}

.compare-site-url a:hover {
  color: #93c5fd;
}

.card-pmu .compare-site-url a {
  color: #34d399;
}

.card-pmu .compare-site-url a:hover {
  color: #6ee7b7;
}

/* 5.2 Criteria Breakdown Matrix */
.compare-criteria-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compare-criteria-header {
  margin-bottom: 6px;
}

.compare-matrix-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.compare-matrix-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.compare-criterion-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition);
}

.compare-criterion-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(26, 36, 48, 0.95);
}

.criterion-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.criterion-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}


.criterion-name {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.criterion-sub {
  font-size: 11px;
  color: var(--text-dim);
}

.criterion-sides {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.criterion-side {
  flex: 1 1 calc(50% - 8px);
  min-width: 260px;
  background: rgba(17, 24, 39, 0.6);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 3px solid transparent;
}

.criterion-side.side-parionssport {
  border-left-color: #3b82f6;
}

.criterion-side.side-pmu {
  border-left-color: #10b981;
}

.criterion-op-tag {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: 4px;
}

.criterion-op-tag.tag-blue {
  background: rgba(37, 99, 235, 0.25);
  color: #93c5fd;
}

.criterion-op-tag.tag-green {
  background: rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
}

.criterion-highlight {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.criterion-text {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0;
}

.badge-anj-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

/* 5.3 Verdict Banner */
.compare-verdict-box {
  background: linear-gradient(135deg, rgba(225, 6, 0, 0.08) 0%, rgba(20, 27, 36, 0.95) 100%);
  border: 1px solid rgba(225, 6, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.verdict-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.verdict-icon {
  font-size: 22px;
  line-height: 1;
}

.verdict-title {
  font-size: 15px;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
}

.verdict-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin: 3px 0 0 0;
}

.verdict-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.verdict-col {
  flex: 1 1 calc(50% - 8px);
  min-width: 250px;
  background: rgba(17, 24, 39, 0.6);
  border-radius: 8px;
  padding: 12px 14px;
}

.verdict-col-head {
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.verdict-col-text {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   6. Matchmaker Selector Widget (100% Flexbox)
   ========================================================================== */
.matchmaker-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 30px;
}

.matchmaker-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.selector-tab {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  flex: 1 1 auto;
  text-align: center;
}

.selector-tab:hover {
  background: var(--bg-card-hover);
  color: #ffffff;
  border-color: var(--border-light);
}

.selector-tab.active {
  background: var(--racing-red);
  color: #ffffff;
  border-color: var(--racing-red);
  box-shadow: 0 4px 12px rgba(225, 6, 0, 0.3);
}

.rec-result-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.rec-result-content {
  flex: 1;
}

.rec-tag-pill {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--gold-accent);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.rec-result-title {
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 8px;
}

.rec-result-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   7. Motorsport Articles & News Grid (100% Flexbox)
   ========================================================================== */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.sport-card {
  flex: 1 1 calc(33.333% - 16px);
  min-width: 290px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.sport-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  box-shadow: var(--shadow-md);
}

.card-top-bar {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.cat-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cat-f1 { background: rgba(225, 6, 0, 0.15); color: #f87171; border: 1px solid rgba(225, 6, 0, 0.3); }
.cat-lemans { background: rgba(37, 99, 235, 0.15); color: #93c5fd; border: 1px solid rgba(37, 99, 235, 0.3); }
.cat-wrc { background: rgba(245, 158, 11, 0.15); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.3); }

.card-read-time {
  font-size: 11px;
  color: var(--text-dim);
}

.card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.35;
}

.card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.card-key-metrics {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  flex-wrap: wrap;
}

.card-key-metrics span {
  color: var(--text-dim);
}

.card-key-metrics strong {
  color: #ffffff;
}

.card-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
  color: var(--text-dim);
}

/* ==========================================================================
   8. Interactive Odds & Stake Calculator (100% Flexbox)
   ========================================================================== */
/* ==========================================================================
   8. Odds & Profit Interactive Simulator (100% Flexbox Modern Redesign)
   ========================================================================== */
.calc-card {
  background: linear-gradient(135deg, rgba(20, 27, 36, 0.95) 0%, rgba(13, 18, 25, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.calc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e10600 0%, #f59e0b 50%, #10b981 100%);
}

.calc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.calc-header-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.calc-header-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(225, 6, 0, 0.15);
  border: 1px solid rgba(225, 6, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--racing-red);
  flex-shrink: 0;
}

.calc-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.calc-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin: 3px 0 0 0;
}

.calc-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.calc-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 28px;
}

.calc-inputs {
  flex: 1.15 1 320px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.input-label {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-hint {
  font-size: 11px;
  color: var(--text-dim);
}

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

.input-field.with-prefix {
  padding-right: 70px;
}

.input-currency-badge {
  position: absolute;
  right: 12px;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 8px;
  border-radius: 6px;
  pointer-events: none;
}

.select-wrapper {
  position: relative;
}

.input-field,
.select-field {
  background: rgba(11, 15, 21, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  outline: none;
  transition: var(--transition);
  width: 100%;
}

.input-field:focus,
.select-field:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  background: rgba(11, 15, 21, 0.98);
}

.quick-preset-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preset-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.preset-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.preset-chip.active {
  background: rgba(225, 6, 0, 0.2);
  border-color: rgba(225, 6, 0, 0.6);
  color: #ffffff;
}

/* Results Showcase Column */
.calc-results {
  flex: 0.95 1 290px;
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.9) 0%, rgba(10, 15, 23, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.results-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.results-roi {
  font-size: 11px;
  font-weight: 800;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 3px 8px;
  border-radius: 4px;
}

.result-tile {
  background: rgba(11, 15, 21, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.result-tile.net-profit {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(11, 15, 21, 0.8) 100%);
  border-color: rgba(16, 185, 129, 0.35);
}

.profit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profit-badge {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
  padding: 2px 6px;
  border-radius: 3px;
}

.tile-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.tile-val {
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
}

.tile-val.profit-val {
  color: #34d399;
  text-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.tile-sub {
  font-size: 10.5px;
  color: var(--text-dim);
}

.calc-anj-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 11px;
  color: #fde68a;
  line-height: 1.45;
}

.calc-anj-note svg {
  color: #f59e0b;
  flex-shrink: 0;
  margin-top: 1px;
}

.calc-official-sites {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.calc-official-label {
  font-size: 10.5px;
  color: var(--text-dim);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc-official-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.calc-site-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.calc-site-badge.badge-blue {
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: #93c5fd;
}

.calc-site-badge.badge-blue:hover {
  background: rgba(37, 99, 235, 0.35);
  color: #ffffff;
}

.calc-site-badge.badge-green {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.calc-site-badge.badge-green:hover {
  background: rgba(16, 185, 129, 0.35);
  color: #ffffff;
}

/* ==========================================================================
   9. Responsible Gambling Block (ANJ Banner — 100% Flexbox)
   ========================================================================== */
.responsible-banner {
  background: linear-gradient(135deg, #141c26 0%, #0d1219 100%);
  border: 2px solid #ef4444;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.18);
  margin: 36px 0;
}

.resp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.resp-header .resp-anj-badge,
.responsible-banner img[src*="anj-logo"] {
  height: 32px !important;
  max-height: 32px !important;
  width: auto !important;
  max-width: 115px !important;
  object-fit: contain;
  flex-shrink: 0;
}

.resp-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.resp-title-group .resp-18-badge,
.responsible-banner img[src*="18plus"] {
  width: 34px !important;
  height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  flex-shrink: 0;
}

.resp-warning-strip {
  background: #facc15;
  color: #000000;
  font-weight: 900;
  font-size: 14.5px;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
  line-height: 1.4;
  box-shadow: 0 4px 14px rgba(250, 204, 21, 0.3);
}

.resp-warning-strip svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.resp-desc {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 22px;
}

.resp-rules-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.resp-rule-item {
  flex: 1 1 calc(50% - 12px);
  min-width: 260px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 12.5px;
  color: #e2e8f0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.resp-rule-item svg {
  color: #facc15;
  flex-shrink: 0;
  margin-top: 2px;
}

.resp-contacts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.resp-contact-card {
  flex: 1 1 calc(33.333% - 12px);
  min-width: 260px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.resp-contact-card:hover {
  background: var(--bg-card-hover);
  border-color: #facc15;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.resp-contact-card .icon-circ {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  flex-shrink: 0;
}

.resp-contact-card:hover .icon-circ {
  background: rgba(250, 204, 21, 0.2);
  color: #facc15;
}

.resp-contact-info h5 {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
}

.resp-contact-info p {
  font-size: 15px;
  font-weight: 900;
  color: var(--gold-accent);
}

.resp-contact-info small {
  font-size: 11px;
  color: var(--text-dim);
}

/* ==========================================================================
   10. Editorial & Content Pages (A Propos, CGU, Privacy, Legal)
   ========================================================================== */
.legal-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}

.legal-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 28px;
}

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

.legal-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-body {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.8;
}

.legal-body h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 22px 0 10px;
}

.legal-body p {
  margin-bottom: 16px;
}

.legal-body ul,
.legal-body ol {
  margin: 0 0 18px 24px;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-body blockquote {
  border-left: 4px solid var(--racing-red);
  padding: 14px 18px;
  background: rgba(225, 6, 0, 0.08);
  border-radius: var(--radius-sm);
  margin: 20px 0;
  font-style: italic;
  color: #fca5a5;
}

.company-badge-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}

.company-badge-box h4 {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.company-details-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.company-details-list li {
  flex: 1 1 calc(50% - 12px);
  min-width: 240px;
  font-size: 13px;
  color: #cbd5e1;
  margin: 0;
}

.company-details-list strong {
  color: #ffffff;
}

/* ==========================================================================
   11. Contact Form (100% Flexbox)
   ========================================================================== */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
}

.contact-form-box {
  flex: 1.1 1 320px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.contact-info-panel {
  flex: 0.9 1 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
}

.info-card h4 {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   12. FAQ Accordion
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.faq-item:hover {
  border-color: var(--border-light);
}

.faq-question {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  gap: 16px;
  min-height: 54px;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
  color: var(--text-dim);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--racing-red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 22px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding-bottom: 20px;
}

/* ==========================================================================
   13. Footer (100% Flexbox)
   ========================================================================== */
.site-footer {
  background: #080c12;
  border-top: 1px solid var(--border-color);
  padding: 50px 0 24px;
  margin-top: auto;
}

.footer-top-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-about {
  flex: 1.4 1 280px;
}

.footer-about p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 14px 0 18px;
}

.footer-col {
  flex: 1 1 180px;
}

.footer-col h5 {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--racing-red);
}

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

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  display: inline-block;
  padding: 2px 0;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-anj-notice {
  background: #111822;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.anj-notice-text {
  font-size: 12px;
  line-height: 1.5;
  color: #cbd5e1;
  flex: 1 1 auto;
  min-width: 260px;
}

.anj-notice-text strong {
  color: #f87171;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--text-dim);
}

/* ==========================================================================
   14. Cookie Consent Banner (RGPD — 100% Flexbox)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 680px;
  margin: 0 auto;
  background: #111822;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: none;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 260px;
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.5;
}

.cookie-text strong {
  color: #ffffff;
}

.cookie-text a {
  color: #60a5fa;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Geo-filtering status pill */
.geo-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 4px;
}

.geo-status-indicator .indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

/* ==========================================================================
   15. Advanced Mobile Design & Responsive Breakpoints
   ========================================================================== */

/* Intermediate Tablet & Small Laptops (768px - 1024px) */
@media (max-width: 1024px) {
  .comparison-block {
    gap: 22px;
  }

  .compare-duo-cards {
    gap: 16px;
  }

  .compare-hero-card {
    flex: 1 1 calc(50% - 8px);
    min-width: 280px;
    padding: 20px 18px;
  }

  .compare-brand-logo {
    height: 32px;
    max-width: 110px;
  }

  .compare-brand-title {
    font-size: 15px;
  }

  .compare-pill {
    font-size: 9.5px;
    padding: 2px 7px;
  }

  .compare-score-badge {
    padding: 6px 10px;
    min-width: 68px;
  }

  .compare-score-badge .score-num {
    font-size: 18px;
  }

  .compare-card-desc {
    font-size: 12.5px;
    margin-bottom: 14px;
    line-height: 1.55;
  }

  .compare-key-points {
    gap: 8px;
    margin-bottom: 16px;
  }

  .compare-key-points li {
    font-size: 11.5px;
  }

  .compare-criteria-list {
    gap: 14px;
  }

  .compare-matrix-title {
    font-size: 1.15rem;
  }

  .compare-criterion-card {
    padding: 16px 18px;
    gap: 12px;
  }

  .criterion-sides {
    gap: 12px;
  }

  .criterion-side {
    flex: 1 1 calc(50% - 6px);
    min-width: 240px;
    padding: 12px 14px;
  }

  .criterion-highlight {
    font-size: 12.5px;
  }

  .criterion-text {
    font-size: 11.5px;
    line-height: 1.5;
  }

  .compare-verdict-box {
    padding: 18px 20px;
    gap: 14px;
  }

  .verdict-columns {
    gap: 12px;
  }

  .verdict-col {
    flex: 1 1 calc(50% - 6px);
    min-width: 230px;
    padding: 12px 14px;
  }
}

/* Intermediate Tablet Breakpoint: 860px (portrait tablets & split screens) */
@media (max-width: 860px) {
  .compare-hero-card {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .criterion-side {
    min-width: 220px;
  }
}

/* Tablet & Mobile (under 992px) */
@media (max-width: 992px) {
  .hero-section {
    background-image: 
      linear-gradient(180deg, rgba(11, 15, 21, 0.6) 0%, rgba(11, 15, 21, 0.45) 40%, rgba(11, 15, 21, 0.8) 80%, #0b0f15 100%),
      url('/images/hero-bg.webp');
    background-position: center bottom;
  }

  .hero-grid {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  
  .hero-text-col,
  .hero-card-col {
    flex: 1 1 100%;
    width: 100%;
  }

  .main-nav,
  .header-badge-anj {
    display: none;
  }
  
  .burger-btn {
    display: block;
  }

  .cards-grid .sport-card {
    flex: 1 1 calc(50% - 12px);
  }

  .footer-col {
    flex: 1 1 calc(50% - 20px);
  }
}

/* Mobile Devices (under 768px) */
@media (max-width: 768px) {
  /* Compact ANJ Top Bar on Mobile: 1 neat row, ~24px height */
  .anj-top-bar {
    padding: 4px 8px;
    font-size: 9.5px;
    gap: 6px;
    line-height: 1.25;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-content: center;
  }

  .anj-top-bar .age-badge {
    padding: 1px 5px;
    font-size: 8.5px;
    border-radius: 3px;
    flex-shrink: 0;
  }

  .anj-top-bar .anj-sep,
  .anj-top-bar .anj-text-full,
  .anj-top-bar .anj-top-link {
    display: none !important;
  }

  .anj-top-bar .anj-text-warning {
    display: inline;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 9.5px;
    font-weight: 700;
  }

  .container {
    padding: 0 16px;
  }

  .site-header {
    padding: 4px 0;
  }

  .logo-container img {
    height: 38px;
  }

  .hero-section {
    padding: 30px 0 24px;
    background-image: 
      linear-gradient(180deg, rgba(11, 15, 21, 0.65) 0%, rgba(11, 15, 21, 0.5) 45%, rgba(11, 15, 21, 0.88) 85%, #0b0f15 100%),
      url('/images/hero-bg.webp');
    background-position: center center;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.2;
    margin-bottom: 14px;
  }

  .hero-lead {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 14px;
  }

  .compare-hero-card {
    flex: 1 1 100%;
    min-width: 100%;
    padding: 20px 18px;
  }

  .compare-card-top {
    gap: 14px;
    min-width: 0;
  }

  .compare-brand-meta {
    min-width: 0;
  }

  .criterion-side {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .verdict-col {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .compare-criterion-card {
    padding: 16px;
  }

  .cards-grid .sport-card {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .calc-grid {
    flex-direction: column;
    gap: 22px;
  }

  .calc-inputs,
  .calc-results {
    flex: 1 1 100%;
    width: 100%;
  }

  .rec-result-card {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .rec-result-card .btn {
    width: 100%;
  }

  .matchmaker-box {
    padding: 20px 16px;
  }

  .selector-tab {
    flex: 1 1 calc(50% - 6px);
    font-size: 12px;
    padding: 9px 12px;
  }

  /* Responsible Gambling Banner Mobile Optimization */
  .responsible-banner {
    padding: 20px 16px;
    margin: 28px 0;
  }

  .resp-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .resp-title-group {
    gap: 10px;
  }

  .resp-warning-strip {
    font-size: 13px;
    padding: 12px 14px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .resp-rules-grid {
    flex-direction: column;
    gap: 10px;
  }

  .resp-rule-item {
    flex: 1 1 100%;
    min-width: 100%;
    padding: 10px 14px;
  }

  .resp-contacts-grid {
    flex-direction: column;
    gap: 12px;
  }

  .resp-contact-card {
    flex: 1 1 100%;
    min-width: 100%;
    padding: 14px;
  }

  /* Legal and Content Pages Mobile */
  .legal-content-card {
    padding: 24px 16px;
    margin-bottom: 28px;
  }

  .legal-header h1 {
    font-size: 1.7rem;
  }

  .company-details-list li {
    flex: 1 1 100%;
  }

  .contact-form-box {
    padding: 22px 16px;
  }

  /* Footer Mobile */
  .footer-top-grid {
    flex-direction: column;
    gap: 28px;
  }

  .footer-col,
  .footer-about {
    flex: 1 1 100%;
  }

  .footer-links a {
    padding: 6px 0;
    font-size: 14px;
  }

  .footer-anj-notice {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    margin-bottom: 24px;
    text-align: center;
  }

  .anj-notice-text {
    flex: none;
    width: 100%;
    min-width: 0;
    line-height: 1.5;
    font-size: 12px;
  }

  .geo-status-indicator {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 16px;
  }

  .cookie-content {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1;
  }
}

/* Mobile Devices (under 640px) */
@media (max-width: 640px) {
  .compare-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .compare-brand-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .compare-brand-logo {
    height: 30px;
    max-width: 120px;
  }

  .compare-brand-title {
    font-size: 15.5px;
    line-height: 1.25;
    word-break: break-word;
  }

  .compare-pill {
    font-size: 9.5px;
    padding: 2.5px 8px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .compare-score-badge {
    padding: 6px 10px;
    min-width: 66px;
    flex-shrink: 0;
  }

  .compare-score-badge .score-label {
    white-space: nowrap;
  }
}

/* Extra Small Phones (under 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.55rem;
  }

  .selector-tab {
    flex: 1 1 100%;
  }

  .spotlight-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .compare-hero-card {
    padding: 16px 14px;
  }

  .compare-card-top {
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 14px;
  }

  .compare-brand-meta {
    gap: 5px;
  }

  .compare-brand-logo {
    height: 28px;
    max-width: 105px;
  }

  .compare-brand-title {
    font-size: 14.5px;
  }

  .compare-pill {
    font-size: 9px;
    padding: 2px 6px;
  }

  .compare-score-badge {
    padding: 5px 8px;
    min-width: 60px;
    border-radius: 8px;
  }

  .compare-score-badge .score-num {
    font-size: 17px;
  }

  .compare-score-badge .score-max {
    font-size: 10px;
  }

  .compare-score-badge .score-label {
    font-size: 8.5px;
  }

  .footer-anj-notice {
    padding: 12px 14px;
    gap: 8px;
    margin-bottom: 20px;
  }

  .anj-notice-text {
    font-size: 11.5px;
    line-height: 1.45;
  }

  .duo-card {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .duo-rate {
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 8px;
  }
}

/* ==========================================================================
   Accessibility (a11y) & Performance (Core Web Vitals) Optimizations
   ========================================================================== */

/* Universal Accessible Focus Indicators */
:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 3px;
  border-radius: 4px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

/* Screen Reader Only Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Respect User Motion Preferences (Vestibular Safety) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High Contrast Mode Support */
@media (forced-colors: active) {
  :focus-visible {
    outline: 3px solid Highlight;
  }
  .btn,
  .compare-cta,
  .calc-btn-cta {
    border: 2px solid ButtonText;
  }
}

/* Below-the-fold Rendering Optimization (Speed & CWV < 2s) */
.deep-review-section,
.methodo-section,
.faq-section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}

