/* ============================================
   ACCURATE TIP - Modern Football Prediction CSS
   A 2026 Design System - Enhanced Edition
   ============================================ */

/* ===========================================
   FONTS - Custom Typography
   =========================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&family=Sora:wght@300;400;500;600;700;800&display=swap');

/* ===========================================
   CSS CUSTOM PROPERTIES
   =========================================== */
:root {
  /* Color Palette - Dark Mode with Vibrant Accents */
  --bg-primary: #0a0d14;
  --bg-secondary: #111621;
  --bg-tertiary: #161d2a;
  --bg-elevated: #1a2235;
  --bg-glass: rgba(22, 29, 42, 0.85);
  --bg-card: #0f1419;
  
  /* Text Colors */
  --text-primary: #f0f4fc;
  --text-secondary: #8b95a8;
  --text-muted: #5a6478;
  --text-accent: #a8e6cf;
  
  /* Brand Colors - Electric Green & Indigo */
  --primary: #10d9a0;
  --primary-light: #4aedc4;
  --primary-dark: #0ba77a;
  --primary-glow: rgba(16, 217, 160, 0.25);
  
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-glow: rgba(99, 102, 241, 0.25);
  
  /* Status Colors - Enhanced for confidence badges */
  --success: #22c55e;
  --success-bg: rgba(34, 197, 94, 0.12);
  --success-solid: #16a34a;
  
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.12);
  --warning-solid: #d97706;
  
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.12);
  --danger-solid: #dc2626;
  
  --info: #3b82f6;
  --info-bg: rgba(59, 130, 246, 0.12);
  
  /* Confidence Badge Colors */
  --confidence-high: #22c55e;
  --confidence-high-bg: rgba(34, 197, 94, 0.15);
  --confidence-medium: #eab308;
  --confidence-medium-bg: rgba(234, 179, 8, 0.15);
  --confidence-low: #f97316;
  --confidence-low-bg: rgba(249, 115, 22, 0.15);
  --confidence-very-low: #ef4444;
  --confidence-very-low-bg: rgba(239, 68, 68, 0.15);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, #00d4aa 50%, var(--accent) 100%);
  --gradient-glow: linear-gradient(135deg, var(--primary-glow) 0%, var(--accent-glow) 100%);
  --gradient-card: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
  --gradient-hero: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(16, 217, 160, 0.15) 0%, transparent 60%);
  --gradient-mesh: 
    radial-gradient(at 40% 20%, rgba(16, 217, 160, 0.08) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(99, 102, 241, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(16, 217, 160, 0.06) 0px, transparent 50%),
    radial-gradient(at 80% 50%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(16, 217, 160, 0.1) 0px, transparent 50%);
  
  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.1);
  --border-focus: var(--primary);
  --border-card: rgba(255, 255, 255, 0.08);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px var(--primary-glow);
  --shadow-glow-accent: 0 0 40px var(--accent-glow);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 0 1px var(--border-card);
  --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--primary);
  
  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Typography */
  --font-display: 'Sora', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  
  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 20;
  --z-fixed: 30;
  --z-modal: 40;
  --z-tooltip: 50;
  
  /* Container */
  --container-max: 1400px;
  --container-padding: var(--space-6);
}

/* Light Mode Variables */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-elevated: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --bg-card: #ffffff;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --border-subtle: rgba(0, 0, 0, 0.04);
  --border-default: rgba(0, 0, 0, 0.08);
  --border-card: rgba(0, 0, 0, 0.06);
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--border-card);
  --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--primary);
  
  --gradient-hero: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(16, 217, 160, 0.1) 0%, transparent 60%);
}

/* ===========================================
   BASE RESET & GLOBAL STYLES
   =========================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* This stops the wobble */
  position: relative;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%; /* Prevents font zooming on orientation change */
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  background-image: var(--gradient-mesh);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Noise Texture Overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: -1;
}

/* Selection Styling */
::selection {
  background: var(--primary);
  color: var(--bg-primary);
}

/* Focus Styles */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Links */
a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-light);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Lists */
ul, ol {
  list-style: none;
}

