:root {
  --bg-primary: #0a0d1a;
  --bg-secondary: #0f1425;
  --bg-card: #141b2e;
  --bg-elevated: #1a2338;
  --text-primary: #ffffff;
  --text-secondary: #c2c9e0;
  --text-muted: #8891b3;
  --accent-blue: #0066ff;
  --accent-blue-dark: #0052cc;
  --accent-blue-light: #3385ff;
  --accent-cyan: #00d4ff;
  --success: #00c853;
  --warning: #ffa000;
  --danger: #ff3d00;
  --gradient-primary: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
  --gradient-success: linear-gradient(135deg, #00c853 0%, #00e676 100%);
  --gradient-card: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(0, 102, 255, 0.3);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(10, 13, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 102, 255, 0.15);
  z-index: 1000;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(10, 13, 26, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  border-bottom-color: rgba(0, 102, 255, 0.3);
}

.header-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 26px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
  color: white;
}

.main-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  position: relative;
}

.main-nav > a,
.nav-dropdown-wrapper > a {
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav > a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.main-nav > a:hover,
.nav-dropdown-wrapper > a:hover {
  color: var(--text-primary);
  background: rgba(0, 102, 255, 0.1);
}

.main-nav > a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.main-nav > a.active {
  color: var(--text-primary);
  background: rgba(0, 102, 255, 0.2);
}

.nav-dropdown-wrapper {
  position: relative;
}

.categories-dropdown-trigger,
.leagues-dropdown-trigger {
  cursor: pointer;
}

.dropdown-arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.nav-dropdown-wrapper:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* ============================================
   MEGA MENU DROPDOWNS - DESKTOP ONLY HOVER
   ============================================ */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 16px;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  pointer-events: none;
}

