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

/* Адаптация к темной теме */
.bg-light {
  background-color: var(--dark-card) !important;
  color: var(--text-primary) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.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: linear-gradient(135deg, var(--primary-electric), var(--primary-cyan));
  color: white;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

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

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

.vip-tier {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vip-tier:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.tier-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.tier-bronze { background: linear-gradient(135deg, #CD7F32, #B87333); }
.tier-silver { background: linear-gradient(135deg, #C0C0C0, #A8A8A8); }
.tier-gold { background: linear-gradient(135deg, #FFD700, #FFA500); }
.tier-platinum { background: linear-gradient(135deg, #E5E4E2, #BCC6CC); }
.tier-diamond { background: linear-gradient(135deg, var(--primary-cyan), var(--primary-electric)); }

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

.progress-custom {
  height: 25px;
  border-radius: 15px;
  background-color: var(--dark-lighter);
  overflow: hidden;
}

.progress-bar-custom {
  background: var(--gradient-primary);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
}