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

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

.bg-light {
  background-color: #f8f9fa !important;
  color: var(--dark) !important;
}

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

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.table-responsive {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.table {
  margin-bottom: 0;
  color: var(--dark);
}

.table thead {
  background: var(--primary);
  color: white;
}

.table tbody tr {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.table tbody tr:hover {
  background-color: rgba(0,0,0,0.02);
}

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

.feature-badge {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: var(--accent);
  color: white;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.provider-logo {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--dark);
  border: 2px solid rgba(0,0,0,0.05);
}

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

.game-type-card {
  position: relative;
  padding: 2rem;
}

.game-type-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-2);
  border-radius: 12px 12px 0 0;
}

.cta-box {
  background: var(--gradient-3);
  color: white;
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  margin-top: 3rem;
}

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

.btn-primary:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}