.warning-overlay {
    position: fixed; /* Esto hace que flote sobre TODO */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95); /* Negro casi total */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* Prioridad máxima de proceso */
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
}

/* Cuando esta clase se activa desde JS o HTML */
.warning-overlay.active {
    visibility: visible;
    opacity: 1;
}

.warning-content {
    text-align: center;
    border: 5px solid #ff0000; /* Rojo puro */
    padding: 50px;
    box-shadow: 0 0 50px #ff0000; /* Brillo neón */
    background: #1a0000;
}

.warning-icon {
    font-size: 100px;
    color: #ff0000;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px #ff0000); /* Brillo al icono */
}

.warning-text {
    color: #ff0000;
    font-size: 45px;
    text-shadow: 0 0 20px #ff0000; /* Texto fosforescente */
}/* ... (resto del código anterior) ... */

.warning-message {
    color: #ffffff; /* CAMBIO AQUÍ: Texto en blanco puro */
    font-size: 1.3em;
    line-height: 1.5;
    margin-bottom: 30px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5); /* Sombra suave para mejorar lectura */
}

/* Asegúrate de que el contenedor tenga el fondo oscuro correcto */
.warning-content {
    background-color: #1a0000; 
    border: 3px solid #ff0000;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 0 50px rgba(255, 0, 0, 0.8);
    max-width: 600px;
    width: 90%;
}

/* ... (resto del código del botón y la animación) ... */