/* Import modern fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #2563eb;
  --secondary-color: #059669;
  --accent-color: #f59e0b;
  --text-color: #1f2937;
  --muted-text: #6b7280;
  --bg-color: #ffffff;
  --card-bg: #f9fafb;
  --border-color: #e5e7eb;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --hero-grad-start: #eef2ff; /* indigo-50 */
  --hero-grad-end: #fff7ed;   /* orange-50 */
  --primary-color-light: rgba(37, 99, 235, 0.15); /* для градиента */
  --secondary-color-light: rgba(5, 150, 105, 0.12); /* для градиента */
  --accent-color-light: rgba(245, 158, 11, 0.08); /* для градиента */
  --surface: rgba(255,255,255,0.88); /* полупрозрачные карточки поверх градиента */
  
  /* Additional variables for new pages */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #059669;
  --background: #ffffff;
  --text: #1f2937;
  --text-secondary: #6b7280;
}

/* Dark theme variables */
:root[data-theme="dark"] {
  --primary-color: #3b82f6;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  --text-color: #f3f4f6;
  --muted-text: #9ca3af;
  --bg-color: #0a0a0b;
  --card-bg: #111113;
  --border-color: #1e1e21;
  --hero-grad-start: #0a0a0b;
  --hero-grad-end: #0f0f11;
  --surface: rgba(17,17,19,0.8);
  --shadow: 0 4px 12px rgba(0,0,0,0.5);
  
  /* Additional variables for new pages */
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --secondary: #10b981;
  --background: #0a0a0b;
  --text: #f3f4f6;
  --text-secondary: #9ca3af;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { 
  min-height: 100%;
  overscroll-behavior-y: none; /* Prevent white background on overscroll */
}

body { 
  /* Яркий градиент по всей странице */
  background: 
    radial-gradient(ellipse 1400px 700px at 20% -10%, rgba(37, 99, 235, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse 1200px 600px at 85% 20%, rgba(5, 150, 105, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 1000px 500px at 10% 70%, rgba(245, 158, 11, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 800px 400px at 90% 90%, rgba(37, 99, 235, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, #f0f6ff 0%, #fff8f0 50%, #f0fff7 100%);
  background-attachment: fixed;
  color: var(--text-color);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 500;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  
  /* Keep smooth scrolling only */
  scroll-behavior: smooth;
}

/* Additional overscroll prevention for all devices */
body {
  overscroll-behavior-y: none; /* Prevent white background on vertical scroll */
}

/* Ensure content is above Matrix canvas */
.container, header, nav, main, footer, .feature-card, .how-it-works {
  position: relative;
  z-index: 1; /* Above Matrix canvas (z-index: -1) */
}

/* Make sure cards are clearly above canvas */
.feature-card {
  background: var(--card-bg);
  z-index: 2;
}

/* Dark theme body */
:root[data-theme="dark"] body {
  background: 
    radial-gradient(ellipse 1400px 700px at 20% -10%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 1200px 600px at 85% 20%, rgba(16, 185, 129, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 1000px 500px at 10% 70%, rgba(245, 158, 11, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 800px 400px at 90% 90%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
    linear-gradient(135deg, #0a0a0b 0%, #0d0d0e 50%, #0a0a0b 100%);
}

/* Subtle animated grid overlay */
body::before { 
  content: ""; 
  position: fixed; 
  inset: 0; 
  pointer-events: none; 
  z-index: -1; 
  opacity: .15; 
  background-size: 40px 40px; 
  background-image: 
    linear-gradient(to right, rgba(37, 99, 235, 0.1) 1px, transparent 1px), 
    linear-gradient(to bottom, rgba(37, 99, 235, 0.1) 1px, transparent 1px); 
  animation: gridMove 60s linear infinite; 
}
@keyframes gridMove { from { background-position: 0 0, 0 0; } to { background-position: 200px 120px, 200px 120px; } }

:root[data-theme="dark"] body::before {
  opacity: .05;
  background-image: 
    linear-gradient(to right, rgba(59, 130, 246, 0.15) 1px, transparent 1px), 
    linear-gradient(to bottom, rgba(59, 130, 246, 0.15) 1px, transparent 1px);
}
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
/* Modern Header Design */
header.header-light { 
  position: fixed; 
  top: 0; 
  left: 0;
  right: 0;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(20px) saturate(200%); 
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, opacity 0.5s ease, visibility 0.5s ease;
  transform: translateY(0);
}

/* Scrolled Header State */
header.header-light.scrolled {
  background: rgba(10, 10, 11, 0.95);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Hidden Header State */
header.header-light.hidden {
  transform: translateY(-100%) !important;
  opacity: 0;
}

/* Body padding for fixed header */
body {
  padding-top: 80px; /* Adjust based on header height */
}

header.header-light.scrolled .container {
  padding: 12px 0;
}

header.header-light.scrolled .logo {
  font-size: 24px;
}

header.header-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent,
    rgba(59, 130, 246, 0.5) 20%,
    rgba(168, 85, 247, 0.5) 50%,
    rgba(236, 72, 153, 0.5) 80%,
    transparent
  );
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

header .container { 
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  align-items: center;
  justify-items: center;
  padding: 20px 0;
  position: relative;
  min-height: 60px; /* Минимальная высота для стабильности */
}

/* Logo Design */
.logo { 
  font-weight: 900;
  font-size: 28px;
  text-decoration: none;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
  transition: all 0.3s ease;
  position: relative;
  grid-column: 1;
  justify-self: start;
  align-self: center;
}

.logo:hover {
  transform: scale(1.05);
  text-shadow: 0 0 40px rgba(59, 130, 246, 0.8);
}

/* Navigation Design */
nav { 
  grid-column: 2;
  justify-self: center;
  align-self: center;
  width: 100%;
}

nav ul { 
  list-style: none !important; 
  display: flex !important; 
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 100% !important;
  text-align: center !important;
  flex-wrap: nowrap !important; /* Принудительно запрещаем перенос */
}

nav a { 
  position: relative;
  text-decoration: none;
  color: #9ca3af;
  font-weight: 500;
  font-size: 15px;
  padding: 10px 20px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px; /* Фиксированная высота для точного центрирования */
  white-space: nowrap; /* Предотвращаем перенос текста */
  word-wrap: normal; /* Отключаем принудительный перенос */
}

nav a::before {
  display: none !important; /* ПОЛНОСТЬЮ ОТКЛЮЧИТЬ ПСЕВДОЭЛЕМЕНТ */
  content: none !important;
}

nav a:hover {
  color: #f3f4f6;
  transform: translateY(-2px);
}

nav a:hover::before {
  opacity: 1;
}

nav a.active {
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  font-weight: 600;
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; /* Позиционируем точно под элементом */
  left: 20px; /* Учитываем padding слева */
  right: 20px; /* Учитываем padding справа */
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.8);
}

nav a.active:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

/* Hover underline effect */
nav a:not(.active)::after {
  content: '';
  position: absolute;
  bottom: -2px; /* Позиционируем точно под элементом */
  left: 50%; /* Центрируем по горизонтали */
  transform: translateX(-50%); /* Центрируем относительно позиции */
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3b82f6, #8b5cf6, transparent);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

nav a:not(.active):hover::after {
  width: 90%; /* Растягивается на 90% ширины элемента */
  animation: shimmerLine 0.6s ease-in-out;
}

@keyframes shimmerLine {
  0% { opacity: 0.5; }
  50% { opacity: 1; box-shadow: 0 0 12px rgba(59, 130, 246, 0.8); }
  100% { opacity: 1; }
}

/* Mobile Menu Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #f3f4f6;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
  grid-column: 3;
  justify-self: end;
  align-self: center;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Header Responsive Design */
@media (max-width: 768px) {
  body {
    padding-top: 70px; /* Smaller padding for mobile */
  }
  
  header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
  }
  
  .logo {
    font-size: 24px;
    grid-column: unset;
    justify-self: unset;
  }
  
  .mobile-menu-toggle {
    display: block;
    grid-column: unset;
    justify-self: unset;
  }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 11, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    grid-column: unset;
    justify-self: unset;
  }
  
  nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  nav ul {
    flex-direction: column;
    gap: 4px;
    padding: 20px;
    justify-content: center;
  }
  
  nav a {
    width: auto; /* Позволяем автоматическую ширину */
    text-align: center;
    padding: 8px 12px; /* Уменьшенные отступы */
    font-size: 13px; /* Чуть меньший размер шрифта */
    white-space: nowrap; /* Повторно подтверждаем запрет переноса */
  }
  
  nav a:not(.active)::after {
    display: none;
  }
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 480px) {
  nav ul {
    gap: 4px !important; /* Еще меньший отступ между элементами */
  }
  
  nav a {
    padding: 6px 8px !important; /* Минимальные отступы */
    font-size: 12px !important; /* Еще меньший шрифт */
    height: 36px !important; /* Уменьшенная высота */
  }
}
.dropdown { position: relative; }
.dropdown-content { position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--border-color); border-radius: 10px; box-shadow: var(--shadow); min-width: 200px; padding: 8px; display: none; }
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a { display: block; padding: 8px 10px; border-radius: 6px; color: var(--text-color); }
.dropdown-content a:hover { background: var(--card-bg); }
.dropdown-divider { height: 1px; background: var(--border-color); margin: 6px 0; }
.soon-badge, .small-soon { 
  display: inline-block; 
  background: linear-gradient(135deg, var(--accent-color), #f97316); 
  color: #fff; 
  border: none;
  border-radius: 999px; 
  padding: 4px 12px; 
  font-size: 10px; 
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}
main { 
  padding: 0 0 24px 0; 
  position: relative;
  z-index: 1;
}

main > .container {
  padding-top: 40px;
}
.section { 
  background: rgba(255,255,255,0.05); 
  backdrop-filter: blur(24px) saturate(180%); 
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.15); 
  border-radius: 20px; 
  padding: 32px; 
  margin: 0 0 24px 0; 
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  position: relative;
  z-index: 1;
}

/* Add spacing for first section on home page */
.home-page .section:first-of-type {
  margin-top: 80px;
}

:root[data-theme="dark"] .section { 
  background: rgba(17,17,19,0.2); 
  backdrop-filter: blur(24px) saturate(180%); 
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.04); 
  box-shadow: 0 4px 20px rgba(0,0,0,0.2); 
}
/* Typography improvements */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { 
  font-size: clamp(2.5rem, 5vw, 3.5rem); 
  margin-bottom: 16px; 
  color: var(--text-color);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin-bottom: 12px;
  color: var(--text-color);
  font-weight: 700;
}
.section-description { color: var(--muted-text); }
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 12px; border: 1px solid var(--border-color); background: #fff; color: var(--text-color); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease; box-shadow: var(--shadow); }
.btn:hover { background: var(--card-bg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { 
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 16px 32px;
  font-size: 1.05rem;
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.35), 0 8px 20px rgba(37, 99, 235, 0.25);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn-primary:hover { 
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 0 60px rgba(37, 99, 235, 0.5), 0 12px 30px rgba(37, 99, 235, 0.35); 
  color: #fff !important;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary > *, .btn-primary {
  position: relative;
  z-index: 1;
}

/* Dark theme buttons */
:root[data-theme="dark"] .btn {
  background: rgba(17,17,19,0.8);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

:root[data-theme="dark"] .btn:hover {
  background: rgba(30,30,33,0.9);
  border-color: rgba(255,255,255,0.12);
}

:root[data-theme="dark"] .btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.3), 0 8px 20px rgba(59, 130, 246, 0.2);
}

:root[data-theme="dark"] .btn-primary:hover {
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.4), 0 12px 30px rgba(59, 130, 246, 0.3);
}
.ripple-circle { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; width: 10px; height: 10px; background: rgba(255,255,255,.6); animation: ripple .6s ease-out forwards; mix-blend-mode: overlay; }
@keyframes ripple { to { opacity: 0; width: 220px; height: 220px; } }
.grid { display: grid; gap: 16px; }
.features-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.how-it-works-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card, .card { 
  background: rgba(255,255,255,0.1); 
  border: 1px solid rgba(255,255,255,0.2); 
  border-radius: 20px; 
  padding: 24px; 
  box-shadow: 0 8px 32px rgba(0,0,0,0.06); 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
  will-change: transform; 
  backdrop-filter: blur(24px) saturate(180%); 
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  position: relative;
  overflow: hidden;
}

/* First card is featured */
.features-grid .feature-card:first-child {
  grid-column: 1 / -1;
  padding: 48px;
  background: linear-gradient(135deg, rgba(255,255,255,0.6), rgba(37, 99, 235, 0.05));
  border: 2px solid rgba(37, 99, 235, 0.2);
}

.features-grid .feature-card:first-child h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

:root[data-theme="dark"] .feature-card,
:root[data-theme="dark"] .card { 
  background: rgba(17,17,19,0.3); 
  border: 1px solid rgba(255,255,255,0.05); 
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  backdrop-filter: blur(24px) saturate(180%); 
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}

/* Glow border on hover */
.feature-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
  filter: blur(10px);
}

.feature-card::after { 
  content: ""; 
  position: absolute; 
  inset: 0; 
  pointer-events: none; 
  background: radial-gradient(100px 60px at 10% 90%, rgba(37,99,235,.12), transparent 60%), 
              radial-gradient(140px 80px at 90% 10%, rgba(245,158,11,.12), transparent 60%); 
  opacity: 0; 
  transition: opacity .25s ease; 
  border-radius: inherit; 
}

.feature-card:hover { 
  transform: translateY(-8px) scale(1.02); 
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15); 
  border-color: transparent;
}

.feature-card:hover::before {
  opacity: 0.6;
}

.feature-card:hover::after { 
  opacity: 1; 
}

.feature-card[data-tilt] { 
  transform-style: preserve-3d; 
}

/* Feature icons */
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
}

.feature-icon i {
  width: 32px;
  height: 32px;
  color: white;
  stroke-width: 1.5;
}

.feature-card:hover .feature-icon {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.4);
}

/* How it works result section */
.how-it-works-result {
  margin-top: 32px;
  padding: 24px;
  text-align: center;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(12px);
}

.how-it-works-result p {
  font-size: 1.1rem;
  margin: 0;
  color: var(--text-color);
}

.how-it-works-result strong {
  color: var(--primary-color);
  font-weight: 700;
}

/* Dark theme adjustments */
:root[data-theme="dark"] .feature-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.25);
}

