/* Body e generali */
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(120deg, #020b1c, #06122b);
  color: white;
  overflow-x: hidden;
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Header */
header {
  background: #06122b;
  padding: 18px;
  text-align: center;
  text-shadow: 0 0 15px #00ff9c;
}

/* Hero */
.hero {
  text-align: center;
  padding: 80px 20px;
  animation: fadeIn 2s ease-in-out;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.stats > div {
  background: rgba(0, 255, 156, 0.1);
  padding: 18px 28px;
  border-radius: 18px;
  border: 2px solid #00ff9c;
  box-shadow: 0 0 25px #00ff9c;
  min-width: 180px;
  font-weight: bold;
}

/* Sezioni */
section {
  padding: 70px 20px;
  max-width: 1200px;
  margin: auto;
  transition: transform 0.4s;
}

section:hover {
  transform: scale(1.015);          /* leggerissimo ingrandimento - se non lo vuoi → metti scale(1) o rimuovi la regola */
}

h2 {
  text-shadow: 0 0 15px #00ff9c;
}

/* Video Grid */
#videoGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.video {
  background: #0c1a33;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0 18px #00ff9c;
  transition: all 0.35s;
}

.video:hover {
  transform: scale(1.04);           /* leggerissimo zoom - se non lo vuoi → metti scale(1) o rimuovi la regola */
  box-shadow: 0 0 35px #00ff9c, 0 0 60px #00ff9c;
}

.video img { width: 100%; }
.video h4 { padding: 12px 12px 6px; color: #00ff9c; }
.video .date { padding: 0 12px 12px; color: #88ffcc; font-size: 0.9em; margin: 0; }

/* Player */
#player {
  width: 100%;
  height: 520px;
  margin-top: 30px;
  border: none;
  box-shadow: 0 0 40px #00ff9c;
}

/* Form */
form input, form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #00ff9c;
  background: #0c1a33;
  color: white;
}

form input:focus, form textarea:focus {
  box-shadow: 0 0 20px #00ff9c;
  outline: none;
}

form button {
  padding: 14px 30px;
  background: #00ff9c;
  border: none;
  color: #020b1c;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.3s;
}

form button:hover { transform: scale(1.05); box-shadow: 0 0 25px #00ff9c; }

/* Footer */
footer {
  text-align: center;
  padding: 35px;
  background: #06122b;
  color: #00ff9c;
  margin-top: 40px;
}

footer a { color: #00ff9c; text-decoration: none; }

/* Animazioni */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }