body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f8ff; /* Light sky blue */
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    padding: 30px 40px;
    max-width: 800px;
    width: 100%;
    text-align: center;
    border: 5px solid #6c5ce7; /* Purple border */
}

h1 {
    color: #6c5ce7; /* Purple */
    font-size: 2.5em;
    margin-bottom: 20px;
}

h2 {
    color: #4a4a4a;
    font-size: 1.8em;
    margin-bottom: 25px;
}

h3 {
    color: #2d3436;
    margin-top: 30px;
    margin-bottom: 15px;
}

.question-image-container {
    margin: 20px 0;
    max-height: 250px; /* Limit image height */
    overflow: hidden; /* Hide overflow if image is too tall */
    display: flex;
    justify-content: center;
    align-items: center;
}

#question-image {
    max-width: 100%;
    max-height: 250px;
    border-radius: 10px;
    border: 2px solid #a29bfe; /* Light purple border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.option-button {
    background-color: #a29bfe; /* Light purple */
    color: white;
    border: none;
    border-radius: 10px;
    padding: 15px 25px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.option-button:hover {
    background-color: #6c5ce7; /* Darker purple on hover */
    transform: translateY(-3px);
}

.option-button:active {
    background-color: #4834d4;
    transform: translateY(0);
}

#sticker-display {
    margin-top: 40px;
    border-top: 2px dashed #dfe6e9;
    padding-top: 20px;
}

#stickers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    min-height: 50px; /* Ensure some height even if no stickers */
}

.sticker {
    width: 50px;
    height: 50px;
    background-color: #ffeaa7; /* Yellow sticker background */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    color: #fdcb6e; /* Darker yellow star */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: rotate(5deg); /* Slightly rotate for fun */
}

.sticker:nth-child(even) {
    transform: rotate(-5deg); /* Alternate rotation */
}


#win-message, #end-message {
    margin-top: 40px;
    padding: 30px;
    background-color: #d0edcc; /* Light green for win */
    border-radius: 15px;
    border: 3px solid #4CAF50; /* Green border */
    color: #333;
    font-size: 1.5em;
}

#win-message h2, #end-message h2 {
    color: #28a745; /* Darker green for win message */
    margin-bottom: 20px;
}

#win-message button, #end-message button {
    background-color: #4CAF50; /* Green button */
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-size: 1.1em;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

#win-message button:hover, #end-message button:hover {
    background-color: #45a049;
}

.hidden {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .container {
        padding: 20px 25px;
    }
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.5em;
    }
    .option-button {
        font-size: 1em;
        padding: 12px 20px;
    }
    .options-grid {
        grid-template-columns: 1fr; /* Stack buttons on small screens */
    }
    .sticker {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }
}

