/* ============================================================
   Luxeora Petals – Falling flower animation
   ============================================================ */
#luxeoraPetals {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.petal {
    position: absolute;
    top: -40px;
    animation: petalFall linear forwards;
    will-change: transform;
}

@keyframes petalFall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: var(--petal-opacity, 0.6);
    }

    50% {
        transform: translateY(50vh) translateX(var(--petal-drift, 30px)) rotate(180deg);
        opacity: var(--petal-opacity, 0.6);
    }

    100% {
        transform: translateY(110vh) translateX(calc(var(--petal-drift, 30px) * -0.5)) rotate(360deg);
        opacity: 0;
    }
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    #luxeoraPetals {
        display: none !important;
    }
}

/* Reduce on mobile */
@media (max-width: 768px) {
    #luxeoraPetals {
        opacity: 0.7;
    }
}