/* --- VARIABLES GLOBALES --- */
:root {
    --azul-fondo: #0a192f;
    --cian-tech: #64ffda;
    --amarillo-alerta: #f3d809;
    --texto-blanco: #e6f1ff;
}

/* --- CUERPO Y FONDO --- */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    /* Imagen del Faro con filtro sutil para que se vea bien */
    background: linear-gradient(rgba(10, 25, 47, 0.1), rgba(10, 25, 47, 0.1)), 
                url('./imagenes/FARO.jpg') no-repeat center center fixed;
    background-size: cover;
    color: var(--texto-blanco);
    display: flex;
    justify-content: center;
    align-items: center; /* Centra el tablero verticalmente */
    min-height: 100vh;
    overflow-x: hidden; /* Evita scroll lateral */
}

/* --- CONTENEDOR PRINCIPAL (EL TABLERO) --- */
.contenedor {
    width: 95%;
    max-width: 950px;
    background: rgba(10, 25, 47, 0.35); /* Transparencia equilibrada */
    backdrop-filter: blur(6px); /* Efecto cristal esmerilado */
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 20px;
    padding: 30px;
    margin: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    position: relative;
}

/* --- ENCABEZADO: LOGO, MENÚ Y RELOJ --- */
nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid rgba(100, 255, 218, 0.3);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

#menu {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
}

#menu a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.85rem !important;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.3s;
}

#menu a:hover {
    color: var(--cian-tech) !important;
    text-shadow: 0 0 10px var(--cian-tech);
}

/* --- RELOJ DIGITAL TÉCNICO --- */
#txt {
    font-family: 'Courier New', monospace !important;
    color: var(--cian-tech) !important;
    font-size: 1.4rem !important;
    font-weight: bold !important;
    background: rgba(0, 0, 0, 0.6) !important;
    padding: 8px 15px !important;
    border-radius: 6px;
    border: 1px solid rgba(100, 255, 218, 0.4) !important;
    text-shadow: 0 0 10px var(--cian-tech);
    letter-spacing: 2px;
}

/* --- SECCIÓN DE CONTENIDO --- */
.titulo-principal {
    color: var(--cian-tech);
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.panel-alerta {
    border-left: 5px solid var(--amarillo-alerta);
    background: rgba(243, 216, 9, 0.05);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 10px 10px 0;
}

.pregunta-seccion {
    text-align: center;
    margin: 35px 0;
}

/* --- BOTONES SÍ / NO --- */
button {
    background: transparent;
    border: 2px solid var(--cian-tech);
    color: var(--cian-tech);
    padding: 12px 45px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.4s;
    margin: 10px;
    text-transform: uppercase;
}

button:hover {
    background: var(--cian-tech);
    color: var(--azul-fondo);
    box-shadow: 0 0 20px var(--cian-tech);
}

/* --- VIDEO --- */
video {
    max-width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(100, 255, 218, 0.3);
}

/* --- UBICACIÓN FIJA AL PISO (SIN SCROLL) --- */
footer {
    position: fixed;
    bottom: 15px;
    width: 100%;
    text-align: center;
    z-index: 100;
    pointer-events: none;
}

.ubicacion-patagonica {
    background: rgba(10, 25, 47, 0.8);
    padding: 6px 20px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(100, 255, 218, 0.2);
    display: inline-block;
    color: var(--cian-tech);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 8px rgba(100, 255, 218, 0.5);
    pointer-events: auto;
}

/* --- AJUSTES PARA CELULARES --- */

@media (max-width: 600px) {
    body {
        align-items: flex-start !important; 
        padding-top: 20px !important;
    }

    .contenedor {
        padding: 15px !important;
        margin: 10px !important;
        width: 90% !important;
    }
    
    nav {
        flex-direction: column !important;
        gap: 12px !important;
        border-bottom: 1px solid rgba(100, 255, 218, 0.2);
    }
    
    #menu {
        flex-direction: column !important;
        gap: 12px !important;
        text-align: center !important;
    }

    #menu img {
        width: 100px !important; 
        height: auto !important;
    }

    #menu a {
        font-size: 0.75rem !important;
        letter-spacing: 2px !important;
    }

    #txt {
        font-size: 1.1rem !important;
        padding: 6px 12px !important;
        margin-top: 5px !important;
    }

    .titulo-principal {
        font-size: 1.3rem !important;
    }

    button {
        padding: 12px 20px !important;
        width: 90% !important;
        font-size: 1rem !important;
    }

    footer {
        position: relative !important;
        bottom: 0 !important;
        margin-top: 20px !important;
        padding-bottom: 20px !important;
    }
}







.btn-hoja-ruta-final {
    background: rgba(243, 216, 9, 0.1) !important; /* Un toque del amarillo alerta */
    border: 1px solid var(--amarillo-alerta) !important;
    color: var(--amarillo-alerta) !important;
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(243, 216, 9, 0.2);
}

.btn-hoja-ruta-final:hover {
    background: var(--amarillo-alerta) !important;
    color: #000 !important;
    box-shadow: 0 0 20px var(--amarillo-alerta);
}