/**
 * Cherry Blossom (Hoa Đào) Effect
 * Beautiful falling cherry blossoms animation
 */

.shooting-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.shooting-star {
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #ffc0cb 0%, #ffb6c1 50%, #ff69b4 100%);
    border-radius: 50% 0 50% 0;
    opacity: 0;
    animation: fall linear forwards;
    transform-origin: center;
}

/* Create petal shape */
.shooting-star::before,
.shooting-star::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #ffc0cb 0%, #ffb6c1 50%, #ff69b4 100%);
    border-radius: 50% 0 50% 0;
}

.shooting-star::before {
    transform: rotate(90deg);
}

.shooting-star::after {
    transform: rotate(45deg);
    opacity: 0.8;
}

@keyframes fall {
    0% {
        opacity: 0;
        transform: translateY(-20px) translateX(0) rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) translateX(var(--drift)) rotate(var(--rotation));
    }
}

/* Different colors for variety */
.shooting-star.pink {
    background: radial-gradient(circle, #ff69b4 0%, #ff1493 50%, #c71585 100%);
}

.shooting-star.pink::before,
.shooting-star.pink::after {
    background: radial-gradient(circle, #ff69b4 0%, #ff1493 50%, #c71585 100%);
}

.shooting-star.light {
    background: radial-gradient(circle, #ffe4e1 0%, #ffc0cb 50%, #ffb6c1 100%);
}

.shooting-star.light::before,
.shooting-star.light::after {
    background: radial-gradient(circle, #ffe4e1 0%, #ffc0cb 50%, #ffb6c1 100%);
}

.shooting-star.white {
    background: radial-gradient(circle, #ffffff 0%, #ffe4e1 50%, #ffc0cb 100%);
}

.shooting-star.white::before,
.shooting-star.white::after {
    background: radial-gradient(circle, #ffffff 0%, #ffe4e1 50%, #ffc0cb 100%);
}

/* Responsive - smaller petals on mobile */
@media (max-width: 768px) {
    .shooting-star {
        width: 10px;
        height: 10px;
    }

    .shooting-star::before,
    .shooting-star::after {
        width: 10px;
        height: 10px;
    }
}

