/* ============================================================
   Floating Background Elements — Fruits & Drops
   ============================================================ */

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

.floating-bg .float-el {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float linear infinite;
    will-change: transform;
}

/* Individual element positioning & timing */
.floating-bg .float-el:nth-child(1)  { left: 5%;  top: 10%; font-size: 2.5rem; animation-duration: 14s; animation-delay: 0s; }
.floating-bg .float-el:nth-child(2)  { left: 15%; top: 70%; font-size: 1.8rem; animation-duration: 18s; animation-delay: -2s; }
.floating-bg .float-el:nth-child(3)  { left: 25%; top: 30%; font-size: 2.2rem; animation-duration: 12s; animation-delay: -4s; }
.floating-bg .float-el:nth-child(4)  { left: 35%; top: 85%; font-size: 1.6rem; animation-duration: 20s; animation-delay: -1s; }
.floating-bg .float-el:nth-child(5)  { left: 45%; top: 20%; font-size: 2rem;   animation-duration: 16s; animation-delay: -6s; }
.floating-bg .float-el:nth-child(6)  { left: 55%; top: 60%; font-size: 2.4rem; animation-duration: 11s; animation-delay: -3s; }
.floating-bg .float-el:nth-child(7)  { left: 65%; top: 40%; font-size: 1.5rem; animation-duration: 19s; animation-delay: -7s; }
.floating-bg .float-el:nth-child(8)  { left: 75%; top: 75%; font-size: 2.1rem; animation-duration: 13s; animation-delay: -5s; }
.floating-bg .float-el:nth-child(9)  { left: 85%; top: 15%; font-size: 1.9rem; animation-duration: 17s; animation-delay: -8s; }
.floating-bg .float-el:nth-child(10) { left: 92%; top: 50%; font-size: 2.3rem; animation-duration: 15s; animation-delay: -2s; }
.floating-bg .float-el:nth-child(11) { left: 10%; top: 45%; font-size: 1.7rem; animation-duration: 20s; animation-delay: -9s; }
.floating-bg .float-el:nth-child(12) { left: 30%; top: 55%; font-size: 2rem;   animation-duration: 14s; animation-delay: -4s; }
.floating-bg .float-el:nth-child(13) { left: 50%; top: 90%; font-size: 1.6rem; animation-duration: 18s; animation-delay: -6s; }
.floating-bg .float-el:nth-child(14) { left: 70%; top: 5%;  font-size: 2.2rem; animation-duration: 12s; animation-delay: -1s; }
.floating-bg .float-el:nth-child(15) { left: 88%; top: 35%; font-size: 1.8rem; animation-duration: 16s; animation-delay: -10s; }
.floating-bg .float-el:nth-child(16) { left: 20%; top: 92%; font-size: 2.5rem; animation-duration: 19s; animation-delay: -3s; opacity: 0.08; }
.floating-bg .float-el:nth-child(17) { left: 40%; top: 8%;  font-size: 1.4rem; animation-duration: 15s; animation-delay: -7s; }
.floating-bg .float-el:nth-child(18) { left: 60%; top: 25%; font-size: 2rem;   animation-duration: 13s; animation-delay: -5s; opacity: 0.08; }

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(5deg);
    }
    50% {
        transform: translateY(-15px) rotate(-3deg);
    }
    75% {
        transform: translateY(-40px) rotate(4deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Reduce elements on tablet */
@media (max-width: 768px) {
    .floating-bg .float-el {
        font-size: 1.4rem !important;
        opacity: 0.06 !important;
    }

    .floating-bg .float-el:nth-child(n+12) {
        display: none;
    }
}

/* Minimal on mobile */
@media (max-width: 480px) {
    .floating-bg .float-el {
        font-size: 1.2rem !important;
        opacity: 0.05 !important;
    }

    .floating-bg .float-el:nth-child(n+8) {
        display: none;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .floating-bg .float-el {
        animation: none;
    }
}
