body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #87CEEB;
    font-family: Arial, sans-serif;
    user-select: none;
}

#game-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.balloon {
    position: absolute;
    cursor: pointer;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.balloon:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background-color: inherit;
    border-radius: 50%;
    transform: translateX(-50%);
}

.pop {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.7;
    animation: popAnim 0.3s ease-out forwards;
}

@keyframes popAnim {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(2); opacity: 0; }
}

#score-display {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 20px;
    z-index: 100;
}

#start-screen, #end-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 200;
}

#end-screen {
    display: none;
}

h1 {
    color: white;
    font-size: 48px;
    margin-bottom: 30px;
    text-align: center;
}

button {
    background-color: #FF6B6B;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 24px;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 20px;
}

button:hover {
    background-color: #FF5252;
}

.instruction {
    color: white;
    font-size: 20px;
    margin-top: 20px;
    text-align: center;
    max-width: 80%;
}

#final-score {
    color: white;
    font-size: 36px;
    margin-bottom: 20px;
}