.pulse {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.stars i
{
    position: absolute;
    top: 10px;
    background: rgba(255,255,255,0.5);
    filter: blur(0.5px);
    animation: animateStars linear infinite;
    pointer-events: none;
    z-index: -5;
}

@keyframes animateStars {
    0% {
        transform: translateY(0); /* Le righe iniziano dalla loro posizione generata */
        opacity: 0; /* Fanno un fade-in all'inizio */
    }
    10% {
        opacity: 0.3; /* Piena opacità */
    }
    90% {
        opacity: 0.3; /* Piena opacità */
    }
    100% {
        transform: translateY(82vh); /* Usa un valore vh più grande per sicurezza */
        opacity: 0;
    }

}


.pulse-waves {
    position: absolute;
    /* Spostato più in basso: aumenta il valore di bottom */
    bottom: -10px; /* Era 20px, ora a -10px, per posizionarlo leggermente sotto il bordo */
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pulse-waves span {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(180, 150, 255, 0.3);
    border-radius: 50%;
    display: inline-block;
    /* Rallenta l'animazione: aumenta la durata */
    animation: animate_rocket 4s linear infinite; /* Era 2.5s, ora 4s */
    animation-delay: calc(-0.8s * var(--i)); /* Adegua il delay se la durata cambia */
    opacity: 0.2;
}

@keyframes animate_rocket {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    90% {
        transform: scale(12.5);
    }
    100% {
        transform: scale(15);
        opacity: 0;
    }
}

.rocket-container {
    position: absolute;
    /* Spostato più in basso: aumenta il valore di bottom */
    bottom: 0px; /* Era 30px, ora 0px, per posizionarlo leggermente più in basso */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 1;
    pointer-events: auto;
}

.rocket {
    position: relative;
    animation: rocket 0.1s ease infinite;
    display: inline-block;
}

.rocket img {
    width: 80px;
    height: auto;
    display: block;
    margin: 0 auto;
}

@keyframes rocket {
    0%, 100% {
        transform: translateY(-1px);
    }
    50% {
        transform: translateY(1px);
    }
}

.rocket::before {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 60px;
    background: linear-gradient(rgba(180, 200, 255, 0.7), transparent);
    z-index: -1;
}

.rocket::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 60px;
    background: linear-gradient(rgba(180, 200, 255, 0.7), transparent);
    filter: blur(10px);
    z-index: -1;
}