/* SMOKE/FOG */
.smoke-container { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.smoke { position: absolute; bottom: -50px; width: 100%; height: 200px; background: radial-gradient(ellipse at center, rgba(100,100,100,0.15) 0%, transparent 70%); animation: smokeDrift 8s ease-in-out infinite; opacity: 0.6; }
.smoke:nth-child(2) { animation-delay: -3s; animation-duration: 10s; bottom: -30px; opacity: 0.4; }
.smoke:nth-child(3) { animation-delay: -6s; animation-duration: 12s; bottom: -70px; opacity: 0.3; }

@keyframes smokeDrift {
    0%, 100% { transform: translateX(-10%) scaleX(1.2); opacity: 0.3; }
    50% { transform: translateX(10%) scaleX(1.5); opacity: 0.6; }
}

/* TEXT FLICKER */
.flicker { animation: textFlicker 4s ease-in-out infinite; }

@keyframes textFlicker {
    0%, 100% { opacity: 1; text-shadow: 0 0 10px rgba(196,30,30,0.3); }
    92% { opacity: 1; }
    93% { opacity: 0.8; }
    94% { opacity: 1; }
    96% { opacity: 0.7; }
    97% { opacity: 1; }
}

/* CARD GLOW */
.glow-hover { transition: box-shadow 0.3s ease; }
.glow-hover:hover { box-shadow: 0 0 25px rgba(196,30,30,0.2), 0 4px 20px rgba(0,0,0,0.5); }

/* FADE IN */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* PULSE GLOW */
.pulse-glow { animation: pulseGlow 2s ease-in-out infinite; }
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(196,30,30,0.3); }
    50% { box-shadow: 0 0 20px rgba(196,30,30,0.5), 0 0 40px rgba(196,30,30,0.2); }
}

/* BLOOD DRIP */
.blood-drip { position: relative; }
.blood-drip::after { content: ''; position: absolute; bottom: -8px; left: 20%; width: 4px; height: 8px; background: var(--accent); border-radius: 0 0 4px 4px; animation: drip 3s ease-in-out infinite; }
@keyframes drip {
    0%, 80%, 100% { height: 8px; opacity: 1; }
    90% { height: 16px; opacity: 0.7; }
}

/* BLOOD DRIPS ON CARDS */
.blood-drips {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    pointer-events: none;
    z-index: 3;
    overflow: visible;
}

.blood-drop {
    position: absolute;
    top: -2px;
    width: 6px;
    background: #8b0000;
    border-radius: 0 0 50% 50%;
    opacity: 0;
    animation: bloodDrip var(--drip-duration, 4s) var(--drip-delay, 0s) ease-in infinite;
}

.blood-drop::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #8b0000;
    border-radius: 50%;
    opacity: 0.8;
}

.blood-drop:nth-child(1) { left: 12%; --drip-duration: 3.5s; --drip-delay: 0s; }
.blood-drop:nth-child(2) { left: 35%; --drip-duration: 4.2s; --drip-delay: 1.2s; }
.blood-drop:nth-child(3) { left: 58%; --drip-duration: 3.8s; --drip-delay: 2.5s; }
.blood-drop:nth-child(4) { left: 80%; --drip-duration: 4.5s; --drip-delay: 0.7s; }
.blood-drop:nth-child(5) { left: 25%; --drip-duration: 5s; --drip-delay: 3s; }
.blood-drop:nth-child(6) { left: 70%; --drip-duration: 3.2s; --drip-delay: 1.8s; }

@keyframes bloodDrip {
    0% { height: 0; opacity: 0; }
    5% { height: 3px; opacity: 0.9; }
    40% { height: 30px; opacity: 0.8; }
    60% { height: 45px; opacity: 0.6; }
    80% { height: 55px; opacity: 0.3; }
    100% { height: 60px; opacity: 0; }
}

/* SPINNER */
.spinner { width: 40px; height: 40px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 20px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
