/* BetNav Brasil - Custom Styles */
/* Brazilian Betting Navigation Site Theme */

:root {
  /* Primary Navy Blue */
  --primary: #1a365d;
  --primary-foreground: #f8fafc;

  /* Accent Green */
  --accent: #22c55e;
  --accent-foreground: #ffffff;

  /* Background */
  --background: #f8fafc;
  --foreground: #0f172a;

  /* Card */
  --card: #ffffff;
  --card-foreground: #0f172a;

  /* Secondary */
  --secondary: #f1f5f9;
  --secondary-foreground: #334155;

  /* Muted - Improved contrast ratio >= 4.5:1 */
  --muted: #e2e8f0;
  --muted-foreground: #64748b;

  /* Border */
  --border: #e2e8f0;

  /* Destructive */
  --destructive: #ef4444;
  --destructive-foreground: #ffffff;

  /* Chart Colors */
  --chart-1: #22c55e;
  --chart-2: #1a365d;
  --chart-3: #f59e0b;
  --chart-4: #8b5cf6;
  --chart-5: #ef4444;

  /* Border Radius */
  --radius: 0.75rem;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

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

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::selection {
  background: rgba(26, 54, 93, 0.2);
  color: var(--foreground);
}

/* Utility Classes */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted-foreground); }
.text-white { color: #ffffff; }

.bg-primary { background-color: var(--primary); }
.bg-accent { background-color: var(--accent); }
.bg-card { background-color: var(--card); }
.bg-secondary { background-color: var(--secondary); }
.bg-background { background-color: var(--background); }

/* Flex Utilities */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Grid */
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cols-5 { grid-template-columns: repeat(5, 1fr); }

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }

/* Border Radius */
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: calc(var(--radius) * 1.33); }
.rounded-xl { border-radius: calc(var(--radius) * 2); }
.rounded-2xl { border-radius: calc(var(--radius) * 2.5); }
.rounded-full { border-radius: 9999px; }

/* Shadows */
.shadow-sm { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.shadow { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }

/* Borders */
.border { border: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }

/* =========================
   HEADER STYLES
========================= */
.top-bar {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

.top-bar a:hover {
  color: var(--accent);
}

.age-badge {
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius);
  font-weight: 700;
}

.main-header {
  background-color: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

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

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

.main-nav a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  transition: background-color 0.2s;
}

.main-nav a:hover {
  background-color: var(--secondary);
}

.header-cta {
  display: none;
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  transition: opacity 0.2s;
}

.header-cta:hover {
  opacity: 0.9;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--foreground);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--card);
  z-index: 100;
  flex-direction: column;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.mobile-nav a {
  display: block;
  padding: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-cta {
  padding: 1rem;
  border-top: 1px solid var(--border);
}

.mobile-menu-cta a {
  display: block;
  background-color: var(--accent);
  color: var(--accent-foreground);
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--radius);
  font-weight: 600;
}

/* =========================
   HERO SECTION
========================= */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, rgba(26, 54, 93, 0.95) 100%);
  color: var(--primary-foreground);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(34, 197, 94, 0.2);
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--accent);
}

.hero-desc {
  font-size: 1rem;
  opacity: 0.8;
  max-width: 600px;
  margin-bottom: 1.5rem;
}

.hero-search {
  display: flex;
  max-width: 480px;
  background-color: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-search input {
  flex: 1;
  padding: 1rem;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--foreground);
}

.hero-search button {
  background-color: var(--accent);
  color: var(--accent-foreground);
  border: none;
  padding: 0 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.hero-search button:hover {
  opacity: 0.9;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-stat-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.hero-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
}

.hero-stat-label {
  font-size: 0.75rem;
  opacity: 0.6;
}

/* Top Casinos Cards */
.top-casinos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.casino-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--card);
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.casino-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 54, 93, 0.15);
}

.casino-rank {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 700;
  color: var(--foreground);
  flex-shrink: 0;
}

