/* ==========================================
   SOFABET KENYA — Global Stylesheet
   sofabet-kenya.com
   Brand: Navy #0d1b4b | Orange #f7941d
   ========================================== */

/* --- Variables & Reset --- */
:root {
  --navy: #0d1b4b;
  --navy-light: #1a2d6b;
  --navy-dark: #091434;
  --navy-card: #162254;
  --orange: #f7941d;
  --orange-hover: #e5830a;
  --orange-light: #fff3e0;
  --white: #ffffff;
  --gray-light: #f5f6fa;
  --gray-mid: #e0e3ee;
  --gray-text: #6b7280;
  --text-dark: #1a1a2e;
  --success: #27ae60;
  --danger: #e74c3c;
  --gold: #f1c40f;
  --shadow: 0 4px 20px rgba(13,27,75,0.12);
  --shadow-lg: 0 8px 40px rgba(13,27,75,0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.25s ease;
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; font-size: 16px; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: var(--gray-light); color: var(--text-dark); overflow-x: hidden; line-height: 1.7; }
a { color: var(--orange); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--orange-hover); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { line-height: 1.3; font-weight: 700; color: var(--navy); }
p { margin-bottom: 1rem; }

/* --- Accessibility: Skip Link --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: var(--orange);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: var(--white); }

/* --- Accessibility: 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;
}

/* --- Accessibility: Focus-visible outlines --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* --- Accessibility: Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Container --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ==========================================
   HEADER
   ========================================== */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}
.site-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-logo img { height: 44px; width: auto; }
.site-logo .logo-text { color: var(--white); font-size: 1.1rem; font-weight: 700; line-height: 1.2; }
.site-logo .logo-text span { color: var(--orange); }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}
.main-nav ul li a {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: var(--transition);
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: var(--white);
  background: rgba(247,148,29,0.2);
}

/* --- Header CTA (Tracker button) --- */
.btn-header-cta {
  background: var(--orange);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(247,148,29,0.4);
  animation: pulse-orange 2.5s infinite;
}
.btn-header-cta:hover { background: var(--orange-hover); transform: translateY(-1px); color: var(--white) !important; }
@keyframes pulse-orange {
  0%, 100% { box-shadow: 0 4px 15px rgba(247,148,29,0.4); }
  50% { box-shadow: 0 4px 25px rgba(247,148,29,0.7); }
}

/* --- Hamburger --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile Menu Overlay --- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0; bottom: 0;
  background: var(--navy-dark);
  z-index: 999;
  overflow-y: auto;
  padding: 20px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu ul li a {
  display: block;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu ul li a:hover { background: rgba(247,148,29,0.15); color: var(--orange); }
.mobile-cta-wrap { margin-top: 20px; }
.mobile-cta-wrap .btn-header-cta { width: 100%; justify-content: center; font-size: 1.1rem; padding: 14px; }

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(247,148,29,0.35);
}
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-2px); color: var(--white); box-shadow: 0 6px 25px rgba(247,148,29,0.5); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-light); color: var(--white); }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.875rem; }

/* ==========================================
   HERO SECTIONS
   ========================================== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9,20,52,0.95) 40%, rgba(13,27,75,0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 60px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(247,148,29,0.2);
  border: 1px solid rgba(247,148,29,0.5);
  color: var(--orange);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
}
.hero h1 span { color: var(--orange); }
.hero-lead {
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat .num { color: var(--orange); font-size: 1.8rem; font-weight: 800; display: block; line-height: 1; }
.hero-stat .lbl { color: rgba(255,255,255,0.75); font-size: 0.85rem; }

/* Split hero (sports page) */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  align-items: center;
}
.hero-split .hero-content { max-width: 100%; padding: 60px 40px; }
.hero-split .hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
}

/* Inner page hero (shorter) */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(247,148,29,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 12px; }
.page-hero h1 span { color: var(--orange); }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 520px; }
.breadcrumb { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--orange); }

/* ==========================================
   STATS BAR
   ========================================== */
.stats-bar {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item .stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  display: block;
  line-height: 1;
}
.stat-item .stat-num .accent { color: var(--orange); }
.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--gray-text);
  margin-top: 4px;
}
.stat-item { border-right: 1px solid var(--gray-mid); }
.stat-item:last-child { border-right: none; }

/* ==========================================
   SECTIONS
   ========================================== */
.section { padding: 70px 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--navy); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.75); }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.section-header h2 span { color: var(--orange); }
.section-header p { color: var(--gray-text); font-size: 1rem; max-width: 520px; margin: 0 auto; }
.section-label {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

/* ==========================================
   CARDS
   ========================================== */
.cards-grid { display: grid; gap: 24px; }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.card-img-wrap { overflow: hidden; }
.card-body { padding: 20px 22px; }
.card-tag {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.card-body h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--navy); }
.card-body p { font-size: 0.9rem; color: var(--gray-text); margin-bottom: 16px; }

