body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #87CEFA;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    transition: background 1s;
}

body.playing {
    background-color: #FFD700;
    animation: backgroundAnim 2s infinite;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.happy-gum {
    width: 200px;
    height: auto;
    margin-right: 20px;
    animation: bounce 1s infinite;
}

button {
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    background-color: #FF69B4;
    border: none;
    border-radius: 5px;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-right: 20px;
}

button:hover {
    background-color: #FF1493;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

@keyframes backgroundAnim {
    0%, 100% {
        background-color: #FFD700;
    }
    50% {
        background-color: #FF4500;
    }
}

#countdown {
    font-size: 18px;
    margin-top: 20px;
}
