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

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

.bg-light {
  background-color: var(--light) !important;
  color: var(--dark) !important;
  border: 1px solid rgba(0,0,0,0.1);
}

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

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

.table tbody tr {
  transition: var(--transition);
}

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

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

.vip-tier-card {
  border-radius: 1rem;
  overflow: hidden;
  transition: var(--transition);
  border: 2px solid transparent;
}

.vip-tier-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.vip-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--gradient-accent);
  color: var(--white);
  margin-bottom: 1rem;
}

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

.progress-custom {
  height: 30px;
  border-radius: 1rem;
  background-color: rgba(0,0,0,0.1);
  overflow: hidden;
}

.progress-bar-custom {
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.highlight-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.timeline-vip {
  position: relative;
  padding-left: 2rem;
}

.timeline-vip::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-primary);
}

.timeline-vip-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-vip-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
}