/* ─── animations.css — Keyframes CSS per effetti loop continui ───
   REGOLA: solo animazioni continue/ambientali vanno qui (loop infiniti).
   Le animazioni di entrata/uscita slide vanno in animations.js (GSAP).
─── */

/* Shimmer leggero che scorre sopra il titolo — "tocco Lanterna" */
@keyframes text-shine {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

/* Usato opzionalmente su .slide-title per uno scintillio dopo il typewriter */
.title-shine {
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 40%,
    var(--accent) 50%,
    #ffffff 60%,
    #ffffff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-shine 6s linear infinite;
}

/* Pulse per il logo/watermark */
@keyframes watermark-fade {
  0%, 100% { opacity: 0.14; }
  50%       { opacity: 0.22; }
}

/* Reveal generico: usato come classe di appoggio da GSAP */
.hidden   { opacity: 0; }
.revealed { opacity: 1; }
