/* Estilos específicos para el juego "Aprende los Números" */

#range-selection-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

#range-buttons-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
}

#range-buttons-container button {
    padding: 15px 25px;
    font-size: 1.2em;
    color: black;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#range-buttons-container button:hover {
    opacity: 0.9;
}

#range-buttons-container button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#range-buttons-container button.completed::after {
    content: ' ✔️';
    color: green;
}

#options-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

#options-container .option-button {
    flex: 1 1 calc(33% - 20px);
    max-width: 180px;
    margin: 10px;
    font-size: 1.5em;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#options-container .option-button:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

#back-to-ranges-button {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 10px;
    font-size: 0.8em;
    background-color: #6c757d;
    color: white;
    border-radius: 5px;
    text-decoration: none;
}

#back-to-ranges-button:hover {
    background-color: #5a6268;
}

/* Animaciones de feedback */
.correct-animation {
    animation: correct-feedback 0.5s ease-out;
}

.incorrect-animation {
    animation: incorrect-feedback 0.5s ease-out;
}

@keyframes correct-feedback {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes incorrect-feedback {
    0% { transform: scale(1); }
    50% { transform: scale(0.9); }
    100% { transform: scale(1); }
}
