body {
    text-align: center;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

/* Title */
h1 {
    font-family: 'Times New Roman', Times, serif;
    color: #333;
}

/* Game container */
#game {
    background: white;
    padding: 25px;
    width: 350px;
    margin: 50px auto;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

/* Instructions block */
#instructions {
    text-align: left;
    width: 80%;
    margin: 20px auto;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

#instructions h2 {
    text-align: center;
}

/* Mode buttons */
#modeBox {
    text-align: center;
    margin-top: 15px;
}

#playBtn, #learnBtn {
    background-color: #37474F;
    color: white;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    margin: 5px;
    transition: all 0.3s ease;
}

#playBtn:hover, #learnBtn:hover {
    background-color: #263238;
    transform: scale(1.05);
}

/* Selected glow */
.activeMode {
    transform: scale(1.08);
    box-shadow: 0 0 10px rgba(55, 71, 79, 0.6),
                0 0 20px rgba(55, 71, 79, 0.4);
}

/* Start button */
#startBtn {
    background-color: #37474F;
    color: white;
    font-size: 16px;
    padding: 15px 25px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    display: block;
    width: 80%;
    margin: 20px auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

#startBtn:hover {
    background-color: #263238;
    transform: scale(1.08);
}

#startBtn:active {
    transform: scale(0.95);
}

/* Disabled */
#startBtn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Question */
#question {
    font-size: 22px;
    font-weight: bold;
    margin: 20px 0;
}

/* Options */
#options button {
    display: block;
    margin: 10px auto;
    width: 80%;
    font-size: 16px;
    padding: 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    color: white;
    background-color: #37474F;
    transition: 0.2s;
}

#options button:hover {
    background-color: #263238;
    transform: scale(1.05);
}

#options button:active {
    transform: scale(0.95);
}

/* Next button */
#nextBtn {
    background-color: #37474F;
    color: white;
    font-size: 16px;
    padding: 12px 25px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: block;
    width: 80%;
    margin: 20px auto;
}

#nextBtn:hover {
    background-color: #263238;
    transform: scale(1.05);
}

/* Feedback */
.correct {
    background-color: #4CAF50 !important;
}

.wrong {
    background-color: #f44336 !important;
}

/* Text info */
#result {
    font-weight: bold;
    margin-top: 10px;
}

#questionNumber, #level, #scoreBox, #timer {
    font-weight: bold;
    margin: 5px 0;
}

/* End screen */
#endScreen {
    margin-top: 20px;
}

#endScreen button {
    margin: 10px;
}
/* MODE BUTTONS */
.modeBtn {
    display: block;
    margin: 10px auto;
    width: 80%;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background-color: #37474F;
    color: white;
    transition: 0.3s;
}

.modeBtn:hover {
    background-color: #263238;
}

/* SELECTED MODE GLOW */
.modeSelected {
    background-color: #263238 !important;
    box-shadow: 0 0 15px rgba(255,255,255,0.6);
    transform: scale(1.05);
}

/* DISABLED START BUTTON */
#startBtn:disabled {
    background-color: #888;
    cursor: not-allowed;
    box-shadow: none;
}
