/* Video CSS - Efecto de carga inicial */

/* Pantalla de carga */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #000000 0%, #0a0520 50%, #000000 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: hideLoading 0.5s ease-out 1.5s forwards;
}

/* Loader spinner */
.loader {
    width: 80px;
    height: 80px;
    border: 8px solid rgba(255, 215, 0, 0.2);
    border-top-color: #FFD700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 2rem;
}

/* Texto de carga */
.loading-text {
    color: #FFD700;
    font-family: 'Oxanium', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Animación de rotación del spinner */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Animación de pulso del texto */
@keyframes pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* Ocultar pantalla de carga después de 3 segundos */
@keyframes hideLoading {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* Contenido principal - oculto inicialmente */
.welcome-bg,
.welcome-container {
    animation: showContent 1s ease-out 1.5s forwards;
    opacity: 0;
}

/* Mostrar contenido después de 5 segundos */
@keyframes showContent {
    to {
        opacity: 1;
    }
}