/* Estilos para a animação de fundo */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.animated-star {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    animation: twinkle var(--duration) infinite;
    box-shadow: 0 0 var(--glow-size) 0 rgba(255, 255, 255, 0.15);
}

.shooting-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: transparent;
    border-radius: 50%;
    filter: drop-shadow(0 0 6px white);
    transform-origin: center;
    overflow: visible;
    z-index: 2;
}

.shooting-star::before {
    content: '';
    position: absolute;
    right: -1px;  
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 6px 3px rgba(255, 255, 255, 0.9);
}

.shooting-star::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;  
    width: 150px;  
    height: 1px;
    background: linear-gradient(to left,  
        rgba(255, 255, 255, 0.7) 0%,
        rgba(255, 255, 255, 0.4) 60%,
        rgba(255, 255, 255, 0) 100%);
    transform-origin: right center;  
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.8);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
    50% {
        opacity: 0.70;
        transform: scale(1);
        box-shadow: 0 0 var(--glow-size) 0 rgba(255, 255, 255, 0.15);
    }
}

@keyframes shooting-star {
    0% {
        transform: rotate(var(--angle)) translateX(-100px);
        opacity: 1;
    }
    20% {
        opacity: 1;
    }
    60% {
        opacity: 0.5;
    }
    100% {
        transform: rotate(var(--angle)) translateX(200vh);
        opacity: 0;
    }
}

@keyframes shooting-star-tail {
    0% {
        transform: translateX(-100%) rotate(var(--angle));
        width: 0;
    }
    30% {
        width: 100px;
    }
    100% {
        width: 0;
        transform: translateX(-100%) rotate(var(--angle));
    }
}