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

/* Адаптация к теме сайта */
.bg-light {
  background-color: var(--dark-lighter) !important;
  color: var(--text-primary) !important;
}

.bg-dark {
  background-color: var(--dark-card) !important;
  color: var(--text-primary) !important;
}

.card {
  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: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.table-dark {
  --bs-table-bg: var(--dark-card);
  --bs-table-striped-bg: var(--dark-lighter);
  --bs-table-border-color: rgba(255, 255, 255, 0.1);
}

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

.game-category-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.feature-highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-weight: 600;
  display: inline-block;
  margin: 0.25rem 0;
}

.game-stats {
  display: flex;
  justify-content: space-around;
  padding: 1.5rem;
  background: var(--dark-lighter);
  border-radius: 8px;
  margin: 2rem 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  display: block;
}

.stat-label {
  color: var(--text-primary);
  opacity: 0.8;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--gradient-main);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  color: white;
}