/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #1a365d;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

/* Estilo del video de fondo */
#splash-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: 1;
}

/* Splash Screen */
#splash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: opacity 1s ease-in-out;
    display: none;
}

/* Logo dentro del Splash */
#splash-logo {
    width: 200px;
    animation: pulse 1.5s infinite alternate;
}

/* Animación de pulsación */
@keyframes pulse {
    from {
        transform: scale(1);
        opacity: 0.8;
    }
    to {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Botón de navegación */
#navigate-button {
    width: 100%;
    background: #FF4B1F;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 75, 31, 0.3);
    display: none;
    transition: opacity 0.5s ease;
}

/* Contenido oculto inicialmente */
#app {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 80%;
    max-width: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Bloquear modo horizontal */
@media (orientation: landscape) {
    #rotate-message {
        display: flex !important;
    }
}

/* Mensaje para rotar el dispositivo */
#rotate-message {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 100;
}

h1, p {
	text-shadow: 0.1em 0.1em 0.2em black
}

/* Ocultar el texto del app inicialmente */
#app h1, #app p {
    display: none;
}
