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

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

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

/* Героическая секция */
.hero-registration {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 15px;
  padding: 3rem 2rem;
  margin-bottom: 3rem;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.hero-registration h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-registration .lead {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 0;
}

/* Карточки шагов */
.step-card {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.step-card .card-body {
  padding-top: 2.5rem;
}

.step-card .card-title {
  color: #000000 !important;
}

.step-card .card-text {
  color: #000000 !important;
}

/* Требования и верификация */
.requirement-list {
  list-style: none;
  padding: 0;
}

.requirement-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  position: relative;
  padding-left: 2rem;
}

.requirement-list li:last-child {
  border-bottom: none;
}

.requirement-list li {
  color: #000000 !important;
}

.requirement-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
  font-size: 1.2rem;
}

.bg-dark .card-title {
  color: #000000 !important;
}

.bg-dark .card-text {
  color: #000000 !important;
}

.bg-dark ul li,
.bg-dark ol li {
  color: #000000 !important;
}

.bg-dark ul,
.bg-dark ol {
  color: #000000 !important;
}

.bg-dark h3,
.bg-dark h5,
.bg-dark h6 {
  color: #000000 !important;
}

.bg-dark p {
  color: #000000 !important;
}

/* Таблица бонусов */
.table {
  color: var(--text);
  border-color: rgba(0,0,0,0.1);
}

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

.table thead {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #ffffff;
  border-bottom: 2px solid rgba(0,0,0,0.1);
}

.table thead th {
  border: none;
  padding: 1rem;
  font-weight: 600;
}

.table td {
  padding: 1rem;
  vertical-align: middle;
}

/* CTA кнопки */
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Секция предупреждений */
.alert-info {
  background-color: rgba(var(--primary), 0.1);
  border-left: 4px solid var(--primary);
  color: var(--text);
}

/* Иконки преимуществ */
.benefit-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-registration h1 {
    font-size: 2rem;
  }
  
  .hero-registration .lead {
    font-size: 1.1rem;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
}