/* Entrada a StudioOS: pantalla con el logo y íconos que salen de él en ondas, se difuminan y caen. Dura ~5 s y se ve una vez por sesión. */
html.intro-pending body > *:not(#studioIntro) { visibility: hidden; }
#studioIntro { position: fixed; inset: 0; z-index: 2147483000; overflow: hidden; background: radial-gradient(ellipse at 50% 46%, #11203a 0%, #0A0D12 62%); display: grid; place-items: center; transition: opacity .55s ease, transform .55s ease; }
#studioIntro.is-leaving { opacity: 0; transform: scale(1.04); pointer-events: none; }
#studioIntro canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#studioIntro .intro-logo { position: relative; z-index: 2; width: min(300px, 62vw); height: auto; opacity: 0; transform: scale(.86); filter: drop-shadow(0 0 22px rgba(20,120,240,.55)); }
#studioIntro.is-playing .intro-logo { animation: introLogo 5s cubic-bezier(.2,.7,.2,1) forwards; }
#studioIntro .intro-bar { position: absolute; z-index: 2; left: 50%; bottom: 9vh; width: min(260px, 56vw); height: 3px; transform: translateX(-50%); border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; opacity: 0; }
#studioIntro.is-playing .intro-bar { opacity: 1; transition: opacity .4s .5s; }
#studioIntro .intro-bar i { display: block; width: 100%; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #1478F0, #FABE0A); }
#studioIntro.is-playing .intro-bar i { animation: introBar 5s linear forwards; }
#studioIntro .intro-msg { position: absolute; z-index: 2; left: 0; right: 0; bottom: calc(9vh - 26px); text-align: center; font: 500 12px/1 Poppins, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); opacity: 0; }
#studioIntro.is-playing .intro-msg { animation: introMsg 5s ease forwards; }
@keyframes introLogo { 0% { opacity: 0; transform: scale(.86); } 12% { opacity: 1; transform: scale(1); } 22%, 70% { opacity: 1; transform: scale(1); } 78% { transform: scale(1.06); } 100% { opacity: 1; transform: scale(1); } }
@keyframes introBar { to { transform: scaleX(1); } }
@keyframes introMsg { 0%, 8% { opacity: 0; } 20%, 90% { opacity: 1; } 100% { opacity: .6; } }
@media (prefers-reduced-motion: reduce) { #studioIntro.is-playing .intro-logo { animation: introLogoRm 1.2s ease forwards; } #studioIntro.is-playing .intro-bar i { animation-duration: 1.2s; } @keyframes introLogoRm { from { opacity: 0; } to { opacity: 1; transform: scale(1); } } }