:root[data-theme="dark"] .feature-card:hover .feature-icon {
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.35);
}

:root[data-theme="dark"] .how-it-works-result {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.15);
}

/* Expandable feature cards */
.feature-card.expandable {
  cursor: pointer;
  transition: all 0.3s ease;
}

.feature-card.expandable:hover {
  transform: translateY(-4px) scale(1.01);
}

.feature-card.expandable h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.expand-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--primary-color);
  opacity: 0.7;
  flex-shrink: 0;
  margin-left: 8px;
  display: inline-block;
}

.feature-card.expandable.expanded .expand-icon {
  transform: rotate(180deg);
  opacity: 1;
}

.expanded-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, opacity 0.3s ease-out, margin-top 0.3s ease-out;
  opacity: 0;
  margin-top: 0;
}

.feature-card.expandable.expanded .expanded-content {
  max-height: 400px;
  opacity: 1;
  margin-top: 16px;
}

.expanded-details {
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  backdrop-filter: blur(12px);
}

.expanded-details h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  font-family: 'Space Grotesk', sans-serif;
}

.expanded-details ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.expanded-details li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.5;
}

.expanded-details li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.expanded-details li strong {
  color: var(--primary-color);
  font-weight: 600;
}

.tech-note {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(245, 158, 11, 0.1));
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 8px;
  padding: 12px;
  margin: 0;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--muted-text);
  text-align: center;
}

/* Dark theme adjustments for expanded content */
:root[data-theme="dark"] .expanded-details {
  background: rgba(17, 17, 19, 0.4);
  border-color: rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] .tech-note {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(245, 158, 11, 0.08));
  border-color: rgba(59, 130, 246, 0.15);
}

/* Improved mobile responsiveness for expanded cards */
@media (max-width: 768px) {
  .how-it-works-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .expanded-details {
    padding: 16px;
  }
  
  .expanded-details li {
    font-size: 0.9rem;
  }
  
  .feature-card.expandable.expanded .expanded-content {
    max-height: 350px;
  }
}
.hero { 
  position: relative; 
  overflow: visible; 
  text-align: center; 
  padding: 160px 0 60px; 
  min-height: 600px;
  background: transparent;
  border: none;
  z-index: 1;
  margin-bottom: 0;
}

/* Ensure main content doesn't clip */
main {
  overflow: visible;
  position: relative;
  z-index: 1;
}

