body {
    margin: 0;
    height: 100vh;
    background: #fff;
    overflow: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #000;
}

.text {
    text-align: center;
    z-index: 1;
}

h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

p {
    font-size: 2em;
    margin-top: 0;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.fireworks {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: riseAndExplode 2s ease-out infinite;
    bottom: -10px;
    transform-origin: center;
    --explosion-height: -60vh;
}

.fireworks::before,
.fireworks::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    border-radius: 50%;
    opacity: 0;
    animation: explodeParticles 1s ease-out infinite;
    animation-delay: 1s;
}

@keyframes riseAndExplode {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(var(--explosion-height)) scale(1.5);
        opacity: 1;
    }
    60% {
        transform: translateY(var(--explosion-height)) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translateY(var(--explosion-height)) scale(40);
        opacity: 0;
    }
}

@keyframes explodeParticles {
    0% {
        transform: rotate(0deg) translateX(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: rotate(360deg) translateX(200px) scale(0);
        opacity: 0;
    }
}

.fireworks:nth-child(n)::before { background: #ff0; }
.fireworks:nth-child(n)::after { background: #ff4; }
.fireworks:nth-child(n)::before { background: #f0f; }
.fireworks:nth-child(n)::after { background: #f4f; }
.fireworks:nth-child(n)::before { background: #0ff; }
.fireworks:nth-child(n)::after { background: #4ff; }
.fireworks:nth-child(n)::before { background: #f55; }
.fireworks:nth-child(n)::after { background: #f99; }
.fireworks:nth-child(n)::before { background: #5f5; }
.fireworks:nth-child(n)::after { background: #9f9; }
.fireworks:nth-child(n)::before { background: #55f; }
.fireworks:nth-child(n)::after { background: #99f; }
.fireworks:nth-child(n)::before { background: #ff5; }
.fireworks:nth-child(n)::after { background: #ff9; } 