#splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 40%),
        linear-gradient(135deg,
            #8f1116 0%,
            #b71f25 45%,
            #ce242a 75%,
            #e53935 100%);

    overflow: hidden;

    transition:
        opacity 0.45s ease,
        visibility 0.45s ease;
}

#splash-screen.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    padding: 24px;

    animation: splashFade 0.8s ease;
}

.splash-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;

    filter:
        drop-shadow(0 10px 25px rgba(0, 0, 0, 0.25));

    animation:
        floatLogo 3s ease-in-out infinite,
        pulseLogo 2.2s ease-in-out infinite;
}

.splash-subtitle {
    margin-top: 18px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 0.95rem;
    font-weight: bold;
    letter-spacing: 0.6px;

    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Fade awal */
@keyframes splashFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating logo */
@keyframes floatLogo {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Pulse halus */
@keyframes pulseLogo {
    0% {
        scale: 1;
    }

    50% {
        scale: 1.04;
    }

    100% {
        scale: 1;
    }
}