body, html {
  overflow-x: hidden;
}
.hero h1 { 
  font-size: clamp(3rem, 6vw, 4.5rem); 
  font-weight: 500; /* Еще тоньше и изящнее */
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero .subtitle { 
  color: var(--muted-text); 
  margin-top: 8px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero::before, .hero::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(150px); opacity: .15; pointer-events: none; z-index: -1; }
.hero::before { background: conic-gradient(from 120deg, var(--primary-color), var(--accent-color)); top: -160px; left: -120px; animation: blob 18s linear infinite alternate; }
.hero::after { background: conic-gradient(from 260deg, #22c55e, #f97316); top: -180px; right: -140px; animation: blob 22s linear infinite alternate; }
@keyframes blob { 0%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(30px, 20px) scale(1.08);} 100%{ transform: translate(-20px, 10px) scale(0.96);} }

/* Dark theme hero */
:root[data-theme="dark"] .hero {
  background: transparent;
}

:root[data-theme="dark"] .hero h1 {
  filter: brightness(1.1);
}

:root[data-theme="dark"] .hero::before,
:root[data-theme="dark"] .hero::after {
  opacity: 0.15;
  filter: blur(120px);
}

/* Wireframe sphere */
.hero-sphere { 
  position: absolute; 
  left: 50%; 
  top: 55%; 
  width: 350px; 
  height: 350px; 
  transform: translate(-50%, -50%); 
  opacity: .5; 
  z-index: 0;
  color: var(--primary-color);
  filter: drop-shadow(0 0 25px rgba(37, 99, 235, 0.4));
  pointer-events: none;
  overflow: visible;
}

.hero-sphere svg {
  overflow: visible;
  animation: sphereFloat 20s ease-in-out infinite;
}

.sphere-rotate {
  animation: sphereRotate 30s linear infinite;
  transform-origin: center;
}

@keyframes sphereRotate {
  from { transform: rotateY(0deg) rotateX(15deg); }
  to { transform: rotateY(360deg) rotateX(15deg); }
}

@keyframes sphereFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
.spin { animation: spinSphere 40s linear infinite; transform-origin: 50% 50%; }

/* Palette switcher */
.palette {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid rgba(255,255,255,0.5);
}

.swatch:hover {
  transform: scale(1.2);
  box-shadow: 0 0 12px currentColor;
}

.swatch[data-palette="blue"] { background: #2563eb; }
.swatch[data-palette="green"] { background: #059669; }
.swatch[data-palette="purple"] { background: #7c3aed; }
.swatch[data-palette="orange"] { background: #f97316; }


/* Stadium background animation */
.stadium-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  opacity: 1;
  color: var(--primary-color);
  overflow: visible;
  transform: scale(0.9) rotateX(5deg);
  perspective: 2000px;
}

.stadium-structure {
  animation: stadiumFloat 40s ease-in-out infinite, stadiumRotate 60s linear infinite;
  transform-origin: center center;
  transform-style: preserve-3d;
}

@keyframes stadiumFloat {
  0%, 100% { 
    transform: translateY(0) scale(1); 
    opacity: 0.8;
  }
  25% { 
    transform: translateY(-30px) scale(1.05); 
    opacity: 1;
  }
  50% { 
    transform: translateY(-10px) scale(0.95); 
    opacity: 0.9;
  }
  75% { 
    transform: translateY(-40px) scale(1.02); 
    opacity: 1;
  }
}

@keyframes stadiumRotate {
  from { transform: rotateZ(0deg); }
  to { transform: rotateZ(360deg); }
}

/* Stadium visibility for different themes */
:root[data-theme="dark"] .stadium-background {
  color: rgba(96, 165, 250, 0.9);
  opacity: 0.7;
  filter: drop-shadow(0 0 30px rgba(96, 165, 250, 0.6)) drop-shadow(0 0 60px rgba(59, 130, 246, 0.4));
}

/* Hide stadium on non-home pages */
body:not(.home-page) .stadium-background {
  display: none;
}

/* Sports Matrix Effect */
.sports-matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
  opacity: 0.15;
  transition: opacity 0.3s ease;
}

/* Hide matrix on non-home pages */
body:not(.home-page) .sports-matrix-canvas {
  display: none;
}

/* TABLETS: iPad Pro, Android tablets (769px-1023px) */
@media (min-width: 769px) and (max-width: 1023px) {
  .sports-matrix-canvas {
    opacity: 0.5 !important; /* More visible matrix on tablets */
    filter: none !important;
  }
  
  .stadium-background {
    opacity: 0.6 !important; /* More visible stadium */
    filter: none !important;
    animation-duration: 40s !important; /* Good performance */
  }
  
  .particle-canvas {
    display: none !important; /* Hide particles on tablets */
  }
}

/* MOBILE DEVICES: Phones, small tablets (≤768px) */
@media (max-width: 768px) {
  .sports-matrix-canvas {
    opacity: 0.4 !important; /* More visible on mobile */
    filter: none !important;
  }
  
  .stadium-background {
    opacity: 0.5 !important; /* More visible stadium */
    filter: none !important;
    animation-duration: 45s !important; /* Slower but still visible */
  }
  
  .particle-canvas {
    display: none !important; /* No particles on mobile */
  }
  
  /* Keep basic animations but optimize them */
  .feature-card,
  .match-card,
  .result-card {
    transition: transform 0.2s ease !important; /* Keep smooth transitions */
  }
  
  .feature-card:hover,
  .match-card:hover {
    transform: translateY(-2px) !important; /* Smaller hover effect */
  }
  
  /* Reduce blur effects but keep basic animations */
  .section,
  nav {
    backdrop-filter: none !important;
  }
}

/* Matrix control button (optional for future use) */
.matrix-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: var(--primary-color);
  cursor: pointer;
  display: none; /* Hidden by default */
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
  z-index: 100;
}

.matrix-toggle:hover {
  background: rgba(37, 99, 235, 0.2);
  transform: scale(1.1);
}

:root[data-theme="dark"] .matrix-toggle {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

:root[data-theme="dark"] .matrix-toggle:hover {
  background: rgba(59, 130, 246, 0.2);
}
@keyframes spinSphere { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Card enhanced styles */
.feature-card {
  position: relative;
}

/* Page scanner transition */
.page-scanner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: rgba(37, 99, 235, 0.05);
}

.page-scanner.scanning {
  opacity: 1;
}

.scanner-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  box-shadow: 0 0 20px var(--primary-color);
  animation: scan 0.6s ease-out;
}

@keyframes scan {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}

/* Enhanced grid overlay */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.grid-cell {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 4px;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.1), transparent);
  animation: gridPulse 20s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { 
    transform: scale(1) rotate(0deg); 
    opacity: 0;
    border-color: rgba(37, 99, 235, 0.1);
  }
  25% { 
    transform: scale(1.2) rotate(90deg); 
    opacity: 0.3;
    border-color: rgba(5, 150, 105, 0.2);
  }
  50% { 
    transform: scale(0.8) rotate(180deg); 
    opacity: 0.6;
    border-color: rgba(245, 158, 11, 0.2);
  }
  75% { 
    transform: scale(1.1) rotate(270deg); 
    opacity: 0.3;
    border-color: rgba(37, 99, 235, 0.2);
  }
}
/* Enhanced Match Cards - SAOS Style */
.matches-grid { 
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
  gap: 24px;
  padding: 20px 0;
}

.match-card {
  position: relative;
  background: rgba(255,255,255,0.12); 
  border: 1px solid rgba(255,255,255,0.18); 
  border-radius: 24px; 
  padding: 28px; 
  box-shadow: 0 8px 32px rgba(0,0,0,0.08); 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
  backdrop-filter: blur(24px) saturate(180%); 
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  cursor: pointer;
  overflow: hidden;
}

/* Dark theme match cards */
:root[data-theme="dark"] .match-card {
  background: rgba(17,17,19,0.4); 
  border: 1px solid rgba(255,255,255,0.08); 
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* Glow effect on hover */
.match-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
  filter: blur(15px);
}

.match-card::after { 
  content: ""; 
  position: absolute; 
  inset: 0; 
  pointer-events: none; 
  background: radial-gradient(120px 70px at 10% 90%, rgba(37,99,235,.08), transparent 60%), 
              radial-gradient(160px 90px at 90% 10%, rgba(245,158,11,.08), transparent 60%); 
  opacity: 0; 
  transition: opacity .3s ease; 
  border-radius: inherit; 
}

.match-card:hover { 
  transform: translateY(-8px) scale(1.02); 
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15); 
  border-color: rgba(37, 99, 235, 0.3);
}

.match-card:hover::before {
  opacity: 0.4;
}

.match-card:hover::after { 
  opacity: 1; 
}

/* Match header styling */
.match-card .match-header { 
  font-weight: 700; 
  color: var(--primary-color); 
  margin-bottom: 20px; 
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.match-card .match-header::before {
  content: "";
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

/* Teams section */
.match-teams { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 16px; 
  margin: 24px 0; 
  position: relative;
  z-index: 1;
}

.team-info { 
  display: flex; 
  flex-direction: column;
  align-items: center; 
  gap: 12px; 
  flex: 1;
  text-align: center;
}

.team-logo { 
  width: 100px; 
  height: 100px; 
  object-fit: contain; 
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  padding: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.match-card:hover .team-logo {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
}

.team-logo-placeholder {
  width: 100px; 
  height: 100px; 
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
}

.team-name { 
  font-weight: 700; 
  font-size: 0.95rem;
  color: var(--text-color);
  line-height: 1.2;
  max-width: 120px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  word-wrap: break-word;
  hyphens: auto;
}

.vs { 
  color: var(--accent-color); 
  font-weight: 900; 
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 12px;
  border-radius: 12px;
  background-color: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  min-width: 60px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Prediction button */
.prediction-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 16px;
  padding: 14px 24px;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 20px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.prediction-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* Match details and info */
.match-details {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.match-league {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted-text);
  padding: 6px 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
}

.prediction-info {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 12px;
  padding: 8px 16px;
  background: rgba(37, 99, 235, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.confidence {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
  text-align: center;
}

/* Match actions container */
.match-actions {
  margin-top: 16px;
}

/* Time display in match cards */
.match-time {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-color);
  text-align: center;
  margin-top: 8px;
  padding: 4px 8px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Live indicator for ongoing matches */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ef4444;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Removed ::before pseudo-element to avoid duplicate red dots - using .live-dot in HTML instead */

/* Team logo error fallback */
.team-logo:error {
  display: none;
}

.team-logo-placeholder:first-letter {
  font-size: 18px;
  font-weight: 900;
}

/* Results Page - Enhanced Cards */
.results-container {
  margin-top: 32px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 24px;
  padding: 20px 0;
}

.result-card {
  position: relative;
  background: rgba(255,255,255,0.12); 
  border: 1px solid rgba(255,255,255,0.18); 
  border-radius: 24px; 
  padding: 28px; 
  box-shadow: 0 8px 32px rgba(0,0,0,0.08); 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
  backdrop-filter: blur(24px) saturate(180%); 
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  overflow: hidden;
}

/* Dark theme result cards */
:root[data-theme="dark"] .result-card {
  background: rgba(17,17,19,0.4); 
  border: 1px solid rgba(255,255,255,0.08); 
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* Result card states */
.result-card.correct {
  border-color: rgba(16, 185, 129, 0.3);
}

.result-card.correct::before {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
}

.result-card.incorrect {
  border-color: rgba(239, 68, 68, 0.3);
}

.result-card.incorrect::before {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
}

.result-card.pending {
  border-color: rgba(245, 158, 11, 0.3);
}

.result-card.pending::before {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
}

.result-card.no-prediction {
  border-color: rgba(156, 163, 175, 0.3);
  opacity: 0.8;
}

/* Glow effect for result cards */
.result-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.result-card:hover::before {
  opacity: 1;
}

.result-card.has-analysis:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.12);
  cursor: pointer;
}

/* Result card header */
.result-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.result-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.result-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.expand-indicator {
  font-size: 0.75rem;
  color: var(--primary-color);
  font-weight: 600;
  padding: 6px 12px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  transition: all 0.3s ease;
}

.result-card.expanded .expand-indicator {
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(37, 99, 235, 0.4);
}

/* Team results display */
.result-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0;
  padding: 20px;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
}

.team-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.team-result .team-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-color);
  text-align: center;
  line-height: 1.3;
}

.team-result .team-score {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-color);
  text-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

.result-vs {
  color: var(--muted-text);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Result badges */
.result-badge {
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-correct {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-incorrect {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-pending {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-no-prediction {
  background: rgba(156, 163, 175, 0.2);
  color: #9ca3af;
  border: 1px solid rgba(156, 163, 175, 0.3);
}

/* Prediction and summary sections */
.result-prediction, .result-summary {
  margin: 16px 0;
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}

.result-prediction h4, .result-summary h4 {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Expanded content */
.result-expanded-content {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    max-height: 500px;
    transform: translateY(0);
  }
}

.analysis-section {
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 16px;
  padding: 20px;
}

.analysis-section h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.analysis-section h4::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2337A0B4" stroke-width="2"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"/><circle cx="9" cy="9" r="2"/><path d="m21 15-3.086-3.086a2 2 0 0 0-1.414-.586H13V9a2 2 0 0 0-2-2H9.414a2 2 0 0 0-1.414.586L5 11"/></svg>') no-repeat center;
  background-size: contain;
}

/* Отключаем иконки для h4 в карточках прогнозов и tactical analysis */
.betting-market-card h4::before,
.prediction-card h4::before,
.tactical-analysis-main h3::before,
.tactical-analysis-main h4::before,
.detailed-analysis h3::before,
.detailed-analysis h4::before,
.analysis-title::before,
.factors-title::before,
.reasoning-title::before {
  display: none !important;
}

/* Score boxes in results */
.score-box {
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 8px;
}

.predicted-score {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.actual-score {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Responsive design for results */
@media (max-width: 768px) {
  .results-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px 0;
  }
  
  .result-card {
    padding: 20px;
    border-radius: 20px;
  }
  
  .result-teams {
    padding: 16px;
    gap: 12px;
  }
  
  .team-result .team-score {
    font-size: 1.5rem;
  }
  
  .result-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .expand-indicator {
    align-self: stretch;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .result-card {
    padding: 16px;
    border-radius: 16px;
  }
  
  .result-teams {
    padding: 12px;
    gap: 8px;
  }
  
  .team-result .team-name {
    font-size: 0.85rem;
  }
  
  .team-result .team-score {
    font-size: 1.3rem;
  }
}

/* Enhanced Results Statistics Cards */
.results-stat-card {
  position: relative;
  background: rgba(255,255,255,0.12); 
  border: 1px solid rgba(255,255,255,0.18); 
  border-radius: 20px; 
  padding: 24px; 
  box-shadow: 0 8px 32px rgba(0,0,0,0.08); 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
  backdrop-filter: blur(24px) saturate(180%); 
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
}

:root[data-theme="dark"] .results-stat-card {
  background: rgba(17,17,19,0.4); 
  border: 1px solid rgba(255,255,255,0.08); 
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.results-stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.results-stat-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.15);
}

.results-stat-card:hover::before {
  opacity: 1;
}

/* Specific stat card themes */
.results-stat-card.main-outcome::before {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.05));
}

.results-stat-card.btts::before {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
}

.results-stat-card.goals::before {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
}

.results-stat-card.possession::before {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05));
}

.results-stat-card.corners::before {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
}

.results-stat-card.cards::before {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
}

.results-stat-card.completed::before {
  background: linear-gradient(135deg, rgba(156, 163, 175, 0.1), rgba(156, 163, 175, 0.05));
}

.stat-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 16px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  flex-shrink: 0;
}

.stat-icon i {
  width: 28px;
  height: 28px;
  stroke-width: 2;
  color: currentColor;
}

.stat-content {
  flex: 1;
}

.results-stat-card .stat-value {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-color);
  margin-bottom: 4px;
  line-height: 1;
}

.results-stat-card .stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Color themes for different stats */
.results-stat-card.main-outcome .stat-icon {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.3);
}

