body {
    font-family: 'Inter', Arial, sans-serif; /* Usando Inter como se recomienda */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #EBE9D5;
    margin: 0;
    padding: 20px; /* Añadir padding para móvil */
    box-sizing: border-box; /* Incluir padding en el tamaño total */
}

.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
}
.container1 {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
	background-color: #EBE9D5;
}
h1 {
    color: #a710ab;
    margin-bottom: 20px;
}

.rosco-selection {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.rosco-selection label {
    font-size: 1.1em;
    color: #555;
}

.rosco-selection select {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 1em;
    width: 100%;
    max-width: 250px;
}

.rosco-selection button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    background-color: #6c757d;
    color: white;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.rosco-selection button:hover {
    background-color: #5a6268;
}

.pasapalabra-game {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.rosco-container {
    width: 300px;
    height: 300px;
    border: 3px solid #ccc;
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    flex-shrink: 0; /* Evitar que se encoja en pantallas pequeñas */
}

.rosco {
    width: 100%;
    height: 100%;
    position: relative;
}

.letter {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: #4CAF50; /* Verde por defecto */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2em;
    transform-origin: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.letter.correct {
    background-color: #28a745; /* Verde oscuro para correctas */
}

.letter.incorrect {
    background-color: #dc3545; /* Rojo para incorrectas */
}

.game-info {
    width: 100%;
    max-width: 500px;
}

.question {
    font-size: 1.4em;
    margin-bottom: 20px;
    min-height: 60px; /* Para evitar saltos de diseño */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #112cef;
}

/* Estilos para los botones de opción */
.options-container {
    display: flex;
    flex-direction: column; /* Apilar los botones verticalmente */
    gap: 10px; /* Espacio entre los botones */
    margin-bottom: 20px;
}

.option-button {
    padding: 12px 20px;
    font-size: 1.1em;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f8f8f8;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    width: 100%; /* Ocupar todo el ancho disponible */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.option-button:hover:not(:disabled) {
    background-color: #e9e9e9;
    border-color: #aaa;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.option-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.option-button.correct-feedback {
    background-color: #28a745; /* Verde para la respuesta correcta */
    color: white;
    border-color: #218838;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.option-button.incorrect-feedback {
    background-color: #dc3545; /* Rojo para la respuesta incorrecta */
    color: white;
    border-color: #c82333;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}


.buttons button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#passButton {
    background-color: #ffc107;
    color: #333;
}

#passButton:hover {
    background-color: #e0a800;
}

#startButton {
    background-color: #007bff; /* Cambiado a azul para el botón principal */
    color: white;
}

#startButton:hover {
    background-color: #0056b3;
}

.score, .timer, .message {
    margin-top: 15px;
    font-size: 1.2em;
    font-weight: bold;
    color: #444;
}

.message {
    color: #007bff; /* Azul para mensajes informativos */
    min-height: 25px; /* Para evitar saltos */
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .pasapalabra-game {
        flex-direction: row; /* Layout horizontal en pantallas más grandes */
        justify-content: center;
    }

    .rosco-container {
        margin-right: 40px;
        margin-bottom: 0;
    }

    .game-info {
        max-width: 450px;
    }

    .rosco-selection {
        flex-direction: row;
        gap: 15px;
    }
}
