body {
    font-family: 'Fredoka One', cursive;
    background-color: #87CEEB; /* Sky Blue */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: #333;
}

#game-container {
    background-color: #fff;
    padding: 20px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    text-align: center;
    width: 90%;
    max-width: 500px;
}

h1 {
    color: #FF6347; /* Tomato */
    font-size: 2.5em;
    margin-bottom: 10px;
}

#progress-container {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 5px;
}

#score-container {
    font-size: 1.5em;
    color: #4682B4; /* SteelBlue */
    margin-bottom: 20px;
}

#image-container {
    margin: 20px 0;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#word-image {
    max-width: 100%;
    max-height: 200px;
    border-radius: 15px;
    border: 5px solid #FFD700; /* Gold */
}

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

.option-button {
    width: 70px;
    height: 70px;
    font-size: 2.5em;
    font-family: 'Fredoka One', cursive;
    cursor: pointer;
    border: none;
    border-radius: 15px;
    background-color: #FFA500; /* Orange */
    color: white;
    box-shadow: 0 5px 0 #CD853F; /* Peru */
    transition: all 0.1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 5px; /* Adjust vertical centering */
}

.option-button:hover {
    background-color: #FFC04D;
}

.option-button:active {
    transform: translateY(5px);
    box-shadow: 0 2px 0 #CD853F;
}

.option-button.correct {
    background-color: #32CD32; /* LimeGreen */
    box-shadow: 0 5px 0 #228B22; /* ForestGreen */
}

.option-button.incorrect {
    background-color: #DC143C; /* Crimson */
    box-shadow: 0 5px 0 #8B0000; /* DarkRed */
}

#feedback-container {
    margin-bottom: 20px;
    font-size: 1.8em;
    min-height: 30px;
}

#feedback-container.correct {
    color: #32CD32;
}

#feedback-container.incorrect {
    color: #DC143C;
}

#next-button {
    margin-top: 10px;
    padding: 15px 30px;
    font-size: 1.2em;
    font-family: 'Fredoka One', cursive;
    cursor: pointer;
    border: none;
    border-radius: 10px;
    background-color: #4682B4;
    color: white;
    box-shadow: 0 5px 0 #2c577c;
    transition: all 0.1s ease-in-out;
}

#next-button:hover {
    background-color: #5a9bd1;
}

#next-button:active {
    transform: translateY(5px);
    box-shadow: 0 2px 0 #2c577c;
}

.hidden {
    display: none;
}


/* Modal Styles */
#game-over-modal, #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;
}

#game-over-modal.hidden, #feedback-modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    font-size: 1.5em;
}

.modal-content h2 {
    color: #FF6347;
    font-size: 2em;
}

#restart-button {
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 1em;
    font-family: 'Fredoka One', cursive;
    cursor: pointer;
    border: none;
    border-radius: 10px;
    background-color: #32CD32;
    color: white;
    box-shadow: 0 5px 0 #228B22;
}