/* Game styles */
.game-status {
    margin-top: 20px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.game-status p {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: inherit;
}

#inputArea {
    margin-top: 15px;
}

#inputArea p {
    margin-bottom: 15px;
    font-weight: 500;
}

.user-answer {
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.answer-placeholder {
    color: rgba(0, 0, 0, 0.6);
    font-style: italic;
    font-size: 16px;
}

.answer-digit {
    display: inline-block;
    color: inherit;
    font-size: 18px;
    font-weight: bold;
    margin: 0 5px;
}



.clear-btn, .check-btn {
    padding: 8px 16px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.9);
    color: inherit;
    width: 100%;
    height: 50px;
}

.clear-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.3);
}

.check-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.3);
}

.result {
    position:absolute;
    top: 31%;
    left: 50%;
    width:70%;
    transform: translateX(-50%) translateY(-50%);
    margin-top: 15px;
    padding: 30px 25px;
    border-radius: 4px;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.result.success {
    background-color: rgb(209, 221, 209);
    color: inherit;
    border-color: rgba(0, 255, 0, 0.3);
}

.result.error {
    background-color: rgb(198, 147, 147);
    color: inherit;
    border-color: rgba(255, 0, 0, 0.3);
}

/* Game Statistics */
.game-stats {
    margin-top: 20px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    backdrop-filter: blur(10px);
}

.game-stats h3 {
    margin: 0 0 15px 0;
    color: white;
    font-size: 18px;
}

.stats-display {
    font-size: 24px;
    font-weight: bold;
    color: inherit;
}

.correct-count {
    color: inherit;
}

.total-count {
    color: inherit;
}

.hasi:disabled {
    background-color: rgba(0, 0, 0, 0.3);
    cursor: not-allowed;
}

/* Existing styles for the game layout */
.jokoa-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.jokoa {
    position:relative;
    margin-top: 30px;
}

.zenbakiak {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    transition: opacity 0.3s ease-in-out;
}

.zenbakia {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.9);
    color: inherit;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.zenbakia:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.4);
    transform: scale(1.1);
}

.zenbakia:active {
    transform: scale(0.95);
}

.zenbakia.game-active {
    background-color: rgba(170, 170, 170, 0.2);
    color: inherit;
}

.zenbakia.game-active:hover {
    background-color: rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.buttons {
    text-align: center;
}

.hasi {
    padding: 15px 30px;
    background-color: rgba(0, 0, 0, 0.8);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.hasi:hover:not(:disabled) {
    background-color: rgba(0, 0, 0, 0.9);
    border-color: rgba(0, 0, 0, 0.5);
}
