/* ── Bitmap-Friendly Boss VFX ── */

.boss-image.taking-damage {
    animation: hitFlash 0.2s cubic-bezier(0.2, 1, 0.3, 1) forwards;
    will-change: filter, transform;
}

@keyframes hitFlash {
    0% {
        filter: brightness(2.5) contrast(1.5) sepia(0.2) hue-rotate(-20deg) saturate(3) 
                drop-shadow(0 0 35px #fff);
        transform: scale(0.96) translateY(5px);
    }
    100% {
        filter: brightness(1) contrast(1) sepia(0) hue-rotate(0deg) saturate(1)
                drop-shadow(0 0 25px rgba(45, 226, 230, 0.5)) 
                drop-shadow(0 0 50px rgba(45, 226, 230, 0.2));
        transform: scale(1) translateY(0);
    }
}

/* 보스 상시 호흡 효과 */
.boss-image {
    animation: bossBreathe 5s ease-in-out infinite;
    transform-origin: bottom center;
}

@keyframes bossBreathe {
    0%, 100% {
        transform: scale(1) translateY(0);
        filter: drop-shadow(0 0 25px rgba(45, 226, 230, 0.4));
    }
    50% {
        transform: scale(1.01) translateY(-5px);
        filter: drop-shadow(0 0 45px rgba(45, 226, 230, 0.6));
    }
}

/* 보스 공격 상태 (붉은 후광) */
.boss-attacking {
    filter: drop-shadow(0 0 35px rgba(255, 0, 0, 0.8)) 
            drop-shadow(0 0 60px rgba(255, 0, 0, 0.4)) !important;
    animation: attackPulse 0.4s ease-in-out infinite alternate !important;
}

@keyframes attackPulse {
    0% { transform: scale(1.1); filter: drop-shadow(0 0 30px rgba(255, 0, 0, 0.6)); }
    100% { transform: scale(1.15); filter: drop-shadow(0 0 50px rgba(255, 0, 0, 0.9)); }
}
