/* Animated Money Icon */
.money-icon {
    display: inline-block;
    animation: moneySpin 3s ease-in-out infinite;
}

@keyframes moneySpin {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(10deg) scale(1.1); }
    50% { transform: rotate(-10deg) scale(1.1); }
    75% { transform: rotate(5deg) scale(1.05); }
}

/* Rainbow Money Icon */
.money-icon-rainbow {
    fill: url(#rainbowGradient);
    animation: moneyShine 2s ease-in-out infinite;
}

@keyframes moneyShine {
    0%, 100% { opacity: 1; filter: brightness(1); }
    50% { opacity: 0.8; filter: brightness(1.5); }
}

/* Floating Money Effect */
.money-float {
    animation: moneyFloat 3s ease-in-out infinite;
}

@keyframes moneyFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

/* Glow Effect */
.money-glow svg {
    filter: drop-shadow(0 0 10px #FFD700) drop-shadow(0 0 20px #FFD700);
    animation: moneyPulse 2s ease-in-out infinite;
}

@keyframes moneyPulse {
    0%, 100% {
        filter: drop-shadow(0 0 10px #FFD700) drop-shadow(0 0 20px #FFD700);
    }
    50% {
        filter: drop-shadow(0 0 20px #FFD700) drop-shadow(0 0 30px #FFD700) drop-shadow(0 0 40px #FFD700);
    }
}

/* SVG Gradient Definition */
#rainbowGradient {
    stop-color: #FF0080;
    animation: rainbowColors 3s ease-in-out infinite;
}

#rainbowGradient stop:nth-child(1) { stop-color: #FF0080; }
#rainbowGradient stop:nth-child(2) { stop-color: #FF00FF; }
#rainbowGradient stop:nth-child(3) { stop-color: #8000FF; }
#rainbowGradient stop:nth-child(4) { stop-color: #0080FF; }
#rainbowGradient stop:nth-child(5) { stop-color: #00FFFF; }
#rainbowGradient stop:nth-child(6) { stop-color: #00FF80; }
#rainbowGradient stop:nth-child(7) { stop-color: #80FF00; }
#rainbowGradient stop:nth-child(8) { stop-color: #FFFF00; }
#rainbowGradient stop:nth-child(9) { stop-color: #FF8000; }
#rainbowGradient stop:nth-child(10) { stop-color: #FF0080; }

@keyframes rainbowColors {
    0%, 100% { stop-color: #FF0080; }
    25% { stop-color: #8000FF; }
    50% { stop-color: #00FFFF; }
    75% { stop-color: #FFFF00; }
}