/* Buttons Reset */
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Input Reset */
input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ===========================================
   CONTAINER
   =========================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ===========================================
   ANIMATIONS
   =========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px var(--primary-glow);
  }
  50% {
    box-shadow: 0 0 40px var(--primary-glow), 0 0 60px var(--accent-glow);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes dotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}

@keyframes progressFill {
  from {
    width: 0;
  }
}

/* Animation Classes */
.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ===========================================
   BUTTONS
   =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--bg-primary);
  box-shadow: var(--shadow-md), 0 0 20px var(--primary-glow);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 40px var(--primary-glow);
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
  padding: var(--space-16) 0 var(--space-12);
  position: relative;
  overflow: hidden; /* This cuts off the background bleed */
  width: 100%;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 800px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.5;
  overflow: hidden
}

.hero-content {
  position: relative;
  z-index: var(--z-base);
}

.hero-text {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--success-bg);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--success);
  margin-bottom: var(--space-6);
  animation: pulse 2s ease-in-out infinite;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: dotPulse 1.5s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 800;
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 50%, var(--text-primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 700px;
  margin: 0 auto var(--space-10);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  max-width: 700px;
  margin: 0 auto var(--space-10);
}

.hero-stats .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-4);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.hero-stats .stat:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.hero-stats .stat-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--primary);
}

.hero-stats .stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ===========================================
   TRUST SECTION
   =========================================== */
.trust-section {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-8);
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.trust-badge:hover {
  color: var(--primary);
}

.trust-badge svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

/* ===========================================
   FILTER SECTION
   =========================================== */
.filter-section {
  margin-bottom: var(--space-8);
}

.filter-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
}

.filter-row {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}

.input-group {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  transition: all var(--transition-fast);
}

.input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.input-group svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.input-group input,
.input-group select {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  outline: none;
}

.input-group input::placeholder {
  color: var(--text-muted);
}

.input-group select {
  cursor: pointer;
}

.input-group select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

/* ===========================================
   DATE SCROLL (Centered, Compact & Friendly)
   =========================================== */
.date-scroll {
  display: flex;
  justify-content: center; 
  gap: var(--space-4);
  padding: var(--space-4) 0;
  overflow-x: auto;
  scrollbar-width: none; 
}

.date-scroll::-webkit-scrollbar { display: none; }

.date-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 80px;
  height: 94px;
  background: rgba(22, 29, 42, 0.4); 
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px; 
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.date-btn:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  background: var(--bg-elevated);
  box-shadow: 0 8px 20px -6px rgba(16, 217, 160, 0.15);
}

.date-btn.active {
  background: var(--gradient-primary);
  border-color: transparent;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -8px var(--primary-glow);
}

.date-btn .day {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.date-btn .date {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}

.date-btn .count {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 10px;
}

.date-btn.active .day,
.date-btn.active .date,
.date-btn.active .count {
  color: #0a0d14;
}

.date-btn.active .count {
  background: rgba(0, 0, 0, 0.1);
}

/* ===========================================
   MAIN GRID LAYOUT
   =========================================== */
.main-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

/* ===========================================
   SIDEBAR
   =========================================== */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.panel-header {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border-subtle);
}

.panel-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.panel-content {
  padding: var(--space-4) var(--space-5);
}

/* Market List */
.market-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.market-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3);
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.market-item:hover {
  background: var(--bg-elevated);
}

.market-info {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.market-info input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.market-name {
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.market-count {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  background: var(--bg-primary);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
}

/* Quick Stats */
.quick-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.quick-stat {
  text-align: center;
  padding: var(--space-4);
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
}

.quick-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-1);
}

.quick-stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Winner List */
.winner-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.winner-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.winner-item:hover {
  background: var(--bg-elevated);
  transform: translateX(4px);
}

.winner-avatar {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--bg-primary);
}

.winner-info {
  flex: 1;
}

.winner-name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
}

.winner-amount {
  font-size: var(--text-xs);
  color: var(--success);
  font-weight: 500;
}