/* Sport Cards */
.sport-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid transparent;
  cursor: pointer;
}
.sport-card:hover { border-top-color: var(--orange); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.sport-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.sport-card h4 { font-size: 1rem; color: var(--navy); margin-bottom: 6px; }
.sport-card .sport-odds { font-size: 0.85rem; color: var(--gray-text); }
.sport-card .live-badge {
  display: inline-block;
  background: var(--danger);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 8px;
}

/* Bonus Cards */
.bonus-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.bonus-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bonus-card-header { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); padding: 28px 24px; text-align: center; }
.bonus-card-header .bonus-amount { font-size: 2.5rem; font-weight: 900; color: var(--orange); display: block; }
.bonus-card-header h3 { color: var(--white); font-size: 1rem; margin-top: 4px; }
.bonus-card-body { padding: 20px 24px; }
.bonus-features { list-style: none; }
.bonus-features li { padding: 8px 0; border-bottom: 1px solid var(--gray-mid); font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.bonus-features li:last-child { border-bottom: none; }
.bonus-features li::before { content: '✓'; color: var(--success); font-weight: 700; }
.bonus-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

/* Feature Cards */
.feature-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.feature-card:hover { transform: translateX(4px); }
.feature-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hover) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.feature-card h4 { font-size: 1rem; margin-bottom: 6px; }
.feature-card p { font-size: 0.88rem; color: var(--gray-text); margin: 0; }

/* ==========================================
   TABLES
   ========================================== */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); box-shadow: var(--shadow); }
.data-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.9rem;
}
.data-table thead th {
  background: var(--navy);
  color: var(--white);
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}
.data-table thead th:first-child { border-radius: var(--radius) 0 0 0; }
.data-table thead th:last-child { border-radius: 0 var(--radius) 0 0; }
.data-table tbody tr { border-bottom: 1px solid var(--gray-mid); transition: var(--transition); }
.data-table tbody tr:last-child { border-bottom: none; }
.data-table tbody tr:hover { background: var(--orange-light); }
.data-table tbody td { padding: 13px 16px; white-space: nowrap; }
.data-table .highlight-row { background: rgba(247,148,29,0.08); }
.data-table .odds-up { color: var(--success); font-weight: 700; }
.data-table .odds-down { color: var(--danger); font-weight: 700; }
.data-table .badge-live {
  background: var(--danger);
  color: var(--white);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}
.data-table .badge-hot {
  background: var(--orange);
  color: var(--white);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}
.data-table .form-bubble {
  display: inline-block;
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  line-height: 22px;
  color: var(--white);
}
.form-w { background: var(--success); }
.form-d { background: var(--gray-text); }
.form-l { background: var(--danger); }

/* League Table */
.league-table .data-table td:nth-child(1) { font-weight: 700; text-align: center; width: 40px; }
.league-table .promotion { border-left: 4px solid #3498db; }
.league-table .relegation { border-left: 4px solid var(--danger); }

/* Comparison Table */
.compare-table th { text-align: center; }
.compare-table td { text-align: center; }
.compare-table td:first-child { text-align: left; font-weight: 600; }
.check-yes::before { content: '✓'; color: var(--success); font-weight: 800; font-size: 1.1rem; }
.check-no::before { content: '✗'; color: var(--danger); font-weight: 800; font-size: 1.1rem; }
.check-best { background: rgba(39,174,96,0.1); }

/* ==========================================
   CHARTS
   ========================================== */
.chart-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
}
.chart-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.chart-subtitle { font-size: 0.85rem; color: var(--gray-text); margin-bottom: 20px; }
.chart-canvas-wrap { position: relative; height: 280px; }
.chart-canvas-wrap.tall { height: 360px; }
.chart-canvas-wrap.short { height: 200px; }