.casino-rank.gold {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.casino-rank.silver {
  background-color: var(--secondary);
}

.casino-logo {
  width: 96px;
  height: 48px;
  background-color: var(--muted);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}

.casino-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.casino-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.casino-rating .stars {
  color: var(--accent);
}

.casino-rating .score {
  font-weight: 700;
  color: var(--foreground);
  margin-left: 0.5rem;
}

.casino-bonus {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.casino-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.casino-cta:hover {
  opacity: 0.9;
}

/* Press Logos */
.press-section {
  background-color: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.press-section p {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.press-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.press-logos span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted-foreground);
  opacity: 0.5;
}

/* =========================
   FEATURED SECTION
========================= */
.section {
  padding: 3rem 0;
}

.section-header {
  margin-bottom: 2rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 1.875rem;
  color: var(--foreground);
}

.section-desc {
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

/* Featured Cards */
.featured-grid {
  display: grid;
  gap: 1.5rem;
}

.featured-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 54, 93, 0.12);
}

.featured-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background-color: rgba(241, 245, 249, 0.5);
  border-bottom: 1px solid var(--border);
}

.featured-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
}

.featured-badge.green { background-color: var(--accent); }
.featured-badge.blue { background-color: var(--primary); }
.featured-badge.orange { background-color: var(--chart-3); }
.featured-badge.red { background-color: var(--chart-5); }

.featured-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.featured-rating i {
  color: var(--accent);
}

.featured-card-body {
  padding: 1.5rem;
}