/* Only enable hover on devices with precise pointers (mouse) */
@media (pointer: fine) {
  .nav-dropdown-wrapper:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

.mega-menu.mobile-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Categories Mega Menu */
.categories-dropdown {
  min-width: 700px;
}

.mega-menu-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mega-menu-item {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: rgba(0, 102, 255, 0.05);
  border: 1px solid rgba(0, 102, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.mega-menu-item:hover {
  background: rgba(0, 102, 255, 0.1);
  border-color: rgba(0, 102, 255, 0.3);
  transform: translateX(4px);
}

.mega-item-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.mega-item-text strong {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
}

.mega-item-text span {
  color: var(--text-muted);
  font-size: 13px;
}

/* Leagues Mega Menu */
.leagues-dropdown {
  min-width: 600px;
}

.dropdown-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.dropdown-section h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.dropdown-section a {
  display: block;
  padding: 8px 12px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.dropdown-section a:hover {
  color: var(--text-primary);
  background: rgba(0, 102, 255, 0.1);
  padding-left: 16px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 28px;
  cursor: pointer;
  padding: 8px;
}

/* ============================================
   LIVE TRACKER
   ============================================ */
.live-tracker {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(0, 102, 255, 0.2);
  border-bottom: 1px solid rgba(0, 102, 255, 0.2);
  padding: 20px 0;
  overflow: hidden;
}

.tracker-content {
  display: flex;
  gap: 48px;
  animation: scroll 30s linear infinite;
  white-space: nowrap;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.tracker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  background: rgba(0, 102, 255, 0.1);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
}

.tracker-live {
  width: 8px;
  height: 8px;
  background: var(--danger);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.tracker-win {
  color: var(--success);
  font-weight: 800;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.2) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

.hero-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(0, 102, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  opacity: 0.5;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 32px;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0, 102, 255, 0.15);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-blue-light);
  margin-bottom: 24px;
  animation: slideDown 0.8s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 28px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slideUp 0.8s ease 0.2s both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  animation: slideUp 0.8s ease 0.4s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
  animation: slideUp 0.8s ease 0.6s both;
}

.btn-primary {
  padding: 18px 48px;
  background: var(--gradient-primary);
  color: white;
  font-weight: 700;
  font-size: 17px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(0, 102, 255, 0.5);
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(0, 102, 255, 0.6);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
}

.hero-note::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  display: inline-block;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-card {
  background: rgba(0, 102, 255, 0.05);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(0, 102, 255, 0.1);
  border-color: rgba(0, 102, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.3);
}

.stat-card strong {
  display: block;
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-card span {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-card .stat-detail {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 8px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 120px 0;
}

.section.alt {
  background: var(--bg-secondary);
}

.section h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

/* ============================================
   PREDICTIONS SECTION
   ============================================ */
.predictions-header {
  text-align: center;
  margin-bottom: 60px;
}

.predictions-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.predictions-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.predictions-count {
  padding: 6px 16px;
  background: rgba(0, 102, 255, 0.15);
  color: var(--accent-blue-light);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
}

.predictions-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.predictions-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.prediction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  margin-top: 48px;
  align-items: start;
}

/* ============================================
   PREDICTION CARDS
   ============================================ */
.prediction-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 0;
  border: 1px solid rgba(0, 102, 255, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-self: start;
}

.prediction-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.prediction-card:hover::before {
  opacity: 1;
}

.prediction-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 48px rgba(0, 102, 255, 0.4);
  border-color: rgba(0, 102, 255, 0.5);
}

.card-header {
  padding: 18px 20px 16px;
  border-bottom: 1px solid rgba(0, 102, 255, 0.1);
}

.league-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.league-badge {
  padding: 5px 12px;
  background: rgba(0, 102, 255, 0.15);
  color: var(--accent-blue-light);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  width: fit-content;
}

.match-time {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}

.match-info {
  padding: 0 20px 18px;
}

.match-teams {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.prediction-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: rgba(0, 102, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 0;
}

.prediction-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.prediction-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.prediction-value {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-primary);
}

.prediction-odds {
  text-align: right;
}

.odds-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.odds-value {
  font-size: 1.3rem;
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  color: var(--success);
}

.prediction-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  justify-content: center;
}

.stat-item {
  text-align: center;
  padding: 10px 16px;
  background: rgba(0, 102, 255, 0.05);
  border-radius: 8px;
  flex: 1;
  max-width: 200px;
}

.stat-item-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stat-item-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.confidence-section {
  margin-top: auto;
  padding: 18px 20px;
  background: rgba(0, 102, 255, 0.03);
  border-top: 1px solid rgba(0, 102, 255, 0.1);
}

.confidence-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.confidence-value {
  font-size: 1.1rem;
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-primary);
  padding: 4px 12px;
  background: rgba(0, 102, 255, 0.15);
  border-radius: 6px;
}

.confidence-bar {
  height: 8px;
  background: rgba(0, 102, 255, 0.15);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  margin-bottom: 14px;
}

.confidence-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 999px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.confidence-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.btn-analysis {
  width: 100%;
  padding: 10px 14px;
  background: rgba(0, 102, 255, 0.1);
  color: var(--accent-blue-light);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-analysis:hover {
  background: rgba(0, 102, 255, 0.2);
  border-color: rgba(0, 102, 255, 0.5);
}

.analysis-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.btn-analysis.active .analysis-arrow {
  transform: rotate(180deg);
}

/* ============================================
   INLINE MATCH ANALYSIS ACCORDION
   ============================================ */
.match-analysis-inline {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0;
}

.match-analysis-inline.active {
  max-height: 800px;
  margin-top: 16px;
}

.analysis-inline-content {
  padding: 16px;
  background: rgba(0, 102, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(0, 102, 255, 0.1);
}

.analysis-inline-content p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.analysis-inline-content p:last-child {
  margin-bottom: 0;
}

.analysis-inline-content strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* ============================================
   UPCOMING SECTION
   ============================================ */
.upcoming-section {
  margin-top: 80px;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}

.section-divider h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
}

.divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 102, 255, 0.5) 0%, transparent 100%);
}

/* ============================================
   VIEW ALL SECTION
   ============================================ */
.view-all-section {
  margin-top: 60px;
  text-align: center;
}

.btn-view-all {
  display: inline-block;
  padding: 18px 60px;
  background: rgba(0, 102, 255, 0.1);
  color: var(--accent-blue-light);
  font-weight: 700;
  font-size: 17px;
  border-radius: 14px;
  border: 2px solid rgba(0, 102, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-view-all:hover {
  background: rgba(0, 102, 255, 0.2);
  border-color: rgba(0, 102, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.3);
}

.view-all-note {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 14px;
}

/* ============================================
   INSIGHTS
   ============================================ */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.insight-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(0, 102, 255, 0.2);
  transition: all 0.3s ease;
}

.insight-card:hover {
  border-color: rgba(0, 102, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.3);
  transform: translateY(-4px);
}

.insight-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
  color: white;
  font-weight: 700;
}

.insight-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.insight-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 15px;
}

.insight-stats {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 102, 255, 0.1);
}

.insight-stat {
  flex: 1;
}

.insight-stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.insight-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.feature-card {
  text-align: center;
  padding: 48px 36px;
  background: var(--bg-card);
  border-radius: 24px;
  border: 1px solid rgba(0, 102, 255, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 102, 255, 0.5);
  box-shadow: 0 16px 48px rgba(0, 102, 255, 0.3);
}

