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

/* Адаптация к светлой теме */
.bg-dark {
  background: linear-gradient(135deg, var(--dark-navy) 0%, #1a2332 100%) !important;
  color: var(--text-light) !important;
  border: none !important;
}

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

.card {
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.table-responsive {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.table thead {
  background: linear-gradient(135deg, var(--primary-coral) 0%, var(--primary-teal) 100%);
  color: white;
  border: none;
}

.table thead th {
  border: none;
  padding: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.table tbody tr {
  transition: background-color 0.2s ease;
}

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

.table td {
  padding: 1rem;
  vertical-align: middle;
  border-color: rgba(0,0,0,0.08);
}

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

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

.tier-bronze {
  background: linear-gradient(135deg, #CD7F32 0%, #8B4513 100%);
  color: white;
}

.tier-silver {
  background: linear-gradient(135deg, #C0C0C0 0%, #808080 100%);
  color: white;
}

.tier-gold {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: var(--dark-navy);
}

.tier-platinum {
  background: linear-gradient(135deg, #E5E4E2 0%, #B4B4B4 100%);
  color: var(--dark-navy);
}

.tier-diamond {
  background: linear-gradient(135deg, #B9F2FF 0%, #00CED1 100%);
  color: var(--dark-navy);
}

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

.lead {
  font-size: 1.2rem;
  color: var(--text-dark);
  opacity: 0.85;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

h2 {
  color: var(--primary-coral);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

h3 {
  color: var(--primary-teal);
  margin-bottom: 1rem;
  font-weight: 600;
}

.progress-path {
  position: relative;
  padding: 2rem 0;
  margin: 2rem 0;
}

.progress-path::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-coral) 0%, var(--primary-teal) 100%);
  transform: translateY(-50%);
  z-index: 0;
}

@media (max-width: 768px) {
  .progress-path::before {
    display: none;
  }
}
h1 {
  color: var(--primary-teal);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

h2 {
  color: var(--primary-coral);
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

h3, h4 {
  color: var(--button-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-title {
  color: var(--accent-yellow);
  margin-bottom: 1rem;
  font-weight: 700;
}
