/* splash.css - VERSIÓN CORREGIDA */
:root {
    --splash-duration: 1.5s;
    --splash-delay: 0.3s;
}

.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    text-align: center;
    animation: splashFadeIn 0.8s ease-out;
}

.splash-logo {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    animation: pulseScale 2s ease-in-out infinite;
}

.splash-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

@keyframes splashFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseScale {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Para móviles */
@media (max-width: 768px) {
    .splash-logo {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) {
    .splash-logo {
        width: 120px;
        height: 120px;
    }
}