/* Charts Grid */
.charts-grid { display: grid; gap: 24px; }
.charts-grid-2 { grid-template-columns: repeat(2, 1fr); }
.charts-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ==========================================
   CTA BANNER
   ========================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(247,148,29,0.2) 0%, transparent 70%);
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 28px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ==========================================
   FAQ ACCORDION
   ========================================== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.faq-question:hover { background: var(--orange-light); }
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--orange);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  color: var(--gray-text);
  font-size: 0.95rem;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 20px 18px;
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
  border-top: 3px solid var(--orange);
}
.testimonial::before { content: '"'; position: absolute; top: 10px; right: 20px; font-size: 4rem; color: rgba(247,148,29,0.2); line-height: 1; font-family: Georgia, serif; }
.testimonial .stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 12px; }
.testimonial p { font-size: 0.92rem; color: var(--gray-text); font-style: italic; margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.testimonial-name { font-weight: 700; font-size: 0.9rem; }
.testimonial-loc { font-size: 0.8rem; color: var(--gray-text); }

/* ==========================================
   AUTHOR BOX
   ========================================== */
.author-box {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border-left: 6px solid var(--orange);
  margin: 40px 0;
}
.author-photo-wrap { text-align: center; }
.author-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 4px solid var(--orange);
}
.author-name { font-size: 1.2rem; font-weight: 800; color: var(--navy); }
.author-title { font-size: 0.85rem; color: var(--orange); font-weight: 600; }
.author-exp { font-size: 0.82rem; color: var(--gray-text); }
.author-bio p { color: var(--gray-text); font-size: 0.95rem; }
.author-social { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.author-social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--gray-light);
  color: var(--navy);
  transition: var(--transition);
}
.author-social a:hover { background: var(--orange); color: var(--white); }

/* ==========================================
   SEO ARTICLE
   ========================================== */
.seo-article {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 44px;
  box-shadow: var(--shadow);
  line-height: 1.8;
}
.seo-article h2 { font-size: 1.6rem; color: var(--navy); margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--gray-mid); }
.seo-article h2:first-child { margin-top: 0; }
.seo-article h3 { font-size: 1.25rem; color: var(--navy-light); margin: 24px 0 10px; }
.seo-article h4 { font-size: 1.05rem; color: var(--navy); margin: 18px 0 8px; }
.seo-article p { color: var(--gray-text); margin-bottom: 14px; }
.seo-article ul, .seo-article ol { margin: 14px 0 14px 28px; color: var(--gray-text); }
.seo-article ul { list-style: disc; }
.seo-article ol { list-style: decimal; }
.seo-article li { margin-bottom: 8px; line-height: 1.7; }
.seo-article a { color: var(--orange); font-weight: 600; }
.seo-article .highlight-box {
  background: var(--orange-light);
  border-left: 4px solid var(--orange);
  padding: 18px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
  color: var(--text-dark);
}
.seo-article .info-box {
  background: rgba(13,27,75,0.05);
  border-left: 4px solid var(--navy);
  padding: 18px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
}

/* ==========================================
   STEPS / PROCESS
   ========================================== */
.steps-grid { display: grid; gap: 20px; counter-reset: step-counter; }
.steps-grid-4 { grid-template-columns: repeat(4, 1fr); }
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  transition: var(--transition);
  counter-increment: step-counter;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-card::before {
  content: counter(step-counter);
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 36px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(247,148,29,0.4);
}
.step-icon-wrap {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-light) 0%, #ffe0b2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 18px auto 16px;
}
.step-card h4 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.88rem; color: var(--gray-text); margin: 0; }

/* ==========================================
   PAYMENT METHODS
   ========================================== */
.payment-grid { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.payment-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}
.payment-icon { font-size: 1.6rem; }

/* ==========================================
   APP SECTION
   ========================================== */
.app-download-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.app-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--navy);
  color: var(--white) !important;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 2px solid rgba(255,255,255,0.15);
}
.app-btn:hover { background: var(--navy-light); transform: translateY(-2px); }
.app-btn .app-btn-icon { font-size: 2rem; }
.app-btn .app-btn-text { text-align: left; }
.app-btn .app-btn-text small { display: block; font-size: 0.72rem; opacity: 0.75; }
.app-btn .app-btn-text strong { font-size: 1rem; }

/* ==========================================
   FORMS (Login / Register)
   ========================================== */
.form-page {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-lg);
}
.form-card-logo { text-align: center; margin-bottom: 28px; }
.form-card-logo img { height: 52px; margin: 0 auto; }
.form-card h2 { text-align: center; margin-bottom: 6px; }
.form-card .form-subtitle { text-align: center; color: var(--gray-text); font-size: 0.9rem; margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition);
  background: var(--white);
}
.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(247,148,29,0.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card .btn-primary { width: 100%; justify-content: center; margin-top: 8px; }
.form-footer-text { text-align: center; font-size: 0.88rem; color: var(--gray-text); margin-top: 18px; }
.form-footer-text a { color: var(--orange); font-weight: 600; }
.form-divider { text-align: center; color: var(--gray-text); font-size: 0.85rem; margin: 18px 0; position: relative; }
.form-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--gray-mid); }
.form-divider span { background: var(--white); position: relative; padding: 0 12px; }

/* ==========================================
   PROGRESS BAR (odds/comparison)
   ========================================== */
