body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

#status {
    font-size: 10vw;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    z-index: 10;
}

.rainbow {
    background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


#effects-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.balloon {
    position: absolute;
    bottom: -100px;
    width: 40px;
    height: 50px;
    border-radius: 50%;
    opacity: 0.8;
    animation: rise 5s linear infinite;
}

.balloon::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 15px;
    background: #333;
}

@keyframes rise {
    0% { transform: translateY(0) translateX(0) rotate(0deg); }
    25% { transform: translateY(-30vh) translateX(15px) rotate(5deg); }
    50% { transform: translateY(-60vh) translateX(-15px) rotate(-5deg); }
    75% { transform: translateY(-90vh) translateX(10px) rotate(3deg); }
    100% { transform: translateY(-120vh) translateX(0) rotate(20deg); }
}

.confetti {
    position: absolute;
    top: -10px;
    width: 10px;
    height: 10px;
    opacity: 0.8;
    animation: fall 3s linear infinite;
}

@keyframes fall {
    0% { transform: translateY(0) translateX(0) rotate(0deg); }
    25% { transform: translateY(27.5vh) translateX(15px) rotate(180deg); }
    50% { transform: translateY(55vh) translateX(-15px) rotate(360deg); }
    75% { transform: translateY(82.5vh) translateX(10px) rotate(540deg); }
    100% { transform: translateY(110vh) translateX(0) rotate(720deg); }
}

#celebrate-button {
    padding: 15px 30px;
    font-size: 24pt;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    z-index: 20;
    transition: background-color 0.3s;
}

#celebrate-button:hover {
    background-color: #45a049;
}

#cry-button {
    padding: 15px 30px;
    font-size: 24pt;
    background-color: #607D8B;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    z-index: 20;
    transition: background-color 0.3s;
    margin-left: 10px;
}

#cry-button:hover {
    background-color: #546E7A;
}

.raindrop {
    position: absolute;
    top: -20px;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, transparent, rgba(174, 194, 224, 0.8));
    animation: rain-fall linear infinite;
}

@keyframes rain-fall {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(110vh); opacity: 0.3; }
}

#preview-button {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: 1px solid white;
    cursor: pointer;
    border-radius: 5px;
}

#preview-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
