#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.9),
            rgba(245, 246, 250, 0.95) 40%),
        linear-gradient(135deg,
            #f8f9fc 0%,
            #f1f3f8 45%,
            #eceff5 75%,
            #e7ebf2 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.08));

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

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

    color: #6c757d;

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

/* 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;
    }
}