/* ---------------------------------------
   Animations & Keyframes
---------------------------------------- */

/* Initial Fade Up for Panel */
.glass-panel {
    opacity: 0;
    animation: cinematicFadeUp 2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

@keyframes cinematicFadeUp {
    0% {
        opacity: 0;
        transform: translate(-50%, 60px);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Ambient Dust Particles */
@keyframes dustFloat {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 -550px;
    }
}

/* Transition Overlay */
.space-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    /* Below panel (100) but above spline (1) */
    pointer-events: none;
    opacity: 0;
    background: #000;
    transition: opacity 2.5s ease-in-out;
}

.space-overlay.active {
    opacity: 1;
}