/* ==========================================================================
   Multiple Tools BD - Premium Animations
   ========================================================================== */

/* 3D Rotating Orbit Animation */
@keyframes rotationOrbit {
    0% {
        transform: rotateY(0deg) rotateX(10deg);
    }
    100% {
        transform: rotateY(360deg) rotateX(10deg);
    }
}

/* Individual Icon Float Animations */
@keyframes iconFloat1 {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-15px) rotate(5deg) scale(1.05);
        box-shadow: 0 15px 30px rgba(239, 68, 68, 0.25), 0 0 40px rgba(239, 68, 68, 0.15);
    }
}

@keyframes iconFloat2 {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(15px) rotate(-8deg) scale(1.03);
        box-shadow: 0 -15px 30px rgba(16, 185, 129, 0.25), 0 0 40px rgba(16, 185, 129, 0.15);
    }
}

@keyframes iconFloat3 {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-12px) rotate(10deg) scale(1.08);
        box-shadow: 0 12px 25px rgba(59, 130, 246, 0.25), 0 0 35px rgba(59, 130, 246, 0.15);
    }
}

/* Toast Entrance */
@keyframes toastIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Scroll Reveal Fade-In Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Pulsing effect for buttons/indicators */
.pulse-glow {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* Sparkle particles on background */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: blinkParticle 3s infinite ease-in-out;
    pointer-events: none;
}

@keyframes blinkParticle {
    0%, 100% { opacity: 0; transform: translateY(0); }
    50% { opacity: 0.8; transform: translateY(-15px); }
}
