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

/* Adattamento tema scuro */
.bg-light {
  background-color: var(--dark-alt) !important;
  color: var(--text-primary) !important;
}

.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-dark {
  --bs-table-bg: var(--dark-alt);
  --bs-table-striped-bg: rgba(255, 255, 255, 0.05);
  --bs-table-border-color: rgba(255, 255, 255, 0.1);
}

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

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

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

.quote-highlight {
  background: var(--gradient-2);
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-weight: bold;
  display: inline-block;
}

.live-badge {
  background: #ff3333;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: bold;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.stat-box {
  background: var(--dark-card);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border-left: 4px solid var(--accent);
}

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

.btn-primary:hover {
  background: var(--gradient-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}