/* ============================================================
   Casino en Ligne France - Main Stylesheet
   Modern, responsive, SEO-optimized casino review platform
   ============================================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
  --primary-dark: #0a0e1a;
  --secondary-dark: #111827;
  --card-bg: #1a1f35;
  --card-bg-hover: #222847;
  --border-color: #2a3050;
  --gold: #f5c518;
  --gold-light: #ffd84d;
  --gold-dark: #d4a800;
  --cta-green: #00c853;
  --cta-green-hover: #00e676;
  --cta-red: #ff1744;
  --accent-blue: #2979ff;
  --accent-purple: #7c4dff;
  --text-primary: #f0f0f0;
  --text-secondary: #a0aec0;
  --text-muted: #718096;
  --white: #ffffff;
  --success: #00c853;
  --warning: #ff9100;
  --danger: #ff1744;
  --info: #2979ff;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 20px rgba(245,197,24,0.15);
  --container-max: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--primary-dark);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold-light);
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

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

strong, b {
  font-weight: 600;
  color: var(--text-primary);
}

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

.container-narrow {
  max-width: 900px;
}

/* --- Header / Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  text-decoration: none;
}

.site-logo .logo-icon {
  font-size: 1.6rem;
}

.site-logo span.gold {
  color: var(--gold);
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav > li {
  position: relative;
}

.main-nav > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 16px;
  height: var(--header-height);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

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

.main-nav > li > a .arrow {
  font-size: 0.6rem;
  transition: transform 0.2s;
}

/* Dropdown Menus */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--secondary-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-lg);
}

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

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: all 0.15s;
}

.dropdown-menu a:hover {
  color: var(--gold);
  background: rgba(245, 197, 24, 0.05);
  padding-left: 24px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
}

/* 18+ Badge */
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--danger);
  color: var(--danger);
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1a1040 50%, #0d1b2a 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(245,197,24,0.03) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(41,121,255,0.03) 0%, transparent 50%);
  pointer-events: none;
}

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

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 0.6em;
  background: linear-gradient(135deg, var(--white), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero .update-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.breadcrumbs span {
  margin: 0 8px;
}

/* --- Casino Card (Review Card) --- */
.casino-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.casino-card:hover {
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.casino-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--card-bg), rgba(245,197,24,0.05));
}

.casino-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 1.2rem;
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.casino-rank.top3 {
  width: 56px;
  height: 56px;
  font-size: 1.4rem;
  box-shadow: 0 0 16px rgba(245,197,24,0.3);
}

.casino-info {
  min-width: 0;
}

.casino-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--white);
}

.casino-bonus {
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.casino-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.casino-features .tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.casino-meta {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.casino-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

/* Star Ratings */
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold);
  font-size: 1rem;
}

.stars .empty {
  color: var(--border-color);
}

.rating-score {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cta-green), #00a844);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0,200,83,0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--cta-green-hover), var(--cta-green));
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,200,83,0.35);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(245,197,24,0.25);
}

.btn-gold:hover {
  box-shadow: 0 6px 20px rgba(245,197,24,0.4);
  transform: translateY(-1px);
  color: var(--primary-dark);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 2rem 0;
  border: 1px solid var(--border-color);
}

.comparison-table thead th {
  background: var(--secondary-dark);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border-color);
}

.comparison-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-secondary);
  vertical-align: middle;
}

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

.comparison-table tbody tr:hover {
  background: rgba(245,197,24,0.03);
}

.comparison-table .casino-name-cell {
  font-weight: 600;
  color: var(--white);
}

.comparison-table .bonus-cell {
  color: var(--gold);
  font-weight: 600;
}

.comparison-table .check {
  color: var(--success);
}

.comparison-table .cross {
  color: var(--danger);
}

/* --- Content Sections --- */
.section {
  padding: 60px 0;
}

.section-alt {
  background: var(--secondary-dark);
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

/* --- Content Article --- */
.content-article {
  max-width: 900px;
  margin: 0 auto;
}

.content-article h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
  color: var(--gold);
}

.content-article h3 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.content-article p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.content-article ul, .content-article ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.content-article ul {
  list-style: disc;
}

.content-article ol {
  list-style: decimal;
}

.content-article li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.content-article blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 24px;
  margin: 1.5rem 0;
  background: rgba(245,197,24,0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* --- Info Box / Callout --- */
.info-box {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 1.5rem 0;
}

.info-box.warning {
  border-left: 4px solid var(--warning);
  background: rgba(255,145,0,0.05);
}

.info-box.success {
  border-left: 4px solid var(--success);
  background: rgba(0,200,83,0.05);
}

.info-box.danger {
  border-left: 4px solid var(--danger);
  background: rgba(255,23,68,0.05);
}

.info-box.info {
  border-left: 4px solid var(--info);
  background: rgba(41,121,255,0.05);
}

.info-box-title {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1rem;
}

/* --- Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-gold {
  background: rgba(245,197,24,0.15);
  color: var(--gold);
}

.badge-green {
  background: rgba(0,200,83,0.15);
  color: var(--success);
}

.badge-red {
  background: rgba(255,23,68,0.15);
  color: var(--danger);
}

.badge-blue {
  background: rgba(41,121,255,0.15);
  color: var(--info);
}

.badge-top {
  position: absolute;
  top: -10px;
  left: 20px;
  padding: 4px 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--primary-dark);
  font-weight: 800;
  border-radius: 4px;
  font-size: 0.7rem;
  z-index: 2;
}

/* --- Feature Grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 2rem 0;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

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

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
}

/* --- FAQ Accordion --- */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--white);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-question .icon {
  font-size: 1.2rem;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.92rem;
}

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

