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

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

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

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

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

.table-responsive {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

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

.table thead th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 1rem;
  border: none;
}

.table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background-color 0.2s ease;
}

.table tbody tr:hover {
  background-color: rgba(255,255,255,0.02);
}

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

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

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

.bonus-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

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