/* 🧟‍♂️ ANIMAÇÕES DE TEXTO APOCALÍPTICAS - DASHBOARD MARRAMCOINS */

/* Importar fontes para efeitos especiais */
@import url('https://fonts.googleapis.com/css2?family=Creepster&family=Nosifer&family=Butcherman&family=Metal+Mania&display=swap');

/* ===== ANIMAÇÕES BÁSICAS ===== */

/* Fade In */
.text-animate-fade-in {
    animation: fadeIn 1.5s ease-out forwards;
    opacity: 0;
}

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

/* Fade In com Delay */
.text-animate-fade-in-delay {
    animation: fadeIn 1.5s ease-out 0.5s forwards;
    opacity: 0;
}

.text-animate-fade-in-delay-2 {
    animation: fadeIn 1.5s ease-out 1s forwards;
    opacity: 0;
}

/* Slide Up */
.text-animate-slide-up {
    animation: slideUp 1.2s ease-out 0.3s forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

/* Slide In Left */
.text-animate-slide-in-left {
    animation: slideInLeft 1.2s ease-out 0.8s forwards;
    opacity: 0;
    transform: translateX(-50px);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In Right */
.text-animate-slide-in-right {
    animation: slideInRight 1.2s ease-out forwards;
    opacity: 0;
    transform: translateX(50px);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== ANIMAÇÕES AVANÇADAS ===== */

/* Typewriter Effect */
.text-animate-typewriter {
    animation: typewriter 2s steps(40) 1s forwards;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #8B0000;
    width: 0;
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Typewriter com Delay */
.text-animate-typewriter-delay {
    animation: typewriter 2s steps(40) 1.5s forwards;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #8B0000;
    width: 0;
}

/* Glow Effect */
.text-animate-glow {
    animation: glow 2s ease-in-out infinite alternate;
    text-shadow: 0 0 10px #8B0000, 0 0 20px #8B0000, 0 0 30px #8B0000;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #8B0000, 0 0 20px #8B0000, 0 0 30px #8B0000;
    }
    to {
        text-shadow: 0 0 20px #8B0000, 0 0 30px #8B0000, 0 0 40px #8B0000;
    }
}

/* Pulse Effect */
.text-animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Bounce Effect */
.text-animate-bounce {
    animation: bounce 1s ease-in-out infinite;
}

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

/* Rotate Effect */
.text-animate-rotate {
    animation: rotate 2s linear infinite;
}

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

/* Count Up Animation */
.text-animate-count-up {
    animation: countUp 2s ease-out 1.5s forwards;
    opacity: 0;
    transform: scale(0.5);
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== ANIMAÇÕES STAGGER ===== */

/* Fade In Stagger */
.text-animate-fade-in-stagger {
    animation: fadeInStagger 1s ease-out 0.2s forwards;
    opacity: 0;
}

.text-animate-fade-in-stagger-2 {
    animation: fadeInStagger 1s ease-out 0.4s forwards;
    opacity: 0;
}

.text-animate-fade-in-stagger-3 {
    animation: fadeInStagger 1s ease-out 0.6s forwards;
    opacity: 0;
}

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

/* ===== ANIMAÇÕES ESPECIAIS ===== */

/* Zombie Glitch */
.text-animate-zombie-glitch {
    animation: zombieGlitch 0.3s ease-in-out infinite;
}

@keyframes zombieGlitch {
    0%, 100% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
    20% {
        transform: translate(-2px, 2px);
        filter: hue-rotate(90deg);
    }
    40% {
        transform: translate(-2px, -2px);
        filter: hue-rotate(180deg);
    }
    60% {
        transform: translate(2px, 2px);
        filter: hue-rotate(270deg);
    }
    80% {
        transform: translate(2px, -2px);
        filter: hue-rotate(360deg);
    }
}

/* Blood Drip */
.text-animate-blood-drip {
    position: relative;
    animation: bloodDrip 3s ease-in-out infinite;
}

.text-animate-blood-drip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 20px;
    background: #8B0000;
    border-radius: 0 0 50% 50%;
    animation: drip 3s infinite;
}

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

@keyframes drip {
    0% {
        top: 100%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        top: 120%;
        opacity: 0;
    }
}

/* Toxic Glow */
.text-animate-toxic-glow {
    animation: toxicGlow 2s ease-in-out infinite alternate;
    text-shadow: 0 0 10px #4CAF50, 0 0 20px #4CAF50, 0 0 30px #4CAF50;
}

@keyframes toxicGlow {
    from {
        text-shadow: 0 0 10px #4CAF50, 0 0 20px #4CAF50, 0 0 30px #4CAF50;
    }
    to {
        text-shadow: 0 0 20px #4CAF50, 0 0 30px #4CAF50, 0 0 40px #4CAF50;
    }
}

/* ===== ANIMAÇÕES DE HOVER ===== */

/* Hover Glow */
.text-hover-glow:hover {
    animation: hoverGlow 0.5s ease-in-out forwards;
}

@keyframes hoverGlow {
    to {
        text-shadow: 0 0 15px #8B0000, 0 0 25px #8B0000, 0 0 35px #8B0000;
        transform: scale(1.05);
    }
}

/* Hover Shake */
.text-hover-shake:hover {
    animation: hoverShake 0.5s ease-in-out;
}

@keyframes hoverShake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

/* ===== RESPONSIVIDADE ===== */

@media (max-width: 768px) {
    .text-animate-typewriter,
    .text-animate-typewriter-delay {
        animation-duration: 1.5s;
        font-size: 0.9rem;
    }
    
    .text-animate-slide-in-left,
    .text-animate-slide-in-right {
        animation-duration: 1s;
    }
    
    .text-animate-bounce {
        animation-duration: 0.8s;
    }
}

@media (max-width: 576px) {
    .text-animate-typewriter,
    .text-animate-typewriter-delay {
        animation-duration: 1s;
        font-size: 0.8rem;
    }
    
    .text-animate-glow,
    .text-animate-toxic-glow {
        animation-duration: 1.5s;
    }
}

/* ===== UTILITÁRIOS ===== */

/* Delay classes */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Duration classes */
.duration-fast { animation-duration: 0.5s; }
.duration-normal { animation-duration: 1s; }
.duration-slow { animation-duration: 2s; }

/* Easing classes */
.ease-in { animation-timing-function: ease-in; }
.ease-out { animation-timing-function: ease-out; }
.ease-in-out { animation-timing-function: ease-in-out; }
.ease-linear { animation-timing-function: linear; }



