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

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

.card {
  background: var(--dark-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

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

.game-category {
  position: relative;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--dark-soft) 0%, var(--dark) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-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.5rem;
  color: white;
}

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

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