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

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

.card {
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

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

.table-responsive {
  margin-bottom: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

.table thead {
  background: var(--gradient-primary);
  color: white;
  border-bottom: 2px solid var(--primary);
}

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

.table tbody tr:hover {
  background-color: rgba(var(--primary-rgb), 0.05);
}

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

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

.highlight-box {
  background: var(--gradient-secondary);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  color: #000000;
}

.highlight-box h2,
.highlight-box h3,
.highlight-box p,
.highlight-box strong {
  color: #000000 !important;
}

.terms-list {
  background-color: rgba(var(--primary-rgb), 0.05);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary);
}

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