body {
    font-family: 'Luckiest Guy', cursive;
    background-color: #a0e9ff;
    background-image: url('background.png');
    background-size: cover;
    color: #0b3d91;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    text-align: center;
    user-select: none;
}

#game-container {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 20px 40px;
    border-radius: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 800px;
    border: 5px solid #fff;
}

h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #ff6347;
    text-shadow: 3px 3px 0 #fff, 6px 6px 0 #0b3d91;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

#difficulty-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-btn, .option-btn, #back-to-menu, .difficulty-btn {
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.5rem;
    padding: 15px 30px;
    margin: 10px;
    border-radius: 15px;
    border: 3px solid #0b3d91;
    background-color: #ffd700;
    color: #0b3d91;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 5px 0 #c7a300;
}

.menu-btn:hover, .option-btn:hover, #back-to-menu:hover, .difficulty-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 0 #c7a300;
}

.menu-btn:active, .option-btn:active, #back-to-menu:active, .difficulty-btn:active {
    transform: translateY(2px);
    box-shadow: 0 3px 0 #c7a300;
}

.hidden {
    display: none;
}

#header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#score-board, #timer {
    font-size: 2rem;
    background-color: #ff6347;
    color: white;
    padding: 10px 20px;
    border-radius: 15px;
    border: 3px solid #fff;
    box-shadow: 0 4px 0 #c34b35;
}

#back-to-menu, #back-to-main-menu {
    font-size: 1rem;
    padding: 10px 20px;
}

#back-to-main-menu {
    margin-top: 15px;
}

#question-container {
    font-size: 2.5rem;
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border-radius: 20px;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

#question-container img {
    width: 60px;
    height: 60px;
}

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

.option-btn {
    background-color: #4CAF50;
    color: white;
    box-shadow: 0 5px 0 #388E3C;
}

.option-btn:hover {
    box-shadow: 0 8px 0 #388E3C;
}

.option-btn:active {
    box-shadow: 0 3px 0 #388E3C;
}

#feedback-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#feedback-modal.hidden {
    display: none;
    pointer-events: none;
}

#feedback-text {
    font-size: 5rem;
    padding: 40px 80px;
    border-radius: 30px;
    color: white;
    text-shadow: 4px 4px 0 #000;
    transform: rotate(-5deg);
    animation: pop-in 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

#feedback-text.correct {
    background-color: #4CAF50;
}

#feedback-text.incorrect {
    background-color: #f44336;
}

@keyframes pop-in {
    0% {
        transform: scale(0.1) rotate(0deg);
    }
    100% {
        transform: scale(1) rotate(-5deg);
    }
}