.stars-container {
    width: 100%;
    height: 95vh;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -9999;
    overflow: hidden;
    position: absolute;
}

.star {
    position: absolute;
    color: white;
    font-size: 24px;
    animation: fall linear infinite;
    opacity: 0;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.4);
    will-change: transform, opacity;
    z-index: 10;

}

@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg) scale(0.5);
        opacity: 0;
    }

    10% {
        opacity: 1;
        transform: scale(1.2);
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .stars-container {
        display: block;
    }

    .star {
        font-size: 12px;
        /* Smaller stars on mobile */
    }
}

@media screen and (max-width: 1024px) and (min-width: 769px) {
    .stars-container {
        display: block;
    }

    .star {
        font-size: 16px;
        /* Medium stars on tablets */
    }
}

@media screen and (max-height: 350px) and (min-height: 200px) {
    .stars-container {
        display: none;
    }
}