.game-section {
    background: #0a0a0f;
    color: #e0f7fa;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.math-container {
    background: rgba(0, 246, 255, 0.07);
    border: 2px solid #00f6ff;
    border-radius: 16px;
    padding: 2rem 2.5rem;
    box-shadow: 0 4px 24px rgba(0,246,255,0.08);
    text-align: center;
    min-width: 350px;
    min-height: 400px;
    position: relative;
}

#math-problem {
    font-size: 2rem;
    color: #00f6ff;
    font-weight: bold;
    margin-bottom: 1rem;
}

#math-input {
    width: 80%;
    padding: 0.7rem;
    border-radius: 8px;
    border: 1px solid #00f6ff;
    background: #11131a;
    color: #e0f7fa;
    font-size: 1.1rem;
    outline: none;
    margin-bottom: 1rem;
    text-align: center;
}
#math-input::-webkit-outer-spin-button,
#math-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
#math-input[type=number] {
    -moz-appearance: textfield;
}

#timer {
    font-size: 1.3rem;
    color: #fff176;
    margin-bottom: 1rem;
}

#score, #high-score {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

#game-over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #0a0a0fdd;
    color: #fff;
    padding: 2rem 3rem;
    border-radius: 12px;
    font-size: 1.3rem;
    z-index: 10;
}

.hidden {
    display: none;
}