/* General Setup */
body {
    font-family: 'Arial', sans-serif;
    background-color: #fce4ec; /* Light Pink Background */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

/* Quiz Container - Mobile Ready */
#quiz-container {
    background-color: #ffffff;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 450px; /* Max width for mobile-first feel */
    padding: 20px;
    text-align: center;
    border: 8px solid #ffab91; /* Orange border */
}

/* Header Styling (No changes) */
#quiz-header h1 {
    color: #4a148c; /* Deep Purple */
    font-size: 1.8em;
    margin-bottom: 5px;
}

#quiz-header p {
    color: #888;
    font-size: 1em;
    margin-bottom: 20px;
}

/* Question Area */
#question-area {
    min-height: 100px;
    background-color: #e1bee7; /* Light Purple */
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Question Prompt Styling (for the speaker button) */
.question-prompt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between text and button */
}

#question-text {
    font-size: 1.5em;
    font-weight: bold;
    color: #311b92; /* Darker Purple */
    margin: 5px 0;
}

#visual-question-content {
    font-size: 3em; /* Large emojis for visibility */
    margin-top: 10px;
}

/* Speaker/Action Button Styling */
.action-btn {
    background: none;
    border: none;
    font-size: 2em;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: transform 0.1s;
}

.action-btn:hover {
    transform: scale(1.1);
}

/* Answer Options Grid (No changes) */
#answer-options {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns for 4 choices */
    gap: 15px;
    margin-bottom: 20px;
}

/* Answer Button Styling (No changes) */
.answer-btn {
    padding: 15px 10px;
    font-size: 2em; /* Large emoji size */
    background-color: #fff9c4; /* Light Yellow */
    border: 4px solid #ffd54f; /* Yellow Border */
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none; /* Prevent text selection */
    line-height: 1; /* Helps with emoji alignment */
}

.answer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Feedback Styles (Correct/Incorrect) - No changes */
.correct {
    background-color: #a5d6a7 !important; /* Light Green */
    border-color: #43a047 !important; /* Dark Green */
    animation: pulse-correct 0.3s 3;
}

.incorrect {
    background-color: #ef9a9a !important; /* Light Red */
    border-color: #e53935 !important; /* Dark Red */
}

/* Feedback Area - Centering the Next Button */
#feedback-area {
    display: flex;
    flex-direction: column;
    align-items: center; /* This centers the next button horizontally */
}

#feedback-message {
    font-weight: bold;
    font-size: 1.4em;
    min-height: 25px;
    margin-bottom: 10px;
}

/* Next Button (No major changes, centering handled by #feedback-area) */
#next-button {
    background-color: #00bcd4; /* Cyan */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1.1em;
    cursor: pointer;
    box-shadow: 0 4px #00838f; /* Darker Cyan shadow */
}

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

/* Keyframe for "Max-style" animation */
@keyframes pulse-correct {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}