/* Protezione overflow orizzontale */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Adattamento tema scuro */
.bg-light {
  background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-primary) 100%) !important;
  color: var(--text-primary) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

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

.card-title {
  color: var(--primary-electric);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

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

.table-dark {
  --bs-table-bg: var(--dark-card);
  --bs-table-striped-bg: var(--dark-lighter);
  --bs-table-border-color: rgba(255, 255, 255, 0.1);
}

.table thead {
  background: var(--dark-secondary);
  border-bottom: 2px solid var(--primary-electric);
  color: var(--primary-electric);
  font-weight: 700;
}

.table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

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

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary-electric), var(--primary-deep));
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary-deep), var(--accent-coral));
}

.promo-code {
  background: var(--dark-secondary);
  padding: 1rem;
  border-radius: var(--border-radius);
  border: 2px dashed var(--accent-yellow);
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-yellow);
  letter-spacing: 2px;
  margin: 1rem 0;
}

.requirements-list {
  background: var(--dark-card);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent-coral);
}

.requirements-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

h1 {
  background: linear-gradient(135deg, var(--primary-electric), var(--accent-coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

h2 {
  color: var(--primary-electric);
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(0, 229, 255, 0.3);
}

h3 {
  color: var(--text-primary);
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.lead {
  color: var(--text-primary);
  opacity: 0.9;
  line-height: 1.8;
}