/* fireworks.css */
#fireworks-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

#fireworks-container.visible {
    opacity: 1;
}

.firework {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: #fff;
    border-radius: 50%;
    opacity: 1;
    animation: launch 1s ease-out forwards;
}

@keyframes launch {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-200px) scale(0);
        opacity: 0;
    }
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    opacity: 1;
    background-color: var(--color);
    animation: explode 1s ease-out forwards;
}

@keyframes explode {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--x), var(--y)) scale(0);
        opacity: 0;
    }
}

#new-year-message {
    color: white;
    font-size: 3em;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    opacity: 0;
    transform: scale(0.5);
    animation: message-appear 2s forwards;
    animation-delay: 1s;
}

#additional-message {
    color: white;
    font-size: 1.5em;
    text-align: center;
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
    opacity: 0;
    transform: scale(0.5);
    animation: message-appear 2s forwards;
    animation-delay: 2s;
}

@keyframes message-appear {
    to {
        opacity: 1;
        transform: scale(1);
    }
}
