/* ── Splash / intro screen ── */
#splash {
    position: fixed;
    inset: 0;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

#splash.fade-out {
    opacity: 0;
    pointer-events: none;
}

.splash-logo {
    width: 100px;
    animation: logoIn 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes logoIn {
    from {
        opacity: 0;
        transform: scale(0.55);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

/* Section reveal on first show */
.reveal-enter {
    animation: revealUp 0.4s ease-out forwards;
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .splash-logo {
        animation: none;
        opacity: 1;
    }

    #splash {
        transition: none;
    }

    .reveal-enter {
        animation: none;
    }

    .btn,
    .link-btn {
        transition: none;
    }
}