.feature-number {
  width: 70px;
  height: 70px;
  margin: 0 auto 28px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  color: white;
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.5);
  position: relative;
}

.feature-number::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid rgba(0, 102, 255, 0.3);
  animation: ripple 3s ease-in-out infinite;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.feature-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 15px;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.review-card {
  background: var(--bg-card);
  padding: 36px;
  border-radius: 24px;
  border: 1px solid rgba(0, 102, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
}

.review-card:hover {
  border-color: rgba(0, 102, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.2);
  transform: translateY(-4px);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.review-stars {
  color: var(--warning);
  font-size: 20px;
  letter-spacing: 2px;
}

.review-verified {
  padding: 4px 12px;
  background: rgba(0, 200, 83, 0.15);
  color: var(--success);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-verified::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  display: inline-block;
}

.review-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.review-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: white;
}

.review-author-info {
  flex: 1;
}

.review-author {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.review-date {
  color: var(--text-muted);
  font-size: 13px;
}

.review-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 102, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(0, 102, 255, 0.1);
}

/* ============================================
   FAQ
   ============================================ */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 102, 255, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(0, 102, 255, 0.4);
}

.faq-question {
  width: 100%;
  padding: 28px 32px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(0, 102, 255, 0.05);
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
  color: var(--accent-blue);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item.active {
  border-color: rgba(0, 102, 255, 0.5);
  box-shadow: 0 4px 24px rgba(0, 102, 255, 0.2);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
  padding: 0 32px 32px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 15px;
}

.faq-item.active .faq-answer {
  max-height: 600px;
}

/* ============================================
   SEO ARTICLE SECTION
   ============================================ */
.seo-article-section {
  background: var(--bg-secondary);
}

.seo-article {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-secondary);
  line-height: 1.8;
}

.seo-article h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 32px;
  text-align: left;
}

.seo-article h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 48px;
  margin-bottom: 20px;
}

.seo-article h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 16px;
}

.seo-article p {
  margin-bottom: 20px;
  font-size: 15px;
}

.seo-article strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--bg-card);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 32px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 80px auto;
  max-width: 1200px;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 150%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-section p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(0, 102, 255, 0.2);
  padding: 80px 0 40px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  font-weight: 900;
}

.footer-logo-text {
  font-size: 22px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-section h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 14px;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--accent-blue);
  border-radius: 50%;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-blue-light);
  padding-left: 8px;
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue-light);
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 102, 255, 0.2);
}

