/* ============================
   LOADER PREMIUM FRUTAG
=============================== */

#fru-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 99999;
    transition: opacity 0.7s ease;
}

/* ILUMINAÇÃO SUAVE ATRÁS DO LOGO */
.loader-light {
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, #27A99A33 0%, transparent 70%);
    filter: blur(25px);
    border-radius: 50%;
    animation: lightPulse 3s ease-in-out infinite;
    z-index: 5;
}

@keyframes lightPulse {
    0% { transform: scale(1); opacity: .8; }
    50% { transform: scale(1.2); opacity: .9; }
    100% { transform: scale(1); opacity: .8; }
}

/* Logo */
.loader-logo {
    width: 150px;
    z-index: 20;
    animation: logoFloat 2.5s ease-in-out infinite;
}

@keyframes logoFloat {
    0% { transform: translateY(0px) }
    50% { transform: translateY(-8px) }
    100% { transform: translateY(0px) }
}

/* Container das folhas */
.leaf-container {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

/* Folhas */
.leaf {
    position: absolute;
    top: -80px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
    animation: fall linear infinite, leafRotate ease-in-out infinite;
    filter: drop-shadow(0 4px 6px #00000030);
}

/* Rotação suave */
@keyframes leafRotate {
    0% { transform: rotate(0deg) }
    50% { transform: rotate(40deg) }
    100% { transform: rotate(0deg) }
}

/* Animação de queda */
@keyframes fall {
    0% {
        transform: translateY(-100px);
        opacity: 1;
    }
    100% {
        transform: translateY(110vh);
        opacity: 0;
    }
}

/* Ocultar */
#fru-loader.hide {
    opacity: 0;
    pointer-events: none;
}
