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

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

.card.bg-light {
  background-color: #f8f9fa !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(--text-light);
  border-bottom: 2px solid var(--primary-dark);
}

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

.bonus-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--gradient-primary);
  color: var(--text-light);
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--accent-rgb), 0.1) 100%);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  margin-bottom: 1.5rem;
}

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

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

.step-item {
  position: relative;
  margin-bottom: 2rem;
}

.step-number {
  position: absolute;
  left: -2.5rem;
  width: 2rem;
  height: 2rem;
  background: var(--primary);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.terms-list {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.terms-list li {
  margin-bottom: 0.5rem;
  color: var(--dark);
}

@media (max-width: 768px) {
  .table {
    font-size: 0.875rem;
  }
}