.pros, .cons {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 20px;
}

.pros {
  border-top: 3px solid var(--success);
}

.cons {
  border-top: 3px solid var(--danger);
}

.pros h4, .cons h4 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.pros li::before {
  content: "\2713 ";
  color: var(--success);
  font-weight: 700;
}

.cons li::before {
  content: "\2717 ";
  color: var(--danger);
  font-weight: 700;
}

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

.pros li, .cons li {
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* --- Author Box (EEAT) --- */
.author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 2rem 0;
}

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

.author-info h4 {
  margin-bottom: 4px;
}

.author-info .role {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.author-info p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* --- Methodology Box --- */
.methodology-box {
  background: linear-gradient(135deg, rgba(245,197,24,0.05), rgba(41,121,255,0.05));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 2rem 0;
}

.methodology-box h3 {
  color: var(--gold);
  margin-bottom: 16px;
}

.methodology-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.methodology-step {
  text-align: center;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin: 0 auto 10px;
}

.methodology-step p {
  font-size: 0.85rem;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, #1a1040, #0d2137);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(245,197,24,0.08), transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  position: relative;
}

.cta-banner p {
  position: relative;
  max-width: 600px;
  margin: 0 auto 24px;
}

.cta-banner .btn {
  position: relative;
}

/* --- Payment Icons Row --- */
.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 1rem 0;
}

.payment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.payment-icon:hover {
  border-color: var(--gold-dark);
  color: var(--gold);
}

/* --- Stats Bar --- */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 24px 0;
  flex-wrap: wrap;
}

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

.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- TOC (Table of Contents) --- */
.toc {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin: 2rem 0;
}

.toc h3 {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.toc ol {
  list-style: decimal;
  padding-left: 20px;
}

.toc li {
  padding: 6px 0;
}

.toc a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.toc a:hover {
  color: var(--gold);
}

/* --- Responsible Gambling Banner --- */
.rg-banner {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.rg-banner .rg-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.rg-banner p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

.rg-banner a {
  color: var(--gold);
  text-decoration: underline;
}

/* --- Footer --- */
.site-footer {
  background: var(--secondary-dark);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 0;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.88rem;
  margin-top: 12px;
}

.footer-col h4 {
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-disclaimer {
  background: rgba(255,23,68,0.05);
  border: 1px solid rgba(255,23,68,0.15);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 40px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-disclaimer strong {
  color: var(--danger);
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-gold { color: var(--gold); }
.text-green { color: var(--success); }
.text-red { color: var(--danger); }
.text-muted { color: var(--text-muted); }
.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-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.hidden { display: none; }

/* --- Grid Layouts --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .feature-grid,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .methodology-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html { font-size: 15px; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }

  .hero { padding: 50px 0 40px; }
  .hero h1 { font-size: 2rem; }

  .section { padding: 40px 0; }

  /* Mobile Navigation */
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--secondary-dark);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 16px 0;
    box-shadow: var(--shadow-lg);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > li > a {
    height: auto;
    padding: 12px 24px;
  }

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

  .dropdown-menu a {
    padding-left: 40px;
  }

  .menu-toggle {
    display: flex;
  }

  .age-badge {
    display: none;
  }

  /* Casino Card Mobile */
  .casino-card {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .casino-rank {
    margin: 0 auto;
  }

  .casino-actions {
    align-items: center;
    width: 100%;
  }

  .casino-actions .btn {
    width: 100%;
  }

  .casino-features {
    justify-content: center;
  }

  .casino-meta {
    justify-content: center;
  }

  /* Table responsive */
  .comparison-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .feature-grid,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .stats-bar {
    gap: 24px;
  }

  .cta-banner {
    padding: 32px 20px;
  }

  .methodology-steps {
    grid-template-columns: 1fr 1fr;
  }

  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .rg-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .container { padding: 0 16px; }
  .stats-bar { flex-direction: column; gap: 16px; }
  .methodology-steps { grid-template-columns: 1fr; }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeInUp 0.5s ease forwards;
}

/* --- Print --- */
@media print {
  .site-header, .site-footer, .menu-toggle, .btn, .cta-banner { display: none; }
  body { background: white; color: black; }
  .casino-card { border: 1px solid #ccc; }
}