.results-stat-card.btts .stat-icon {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
}

.results-stat-card.goals .stat-icon {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
}

.results-stat-card.possession .stat-icon {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
}

.results-stat-card.corners .stat-icon {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.results-stat-card.cards .stat-icon {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
}

.results-stat-card.completed .stat-icon {
  background: rgba(156, 163, 175, 0.15);
  border-color: rgba(156, 163, 175, 0.3);
}

/* Responsive stats cards */
@media (max-width: 768px) {
  .results-stat-card {
    padding: 16px;
    gap: 12px;
  }
  
  .stat-icon {
    width: 48px;
    height: 48px;
  }
  
  .stat-icon i {
    width: 24px;
    height: 24px;
  }
  
  .results-stat-card .stat-value {
    font-size: 1.8rem;
  }
  
  .results-stat-card .stat-label {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .results-stat-card {
    padding: 12px;
    gap: 10px;
    flex-direction: column;
    text-align: center;
  }
  
  .stat-icon {
    width: 40px;
    height: 40px;
  }
  
  .stat-icon i {
    width: 20px;
    height: 20px;
  }
  
  .results-stat-card .stat-value {
    font-size: 1.5rem;
  }
}

/* Loading container */
.loading-container { 
  text-align: center; 
  padding: 40px 20px; 
  color: var(--muted-text); 
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
}

/* Loader football */
.loader-ball { position: relative; width: 48px; height: 48px; margin: 0 auto 8px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(0,0,0,.12) 12%, transparent 12%), radial-gradient(circle at 70% 70%, rgba(0,0,0,.12) 12%, transparent 12%), radial-gradient(circle at 70% 30%, rgba(0,0,0,.12) 12%, transparent 12%), radial-gradient(circle at 30% 70%, rgba(0,0,0,.12) 12%, transparent 12%), radial-gradient(circle at 50% 50%, rgba(0,0,0,.2) 18%, transparent 18%), linear-gradient(rgba(0,0,0,.06), rgba(0,0,0,.06)); box-shadow: inset 0 0 0 2px rgba(0,0,0,.08); animation: roll 1.2s linear infinite; }
@keyframes roll { 0%{ transform: rotate(0)} 100%{ transform: rotate(360deg)} }

/* Footer */
footer {
  margin-top: 60px;
  padding: 48px 0 32px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 10;
}

:root[data-theme="dark"] footer {
  background: rgba(10, 10, 11, 0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top-color: rgba(255, 255, 255, 0.08);
}

footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

footer .footer-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

:root[data-theme="dark"] footer .footer-card {
  background: rgba(17, 17, 19, 0.5);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-color: rgba(255, 255, 255, 0.08);
}

footer .footer-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

footer h3 {
  margin: 0 0 16px 0;
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

footer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #f3f4f6; /* Match the brightness of other footer text */
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  margin-bottom: 8px;
  color: #f3f4f6; /* Match the brightness of Technology Stack text */
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}

footer ul li a {
  color: #f3f4f6; /* Match the brightness of Technology Stack text */
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

footer ul li a:hover {
  color: var(--primary-color);
}

/* New footer elements */
footer ul li i {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  opacity: 0.8;
  flex-shrink: 0;
}

footer ul li a i {
  transition: all 0.3s ease;
}

footer ul li a:hover i {
  opacity: 1;
  transform: scale(1.1);
}

.protocol-stats {
  margin-top: 1rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: rgba(55, 160, 180, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(55, 160, 180, 0.2);
  font-size: 0.8rem;
  color: #f3f4f6; /* Match the brightness of other footer text */
  transition: all 0.3s ease;
  white-space: nowrap;
}

.stat-item:hover {
  background: rgba(55, 160, 180, 0.2);
  border-color: rgba(55, 160, 180, 0.4);
  transform: translateY(-1px);
}

.stat-item i {
  width: 14px;
  height: 14px;
  margin: 0;
  flex-shrink: 0;
}

footer .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  text-decoration: none;
  font-size: 20px;
  transition: all 0.3s ease;
}

footer .social-link:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

footer .social-link.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
}

footer .social-link.disabled:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  transform: none;
}

/* Social icons container */
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  align-items: center;
}

