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

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

.bg-light {
  background-color: rgba(255,255,255,0.05) !important;
  color: var(--text) !important;
  border: 1px solid rgba(255,255,255,0.1);
}

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

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

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

.table td, .table th {
  border-color: rgba(255,255,255,0.1);
  padding: 1rem;
}

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

.game-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.category-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.provider-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--dark-alt);
  border-radius: 20px;
  margin: 0.25rem;
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.game-feature {
  padding: 1.5rem;
  border-left: 3px solid var(--primary);
  background: rgba(255,255,255,0.03);
  margin-bottom: 1rem;
  border-radius: 0 8px 8px 0;
}

.stats-box {
  text-align: center;
  padding: 2rem;
  background: var(--gradient-dark);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}

.stats-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
}

.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: translateY(-2px);
  box-shadow: 0 5px 15px rgba(var(--primary), 0.4);
}