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

/* Адаптация к темной теме */
.bg-light {
  background-color: var(--card-bg) !important;
  color: var(--light-text) !important;
  border: 1px solid var(--card-border);
}

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

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

.badge-bonus {
  background: linear-gradient(135deg, var(--primary-coral), var(--secondary-purple));
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.bonus-highlight {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(138, 43, 226, 0.1));
  border-left: 4px solid var(--primary-coral);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

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

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

.table thead {
  background: var(--darker-bg);
  border-bottom: 2px solid var(--primary-coral);
}

.table tbody tr {
  border-bottom: 1px solid var(--card-border);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-coral), var(--secondary-purple));
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
}

.icon-box {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-coral), var(--secondary-purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.promo-code {
  background: var(--darker-bg);
  border: 2px dashed var(--primary-coral);
  padding: 1rem;
  text-align: center;
  border-radius: 0.5rem;
  font-family: monospace;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--accent-yellow);
  letter-spacing: 2px;
}

.terms-list {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.terms-list li {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .card {
    margin-bottom: 1.5rem;
  }
  
  .bonus-highlight {
    padding: 1rem;
  }
}