/* Animazione di avvio (stessa del player attuale), mostrata una volta per sessione dopo
   il login: vedi app/js/boot.js. 5 s, poi si toglie da sola. */
#vv-boot {
  position: fixed; inset: 0; z-index: 300;
  background: #1d1d1b;
  display: flex; align-items: center; justify-content: center;
}
#vv-boot-anim { width: min(320px, 60vw); }
#vv-boot-anim svg { display: block; width: 100%; height: auto; overflow: visible; }
#vv-boot-anim .cls-1 { fill: #fff; }
#vv-boot-anim .cls-2 { fill: #0000ff; }
#vv-boot-anim .cls-4 { fill: #990099; }

#vv-boot-anim #_1-_CERCHIO, #vv-boot-anim #_2-_V_BLUE, #vv-boot-anim #_3-_V_VIOLA, #vv-boot-anim #RING_PULSE { transform-origin: 137.55px 135.35px; opacity: 0; }
#vv-boot-anim #_1-_CERCHIO, #vv-boot-anim #_2-_V_BLUE, #vv-boot-anim #_3-_V_VIOLA { transform: scale(0); }
#vv-boot-anim #_4-_LINEE path { opacity: 0; }

#vv-boot.play #vv-boot-anim #_1-_CERCHIO { animation: vv-boot-fase1 5s cubic-bezier(.25,1,.5,1) forwards; }
@keyframes vv-boot-fase1 { 0% { transform: scale(0); opacity: 0; } 20%, 100% { transform: scale(1); opacity: 1; } }

#vv-boot.play #vv-boot-anim #_2-_V_BLUE { animation: vv-boot-fase2 5s cubic-bezier(.25,1,.5,1) forwards; }
@keyframes vv-boot-fase2 { 0%, 20% { transform: scale(0); opacity: 0; } 40%, 100% { transform: scale(1); opacity: 1; } }

#vv-boot.play #vv-boot-anim #_3-_V_VIOLA { animation: vv-boot-fase3 5s cubic-bezier(.25,1,.5,1) forwards; }
@keyframes vv-boot-fase3 { 0%, 40% { transform: scale(0); opacity: 0; } 60%, 100% { transform: scale(1); opacity: 1; } }

#vv-boot.play #vv-boot-anim #RING_PULSE { animation: vv-boot-fase4-anello 5s ease-out forwards; }
@keyframes vv-boot-fase4-anello { 0%, 60% { transform: scale(.9); opacity: 0; stroke-width: 4px; } 62% { opacity: 1; } 78% { transform: scale(2.8); opacity: 0; stroke-width: .5px; } 100% { opacity: 0; } }

#vv-boot.play #vv-boot-anim #_4-_LINEE path { animation: vv-boot-fase4-linee 5s steps(1) .9s forwards; }
@keyframes vv-boot-fase4-linee { 0%, 60% { opacity: 0; } 61%, 100% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  #vv-boot-anim #_1-_CERCHIO, #vv-boot-anim #_2-_V_BLUE, #vv-boot-anim #_3-_V_VIOLA { animation: none !important; transform: scale(1) !important; opacity: 1 !important; }
  #vv-boot-anim #_4-_LINEE path { animation: none !important; opacity: 1 !important; }
  #vv-boot-anim #RING_PULSE { animation: none !important; opacity: 0 !important; }
}