.progress-bar-wrap { margin: 6px 0; }
.progress-label { display: flex; justify-content: space-between; font-size: 0.82rem; margin-bottom: 4px; }
.progress-track { background: var(--gray-mid); border-radius: 50px; height: 10px; overflow: hidden; }
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-hover) 100%);
  border-radius: 50px;
  transition: width 1.2s ease;
}
.progress-fill.navy { background: linear-gradient(90deg, var(--navy) 0%, var(--navy-light) 100%); }
.progress-fill.green { background: linear-gradient(90deg, #27ae60 0%, #2ecc71 100%); }

/* ==========================================
   SIDEBAR LAYOUT
   ========================================== */
.content-sidebar-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.sidebar-widget h3 { font-size: 1rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--orange); color: var(--navy); }
.sidebar-widget ul li { padding: 8px 0; border-bottom: 1px solid var(--gray-mid); font-size: 0.88rem; }
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a { color: var(--text-dark); }
.sidebar-widget ul li a:hover { color: var(--orange); }
.odds-widget li { display: flex; justify-content: space-between; align-items: center; }
.odds-value { font-weight: 700; color: var(--orange); }

/* ==========================================
   TABS
   ========================================== */
.tabs-header {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--gray-mid);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 20px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-text);
  transition: var(--transition);
  margin-bottom: -2px;
}
.tab-btn.active, .tab-btn:hover { color: var(--navy); border-bottom-color: var(--orange); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ==========================================
   404 PAGE
   ========================================== */
.error-page {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.error-page .error-num { font-size: 8rem; font-weight: 900; color: var(--orange); line-height: 1; }
.error-page h2 { color: var(--white); font-size: 2rem; margin: 16px 0; }
.error-page p { color: rgba(255,255,255,0.7); margin-bottom: 32px; }

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.footer-brand .age-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(247,148,29,0.15);
  border: 1px solid rgba(247,148,29,0.3);
  color: var(--orange);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 14px;
}
.footer-col h4 { color: var(--white); font-size: 0.95rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--orange); padding-left: 4px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 0.88rem; }
.footer-contact-item .icon { color: var(--orange); margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
.footer-bottom p { margin: 0; }
.footer-licenses { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.license-badge {
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

/* ==========================================
   UTILITY
   ========================================== */
.text-orange { color: var(--orange); }
.text-white { color: var(--white); }
.text-navy { color: var(--navy); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.gap-section { margin-bottom: 48px; }
.divider { border: none; border-top: 1px solid var(--gray-mid); margin: 32px 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--gray-mid);
  color: var(--navy);
}
.tag.orange { background: var(--orange-light); color: var(--orange); }

/* ==========================================
   RESPONSIVE — TABLET (1024px)
   ========================================== */
@media (max-width: 1024px) {
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--gray-mid); padding-bottom: 16px; }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--gray-mid); }
  .stat-item:last-child, .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  .content-sidebar-layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
  .charts-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-split .hero-visual { display: none; }
  .author-box { grid-template-columns: 180px 1fr; }
}

/* ==========================================
   RESPONSIVE — MOBILE (768px)
   ========================================== */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .btn-header-cta { padding: 8px 14px; font-size: 0.82rem; }

  .hero { min-height: 420px; }
  .hero-content { padding: 48px 0; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 20px; }
  .hero-stat .num { font-size: 1.4rem; }

  .section { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }

  .cards-grid-3 { grid-template-columns: 1fr; }
  .cards-grid-2 { grid-template-columns: 1fr; }
  .charts-grid-2 { grid-template-columns: 1fr; }
  .charts-grid-3 { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-grid-4 { grid-template-columns: repeat(2, 1fr); }

  .table-wrap { margin-left: -20px; margin-right: -20px; border-radius: 0; }
  .data-table { min-width: 520px; }

  .author-box { grid-template-columns: 1fr; text-align: center; }
  .author-social { justify-content: center; }

  .seo-article { padding: 28px 22px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .form-card { padding: 32px 22px; }
  .form-row { grid-template-columns: 1fr; }

  .sidebar { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

/* ==========================================
   RESPONSIVE — SMALL MOBILE (480px)
   ========================================== */
@media (max-width: 480px) {
  .hero { min-height: 360px; }
  .hero h1 { font-size: 1.7rem; }
  .hero-lead { font-size: 0.95rem; }
  .hero-stats { gap: 16px; }
  .hero-stat .num { font-size: 1.2rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-item .stat-num { font-size: 1.6rem; }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--gray-mid); }

  .cards-grid-4 { grid-template-columns: 1fr; }
  .steps-grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-licenses { justify-content: center; }

  .btn-lg { padding: 13px 24px; font-size: 1rem; }

  .chart-canvas-wrap { height: 220px; }
  .chart-canvas-wrap.tall { height: 280px; }
  .seo-article { padding: 22px 16px; }
  .seo-article h2 { font-size: 1.3rem; }
}
