/* ===== Splash Screen ===== */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 30000;
    /* Highest priority */
    opacity: 1;
    transition: opacity 1s ease-out;
}

#splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

#splash-screen img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    opacity: 0;
    animation: splashAnimation 4.5s ease-out forwards;
}

/* Keyframes: Fade In -> Zoom -> Fade Out */
@keyframes splashAnimation {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    15% {
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(1.05);
        /* Subtle zoom */
    }
}