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

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

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

.table-dark {
  --bs-table-bg: var(--dark-card);
  --bs-table-striped-bg: var(--dark-lighter);
  --bs-table-border-color: var(--border-color);
  --bs-table-color: var(--text-primary);
}

.table thead {
  background: var(--gradient-primary);
  border-bottom: 2px solid var(--accent);
  color: var(--text-primary);
  font-weight: 600;
}

.table tbody tr {
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
}

.table tbody tr:hover {
  background-color: var(--dark-lighter);
}

.card {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  overflow: hidden;
}

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

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

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

.odds-box {
  background: var(--gradient-dark);
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 2px solid var(--accent);
  margin: 1.5rem 0;
}

.odds-value {
  font-size: 2rem;
  color: var(--accent);
  font-weight: 700;
}

.bet-type-card {
  background: var(--dark-lighter);
  padding: 1.25rem;
  border-radius: 0.5rem;
  border-left: 4px solid var(--accent);
  margin-bottom: 1rem;
}

.highlight-stat {
  background: var(--gradient-primary);
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.highlight-stat h3 {
  color: var(--accent);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

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

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

.lead {
  color: var(--text-secondary);
  line-height: 1.8;
}

h2 {
  color: var(--accent);
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-color);
}

h3 {
  color: var(--text-primary);
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.feature-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  list-style: none;
  padding-left: 2rem;
  position: relative;
}

.feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.25rem;
}