:root {
    --primary-color: #8B4513;
    --secondary-color: #DAA520;
    --accent-color: #CD853F;
    --background-color: #FFF8DC;
    --text-color: #4A4A4A;
}

.juego-section {
    padding: 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.niveles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.nivel {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nivel:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.nivel h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.nivel-info {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
    font-size: 1.1rem;
}

.jugar-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
}

.jugar-btn:hover {
    background-color: #2980b9;
    transform: scale(1.05);
}

/* Estilos para el contenedor de preguntas */
.pregunta-container {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 2rem auto;
    max-width: 800px;
}

.progreso-nivel {
    margin-bottom: 1.5rem;
    text-align: center;
}

.barra-progreso {
    background-color: #eee;
    border-radius: 10px;
    height: 10px;
    margin: 1rem 0;
    overflow: hidden;
}

.progreso {
    background-color: #3498db;
    height: 100%;
    transition: width 0.3s ease;
}

.pregunta-titulo {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.pregunta {
    font-size: 1.3rem;
    color: #34495e;
    margin-bottom: 2rem;
}

.opciones-container {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.opcion-btn {
    background-color: #ffffff;
    border: 2px solid #3498db;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.opcion-btn:hover {
    background-color: #f0f7fc;
    transform: translateX(5px);
}

.opcion-texto {
    flex: 1;
    text-align: left;
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 500;
}

.opcion-letra {
    background-color: #3498db;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: bold;
}

.opcion-texto {
    flex: 1;
    text-align: left;
    font-size: 1.1rem;
}

.info-juego {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.puntuacion-actual, .tiempo-restante {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
}

/* Estilos para la retroalimentación */
.retroalimentacion {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    max-width: 600px;
    margin: 2rem auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.retroalimentacion.correcta {
    border-left: 5px solid #2ecc71;
}

.retroalimentacion.incorrecta {
    border-left: 5px solid #e74c3c;
}

.resultado-icono {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.explicacion-container {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.referencia-biblica {
    color: #7f8c8d;
    margin-top: 1rem;
    font-style: italic;
}

.puntos-ganados {
    font-size: 1.2rem;
    margin: 1rem 0;
    color: #2c3e50;
}

/* Animaciones */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.puntajes-section {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem auto;
    max-width: 1200px;
}

.puntajes-section h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.puntajes-tabla {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.reiniciar-puntajes-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.reiniciar-puntajes-btn:hover {
    background-color: #c0392b;
    transform: scale(1.05);
}

/* Estilos para medallas y logros */
.medalla {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.5rem;
    background-color: var(--secondary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .niveles-container {
        grid-template-columns: 1fr;
    }

    .juego-section h2 {
        font-size: 2rem;
    }

    .nivel {
        margin-bottom: 1rem;
    }
}