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

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

.card {
  background: var(--dark);
  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: var(--shadow-glow);
}

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

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

.table thead {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-bottom: 2px solid var(--accent);
  color: var(--light);
}

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

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

.vip-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--gradient-1) 0%, var(--gradient-2) 100%);
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.tier-card {
  position: relative;
  overflow: hidden;
}

.tier-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--light);
}

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

.progress-bar-custom {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: width 0.6s ease;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  margin: 3rem 0;
}

.cta-box h3 {
  color: var(--light);
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--light);
  opacity: 0.9;
  margin-bottom: 1.5rem;
}