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

/* Адаптация под темную тему */
.bg-light {
  background: linear-gradient(135deg, var(--dark-card) 0%, var(--dark-lighter) 100%) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color);
}

.card {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-bottom: 2px solid var(--border-color);
  font-weight: 600;
}

.bonus-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--gradient-primary);
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-glow);
}

.table {
  color: var(--text-primary);
  border-color: var(--border-color);
}

.table-dark {
  --bs-table-bg: var(--dark-card);
  --bs-table-striped-bg: var(--dark-lighter);
  --bs-table-border-color: var(--border-color);
  --bs-table-color: var(--text-primary);
}

.table thead {
  background: var(--dark-card);
  border-bottom: 2px solid var(--accent);
}

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

.cta-box {
  background: var(--gradient-dark);
  border: 2px solid var(--accent);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  margin: 3rem 0;
  box-shadow: var(--shadow-lg);
}

.terms-text {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--dark-lighter);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}

.progress-custom {
  height: 8px;
  background: var(--dark-lighter);
  border-radius: 10px;
  overflow: hidden;
  margin: 1rem 0;
}

.progress-bar-custom {
  height: 100%;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}