/* ===========================================
   MATCHES AREA
   =========================================== */
.matches-area {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* Featured Banner */
.featured-banner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-6);
  background: linear-gradient(135deg, rgba(16, 217, 160, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
  border: 1px solid rgba(16, 217, 160, 0.3);
  border-radius: var(--radius-xl);
  animation: glow 3s ease-in-out infinite;
}

.featured-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

.featured-icon svg {
  width: 28px;
  height: 28px;
  color: var(--bg-primary);
}

.featured-content {
  flex: 1;
}

.featured-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.featured-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* League Section */
.league-section {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.league-section[open] {
  box-shadow: var(--shadow-md);
}

.league-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  background: var(--bg-tertiary);
  cursor: pointer;
  transition: background var(--transition-fast);
  list-style: none;
}

.league-header::-webkit-details-marker {
  display: none;
}

.league-header:hover {
  background: var(--bg-elevated);
}

.league-info {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.league-flag {
  font-size: var(--text-xl);
}

.league-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
}

.league-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.match-count {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.league-header .chevron {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition-base);
}

.league-section[open] .chevron {
  transform: rotate(180deg);
}

.league-matches {
  padding: var(--space-4);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: var(--space-4);
}

/* ===========================================
   MATCH CARD - NEW DESIGN (Inspired by Reference)
   =========================================== */
.match-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-card);
}

.match-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

/* Card Header with Date/Time & Badge */
.match-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

.match-datetime {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

.match-datetime svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

/* Match Badge */
.match-badge {
  padding: var(--space-1) var(--space-3);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.match-badge.vip {
  background: linear-gradient(135deg, var(--warning-bg), rgba(245, 158, 11, 0.2));
  color: var(--warning);
  border-color: rgba(245, 158, 11, 0.3);
}

.match-badge.top-pick {
  background: linear-gradient(135deg, var(--accent-glow), rgba(99, 102, 241, 0.2));
  color: var(--accent-light);
  border-color: rgba(99, 102, 241, 0.3);
}

/* Card Body */
.match-card-body {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--space-4);
  padding: var(--space-4);
  align-items: center;
}

/* Teams Section */
.match-teams {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.team-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.team-logo {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.team-name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

/* Odds Section */
.match-odds {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: 0 var(--space-3);
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
}

.odds-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
}

.odds-label {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-muted);
  width: 14px;
  text-align: center;
}

.odds-value {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--text-secondary);
  min-width: 36px;
}

/* Prediction Stats Section */
.match-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 180px;
}

.stats-header {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  text-align: center;
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-1);
}

.stats-header span {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  text-align: center;
}

.stat-cell {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-secondary);
}

/* Confidence Badge - Color coded */
.confidence-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-1) var(--space-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  min-width: 42px;
}