/* Footer responsive */
@media (max-width: 768px) {
  footer {
    margin-top: 40px;
    padding: 32px 0 24px;
  }
  
  footer .container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .protocol-stats {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .stat-item {
    justify-content: center;
    font-size: 0.75rem;
  }
  
  footer .footer-card {
    padding: 20px;
  }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Accent palette controls */
.palette { display: inline-flex; gap: 10px; align-items: center; justify-content: center; margin-top: 10px; }
.swatch { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.15); cursor: pointer; transition: transform .15s ease; }
.swatch:hover { transform: scale(1.15); }
.swatch[data-palette="blue"] { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.swatch[data-palette="green"] { background: linear-gradient(90deg, #059669, #34d399); }
.swatch[data-palette="purple"] { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.swatch[data-palette="orange"] { background: linear-gradient(90deg, #f97316, #f59e0b); }

/* Scan overlay */
.scan-overlay { position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0; background: radial-gradient(1200px 300px at 50% -10%, rgba(99,102,241,.3), transparent 70%), linear-gradient(90deg, transparent, rgba(99,102,241,.25), transparent); transform: translateY(-20px); transition: opacity .25s ease, transform .25s ease; }
.scan-overlay.active { opacity: 1; transform: translateY(0); animation: sweep .4s ease forwards; }
@keyframes sweep { 0% { background-position: -40vw 0; } 100% { background-position: 120vw 0; } }

/* FORCE DARK THEME FOR ALL DEVICES INCLUDING MACBOOK AIR */
body {
  background: #0a0a0b !important;
  color: #f3f4f6 !important;
}

/* UNIVERSAL DEVICE OPTIMIZATION - Smart effects for all screen sizes */

/* HIGH-END DEVICES: MacBook Pro, iMac, Gaming PCs (1920px+) */
@media (min-width: 1920px) {
  .sports-matrix-canvas {
    opacity: 0.7 !important; /* Full intensity on powerful devices */
  }
  
  .stadium-background {
    opacity: 0.8 !important; /* Full stadium effect */
    animation-duration: 30s !important; /* Normal speed */
  }
  
  .particle-canvas {
    opacity: 0.6 !important; /* Keep particles but reduce intensity */
  }
}

/* STANDARD LAPTOPS: MacBook Pro 13/14/16, Gaming laptops (1440px-1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
  .sports-matrix-canvas {
    opacity: 0.7 !important; /* Better visibility */
    filter: none !important; /* Remove expensive filters */
  }
  
  .stadium-background {
    opacity: 0.8 !important; /* Strong stadium effect */
    filter: none !important; /* Remove expensive filters */
    animation-duration: 30s !important; /* Good speed */
  }
  
  .particle-canvas {
    opacity: 0.4 !important; /* Reduced particles */
  }
}

/* COMPACT LAPTOPS: MacBook Air, ultrabooks (1024px-1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
  .sports-matrix-canvas {
    opacity: 0.6 !important; /* More visible intensity */
    filter: none !important; /* Remove expensive filters */
  }
  
  .stadium-background {
    opacity: 0.7 !important; /* More visible stadium */
    filter: none !important; /* Remove expensive filters */
    animation-duration: 35s !important; /* Good performance */
  }
  
  .particle-canvas {
    display: none !important; /* Hide on weaker devices */
  }
  
  /* Optimize only the heaviest effects - keep basic animations */
  * {
    backdrop-filter: none !important; /* This is very expensive */
    filter: none !important; /* Remove blur and drop-shadow filters */
    will-change: auto !important; /* Let browser optimize */
  }
  
  /* Remove heavy pseudo-element animations but keep the elements */
  body::before,
  body::after {
    animation: none !important;
    opacity: 0.02 !important; /* Very subtle instead of hiding */
  }
  
  .hero::before,
  .hero::after {
    animation: blob 30s linear infinite alternate !important; /* Slower animation */
    opacity: 0.08 !important; /* Reduce intensity */
    filter: blur(80px) !important; /* Less blur */
  }
  
  /* Optimize backgrounds - keep gradients but simplify shadows */
  .section,
  .feature-card,
  .match-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important; /* Simpler shadow */
    backdrop-filter: none !important; /* Remove expensive backdrop blur */
  }
  
  /* Keep transforms but optimize them for GPU */
  .feature-card,
  .match-card,
  .result-card {
    transform: translateZ(0) !important; /* Force GPU acceleration */
    transition: transform 0.2s ease, opacity 0.2s ease !important; /* Faster transitions */
  }
  
  .feature-card:hover,
  .match-card:hover {
    transform: translateY(-4px) translateZ(0) !important; /* Smaller hover effect */
  }
  
  /* Force dark theme on MacBook Air */
  body {
    background: #0a0a0b !important;
    color: #f3f4f6 !important;
  }
}

/* MACBOOK AIR SPECIFIC CLASS - SMART OPTIMIZATION */
.macbook-air-optimized {
  /* Optimize rendering with CSS containment */
  contain: layout style paint !important;
}

.macbook-air-optimized * {
  /* Remove only the most expensive effects */
  backdrop-filter: none !important;
  filter: none !important;
  /* Keep basic animations but make them faster */
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease !important;
  /* Force GPU acceleration for better performance */
  will-change: auto !important;
}

.macbook-air-optimized .section,
.macbook-air-optimized .feature-card,
.macbook-air-optimized .match-card,
.macbook-air-optimized .result-card {
  /* Keep beautiful backgrounds but optimize shadows */
  box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
  /* Force GPU layer for smooth animations */
  transform: translateZ(0) !important;
}

/* Optimize heavy animations specifically for MacBook Air */
.macbook-air-optimized .feature-card:hover {
  transform: translateY(-4px) translateZ(0) !important; /* Smaller, GPU-accelerated hover */
  transition: transform 0.15s ease !important; /* Faster transition */
}

.macbook-air-optimized .btn:hover {
  transform: translateY(-1px) translateZ(0) !important; /* Minimal hover effect */
}

/* UNIVERSAL DARK THEME ENFORCEMENT FOR ALL DEVICES */
html {
  background: #0a0a0b !important;
  color: #f3f4f6 !important;
}

body {
  background: #0a0a0b !important;
  color: #f3f4f6 !important;
}

/* Override any light theme colors */
.section,
.card,
.feature-card,
.match-card,
.result-card {
  background: rgba(17,17,19,0.8) !important;
  color: #f3f4f6 !important;
  border-color: rgba(255,255,255,0.1) !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #f3f4f6 !important;
}

p, span, div {
  color: #f3f4f6 !important;
}

/* MOBILE OPTIMIZATIONS - Ensure consistent design */
@media (max-width: 768px) {
  /* Force same dark colors and background as desktop */
  body {
    background: 
      radial-gradient(ellipse 1400px 700px at 20% -10%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
      radial-gradient(ellipse 1200px 600px at 85% 20%, rgba(16, 185, 129, 0.06) 0%, transparent 55%),
      radial-gradient(ellipse 1000px 500px at 10% 70%, rgba(245, 158, 11, 0.05) 0%, transparent 60%),
      radial-gradient(ellipse 800px 400px at 90% 90%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
      #0a0a0b !important;
    background-attachment: fixed;
    overflow-x: hidden;
    color: #f3f4f6 !important;
  }
  
  /* Force dark theme on all elements */
  * {
    color: #f3f4f6 !important;
  }
  
  .section, .card, .feature-card {
    background: rgba(17,17,19,0.8) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: #f3f4f6 !important;
  }
  
  /* Hide hamburger menu button background issues */
  .mobile-menu-toggle {
    background: rgba(59, 130, 246, 0.2) !important;
    border-radius: 8px !important;
    padding: 12px !important;
    color: #f3f4f6 !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
  }
  
  .mobile-menu-toggle:hover {
    background: rgba(59, 130, 246, 0.3) !important;
  }
  
  /* Improve mobile navigation */
  nav {
    background: rgba(10, 10, 11, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 20px;
    border-radius: 0 0 16px 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-top: none;
    z-index: 1000;
  }
  
  nav.active {
    display: block !important;
  }
  
  nav ul {
    flex-direction: column !important;
    gap: 16px !important;
  }
  
  nav a {
    color: #f3f4f6 !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    display: block !important;
    text-align: center !important;
  }
  
  nav a:hover {
    background: rgba(59, 130, 246, 0.2) !important;
  }
}

/* Responsive Design for Match Cards */
@media (max-width: 768px) {
  nav ul { flex-wrap: nowrap; } /* Оставляем в одну строку даже на мобильных */
  
  .matches-grid { 
    grid-template-columns: 1fr; 
    gap: 16px;
    padding: 16px 0;
  }
  
  .match-card {
    padding: 20px;
    border-radius: 20px;
  }
  
  .match-teams { 
    flex-direction: row;
    gap: 12px;
  }
  
  .team-info {
    gap: 8px;
  }
  
  .team-logo { 
    width: 40px; 
    height: 40px; 
  }
  
  .team-logo-placeholder {
    width: 40px; 
    height: 40px; 
    font-size: 16px;
  }
  
  .team-name { 
    font-size: 0.85rem;
    max-width: 100px;
    line-height: 1.1;
  }
  
  .vs { 
    font-size: 1rem;
    padding: 8px;
    min-width: 50px;
  }
  
  .match-card .match-header { 
    font-size: 0.8rem;
    margin-bottom: 16px;
  }
  
  .prediction-btn {
    padding: 12px 20px;
    font-size: 0.85rem;
    margin-top: 16px;
  }
}

@media (max-width: 480px) {
  .matches-grid { 
    gap: 12px;
  }
  
  .match-card {
    padding: 16px;
    border-radius: 16px;
  }
  
  .match-teams { 
    gap: 8px;
  }
  
  .team-logo, .team-logo-placeholder { 
    width: 36px; 
    height: 36px; 
  }
  
  .team-logo-placeholder {
    font-size: 14px;
  }
  
  .team-name { 
    font-size: 0.8rem;
    max-width: 80px;
    line-height: 1.1;
  }
  
  .vs { 
    font-size: 0.9rem;
    padding: 6px;
    min-width: 45px;
    letter-spacing: 1px;
  }
}

/* Future Feature Pages Styles */
.future-feature-page {
  background: var(--background);
  color: var(--text);
}

.hero-feature {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-feature::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

.feature-icon-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
}

.feature-icon-large i {
  width: 60px;
  height: 60px;
  color: white;
}

.hero-feature h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-feature .subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

.feature-details {
  padding: 60px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid rgba(138, 180, 248, 0.2);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(138, 180, 248, 0.2);
  border-color: var(--primary);
}

.feature-card .feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card .feature-icon i {
  width: 30px;
  height: 30px;
  color: white;
}

.feature-card h3 {
  color: var(--text);
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* How it works section */
.how-it-works {
  margin: 60px 0;
}

.how-it-works h2 {
  text-align: center;
  color: var(--text);
  margin-bottom: 40px;
  font-size: 2rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.step {
  text-align: center;
  padding: 20px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.step h4 {
  color: var(--text);
  margin-bottom: 15px;
}

.step p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Feature preview */
.feature-preview {
  background: var(--surface);
  border-radius: 16px;
  padding: 40px;
  margin: 40px 0;
}

.feature-preview h2 {
  color: var(--text);
  margin-bottom: 30px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  padding: 12px 0;
  color: var(--text-secondary);
}

.feature-list li i {
  width: 20px;
  height: 20px;
  color: var(--primary);
  margin-right: 15px;
  flex-shrink: 0;
}

/* Coming soon block */
.coming-soon-block {
  background: linear-gradient(135deg, var(--surface), rgba(138, 180, 248, 0.1));
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  margin: 60px 0;
  border: 1px solid rgba(138, 180, 248, 0.3);
}

.coming-soon-block h3 {
  color: var(--text);
  margin-bottom: 20px;
}

.coming-soon-block p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.progress-indicator {
  max-width: 400px;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  margin: 20px auto;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 6px;
  transition: width 0.3s ease;
  position: relative;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-text {
  color: var(--primary);
  font-weight: 600;
  margin-top: 10px;
}

/* Debate page specific styles */
.debate-format {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.debate-round {
  background: var(--surface);
  border-left: 4px solid var(--primary);
  padding: 20px;
  border-radius: 8px;
}

.debate-round h4 {
  color: var(--text);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.debate-round h4 i {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.debate-example {
  margin: 40px 0;
}

.debate-example h3 {
  text-align: center;
  color: var(--text);
  margin-bottom: 30px;
}

.debate-messages {
  max-width: 800px;
  margin: 0 auto;
}

.debate-message {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.ai-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.home-ai {
  background: linear-gradient(135deg, #4CAF50, #45a049);
}

.away-ai {
  background: linear-gradient(135deg, #f44336, #e53935);
}

.message-content {
  background: var(--surface);
  border-radius: 12px;
  padding: 20px;
  flex: 1;
  border: 1px solid rgba(138, 180, 248, 0.2);
}

.message-content strong {
  color: var(--text);
  display: block;
  margin-bottom: 10px;
}

.message-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}


.stats-preview {
  background: var(--surface);
  border-radius: 16px;
  padding: 40px;
  margin: 40px 0;
  text-align: center;
}

.stats-preview h3 {
  color: var(--text);
  margin-bottom: 30px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 10px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Community page specific styles */
.feature-main-blocks {
  display: grid;
  gap: 40px;
  margin-bottom: 60px;
}

.main-feature-block {
  background: var(--surface);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid rgba(138, 180, 248, 0.2);
}

.block-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.block-header i {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

.block-header h2 {
  color: var(--text);
  margin: 0;
}

.main-feature-block p {
  color: var(--text-secondary);
  margin-bottom: 25px;
  line-height: 1.6;
}

.community-features {
  margin: 60px 0;
}

.community-features h2 {
  text-align: center;
  color: var(--text);
  margin-bottom: 40px;
}

/* Leaderboard preview */
.leaderboard-preview {
  background: var(--surface);
  border-radius: 16px;
  padding: 40px;
  margin: 40px 0;
}

.leaderboard-preview h3 {
  color: var(--text);
  margin-bottom: 30px;
  text-align: center;
}

.leaderboard-table {
  max-width: 800px;
  margin: 0 auto;
}

.leaderboard-header,
.leaderboard-row {
  display: grid;
  grid-template-columns: 60px 1fr 100px 80px 100px;
  align-items: center;
  padding: 15px;
  border-radius: 8px;
}

.leaderboard-header {
  background: rgba(138, 180, 248, 0.1);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.leaderboard-row {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.leaderboard-row:hover {
  background: rgba(138, 180, 248, 0.1);
  transform: translateX(5px);
}

.leaderboard-row.gold { border-left: 4px solid #FFD700; }
.leaderboard-row.silver { border-left: 4px solid #C0C0C0; }
.leaderboard-row.bronze { border-left: 4px solid #CD7F32; }

.leaderboard-row .rank {
  font-weight: bold;
  color: var(--primary);
}

.leaderboard-row .user {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.leaderboard-row .user i {
  width: 16px;
  height: 16px;
}

.gold .user i { color: #FFD700; }
.silver .user i { color: #C0C0C0; }
.bronze .user i { color: #CD7F32; }

/* Analytics page specific styles */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.tool-card {
  background: rgba(138, 180, 248, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.tool-card:hover {
  background: rgba(138, 180, 248, 0.2);
  transform: translateY(-3px);
}

.tool-card i {
  width: 40px;
  height: 40px;
  color: var(--primary);
  margin-bottom: 15px;
}

.tool-card h4 {
  color: var(--text);
  margin-bottom: 10px;
}

.tool-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Dashboard preview */
.dashboard-preview {
  background: var(--surface);
  border-radius: 16px;
  padding: 40px;
  margin: 40px 0;
}

.dashboard-preview h3 {
  color: var(--text);
  margin-bottom: 30px;
  text-align: center;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.stat-widget {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(138, 180, 248, 0.2);
  transition: all 0.3s ease;
}

.stat-widget:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.widget-icon {
  width: 50px;
  height: 50px;
  background: rgba(138, 180, 248, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.widget-icon i {
  width: 25px;
  height: 25px;
  color: var(--primary);
}

.widget-content {
  flex: 1;
}

.widget-value {
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 5px;
}

.widget-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 5px;
}

.widget-trend {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.widget-trend.positive {
  color: #4CAF50;
}

/* AI insights */
.ai-insights {
  margin: 60px 0;
}

.ai-insights h3 {
  color: var(--text);
  margin-bottom: 30px;
  text-align: center;
}

.insight-cards {
  display: grid;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.insight-card {
  background: linear-gradient(135deg, rgba(138, 180, 248, 0.1), rgba(138, 180, 248, 0.05));
  border-radius: 12px;
  padding: 25px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid rgba(138, 180, 248, 0.2);
}

.insight-card i {
  width: 30px;
  height: 30px;
  color: var(--primary);
  flex-shrink: 0;
}

.insight-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.insight-card strong {
  color: var(--text);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-feature h1 {
    font-size: 2rem;
  }
  
  .hero-feature .subtitle {
    font-size: 1rem;
  }
  
  .feature-icon-large {
    width: 80px;
    height: 80px;
  }
  
  .feature-icon-large i {
    width: 40px;
    height: 40px;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
  
  .dashboard-stats {
    grid-template-columns: 1fr;
  }
  
  .leaderboard-header,
  .leaderboard-row {
    grid-template-columns: 40px 1fr 80px 60px 80px;
    font-size: 0.875rem;
  }
}

/* Analytics Page Specific Styles - Modern & Creative */
.analytics-page {
  background: #0a0a0b;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Analytics Hero Section */
.analytics-hero {
  position: relative;
  padding: 120px 0 80px;
  background: transparent;
  overflow: visible;
}

.analytics-hero .hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.analytics-hero .hero-content * {
  text-align: center;
}

.analytics-hero .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.analytics-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  opacity: 0;
}

/* Floating Chart Elements */
.floating-charts {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.chart-element {
  position: absolute;
  opacity: 0.1;
  animation: float 60s infinite ease-in-out;
}

.chart-element i {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

.chart-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.chart-2 {
  top: 30%;
  right: 15%;
  animation-delay: 5s;
}

.chart-3 {
  bottom: 30%;
  left: 20%;
  animation-delay: 10s;
}

.chart-4 {
  bottom: 20%;
  right: 10%;
  animation-delay: 15s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(120deg); }
  66% { transform: translateY(20px) rotate(240deg); }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #3b82f6;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.1;
}

.gradient-text {
  background: linear-gradient(135deg, #3b82f6 0%, #10b981 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #9ca3af;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Mini Stats in Hero */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

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

.mini-stat .stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #f3f4f6;
  margin-bottom: 4px;
}

.mini-stat .stat-label {
  font-size: 0.875rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #f3f4f6;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #9ca3af;
  max-width: 600px;
  margin: 0 auto;
}

.launch-info {
  font-size: 0.95rem;
  color: #6b7280;
  max-width: 700px;
  margin: 16px auto 0;
  text-align: center;
  line-height: 1.6;
  padding: 12px 20px;
  background: rgba(59, 130, 246, 0.05);
  border-left: 3px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
}

/* Analytics Cards */
.analytics-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.analytics-card {
  position: relative;
  background: #111113;
  border: 1px solid #1e1e21;
  border-radius: 24px;
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.analytics-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.5);
}

.card-glow {
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.analytics-card:hover .card-glow {
  opacity: 1;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon i {
  width: 28px;
  height: 28px;
  color: #3b82f6;
}

.analytics-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #f3f4f6;
}

.card-description {
  color: #9ca3af;
  margin-bottom: 24px;
  line-height: 1.6;
}

.analytics-card .feature-list {
  margin-bottom: 32px;
}

.analytics-card .feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: #d1d5db;
}

.analytics-card .feature-list li i {
  width: 18px;
  height: 18px;
  color: #10b981;
}

.card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid #1e1e21;
  cursor: pointer;
  transition: all 0.3s ease;
}

.action-text {
  font-weight: 600;
  color: #3b82f6;
}

.card-action i {
  width: 20px;
  height: 20px;
  color: #3b82f6;
  transition: transform 0.3s ease;
}

.analytics-card:hover .card-action i {
  transform: translateX(4px);
}

/* Quick Tools Section */
.quick-tools {
  margin: 80px 0;
}

.quick-tools .tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.quick-tools .tool-card {
  background: rgba(17, 17, 19, 0.6);
  border: 1px solid #1e1e21;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.quick-tools .tool-card:hover {
  background: rgba(17, 17, 19, 0.9);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
}

.tool-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.tool-icon i {
  width: 32px;
  height: 32px;
  color: #3b82f6;
}

.quick-tools .tool-card h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f3f4f6;
  margin-bottom: 12px;
}

.quick-tools .tool-card p {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Live Dashboard Section */
.live-dashboard {
  margin: 80px 0;
}

.dashboard-container {
  background: #111113;
  border: 1px solid #1e1e21;
  border-radius: 24px;
  padding: 40px;
  margin-top: 40px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.metric-card {
  background: rgba(30, 30, 33, 0.5);
  border: 1px solid #1e1e21;
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.metric-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}

.metric-card.featured {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
  border-color: rgba(59, 130, 246, 0.3);
}

.metric-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.metric-header i {
  width: 20px;
  height: 20px;
  color: #6b7280;
}

.metric-label {
  font-size: 0.875rem;
  color: #9ca3af;
  font-weight: 500;
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #f3f4f6;
  margin-bottom: 12px;
}

.metric-change {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: #6b7280;
}

.metric-change.positive {
  color: #10b981;
}

.metric-change i {
  width: 16px;
  height: 16px;
}

.metric-chart {
  margin-top: 20px;
  height: 60px;
  position: relative;
}

.mini-chart {
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.2));
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.mini-chart::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #3b82f6;
  animation: chart-pulse 2s ease-in-out infinite;
}

@keyframes chart-pulse {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.streak-visual {
  margin-top: 20px;
}

.streak-bar {
  height: 8px;
  background: linear-gradient(90deg, #10b981 0%, #3b82f6 50%, #f59e0b 100%);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.streak-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

/* AI Insights Section */
.ai-insights-section {
  margin: 80px 0;
}

.insights-container {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

.insight-item {
  background: #111113;
  border: 1px solid #1e1e21;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.insight-item:hover {
  transform: translateX(8px);
}

.insight-item.success {
  border-left: 4px solid #10b981;
}

.insight-item.warning {
  border-left: 4px solid #f59e0b;
}

.insight-item.info {
  border-left: 4px solid #3b82f6;
}

.insight-icon {
  width: 48px;
  height: 48px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.insight-item.success .insight-icon {
  background: rgba(16, 185, 129, 0.1);
}

.insight-item.warning .insight-icon {
  background: rgba(245, 158, 11, 0.1);
}

.insight-icon i {
  width: 24px;
  height: 24px;
}

.insight-item.success .insight-icon i {
  color: #10b981;
}

.insight-item.warning .insight-icon i {
  color: #f59e0b;
}

.insight-item.info .insight-icon i {
  color: #3b82f6;
}

.insight-content {
  flex: 1;
}

.insight-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #f3f4f6;
  margin-bottom: 4px;
}

.insight-content p {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.5;
}

.insight-action button {
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
  color: #3b82f6;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.insight-action button:hover {
  background: rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
}

/* Development Status Section */
.development-status {
  margin: 80px 0;
}

.status-container {
  background: linear-gradient(135deg, #111113 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 24px;
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.status-container::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

.status-content {
  position: relative;
  z-index: 2;
}

.status-content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #f3f4f6;
  margin-bottom: 16px;
}

.status-content p {
  color: #9ca3af;
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.development-progress {
  max-width: 500px;
  margin: 0 auto 40px;
}

.progress-track {
  height: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6 0%, #10b981 50%, #f59e0b 100%);
  border-radius: 100px;
  position: relative;
  transition: width 1s ease;
}

.progress-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
  filter: blur(10px);
  animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.progress-percentage {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3b82f6;
}

.progress-label {
  color: #9ca3af;
  font-size: 0.875rem;
}

.features-coming {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.coming-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #9ca3af;
}

.coming-feature i {
  width: 20px;
  height: 20px;
  color: #3b82f6;
}

/* Responsive */
@media (max-width: 768px) {
  .analytics-hero {
    padding: 80px 0 60px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    gap: 20px;
  }
  
  .analytics-cards {
    grid-template-columns: 1fr;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .quick-tools .tools-grid {
    grid-template-columns: 1fr;
  }
  
  .status-container {
    padding: 40px 20px;
  }
}

/* Live Tracker Page Styles */
.live-tracker-page {
  background: #0a0a0b;
  min-height: 100vh;
}

/* Live Hero Section */
.live-hero {
  position: relative;
  padding: 140px 0 100px;
  background: transparent;
  overflow: visible;
}

.live-hero .hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.live-hero .hero-content * {
  text-align: center;
}

.live-hero .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Pulse Ring Animation */
.live-bg-animation {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(239, 68, 68, 0.3);
  border-radius: 50%;
  opacity: 0;
}

.ring-1 {
  width: 300px;
  height: 300px;
  animation: pulse-expand 3s ease-out infinite;
}

.ring-2 {
  width: 300px;
  height: 300px;
  animation: pulse-expand 3s ease-out infinite 1s;
}

.ring-3 {
  width: 300px;
  height: 300px;
  animation: pulse-expand 3s ease-out infinite 2s;
}

@keyframes pulse-expand {
  0% {
    width: 300px;
    height: 300px;
    opacity: 0.8;
  }
  100% {
    width: 800px;
    height: 800px;
    opacity: 0;
  }
}

/* Floating Particles */
.live-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ef4444;
  border-radius: 50%;
  opacity: 0.6;
  animation: float-particle 60s infinite linear;
}

.p1 { left: 10%; animation-delay: 0s; }
.p2 { left: 30%; animation-delay: 4s; }
.p3 { left: 50%; animation-delay: 8s; }
.p4 { left: 70%; animation-delay: 12s; }
.p5 { left: 90%; animation-delay: 16s; }

@keyframes float-particle {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100vh) scale(1);
    opacity: 0;
  }
}

/* Live Indicator */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 100px;
  margin-bottom: 24px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.5);
  }
}

.live-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ef4444;
}

/* Hero Title Animation */
.live-hero .hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

.title-word {
  display: inline;
  animation: title-appear 0.8s ease-out forwards;
  opacity: 0;
}

.title-word:nth-child(1) { animation-delay: 0.1s; }
.title-word:nth-child(2) { animation-delay: 0.3s; }

@keyframes title-appear {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.live-hero .gradient-text {
  background: linear-gradient(135deg, #ef4444 0%, #f59e0b 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Features */
.hero-features {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  text-align: center;
}

.feature-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  transition: all 0.3s ease;
}

.feature-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.feature-badge i {
  width: 18px;
  height: 18px;
  color: #ef4444;
}

.feature-badge span {
  font-size: 0.875rem;
  font-weight: 500;
  color: #f3f4f6;
}

/* Live Features Section */
.live-features {
  padding: 80px 0;
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.live-feature-card {
  position: relative;
  background: #111113;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.live-feature-card:hover {
  transform: translateY(-8px);
}

.card-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(239, 68, 68, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.live-feature-card:hover .card-background {
  opacity: 1;
}

.card-content {
  position: relative;
  padding: 40px;
  z-index: 2;
}

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.live-feature-card:hover .feature-icon-wrapper {
  background: rgba(239, 68, 68, 0.2);
  transform: scale(1.1);
}

.feature-icon-wrapper i {
  width: 32px;
  height: 32px;
  color: #ef4444;
}

.live-feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f3f4f6;
  margin-bottom: 16px;
}

.live-feature-card p {
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Feature Stats */
.feature-stats {
  display: flex;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-stats .stat {
  text-align: center;
  flex: 1;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ef4444;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Demo Message */
.feature-demo {
  background: rgba(239, 68, 68, 0.05);
  border-radius: 12px;
  padding: 16px;
  margin-top: 20px;
}

.demo-message {
  display: flex;
  align-items: center;
  gap: 12px;
}

.demo-time {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ef4444;
}

.demo-text {
  font-size: 0.875rem;
  color: #d1d5db;
  font-style: italic;
}

/* Odds Preview */
.odds-preview {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.odds-bar {
  flex: 1;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.odds-bar.home {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

.odds-bar.draw {
  background: rgba(156, 163, 175, 0.2);
  color: #9ca3af;
}

.odds-bar.away {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

/* Analysis Tags */
.analysis-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.analysis-tags .tag {
  padding: 6px 12px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  color: #ef4444;
}

/* Workflow Section */
.workflow-section {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(239, 68, 68, 0.02) 50%, transparent 100%);
}

.workflow-timeline {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0;
}

.timeline-line {
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.5) 50%, rgba(239, 68, 68, 0.2) 100%);
}

.workflow-step {
  position: relative;
  display: flex;
  gap: 24px;
  margin-bottom: 60px;
  opacity: 0;
  animation: step-appear 0.6s ease-out forwards;
}

.workflow-step:nth-child(2) { animation-delay: 0.2s; }
.workflow-step:nth-child(3) { animation-delay: 0.4s; }
.workflow-step:nth-child(4) { animation-delay: 0.6s; }
.workflow-step:nth-child(5) { animation-delay: 0.8s; }

@keyframes step-appear {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.step-icon {
  width: 64px;
  height: 64px;
  background: #111113;
  border: 2px solid rgba(239, 68, 68, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.step-icon i {
  width: 28px;
  height: 28px;
  color: #ef4444;
}

.step-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f3f4f6;
  margin-bottom: 8px;
}

.step-content p {
  color: #9ca3af;
  line-height: 1.6;
}

/* Features Showcase */
.features-showcase {
  padding: 80px 0;
}

.features-showcase .section-subtitle {
  text-align: center;
  margin: 20px auto 0;
  line-height: 1.6;
  max-width: 700px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.showcase-item {
  background: rgba(17, 17, 19, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.showcase-item:hover {
  background: rgba(17, 17, 19, 0.9);
  border-color: rgba(239, 68, 68, 0.3);
  transform: translateY(-4px);
}

.showcase-icon {
  width: 56px;
  height: 56px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.showcase-icon i {
  width: 28px;
  height: 28px;
  color: #ef4444;
}

.showcase-item h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f3f4f6;
  margin-bottom: 12px;
}

.showcase-item p {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Development Showcase */
.development-showcase {
  padding: 80px 0;
}

.dev-container {
  background: linear-gradient(135deg, #111113 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 24px;
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dev-container::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

.dev-content {
  position: relative;
  z-index: 2;
}

.dev-content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #f3f4f6;
  margin-bottom: 16px;
}

.dev-content p {
  color: #9ca3af;
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Dev Progress */
.dev-progress {
  max-width: 600px;
  margin: 0 auto;
}

.progress-container {
  margin-bottom: 40px;
}

.dev-progress .progress-track {
  height: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}

.dev-progress .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #3b82f6 100%);
  border-radius: 100px;
  position: relative;
  transition: width 1s ease;
}

.progress-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.percentage {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ef4444;
}

.status {
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Dev Features */
.dev-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.dev-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  color: #9ca3af;
  font-size: 0.875rem;
}

.dev-feature.completed {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.dev-feature i {
  width: 16px;
  height: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .live-hero {
    padding: 100px 0 60px;
  }
  
  .live-hero .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-features {
    gap: 12px;
  }
  
  .feature-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  
  .dev-container {
    padding: 40px 20px;
  }
}

/* AI Debate Page Styles */
.ai-debate-page {
  background: #0a0a0b;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Debate Hero */
.debate-hero {
  position: relative;
  padding: 140px 0 100px;
  background: transparent;
  overflow: hidden;
}

.debate-hero .hero-content {
  text-align: center;
}

.debate-hero .hero-content * {
  text-align: center;
}

.debate-hero .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Debate Arena */
.debate-arena {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 80px;
  z-index: 1;
  opacity: 0.1;
}

.ai-avatar-large {
  position: relative;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #9333ea 0%, #6b21a8 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 20s ease-in-out infinite;
}

.home-ai-large {
  animation-delay: 0s;
}

.away-ai-large {
  animation-delay: -3s;
}

.ai-avatar-large i {
  width: 80px;
  height: 80px;
  color: white;
}

.ai-pulse {
  position: absolute;
  inset: -20px;
  border: 2px solid rgba(147, 51, 234, 0.5);
  border-radius: 50%;
  animation: pulse 2s ease-out infinite;
}

.vs-indicator {
  font-size: 3rem;
  font-weight: 900;
  color: #9333ea;
  text-shadow: 0 0 30px rgba(147, 51, 234, 0.5);
}

/* Debate Badge */
.debate-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: rgba(147, 51, 234, 0.1);
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9333ea;
  margin-bottom: 24px;
}

.debate-hero .hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 24px;
  animation: title-appear 0.8s ease-out forwards;
}

.debate-hero .gradient-text {
  background: linear-gradient(135deg, #9333ea 0%, #f59e0b 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Debate Features */
.debate-features {
  padding: 80px 0;
}

.debate-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.debate-feature-card {
  position: relative;
  background: #111113;
  border: 1px solid rgba(147, 51, 234, 0.1);
  border-radius: 24px;
  padding: 40px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.debate-feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(147, 51, 234, 0.3);
  box-shadow: 0 20px 40px rgba(147, 51, 234, 0.1);
}

.feature-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(147, 51, 234, 0.1);
  font-family: monospace;
}

.feature-content {
  position: relative;
  z-index: 2;
}

.debate-feature-card .feature-icon-wrapper {
  width: 64px;
  height: 64px;
  background: rgba(147, 51, 234, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.debate-feature-card:hover .feature-icon-wrapper {
  background: rgba(147, 51, 234, 0.2);
  transform: rotate(-5deg) scale(1.1);
}

.debate-feature-card .feature-icon-wrapper i {
  width: 32px;
  height: 32px;
  color: #9333ea;
}

.debate-feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f3f4f6;
  margin-bottom: 16px;
}

.debate-feature-card p {
  color: #9ca3af;
  line-height: 1.6;
}

/* Debate Format Section */
.debate-format-section {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(147, 51, 234, 0.02) 50%, transparent 100%);
}

.debate-rounds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.round-card {
  position: relative;
  background: rgba(17, 17, 19, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
}

.round-card:hover {
  transform: translateY(-4px);
  background: rgba(17, 17, 19, 0.9);
}

.round-card.opening:hover { border-color: rgba(16, 185, 129, 0.3); }
.round-card.tactical:hover { border-color: rgba(59, 130, 246, 0.3); }
.round-card.counter:hover { border-color: rgba(245, 158, 11, 0.3); }
.round-card.final:hover { border-color: rgba(239, 68, 68, 0.3); }

.round-number {
  position: absolute;
  top: -12px;
  left: 24px;
  background: #0a0a0b;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #9333ea;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.round-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.round-icon {
  width: 48px;
  height: 48px;
  background: rgba(147, 51, 234, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.round-icon i {
  width: 24px;
  height: 24px;
  color: #9333ea;
}

.round-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f3f4f6;
}

.round-card p {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Debate Showcase */
.debate-showcase {
  padding: 80px 0;
}

.debate-interface {
  background: #111113;
  border: 1px solid rgba(147, 51, 234, 0.2);
  border-radius: 24px;
  overflow: hidden;
  margin-top: 60px;
}

.debate-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.05) 0%, transparent 100%);
  border-bottom: 1px solid rgba(147, 51, 234, 0.1);
}

.ai-debater {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ai-avatar-medium {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #9333ea 0%, #6b21a8 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.home-side .ai-avatar-medium {
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
}

.away-side .ai-avatar-medium {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
}

.ai-avatar-medium i {
  width: 40px;
  height: 40px;
  color: white;
}

.ai-info h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f3f4f6;
  margin-bottom: 4px;
}

.ai-info p {
  font-size: 0.875rem;
  color: #9ca3af;
}

.debate-center {
  text-align: center;
}

.debate-timer {
  font-size: 2rem;
  font-weight: 700;
  color: #9333ea;
  font-family: monospace;
  margin-bottom: 8px;
}

.current-topic {
  font-size: 0.875rem;
  color: #9ca3af;
}

/* Debate Chat */
.debate-chat {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.chat-message {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.home-message {
  border-left: 3px solid #3b82f6;
}

.away-message {
  border-left: 3px solid #ef4444;
}

.chat-message:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(4px);
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.ai-name {
  font-weight: 600;
  color: #f3f4f6;
}

.timestamp {
  font-size: 0.75rem;
  color: #6b7280;
}

.chat-message p {
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 16px;
}

.argument-strength {
  display: flex;
  align-items: center;
  gap: 12px;
}

.strength-bar {
  height: 8px;
  background: linear-gradient(90deg, #9333ea 0%, #f59e0b 100%);
  border-radius: 100px;
  transition: width 0.6s ease;
}

.argument-strength span {
  font-size: 0.875rem;
  font-weight: 600;
  color: #9333ea;
}

/* Unique Features Grid */
.unique-features {
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.unique-feature {
  background: rgba(17, 17, 19, 0.6);
  border: 1px solid rgba(147, 51, 234, 0.1);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.unique-feature:hover {
  background: rgba(17, 17, 19, 0.9);
  border-color: rgba(147, 51, 234, 0.3);
  transform: translateY(-4px);
}

.unique-feature i {
  width: 48px;
  height: 48px;
  color: #9333ea;
  margin-bottom: 20px;
}

.unique-feature h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f3f4f6;
  margin-bottom: 12px;
}

.unique-feature p {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Milestone List */
.milestone-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.milestone {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  color: #9ca3af;
  font-size: 0.875rem;
}

.milestone.completed {
  background: rgba(147, 51, 234, 0.1);
  color: #9333ea;
}

.milestone i {
  width: 16px;
  height: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .debate-hero {
    padding: 100px 0 60px;
  }
  
  .debate-arena {
    gap: 40px;
  }
  
  .ai-avatar-large {
    width: 120px;
    height: 120px;
  }
  
  .debate-hero .hero-title {
    font-size: 2.5rem;
  }
  
  .debate-stage {
    flex-direction: column;
    gap: 30px;
  }
  
  .debate-features-grid,
  .debate-rounds,
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* Community Page Styles */
.community-page {
  background: #0a0a0b;
  min-height: 100vh;
}

/* Community Hero */
.community-hero {
  position: relative;
  padding: 140px 0 100px;
  background: transparent;
  overflow: visible;
}

.community-hero .hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.community-hero .hero-content * {
  text-align: center;
}

.community-hero .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}


/* Community Badge */
.community-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 100px;
  margin-bottom: 24px;
}

.community-badge i {
  width: 16px;
  height: 16px;
  color: #10b981;
}

.community-badge span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #10b981;
}

.community-hero .hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 24px;
  animation: title-appear 0.8s ease-out forwards;
}

.community-hero .gradient-text {
  background: linear-gradient(135deg, #10b981 0%, #3b82f6 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.community-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.community-stats .stat {
  text-align: center;
}

.community-stats .stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  color: #10b981;
  margin-bottom: 8px;
  animation: count-up 1s ease-out forwards;
}

.community-stats .stat-label {
  font-size: 1rem;
  color: #9ca3af;
}

/* Main Features */
.main-features {
  padding: 80px 0;
}

.feature-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.main-block {
  background: #111113;
  border-radius: 24px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-block:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(16, 185, 129, 0.1);
}

.main-block.top-predictors {
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.main-block.consensus {
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.main-block.tournaments {
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.block-icon {
  width: 80px;
  height: 80px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  position: relative;
}

.main-block.top-predictors .block-icon {
  background: rgba(251, 191, 36, 0.1);
}

.main-block.consensus .block-icon {
  background: rgba(59, 130, 246, 0.1);
}

.main-block.tournaments .block-icon {
  background: rgba(239, 68, 68, 0.1);
}

.block-icon i {
  width: 40px;
  height: 40px;
  color: #10b981;
}

.main-block.top-predictors .block-icon i {
  color: #fbbf24;
}

.main-block.consensus .block-icon i {
  color: #3b82f6;
}

.main-block.tournaments .block-icon i {
  color: #ef4444;
}

.main-block:hover .block-icon {
  transform: rotate(-5deg) scale(1.1);
}

.block-content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #f3f4f6;
  margin-bottom: 16px;
}

.block-content > p {
  color: #9ca3af;
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.feature-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-items .item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-items .item i {
  width: 20px;
  height: 20px;
  color: #10b981;
  flex-shrink: 0;
}

.feature-items .item span {
  color: #d1d5db;
  font-size: 0.9375rem;
}

/* Additional Features */
.additional-features {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(16, 185, 129, 0.02) 50%, transparent 100%);
}

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

.additional-features .feature-card {
  background: rgba(17, 17, 19, 0.6);
  border: 1px solid rgba(16, 185, 129, 0.1);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.additional-features .feature-card:hover {
  background: rgba(17, 17, 19, 0.9);
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-4px);
}

.feature-card .card-icon {
  width: 64px;
  height: 64px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  flex-shrink: 0;
}

.feature-card .card-icon i {
  width: 32px;
  height: 32px;
  color: #10b981;
}

.additional-features .feature-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
}

.additional-features .feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Override first-child styles for additional features */
.additional-features .features-grid .feature-card:first-child {
  grid-column: unset;
  padding: 32px;
  background: rgba(17, 17, 19, 0.6);
  border: 1px solid rgba(16, 185, 129, 0.1);
}

.additional-features .features-grid .feature-card:first-child h4 {
  font-size: 1.2rem;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.feature-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f3f4f6;
  margin-bottom: 12px;
}

.feature-card p {
  color: #9ca3af;
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Leaderboard Preview */
.leaderboard-preview {
  padding: 80px 0;
}

.leaderboard-container {
  background: #111113;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 24px;
  overflow: hidden;
  margin-top: 60px;
}

.leaderboard-header {
  display: grid;
  grid-template-columns: 80px 1fr 200px 120px 120px;
  padding: 24px 32px;
  background: rgba(16, 185, 129, 0.05);
  border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.header-item {
  font-size: 0.875rem;
  font-weight: 600;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.leaderboard-rows {
  padding: 8px;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 80px 1fr 200px 120px 120px;
  align-items: center;
  padding: 20px 24px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.leaderboard-row:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(8px);
}

.leaderboard-row.champion {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(251, 191, 36, 0.05) 100%);
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.leaderboard-row.runner-up {
  background: linear-gradient(135deg, rgba(156, 163, 175, 0.1) 0%, rgba(156, 163, 175, 0.05) 100%);
  border: 1px solid rgba(156, 163, 175, 0.2);
}

.leaderboard-row.third {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.1) 0%, rgba(217, 119, 6, 0.05) 100%);
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.rank-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
}

.rank-badge.gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
}

.rank-badge.silver {
  background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
  color: white;
}

.rank-badge.bronze {
  background: linear-gradient(135deg, #d97706 0%, #92400e 100%);
  color: white;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  background: rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #10b981;
}

.user-name {
  font-weight: 600;
  color: #f3f4f6;
}

.verified-badge {
  width: 16px;
  height: 16px;
  color: #3b82f6;
}

.accuracy-bar {
  position: relative;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.accuracy-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, #10b981 0%, #3b82f6 100%);
  border-radius: 16px;
  transition: width 1s ease;
}

.accuracy-text {
  position: relative;
  z-index: 2;
  font-weight: 600;
  color: #f3f4f6;
  font-size: 0.875rem;
}

.streak-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #9ca3af;
}

.streak-indicator.hot {
  color: #ef4444;
}

.streak-indicator.warm {
  color: #f59e0b;
}

.streak-indicator i {
  width: 20px;
  height: 20px;
}

.points-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #10b981;
}

/* Coming Features */
.coming-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.coming-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  color: #9ca3af;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.coming-feature i {
  width: 18px;
  height: 18px;
}

/* Community page completed feature styles - must be last */
.coming-features .coming-feature.completed {
  background: #10b981 !important;
  color: #ffffff !important;
}

.coming-features .coming-feature.completed i {
  color: #ffffff !important;
}

/* Responsive */
@media (max-width: 768px) {
  .community-hero {
    padding: 100px 0 60px;
  }
  
  .community-hero .hero-title {
    font-size: 2.5rem;
  }
  
  .community-stats {
    gap: 30px;
  }
  
  .feature-blocks {
    grid-template-columns: 1fr;
  }
  
  .main-block {
    padding: 32px;
  }
  
  .additional-features .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .leaderboard-header,
  .leaderboard-row {
    grid-template-columns: 60px 1fr 80px 80px;
  }
  
  .header-item.streak,
  .row-item.streak {
    display: none;
  }
  
  .network-container {
    width: 100%;
    height: 300px;
  }
}

/* Force center alignment for all hero content */
.hero-title {
  text-align: center !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.hero-subtitle {
  text-align: center !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.hero-content > * {
  text-align: center !important;
}

.live-indicator,
.community-badge,
.debate-badge {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

/* Force all stats/features to center */
.hero-features,
.community-stats {
  justify-content: center !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Additional media queries for responsive layout */
@media (max-width: 1200px) {
  .additional-features .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .additional-features .features-grid {
    grid-template-columns: 1fr;
  }
}

