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

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

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

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

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

.badge-custom {
  background: var(--gradient-accent);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.table-responsive {
  background: var(--dark-alt);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

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

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

.table thead th {
  color: var(--accent);
  font-weight: 600;
  border: none;
  padding: 1rem;
}

.table tbody td {
  border-color: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  vertical-align: middle;
}

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

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

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  padding-left: 2rem;
}

.feature-list li:last-child {
  border-bottom: none;
}

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

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

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

.provider-tag {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  margin: 0.25rem;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-section {
  background: var(--gradient-main);
  padding: 3rem;
  border-radius: 16px;
  text-align: center;
  margin-top: 3rem;
}

.btn-primary {
  background: var(--gradient-accent);
  border: none;
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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