.confidence-badge.high {
  background: var(--confidence-high-bg);
  color: var(--confidence-high);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.confidence-badge.medium {
  background: var(--confidence-medium-bg);
  color: var(--confidence-medium);
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.confidence-badge.low {
  background: var(--confidence-low-bg);
  color: var(--confidence-low);
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.confidence-badge.very-low {
  background: var(--confidence-very-low-bg);
  color: var(--confidence-very-low);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Card Footer with Match Totals */
.match-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-subtle);
}

.match-totals {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.match-totals:hover {
  color: var(--primary);
}

.match-totals svg {
  width: 14px;
  height: 14px;
}

.match-metrics {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.metric {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.metric svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.metric-value {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--text-secondary);
}

/* Our Prediction Tag (Optional) */
.our-pick {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: linear-gradient(135deg, rgba(16, 217, 160, 0.08), rgba(99, 102, 241, 0.08));
  border-top: 1px solid var(--border-subtle);
}

.our-pick-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.our-pick-tags {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.pick-tag {
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.pick-tag.market {
  background: var(--info-bg);
  color: var(--info);
}

.pick-tag.selection {
  background: var(--success-bg);
  color: var(--success);
}

.pick-tag.odds {
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-family: var(--font-mono);
}

/* Expandable Details */
.match-details {
  border-top: 1px solid var(--border-subtle);
}

.details-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3);
  cursor: pointer;
  list-style: none;
  font-size: var(--text-xs);
  color: var(--text-muted);
  transition: all var(--transition-fast);
  background: rgba(255, 255, 255, 0.02);
}

.details-toggle::-webkit-details-marker {
  display: none;
}

.details-toggle:hover {
  color: var(--primary);
  background: rgba(16, 217, 160, 0.05);
}

.details-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-base);
}

.match-details[open] .details-toggle svg {
  transform: rotate(180deg);
}

.details-content {
  padding: var(--space-4);
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  animation: fadeIn 0.3s ease-out;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.stat-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.stat-box-title {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.stat-row:last-child {
  border-bottom: none;
}

.stat-row span {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.stat-row strong {
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.analysis-text {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.analysis-text h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.analysis-text p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* ===========================================
   LEGACY MATCH CARD SUPPORT (if needed)
   =========================================== */
.match-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: var(--space-5);
  gap: var(--space-4);
}

.match-prediction {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-3);
}

.match-time {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.match-time svg {
  width: 16px;
  height: 16px;
}

.prediction-tags {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tag {
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.tag-market {
  background: var(--info-bg);
  color: var(--info);
}

.tag-pick {
  background: var(--success-bg);
  color: var(--success);
}

.tag-odds {
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-family: var(--font-mono);
}

/* Confidence Section */
.confidence-section {
  padding: 0 var(--space-5) var(--space-4);
}

.confidence-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2);
}

.confidence-label span {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.confidence-label strong {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--primary);
}

.confidence-bar {
  height: 6px;
  background: var(--bg-elevated);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.confidence-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width 1s ease-out;
  animation: progressFill 1s ease-out;
}

/* ===========================================
   CONTENT ARTICLE (SEO Section)
   =========================================== */
.content-article {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  margin-bottom: var(--space-12);
  box-shadow: var(--shadow-md);
}

.article-header {
  padding: var(--space-10) var(--space-8) var(--space-8);
  background: linear-gradient(180deg, var(--bg-tertiary) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.article-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 800;
  line-height: var(--leading-tight);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.article-content {
  padding: var(--space-8);
}

.article-section {
  margin-bottom: var(--space-10);
}

.article-section:last-child {
  margin-bottom: 0;
}

.article-section h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.article-section h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin: var(--space-6) 0 var(--space-3);
}

.article-section p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.article-section p:last-child {
  margin-bottom: 0;
}

.article-list {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
}

.article-list li {
  position: relative;
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-3);
  padding-left: var(--space-4);
}

.article-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.article-list.numbered {
  counter-reset: list-counter;
}

.article-list.numbered li {
  counter-increment: list-counter;
}

.article-list.numbered li::before {
  content: counter(list-counter);
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: var(--bg-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  top: 4px;
  left: -8px;
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, var(--primary-glow), var(--accent-glow));
  border: 1px solid rgba(16, 217, 160, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin: var(--space-6) 0;
}

.highlight-box h4 {
  color: var(--primary);
  margin-top: 0;
}

/* Comparison Grid */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

.comparison-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.comparison-card.premium {
  background: linear-gradient(135deg, rgba(16, 217, 160, 0.1), rgba(99, 102, 241, 0.1));
  border-color: var(--primary);
}

.comparison-card h4 {
  margin-top: 0;
  margin-bottom: var(--space-4);
}

/* Stats Showcase */
.stats-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

.stat-item {
  text-align: center;
  padding: var(--space-6);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.stat-description {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Leagues Grid */
.leagues-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

.league-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.league-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.league-item p {
  font-size: var(--text-sm);
  margin: 0;
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.testimonial {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border-left: 4px solid var(--primary);
}

.testimonial p {
  font-style: italic;
  margin-bottom: var(--space-3);
}

.testimonial cite {
  font-size: var(--text-sm);
  color: var(--primary);
  font-style: normal;
  font-weight: 500;
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, var(--primary-glow), var(--accent-glow));
  border: 1px solid rgba(16, 217, 160, 0.3);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  text-align: center;
  margin-top: var(--space-8);
}

.cta-box h4 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: var(--space-3);
}

.cta-box p {
  margin-bottom: var(--space-6);
}

.cta-box .btn {
  margin: var(--space-2);
}

/* Article Footer */
.article-footer {
  padding: var(--space-6) var(--space-8);
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.article-tags .tag {
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.article-tags .tag:hover {
  background: var(--primary);
  color: var(--bg-primary);
}

.article-updated {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.article-updated svg {
  width: 16px;
  height: 16px;
}

/* ===========================================
   FAQ SECTION
   =========================================== */
.faq-section {
  margin-bottom: var(--space-12);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: var(--space-8);
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item[open] {
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item[open] .faq-question svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  padding: 0 var(--space-6) var(--space-5);
  animation: fadeIn 0.3s ease-out;
}

.faq-answer p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* ===========================================
   RESPONSIVE - TABLET (max-width: 1024px)
   =========================================== */
@media (max-width: 1024px) {
  :root {
    --container-padding: var(--space-5);
  }
  
  .main-grid {
    grid-template-columns: 260px 1fr;
    gap: var(--space-6);
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    max-width: 400px;
  }
  
  .comparison-grid,
  .stats-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .leagues-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-row {
    flex-direction: column;
  }
  
  .input-group {
    min-width: 100%;
  }
  
  .league-matches {
    grid-template-columns: 1fr;
  }
}

/* ===========================================
   RESPONSIVE - TABLET PORTRAIT (max-width: 900px)
   =========================================== */
@media (max-width: 900px) {
  .main-grid {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
  
  .sidebar .panel:nth-child(3) {
    grid-column: span 2;
  }
  
  .match-card-body {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  
  .match-odds {
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-3) 0;
    flex-direction: row;
    justify-content: space-around;
  }
  
  .match-stats {
    min-width: unset;
    width: 100%;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================================
   RESPONSIVE - MOBILE (max-width: 768px)
   =========================================== */
@media (max-width: 768px) {
  :root {
    --container-padding: var(--space-4);
  }
  
  .hero {
    padding: var(--space-10) 0 var(--space-8);
  }
  
  .hero-title {
    font-size: var(--text-3xl);
  }
  
  .hero-subtitle {
    font-size: var(--text-base);
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
  }
  
  .sidebar {
    grid-template-columns: 1fr;
  }
  
  .sidebar .panel:nth-child(3) {
    grid-column: span 1;
  }
  
  .date-scroll {
    justify-content: flex-start; 
    padding: var(--space-2) 0;
    gap: var(--space-2);
  }

  .date-btn {
    width: auto;
    min-width: 60px;
    height: auto;
    padding: var(--space-2) var(--space-3);
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    backdrop-filter: none;
    border: 1px solid var(--border-subtle);
  }

  .date-btn:hover {
    transform: none;
    box-shadow: none;
    background: var(--bg-elevated);
  }

  .date-btn.active {
    transform: none;
    background: var(--gradient-primary);
  }

  .date-btn .date { font-size: 18px; }
  .date-btn .day { font-size: 9px; }
  .date-btn .count { background: transparent; padding: 0; }
  .date-btn.active .count { background: transparent; }
  
  .featured-banner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-4);
    padding: var(--space-4);
  }
  
  .team-name {
    font-size: var(--text-sm);
    max-width: 120px;
  }
  
  .team-logo {
    width: 28px;
    height: 28px;
    font-size: 9px;
  }
  
  .comparison-grid,
  .stats-showcase {
    grid-template-columns: 1fr;
  }
  
  .stats-showcase .stat-item {
    padding: var(--space-4);
  }
  
  .stat-number {
    font-size: var(--text-2xl);
  }
  
  .article-header {
    padding: var(--space-6);
  }
  
  .article-content {
    padding: var(--space-5);
  }
  
  .article-section h3 {
    font-size: var(--text-lg);
  }
  
  .article-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-4) var(--space-5);
  }
  
  .cta-box {
    padding: var(--space-6);
  }
  
  .cta-box h4 {
    font-size: var(--text-xl);
  }
  
  .cta-box .btn {
    width: 100%;
  }
  
  .faq-question {
    padding: var(--space-4) var(--space-5);
  }
  
  .faq-answer {
    padding: 0 var(--space-5) var(--space-4);
  }

  /* ADD THIS to stop the shadow from pushing the screen width */
  .featured-banner {
    animation: none; /* Disable the pulsing shadow on mobile */
    box-shadow: 0 4px 12px rgba(16, 217, 160, 0.2); /* Static, safe shadow */
    margin: 0 2px; /* Slight safety margin */
  }
  
  /* Ensure the main grid doesn't overflow */
  .main-grid {
    width: 100%;
    overflow: hidden;
  }
}

/* ===========================================
   RESPONSIVE - SMALL MOBILE (max-width: 480px)
   =========================================== */
@media (max-width: 480px) {
  :root {
    --container-padding: var(--space-3);
  }
  
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
  }
  
  .hero-stats .stat {
    padding: var(--space-3);
  }
  
  .hero-stats .stat-value {
    font-size: var(--text-xl);
  }
  
  .hero-stats .stat-label {
    font-size: 10px;
  }
  
  .filter-card {
    padding: var(--space-4);
  }
  
  .league-header {
    padding: var(--space-3) var(--space-4);
  }
  
  .league-name {
    font-size: var(--text-sm);
  }
  
  .league-matches {
    padding: var(--space-3);
    gap: var(--space-3);
  }
  
  .match-card-header {
    padding: var(--space-2) var(--space-3);
  }
  
  .match-card-body {
    padding: var(--space-3);
  }
  
  .match-card-footer {
    padding: var(--space-2) var(--space-3);
    flex-direction: column;
    gap: var(--space-2);
  }
  
  .match-metrics {
    width: 100%;
    justify-content: space-between;
  }
  
  .our-pick {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-3);
  }
  
  .match-badge {
    font-size: 9px;
    padding: 2px var(--space-2);
  }
  
  .confidence-section {
    padding: 0 var(--space-4) var(--space-3);
  }
  
  .quick-stats {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
  }
  
  .quick-stat {
    padding: var(--space-3);
  }
  
  .quick-stat-value {
    font-size: var(--text-lg);
  }
  
  .panel-content {
    padding: var(--space-3);
  }
  
  .winner-avatar {
    width: 36px;
    height: 36px;
    font-size: var(--text-xs);
  }
  
  .details-content {
    padding: var(--space-4);
  }
  
  .stat-box {
    padding: var(--space-3);
  }
  
  .section-title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-6);
  }
  
  .testimonial {
    padding: var(--space-4);
  }
  
  .highlight-box {
    padding: var(--space-4);
  }
}

/* ===========================================
   DARK/LIGHT MODE TOGGLE TRANSITIONS
   =========================================== */
body,
.panel,
.match-card,
.filter-card,
.content-article,
.faq-item,
.btn {
  transition: 
    background-color var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base);
}

/* ===========================================
   ACCESSIBILITY
   =========================================== */
@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;
  }
  
  .animate-in {
    opacity: 1;
    animation: none;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --border-subtle: rgba(255, 255, 255, 0.2);
    --border-default: rgba(255, 255, 255, 0.3);
    --text-muted: #a0a8b8;
  }
  
  .match-card,
  .panel,
  .filter-card {
    border-width: 2px;
  }
}

/* ===========================================
   PRINT STYLES
   =========================================== */
@media print {
  body {
    background: white;
    color: black;
  }
  
  .hero-actions,
  .filter-section,
  .sidebar,
  .btn,
  .match-details,
  .faq-section {
    display: none;
  }
  
  .content-article {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* ===========================================
   SCROLLBAR STYLING
   =========================================== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Firefox Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--bg-tertiary) var(--bg-secondary);
}
  
 /* Accessibility: Skip Link Target & Screen Reader Utilities */
    .visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }
    