.featured-card-title {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.featured-card-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.featured-bonus {
  background-color: rgba(34, 197, 94, 0.1);
  padding: 0.75rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.featured-bonus-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.featured-bonus-value {
  font-weight: 600;
  color: var(--accent);
}

.featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background-color: var(--secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  color: var(--secondary-foreground);
}

.featured-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.featured-verified {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.featured-verified i {
  color: var(--accent);
}

.featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.2s;
}

.featured-cta:hover {
  background-color: var(--accent);
}

/* =========================
   COMPARISON TABLE
========================= */
.comparison-table {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 600;
}

.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  background-color: var(--card);
}

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

.table-rank {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 700;
}

.table-rank.gold {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.table-rank.silver {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.table-actions {
  display: flex;
  gap: 0.5rem;
}

.table-btn {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 500;
  transition: background-color 0.2s;
}

.table-btn.secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.table-btn.secondary:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.table-btn.primary {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.table-btn.primary:hover {
  opacity: 0.9;
}

/* =========================
   WHY TRUST US
========================= */
.trust-section {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 4rem 0;
}

.trust-grid {
  display: grid;
  gap: 3rem;
}

.trust-content h2 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

.trust-content p {
  opacity: 0.7;
  margin-bottom: 2rem;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.trust-stat {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: var(--radius);
  text-align: center;
}

.trust-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.trust-stat-label {
  font-size: 0.75rem;
  opacity: 0.6;
  margin-top: 0.25rem;
}

.methodology-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

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

.methodology-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(34, 197, 94, 0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.methodology-info {
  flex: 1;
}

.methodology-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.methodology-percent {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.875rem;
}

.methodology-desc {
  font-size: 0.875rem;
  opacity: 0.6;
  margin-top: 0.25rem;
}

.methodology-bar {
  height: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.methodology-bar-fill {
  height: 100%;
  background-color: var(--accent);
  border-radius: 4px;
  transition: width 0.5s ease;
}

/* =========================
   FAQ SECTION
========================= */
.faq-section {
  padding: 4rem 0;
}

.faq-grid {
  display: grid;
  gap: 2rem;
}

.faq-accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background-color: var(--card);
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  color: var(--foreground);
  transition: background-color 0.2s;
}

.faq-question:hover {
  background-color: rgba(241, 245, 249, 0.5);
}

.faq-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  transition: all 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.faq-answer {
  display: none;
  padding: 1rem 1.5rem;
  background-color: rgba(241, 245, 249, 0.3);
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

/* =========================
   FOOTER
========================= */
.footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.footer-trust {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
}

.footer-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-trust-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.footer-trust-label {
  font-size: 0.875rem;
  font-weight: 600;
}

.footer-trust-desc {
  font-size: 0.75rem;
  opacity: 0.6;
}

.footer-main {
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
  opacity: 0.7;
  max-width: 400px;
}

.footer-age {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-age span:first-child {
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-weight: 700;
}

.footer-age span:last-child {
  font-size: 0.75rem;
  opacity: 0.6;
}

.footer-links h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  font-size: 0.875rem;
  opacity: 0.8;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
}

.footer-bottom .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  opacity: 0.6;
}

/* =========================
   INFO PAGES
========================= */
.info-hero {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 4rem 0;
}

.info-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.6;
  margin-bottom: 1.5rem;
}

.info-breadcrumb a:hover {
  color: var(--accent);
}

.info-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.info-subtitle {
  font-size: 1.125rem;
  opacity: 0.7;
}

.info-updated {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  opacity: 0.6;
  margin-top: 1.5rem;
}

.info-content {
  padding: 3rem 0;
}

.info-content h2 {
  font-size: 1.5rem;
  color: var(--foreground);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.info-content h2:first-child {
  margin-top: 0;
}

.info-content p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.info-content ul {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.info-content li {
  margin-bottom: 0.5rem;
}

.info-highlight {
  background-color: rgba(26, 54, 93, 0.05);
  border: 1px solid rgba(26, 54, 93, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.info-highlight-accent {
  background-color: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.info-highlight-warning {
  background-color: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* =========================
   REVIEW PAGE
========================= */
.review-breadcrumb {
  background-color: rgba(241, 245, 249, 0.5);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.review-breadcrumb nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.review-breadcrumb a:hover {
  color: var(--primary);
}

.review-hero {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 3rem 0;
}

.review-hero-grid {
  display: grid;
  gap: 2rem;
}

.review-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.review-badge.licensed {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.review-badge.updated {
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.review-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.review-title span {
  color: var(--accent);
}

.review-desc {
  font-size: 1.125rem;
  opacity: 0.8;
  max-width: 700px;
  margin-bottom: 2rem;
}

.review-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.review-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: opacity 0.2s;
}

.review-cta-primary:hover {
  opacity: 0.9;
}

.review-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background-color 0.2s;
}

.review-cta-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.review-rating-card {
  background-color: var(--card);
  color: var(--card-foreground);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.review-rating-value {
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
}

.review-rating-stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin: 0.5rem 0;
  color: var(--accent);
}

.review-rating-label {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.review-quick-stats {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.review-quick-stat {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.review-quick-stat span:first-child {
  color: var(--muted-foreground);
}

.review-quick-stat span:last-child {
  font-weight: 600;
}

.review-stats {
  background-color: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}

.review-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.review-stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-stat-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(26, 54, 93, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.pros-cons {
  padding: 3rem 0;
}

.pros-cons-grid {
  display: grid;
  gap: 1.5rem;
}

.pros-card {
  background-color: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.pros-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.pros-card ul {
  list-style: none;
}

.pros-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.pros-card li i {
  color: var(--accent);
  margin-top: 0.25rem;
}

.cons-card {
  background-color: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.cons-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--destructive);
  margin-bottom: 1rem;
}

.cons-card ul {
  list-style: none;
}

.cons-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.cons-card li i {
  color: var(--destructive);
  margin-top: 0.25rem;
}

.review-content {
  background-color: rgba(241, 245, 249, 0.3);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.review-article h2 {
  font-size: 1.5rem;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.review-article p {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.review-article section {
  margin-bottom: 3rem;
}

.review-details {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.review-details-grid {
  display: grid;
  gap: 1.5rem;
}

.review-detail-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.review-detail-card h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.review-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.review-detail-tag {
  background-color: var(--secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--secondary-foreground);
}

.review-cta-section {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 3rem 0;
  text-align: center;
}

.review-cta-section h2 {
  font-size: 1.875rem;
  margin-bottom: 0.5rem;
}

.review-cta-section p {
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.review-cta-section .review-cta-primary {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.review-cta-section .disclaimer {
  font-size: 0.75rem;
  opacity: 0.5;
  margin-top: 1rem;
}

/* =========================
   CONTACT PAGE
========================= */
.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-info-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(26, 54, 93, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-info-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info-value {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
}

.contact-info-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.contact-form-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-form-header {
  margin-bottom: 1.5rem;
}

.contact-form-header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.contact-form-header p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  background-color: var(--background);
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

textarea.form-control {
  resize: none;
  min-height: 120px;
}

.form-btn {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.2s;
}

.form-btn:hover {
  background-color: var(--accent);
}

/* =========================
   RESPONSIVE STYLES
========================= */
@media (min-width: 640px) {
  .footer-trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

@media (min-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

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

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .faq-grid {
    grid-template-columns: 2fr 3fr;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer-bottom .container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .review-hero-grid {
    grid-template-columns: 2fr 1fr;
    align-items: center;
  }

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

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

  .review-details-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: 2fr 3fr;
  }
}

@media (min-width: 1024px) {
  .main-nav {
    display: block;
  }

  .header-cta {
    display: block;
  }

  .mobile-menu-btn {
    display: none;
  }

  .hero h1 {
    font-size: 3rem;
  }

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

/* Hidden utility */
.hidden {
  display: none !important;
}

@media (max-width: 767px) {
  .md\:hidden {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex !important;
  }
}

/* =========================
   MOBILE OVERFLOW FIXES
========================= */
@media (max-width: 767px) {
  /* Prevent horizontal scroll */
  .container {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Fix inline grids - make them single column on mobile */
  [style*="grid-template-columns: repeat(2"] {
    grid-template-columns: 1fr !important;
  }

  [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
  }

  [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: 1fr !important;
  }

  /* Featured cards grid */
  .featured-grid {
    grid-template-columns: 1fr !important;
  }

  /* Featured card body flex */
  .featured-card-body .flex {
    flex-wrap: wrap;
    gap: 12px;
  }

  .featured-brand-img {
    flex-shrink: 0;
  }

  /* Top casinos in hero */
  .top-casinos {
    flex-direction: column;
    gap: 12px;
  }

  .casino-card {
    width: 100%;
  }

  /* Comparison table mobile fixes */
  .comparison-table {
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

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

  .table-brand {
    display: flex;
    align-items: center;
    min-width: 100px;
  }

  .table-brand img {
    width: 24px !important;
    height: 24px !important;
    margin-right: 6px !important;
  }

  .table-actions {
    flex-direction: column;
    gap: 4px;
  }

  .table-btn {
    padding: 6px 8px;
    font-size: 0.7rem;
    white-space: nowrap;
  }

  /* Footer trust grid */
  .footer-trust-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
  }

  /* Footer grid */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  /* Review hero grid */
  .review-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .review-rating-card {
    order: -1;
    max-width: 300px;
    margin: 0 auto;
  }

  /* Review stats grid */
  .review-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Pros cons grid */
  .pros-cons-grid {
    grid-template-columns: 1fr !important;
  }

  /* Review details grid */
  .review-details-grid {
    grid-template-columns: 1fr !important;
  }

  /* Contact grid */
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  /* Related brands grid */
  .related-grid {
    grid-template-columns: 1fr !important;
  }

  /* Trust grid */
  .trust-grid {
    grid-template-columns: 1fr !important;
  }

  .trust-stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* FAQ grid */
  .faq-grid {
    grid-template-columns: 1fr !important;
  }

  /* Hero search */
  .hero-search {
    flex-direction: column;
  }

  .hero-search input,
  .hero-search button {
    width: 100%;
    border-radius: var(--radius);
  }

  /* Hero stats */
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  /* Section titles */
  .section-title {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  /* Info page highlight boxes */
  .info-highlight {
    padding: 16px;
  }

  /* Press logos */
  .press-logos {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* =============================================================================
   ACCESSIBILITY & PERFORMANCE OPTIMIZATIONS
   ============================================================================= */

/* Focus States for Keyboard Navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* Screen reader only - visually hidden but accessible */
.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;
}

/* Reduced motion preference */
@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;
  }
}

/* =============================================================================
   UTILITY CLASSES FOR IMAGES (replacing inline styles)
   ============================================================================= */

/* Brand logo sizes */
.brand-logo-xs {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}

.brand-logo-sm {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.brand-logo-md {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}

.brand-logo-lg {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  object-fit: cover;
}

/* Table brand display */
.table-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.table-brand img {
  flex-shrink: 0;
}

/* Featured brand card image */
.featured-brand-img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}

/* Footer logo */
.footer-logo,
img.footer-logo {
  height: 40px;
  filter: brightness(0) invert(1);
}

/* Image placeholders / loading states */
.img-placeholder {
  background: linear-gradient(90deg, #1a1f2e 25%, #252b3d 50%, #1a1f2e 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Lazy load fade-in */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
  opacity: 1;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --accent: #00ff00;
    --border: #ffffff;
  }

  a, button {
    text-decoration: underline;
  }
}
