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

/* Адаптация под темную тему */
.bg-light {
  background: linear-gradient(135deg, var(--dark-lighter) 0%, var(--dark-card) 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-hover-bg: rgba(255, 215, 0, 0.1);
}

.table thead {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  border-bottom: 2px solid var(--accent);
}

.table tbody tr {
  transition: all 0.3s ease;
}

.table tbody tr:hover {
  background-color: rgba(255, 215, 0, 0.05);
  transform: translateX(5px);
}

.game-category-card {
  transition: all 0.4s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.game-category-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow);
  border-color: var(--accent);
}

.game-category-card .card-body {
  position: relative;
  z-index: 2;
}

.game-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 50px;
  border: 1px solid var(--accent);
  margin: 0.25rem;
}

.feature-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--gradient-2);
  color: white;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0.25rem;
}

.provider-logo {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin: 0.5rem;
  transition: all 0.3s ease;
}

.provider-logo:hover {
  border-color: var(--accent);
  transform: scale(1.05);
}

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

h2 {
  color: var(--text-primary);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-2);
  border-radius: 2px;
}

h3 {
  color: var(--text-primary);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

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

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

.info-box {
  background: var(--dark-card);
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 8px;
}