/* Защита от горизонтального скролла */
html, body { 
  overflow-x: hidden; 
  max-width: 100vw; 
}

/* Адаптация под светлую тему */
.bg-dark {
  background: linear-gradient(135deg, var(--dark-navy) 0%, #1a2332 100%) !important;
  color: var(--text-light) !important;
  border: 1px solid rgba(255,255,255,0.1);
}

.bg-light {
  background-color: var(--surface-light) !important;
  color: var(--text-dark) !important;
  border: 1px solid rgba(0,0,0,0.08);
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.table {
  color: var(--text-dark);
  border-color: rgba(0,0,0,0.1);
}

.table thead {
  background: var(--primary-teal);
  color: white;
  border-bottom: 2px solid rgba(0,0,0,0.1);
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0,0,0,0.03);
}

.table td, .table th {
  vertical-align: middle;
  padding: 1rem;
}

.badge {
  padding: 0.5em 1em;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 20px;
}

.badge-live {
  background: var(--accent-yellow);
  color: var(--dark-navy);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.sport-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.odds-box {
  background: var(--surface-light);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-coral);
  margin-bottom: 1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

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

.feature-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  position: relative;
  padding-left: 2rem;
}

.feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-teal);
  font-weight: bold;
  font-size: 1.2rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1 {
  color: var(--primary-teal);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

h2 {
  color: var(--primary-coral);
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

h3, h4 {
  color: var(--button-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-title {
  color: var(--accent-yellow);
  margin-bottom: 1rem;
  font-weight: 700;
}