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

/* Адаптация к светлой теме */
.bg-dark {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-light) 100%) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border);
}

.bg-light {
  background-color: var(--surface-light) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border);
}

.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-responsive {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table {
  color: var(--text-primary);
  border-color: var(--border);
  margin-bottom: 0;
}

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

.table tbody tr:hover {
  background-color: var(--surface-light);
}

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

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

.feature-box {
  padding: 2rem;
  border-radius: 12px;
  background: var(--gradient-surface);
  border: 1px solid var(--border);
  height: 100%;
}

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

.highlight-box {
  background: var(--gradient-primary);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

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

.odds-display {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}