/* Splash screen — full-page black with centered logo + tagline */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    overflow: hidden;
    /* height: 100vh; */
    height: 100dvh;
    width: 100vw;
}

.splash-container {
    display: flex;
    align-items: center;
    justify-content: center;
    /* height: 100vh; */
    height: 100dvh;
    width: 100vw;
    position: relative;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    /* animation: fadeIn 0.8s ease-out 0.2s forwards; */
    animation: fadeIn 1s forwards;
}

.splash-logo {
    max-width: min(400px, 70vw);
    height: auto;
}

.splash-tagline {
    color: #f17e22;
    font-family: 'Franklin Gothic Medium', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: clamp(1.4rem, 4.5vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}

/* --- Animations --- */

@keyframes fadeIn {
    from { opacity: 0; transform: scale(1); }
    to   { opacity: 1; transform: scale(1); }
}

/* Black hole effect: everything gets pulled to the center and vanishes */
@keyframes blackhole {
    0% {
        opacity: 1;
        transform: scale(1);
    }
100% {
        opacity: 0;
        transform: scale(0);
    }
}

.splash-content.vortex-out {
    animation: blackhole 2s cubic-bezier(0.50, 0, 1, 0.2) forwards;
}

/* Post-logout static mode — pointer cursor on interactive elements */
body[data-static] .splash-logo,
body[data-static] .splash-tagline {
    cursor: pointer;
}

/* Accessibility: skip animation for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .splash-content.vortex-out {
        animation: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
}
