/* 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 var(--border-color);
}

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

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

.card-title {
  color: var(--accent);
  font-weight: 600;
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--dark-card);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1.5rem;
  width: 2px;
  height: calc(100% + 1rem);
  background: var(--border-color);
}

.timeline-item:last-child::after {
  display: none;
}

.stats-box {
  text-align: center;
  padding: 1.5rem;
  background: var(--dark-card);
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
}

.stats-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.stats-label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.team-value {
  padding: 1.5rem;
  background: var(--dark-lighter);
  border-left: 4px solid var(--accent);
  margin-bottom: 1.5rem;
}

.btn-primary {
  background: #9ee933;
  color: #000000;
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: #09e41f;
}

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

h2 {
  color: var(--accent);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

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