.animated-title-section {
  padding: 10px 20px;
  text-align: center;
  background: linear-gradient(to right, #1b0034, #2a004f);
  border-top: 2px solid #ff00cc;
  box-shadow: inset 0 0 30px #ff00cc44;
  position: relative;
  z-index: 1;
}

.animated-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  color: #00fff7;
  text-shadow: 0 0 10px #00fff7, 0 0 20px #ff00cc;
  animation: flickerDisappear 6s infinite;
  transition: opacity 0.3s ease;
}

/* Animazione sparizione con effetto glitch/flicker */
@keyframes flickerDisappear {
  0%, 85%, 100% {
    opacity: 1;
    text-shadow: 0 0 10px #00fff7, 0 0 20px #ff00cc;
  }
  86%, 88%, 90% {
    opacity: 0;
    text-shadow: none;
  }
  91%, 93% {
    opacity: 0.4;
    text-shadow: 0 0 5px #ff00cc;
  }
  94%, 96% {
    opacity: 0;
  }
  97% {
    opacity: 0.8;
  }
}


@keyframes pulseLine {
  0% { background-position: 0 0; }
  100% { background-position: 100% 0; }
}