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

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

.table {
  color: var(--text-primary);
  border-color: var(--border-color);
}

.table-dark {
  --bs-table-bg: var(--dark-card);
  --bs-table-striped-bg: var(--dark-lighter);
  --bs-table-border-color: var(--border-color);
  --bs-table-color: var(--text-primary);
}

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

.table tbody tr {
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
}

.table tbody tr:hover {
  background-color: var(--dark-lighter);
}

.vip-level-card {
  position: relative;
  border: 2px solid var(--border-color);
  transition: all 0.4s ease;
  height: 100%;
}

.vip-level-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.vip-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--gradient-primary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.benefit-item {
  padding: 1rem;
  background: var(--dark-card);
  border-left: 3px solid var(--accent);
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: var(--dark-lighter);
  transform: translateX(5px);
}

.progression-bar {
  height: 8px;
  background: var(--dark-lighter);
  border-radius: 10px;
  overflow: hidden;
  margin: 1.5rem 0;
}

.progression-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 10px;
  transition: width 0.6s ease;
}

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

.cta-vip {
  background: var(--gradient-primary);
  padding: 3rem 2rem;
  border-radius: 1rem;
  text-align: center;
  margin-top: 3rem;
  box-shadow: var(--shadow-lg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-card {
  background: var(--dark-card);
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  border: 1px solid var(--border-color);
}

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

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .table-responsive {
    font-size: 0.85rem;
  }
}