/* Lumium Splash Screen Styles */

.lumium-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0a0a1a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 1;
    transition: opacity 0.8s ease-out;
}

.lumium-splash.fade-out {
    opacity: 0;
    pointer-events: none;
}

.lumium-splash-content {
    text-align: center;
}

/* Horizontal text row container */
.splash-text-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
}

/* Cursive title - starts centered, shifts left smoothly */
.splash-title {
    font-family: 'Pacifico', 'Brush Script MT', cursive;
    font-size: clamp(2.5rem, 10vw, 5rem);
    background: linear-gradient(135deg, #00ffff 0%, #00ff88 50%, #00ffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: gradientShift 3s ease infinite;
    transition: margin-right 0.5s ease;
}

.splash-title.animate {
    animation: titleAppear 0.8s ease forwards, gradientShift 3s ease infinite;
}

/* When tagline shows, smoothly shift title left */
.splash-title.shifted {
    margin-right: 0;
}

/* Dash separator - hidden until triggered */
.splash-separator {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: clamp(1rem, 3vw, 1.4rem);
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0.5rem;
    transform: translateY(7px);
    opacity: 0;
    visibility: hidden;
    width: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, width 0.4s ease;
}

.splash-separator.show {
    visibility: visible;
    width: auto;
    opacity: 1;
}

/* Tagline - hidden until triggered */
.splash-tagline {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: clamp(0.9rem, 3vw, 1.4rem);
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
    text-transform: lowercase;
    margin: 0;
    transform: translateY(7px);
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    white-space: nowrap;
    max-width: 0;
    transition: opacity 0.5s ease, max-width 0.5s ease;
}

.splash-tagline.typing {
    visibility: visible;
    max-width: 20em;
    opacity: 1;
}


/* Subtle particle glow effect */
.splash-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 255, 200, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

.splash-glow:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.splash-glow:nth-child(2) {
    bottom: 20%;
    right: 10%;
    animation-delay: 2s;
}

/* Keyframes */
@keyframes titleAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* Kiosk optimizations */
@media (max-width: 800px) and (max-height: 480px) {
    .splash-title {
        font-size: 2.2rem;
    }

    .splash-separator {
        font-size: 1.2rem;
        margin: 0 0.3rem;
    }

    .splash-tagline {
        font-size: 0.7rem;
        letter-spacing: 0.1em;
    }

    .splash-glow {
        width: 150px;
        height: 150px;
    }
}