/* ========================================
   FALLING LOGOS ANIMATION
   ======================================== */

/* Container para as logos caindo */
.falling-logos-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Estilo individual da logo caindo */
.falling-logo {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.1;
    animation: fall linear infinite;
    pointer-events: none;
    background-image: url('/assets/logoSymbol.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Variações de tamanho */
.falling-logo.small {
    width: 25px;
    height: 25px;
    opacity: 0.05;
}

.falling-logo.medium {
    width: 35px;
    height: 35px;
    opacity: 0.08;
}

.falling-logo.large {
    width: 45px;
    height: 45px;
    opacity: 0.12;
}

/* Animação de queda */
@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: var(--logo-opacity, 0.1);
    }
    90% {
        opacity: var(--logo-opacity, 0.1);
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Variações de velocidade */
.falling-logo.speed-1 {
    animation-duration: 15s;
    --logo-opacity: 0.08;
}

.falling-logo.speed-2 {
    animation-duration: 12s;
    --logo-opacity: 0.06;
}

.falling-logo.speed-3 {
    animation-duration: 18s;
    --logo-opacity: 0.1;
}

.falling-logo.speed-4 {
    animation-duration: 20s;
    --logo-opacity: 0.04;
}

/* Efeito de gradient nas logos */
.falling-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(94,234,212,0.3), rgba(240,171,252,0.3));
    border-radius: 50%;
    opacity: 0.5;
    z-index: -1;
}

/* Responsivo - menos logos em mobile */
@media (max-width: 768px) {
    .falling-logo {
        width: 30px;
        height: 30px;
        opacity: 0.06;
    }
    
    .falling-logo.small {
        width: 20px;
        height: 20px;
        opacity: 0.03;
    }
    
    .falling-logo.medium {
        width: 25px;
        height: 25px;
        opacity: 0.05;
    }
    
    .falling-logo.large {
        width: 35px;
        height: 35px;
        opacity: 0.08;
    }
}

/* Pausa animação quando usuário prefere movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    .falling-logo {
        animation: none;
        opacity: 0;
    }
}