/* Street Fighter Easter Egg */

/* Hadouken animation */
.hadouken {
    position: fixed;
    left: -50px;
    top: 50%;
    font-size: 60px;
    z-index: 9999;
    animation: hadouken-fly 2s ease-out forwards;
    filter: drop-shadow(0 0 20px rgba(0, 100, 255, 0.8));
    text-shadow: 0 0 30px rgba(0, 150, 255, 1);
}

@keyframes hadouken-fly {
    0% {
        left: -50px;
        transform: scale(0.5) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: calc(100% + 50px);
        transform: scale(1.5) rotate(360deg);
        opacity: 0;
    }
}

/* Hit effect on cards */
.hit-effect {
    animation: hit-flash 0.5s ease-out;
}

@keyframes hit-flash {
    0%, 100% {
        filter: none;
        transform: scale(1);
    }
    25% {
        filter: brightness(2) contrast(1.5);
        transform: scale(0.95) rotate(-5deg);
    }
    50% {
        filter: brightness(0.5) contrast(2);
        transform: scale(1.05) rotate(5deg);
    }
    75% {
        filter: brightness(1.5) contrast(1.2);
        transform: scale(0.98) rotate(-2deg);
    }
}

/* Mortal Kombat Easter Egg */

/* Fatality mode - tela escura */
.fatality-mode {
    animation: fatality-darken 3s ease-out;
}

@keyframes fatality-darken {
    0% {
        filter: brightness(1);
    }
    20% {
        filter: brightness(0.2) contrast(1.5) saturate(0);
    }
    80% {
        filter: brightness(0.2) contrast(1.5) saturate(0);
    }
    100% {
        filter: brightness(1);
    }
}

/* Texto FATALITY */
.fatality-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
    text-align: center;
    pointer-events: none;
    animation: fatality-appear 3s ease-out forwards;
}

.fatality-word {
    font-size: 120px;
    font-weight: 900;
    color: #FF0000;
    text-shadow: 
        0 0 20px #FF0000,
        0 0 40px #FF0000,
        0 0 60px #8B0000,
        5px 5px 0 #000,
        -5px -5px 0 #FFD700;
    letter-spacing: 15px;
    font-family: 'Impact', 'Arial Black', sans-serif;
    animation: fatality-pulse 0.5s ease-in-out infinite;
}

.fatality-subtitle {
    font-size: 32px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FF8C00,
        2px 2px 0 #000;
    letter-spacing: 8px;
    margin-top: 20px;
    font-family: 'Impact', 'Arial Black', sans-serif;
}

@keyframes fatality-appear {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3) rotateZ(-20deg);
    }
    15% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2) rotateZ(5deg);
    }
    25% {
        transform: translate(-50%, -50%) scale(0.95) rotateZ(-2deg);
    }
    35% {
        transform: translate(-50%, -50%) scale(1.05) rotateZ(1deg);
    }
    45%, 85% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotateZ(0deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5) rotateZ(0deg);
    }
}

@keyframes fatality-pulse {
    0%, 100% {
        text-shadow: 
            0 0 20px #FF0000,
            0 0 40px #FF0000,
            0 0 60px #8B0000,
            5px 5px 0 #000,
            -5px -5px 0 #FFD700;
    }
    50% {
        text-shadow: 
            0 0 30px #FF0000,
            0 0 60px #FF0000,
            0 0 90px #8B0000,
            5px 5px 0 #000,
            -5px -5px 0 #FFD700;
    }
}

/* Efeito de desintegração nos cards */
.disintegrate {
    animation: disintegrate-effect 2s ease-out;
}

@keyframes disintegrate-effect {
    0% {
        filter: none;
        opacity: 1;
    }
    20% {
        filter: brightness(2) saturate(0);
    }
    40% {
        filter: brightness(0.5) blur(0px);
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    60% {
        filter: brightness(0.2) blur(3px);
        opacity: 0.7;
        transform: scale(0.95) rotate(-5deg);
    }
    80% {
        filter: brightness(0) blur(8px);
        opacity: 0.3;
        transform: scale(0.8) rotate(-15deg) translateY(20px);
    }
    100% {
        filter: brightness(0) blur(15px);
        opacity: 0;
        transform: scale(0.5) rotate(-30deg) translateY(50px);
    }
}

/* Partículas de sangue */
.blood-particle {
    position: fixed;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #FF0000, #8B0000);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    animation: blood-splatter 2s ease-out forwards;
    box-shadow: 0 0 10px #FF0000;
}

@keyframes blood-splatter {
    0% {
        transform: scale(0) translateY(0);
        opacity: 1;
    }
    30% {
        transform: scale(1.5) translateY(-20px);
        opacity: 1;
    }
    100% {
        transform: scale(0.5) translateY(100vh);
        opacity: 0;
    }
}

