/* ============================================
   KOODI - FLYING SQUARES ANIMATION
   Універсальні літаючі квадратики в брендових кольорах
   ============================================ */

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

.flying-square {
    position: absolute;
    border-radius: 10px;
    opacity: 0;
    animation: floatUp linear infinite;
    will-change: transform, opacity;
    contain: strict;
}

/* Брендові кольори: pink #FF4E99, orange #FF9F00, lime #C6DF2B, blue #009DFF */
.flying-square:nth-child(1) { width: 50px; height: 50px; background: #FF4E99; left: 5%; animation-duration: 22s; animation-delay: 0s; }
.flying-square:nth-child(2) { width: 35px; height: 35px; background: #FF9F00; left: 12%; animation-duration: 18s; animation-delay: -4s; }
.flying-square:nth-child(3) { width: 70px; height: 70px; background: #C6DF2B; left: 22%; animation-duration: 28s; animation-delay: -8s; }
.flying-square:nth-child(4) { width: 25px; height: 25px; background: #009DFF; left: 32%; animation-duration: 20s; animation-delay: -2s; }
.flying-square:nth-child(5) { width: 45px; height: 45px; background: #FF4E99; left: 42%; animation-duration: 25s; animation-delay: -6s; }
.flying-square:nth-child(6) { width: 60px; height: 60px; background: #FF9F00; left: 52%; animation-duration: 23s; animation-delay: -10s; }
.flying-square:nth-child(7) { width: 30px; height: 30px; background: #C6DF2B; left: 62%; animation-duration: 19s; animation-delay: -3s; }
.flying-square:nth-child(8) { width: 55px; height: 55px; background: #009DFF; left: 72%; animation-duration: 26s; animation-delay: -7s; }
.flying-square:nth-child(9) { width: 40px; height: 40px; background: #FF4E99; left: 82%; animation-duration: 21s; animation-delay: -12s; }
.flying-square:nth-child(10) { width: 65px; height: 65px; background: #FF9F00; left: 90%; animation-duration: 24s; animation-delay: -5s; }
.flying-square:nth-child(11) { width: 20px; height: 20px; background: #C6DF2B; left: 8%; animation-duration: 17s; animation-delay: -9s; }
.flying-square:nth-child(12) { width: 75px; height: 75px; background: #009DFF; left: 48%; animation-duration: 30s; animation-delay: -15s; }

@keyframes floatUp {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    5% { opacity: 0.12; }
    95% { opacity: 0.12; }
    100% { transform: translateY(-150px) rotate(360deg); opacity: 0; }
}
