/**
 * MU DESTINY - ANIMAÇÕES E EFEITOS ESPECIAIS
 * Efeitos de brilho +15, pulsações místicas, shimmers dourados e transições de interface.
 */

@keyframes pulseGold {
    0%, 100% {
        box-shadow: 0 0 15px rgba(239, 68, 68, 0.45), inset 0 0 10px rgba(239, 68, 68, 0.25);
    }
    50% {
        box-shadow: 0 0 32px rgba(255, 45, 45, 0.85), inset 0 0 20px rgba(255, 75, 75, 0.5);
    }
}

@keyframes pulseCyan {
    0%, 100% {
        box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
    }
    50% {
        box-shadow: 0 0 28px rgba(56, 189, 248, 0.7);
    }
}

@keyframes pulseGreen {
    0%, 100% {
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 22px rgba(16, 185, 129, 0.85);
    }
}

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

@keyframes floatGlow {
    0%, 100% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.4));
    }
    50% {
        transform: translateY(-6px) scale(1.02);
        filter: drop-shadow(0 0 30px rgba(245, 158, 11, 0.8));
    }
}

@keyframes shimmerSweep {
    0% {
        transform: translateX(-150%) skewX(-25deg);
    }
    100% {
        transform: translateX(250%) skewX(-25deg);
    }
}

@keyframes rotateRune {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes livePulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Classes utilitárias de animação */
.animate-float {
    animation: floatGentle 4s ease-in-out infinite;
}

.animate-pulse-gold {
    animation: pulseGold 2.5s ease-in-out infinite;
}

.animate-pulse-cyan {
    animation: pulseCyan 2.5s ease-in-out infinite;
}

.animate-pulse-green {
    animation: pulseGreen 2s ease-in-out infinite;
}

.animate-shimmer {
    position: relative;
    overflow: hidden;
}

.animate-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmerSweep 3s infinite;
}

.status-dot-pulse {
    animation: livePulse 2s infinite;
}