.footer-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-badge {
  padding: 8px 20px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.disclaimer {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 16px;
  line-height: 1.7;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.copyright {
  color: var(--text-muted);
  font-size: 13px;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.5);
  z-index: 999;
  border: none;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.6);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dropdown-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 968px) {
  .main-nav {
    position: fixed;
    top: 85px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 85px);
    background: rgba(10, 13, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 32px;
    gap: 0;
    transition: left 0.3s ease;
    overflow-y: auto;
    align-items: stretch;
  }

  .main-nav.active {
    left: 0;
  }

  .main-nav > a,
  .nav-dropdown-wrapper > a {
    width: 100%;
    padding: 20px;
    font-size: 18px;
    border-bottom: 1px solid rgba(0, 102, 255, 0.1);
    justify-content: space-between;
  }

  .nav-dropdown-wrapper {
    width: 100%;
  }

  .mega-menu {
    position: static;
    transform: none;
    margin-top: 0;
    width: 100%;
    min-width: 0;
    padding: 16px;
    border-radius: 0;
    border-left: none;
    border-right: none;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    padding: 0;
    transition: all 0.3s ease;
  }

  .mega-menu.mobile-active {
    max-height: 2000px;
    opacity: 1;
    visibility: visible;
    padding: 16px;
    margin-bottom: 8px;
  }

  .categories-dropdown .mega-menu-content {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mega-menu-item {
    padding: 12px;
  }

  .mega-item-icon {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .leagues-dropdown {
    min-width: 0;
  }

  .dropdown-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 80px 0 60px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .prediction-grid {
    grid-template-columns: 1fr;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .how-it-works-grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 80px 0;
  }

  .cta-section {
    padding: 60px 32px;
    margin: 60px 16px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .header-container {
    height: 75px;
    padding: 0 16px;
  }

  .logo {
    font-size: 20px;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .stat-card strong {
    font-size: 2.5rem;
  }

  .prediction-grid {
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .prediction-card {
    border-radius: 16px;
  }

  .card-header {
    padding: 14px 16px 12px;
  }

  .league-badge {
    font-size: 10px;
    padding: 4px 10px;
  }

  .match-time {
    font-size: 11px;
  }

  .match-info {
    padding: 0 16px 14px;
  }

  .match-teams {
    font-size: 1.05rem;
    margin-bottom: 12px;
  }

  .prediction-main {
    padding: 12px 14px;
    margin-bottom: 0;
  }

  .prediction-label {
    font-size: 10px;
  }

  .prediction-value {
    font-size: 1rem;
  }

  .odds-label {
    font-size: 10px;
  }

  .odds-value {
    font-size: 1.1rem;
  }

  .prediction-stats {
    gap: 8px;
    margin-bottom: 12px;
  }

  .stat-item {
    padding: 8px 12px;
  }

  .stat-item-value {
    font-size: 1rem;
  }

  .stat-item-label {
    font-size: 10px;
  }

  .confidence-section {
    padding: 14px 16px;
  }

  .confidence-label {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .confidence-value {
    font-size: 0.95rem;
    padding: 3px 10px;
  }

  .confidence-bar {
    height: 6px;
    margin-bottom: 12px;
  }

  .btn-analysis {
    padding: 9px 12px;
    font-size: 12px;
  }

  .analysis-inline-content {
    padding: 12px;
  }

  .analysis-inline-content p {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 8px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }

  .dropdown-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary {
    width: 100%;
    padding: 16px 32px;
    font-size: 15px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .stat-card strong {
    font-size: 2.2rem;
  }

  .stat-card {
    padding: 24px 16px;
  }

  .prediction-card {
    border-radius: 14px;
  }

  .match-teams {
    font-size: 0.95rem;
  }

  .prediction-value {
    font-size: 0.9rem;
  }

  .odds-value {
    font-size: 1rem;
  }
}

    /* Footer Support Email Styling */
.footer-support {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-support strong {
  color: #fff;
  font-weight: 600;
}

.footer-support a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-support a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

/* Footer Grid Balance - Make columns more even */
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

/* Footer Brand Column - Better spacing */
.footer-brand {
  max-width: 100%;
}

.footer-brand p {
  margin: 16px 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* Footer Links - Tighter spacing */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  line-height: 1.5;
}

/* Footer Section Headers - Better alignment */
.footer-section h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: #fff;
}

/* Social Icons - Better spacing */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

/* Footer Badges - Better responsiveness */
.footer-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
}

/* Footer Disclaimer - Better readability */
.disclaimer {
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.disclaimer a {
  color: #60a5fa;
  text-decoration: underline;
}

/* Copyright - Centered */
.copyright {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-brand {
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-support {
    text-align: center;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-links {
    align-items: center;
  }
}

    /* ============================================
   ACCUMULATOR BUILDER STYLES
   ============================================ */

.accumulator-builder {
  max-width: 900px; /* Restrict desktop width */
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 48px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Accumulator Header */
.acca-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid rgba(96, 165, 250, 0.2);
}

.acca-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.acca-odds-total {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(96, 165, 250, 0.1);
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.acca-odds-total span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.acca-odds-total strong {
  font-size: 28px;
  font-weight: 800;
  color: #60a5fa;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Accumulator Selections */
.acca-selections {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

/* Individual Accumulator Leg */
.acca-leg {
  display: flex;
  gap: 20px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(96, 165, 250, 0.15);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.acca-leg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.acca-leg:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(96, 165, 250, 0.3);
  transform: translateX(4px);
}

.acca-leg:hover::before {
  opacity: 1;
}

/* Leg Number Badge */
.acca-leg-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

/* Leg Content */
.acca-leg-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.acca-match-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.acca-match-info .league-badge {
  font-size: 11px;
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.acca-match-info .match-time {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.acca-teams {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.4;
}

/* Acca Selection Row */
.acca-selection {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(96, 165, 250, 0.05);
  padding: 16px 20px;
  border-radius: 8px;
  border: 1px solid rgba(96, 165, 250, 0.1);
}

.acca-pick {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pick-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pick-value {
  font-size: 16px;
  font-weight: 700;
  color: #60a5fa;
}

.acca-odds {
  display: flex;
  align-items: center;
  gap: 8px;
}

.acca-odds .odds-value {
  font-size: 22px;
  font-weight: 800;
  color: #10b981;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Acca Reasoning */
.acca-reasoning {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  border-left: 3px solid rgba(96, 165, 250, 0.4);
}

.acca-reasoning strong {
  color: #60a5fa;
  font-weight: 600;
}

/* Acca Confidence */
.acca-confidence {
  display: flex;
  align-items: center;
  gap: 8px;
}

.acca-confidence span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.acca-confidence strong {
  font-size: 15px;
  font-weight: 700;
  color: #10b981;
}

/* Accumulator Summary */
.acca-summary {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: rgba(96, 165, 250, 0.05);
  border: 2px solid rgba(96, 165, 250, 0.2);
  border-radius: 12px;
  margin-top: 8px;
}

/* Stake Calculator */
.acca-stake-calculator {
  display: flex;
  align-items: center;
  gap: 12px;
}

.acca-stake-calculator label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.stake-input {
  width: 100px;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
}

.stake-input:focus {
  outline: none;
  border-color: #60a5fa;
  background: rgba(15, 23, 42, 1);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.currency {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

/* Acca Returns */
.acca-returns,
.acca-profit {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.acca-returns span,
.acca-profit span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.returns-amount {
  font-size: 24px;
  font-weight: 800;
  color: #60a5fa;
}

.profit-amount {
  font-size: 24px;
  font-weight: 800;
  color: #10b981;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .accumulator-builder {
    max-width: 100%; /* Full width on tablets */
  }
  
  .acca-summary {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .acca-returns,
  .acca-profit {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .accumulator-builder {
    padding: 24px 20px;
    max-width: 100%; /* Full width on mobile */
  }
  
  .acca-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .acca-odds-total {
    width: 100%;
    justify-content: space-between;
  }
  
  .acca-leg {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }
  
  .acca-leg-number {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  
  .acca-selection {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .acca-odds {
    width: 100%;
    justify-content: flex-start;
  }
  
  .acca-teams {
    font-size: 16px;
  }
  
  .acca-summary {
    padding: 20px;
  }
  
  .acca-stake-calculator {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
  }
  
  .stake-input {
    width: 100%;
  }
  
  .returns-amount,
  .profit-amount {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .acca-header h3 {
    font-size: 20px;
  }
  
  .acca-odds-total strong {
    font-size: 24px;
  }
  
  .acca-reasoning {
    font-size: 13px;
    padding: 10px 12px;
  }
}

    /* ============================================
   INSIGHTS PAGE STYLES
   ============================================ */

/* Insights Grid */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.insight-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

.insight-card:hover {
  border-color: rgba(96, 165, 250, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.insight-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(96, 165, 250, 0.3);
}

.insight-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.insight-stat-large {
  font-size: 56px;
  font-weight: 800;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1;
}

.insight-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 20px;
}

.insight-breakdown {
  background: rgba(0, 0, 0, 0.2);
  border-left: 3px solid rgba(96, 165, 250, 0.4);
  padding: 16px;
  border-radius: 6px;
  margin-top: 20px;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breakdown-item:last-child {
  border-bottom: none;
}

.breakdown-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.breakdown-value {
  font-size: 15px;
  font-weight: 700;
  color: #10b981;
}

.insight-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #60a5fa;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.insight-link:hover {
  color: #93c5fd;
  transform: translateX(4px);
}

/* League Insights */
.league-insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.league-insight-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 16px;
  padding: 32px;
}

.league-insight-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(96, 165, 250, 0.2);
}

.league-insight-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.league-flag {
  font-size: 32px;
}

.league-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.league-stat {
  background: rgba(96, 165, 250, 0.05);
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(96, 165, 250, 0.1);
}

.stat-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #60a5fa;
}

.league-insight-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.league-insight-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.league-insight-content li {
  padding: 12px 0;
  padding-left: 24px;
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.league-insight-content li:last-child {
  border-bottom: none;
}

.league-insight-content li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #60a5fa;
  font-weight: 700;
}

.league-insight-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 12px 24px;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 8px;
  color: #60a5fa;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.league-insight-link:hover {
  background: rgba(96, 165, 250, 0.2);
  transform: translateX(4px);
}

/* Trends Grid */
.trends-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.trend-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 16px;
  padding: 28px;
}

.trend-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.trend-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.trend-stat {
  font-size: 20px;
  font-weight: 700;
  color: #60a5fa;
  margin-bottom: 16px;
}

.trend-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 16px;
}

.trend-recommendation {
  background: rgba(16, 185, 129, 0.1);
  border-left: 3px solid #10b981;
  padding: 16px;
  border-radius: 6px;
  margin-top: 16px;
}

.trend-recommendation strong {
  display: block;
  color: #10b981;
  font-weight: 700;
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .league-insights-grid {
    grid-template-columns: 1fr;
  }
  
  .league-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .trends-grid {
    grid-template-columns: 1fr;
  }
  
  .insight-stat-large {
    font-size: 48px;
  }
}
