html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #000000 url('img/fondo.jpg') no-repeat center center fixed; /* Cambia la imagen o quita esta línea si no hay fondo */
    background-size: cover;
    color: #ffffff;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.logo-container {
    margin: 30px 0;
}

.logo {
    max-width: 200px;
    height: auto;
}

.titulo-registro {
    font-size: 24px;
    margin-bottom: 20px;
    color: #ffffff;
}

.form-container {
    background: rgba(255,255,255,0.2); /* Blanco semi-transparente */
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    color: #ffffff; /* Texto blanco */
}

.form-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #ffffff;
}

.form-container input[type="text"],
.form-container input[type="email"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    background: rgba(255,255,255,0.8);
    color: #000000;
    font-size: 14px;
}

.terminos-condiciones {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.terminos-condiciones input[type="checkbox"] {
    margin-right: 5px;
}

.terminos-condiciones a {
    color: #ffffff;
    text-decoration: underline;
    cursor: pointer;
}

.btn-iniciar {
    background: #1E88E5;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-iniciar:hover {
    background: #1565C0;
}

/* Estilos del modal de términos */
.modal {
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background-color: #2c2c2c;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    color: #ffffff;
    position: relative;
}

.close {
    color: #ffffff;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* Estilo de las preguntas */
#pregunta-contenedor {
    background: rgba(255,255,255,0.2);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    display: none;

}

.pregunta {
    font-size: 22px;
    margin-bottom: 20px;
    color: #ffffff;
}

.opciones {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.opcion-btn {
    background: linear-gradient(to bottom, #b0bec5, #1E88E5); 
    border: none;
    border-radius: 20px;
    padding: 10px;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s ease;
}

.opcion-btn:hover {
    /* No marcamos correcto/incorrecto en hover, solo un leve efecto */
    background: linear-gradient(to bottom, #90a4ae, #1565C0);
}

/* Mensajes finales */
#mensaje h2, #mensaje h3 {
    color: #ffffff;
    text-align: center;
}

/* Ajustes responsivos */
@media (max-width: 600px) {
    .form-container, #pregunta-contenedor {
        padding: 15px;
    }
    .pregunta {
        font-size: 18px;
    }
    .opcion-btn {
        font-size: 14px;
    }
}
