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

/* Adattamento tema scuro */
.bg-light {
  background: linear-gradient(135deg, var(--dark-lighter) 0%, var(--dark-card) 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: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.table thead {
  background: #1a1a1a;
  border-bottom: 2px solid #9ee933;
}

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

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.02);
}

.vip-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #9ee933 0%, #09e41f 100%);
  color: #000000;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.level-card {
  position: relative;
  padding: 2rem;
  border-radius: 15px;
  overflow: hidden;
}

.level-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #9ee933 0%, #09e41f 100%);
}

.benefit-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #9ee933 0%, #09e41f 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #000000;
}

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

.progress-custom {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar-custom {
  height: 100%;
  background: linear-gradient(135deg, #9ee933 0%, #09e41f 100%);
  border-radius: 10px;
}