/**
 * Joey Money - Animation System
 * Smooth, lightweight, GPU-accelerated micro-interactions
 */

@keyframes coinPulse {
    0% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
    }
    50% {
        transform: scale(1.08) rotate(5deg);
        box-shadow: 0 0 45px rgba(245, 158, 11, 0.6);
    }
    100% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
    }
}

@keyframes preloaderProgress {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.3;
    }
}

/* Reusable animation utility classes */
.animate-fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.float-effect {
    animation: floatSlow 4s ease-in-out infinite;
}

/* Card hover transitions */
.finance-card-hover {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.finance-card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
    border-color: rgba(16, 185, 129, 0.4);
}
