/* Blood Dripping Effect */
.blood-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.blood-drop {
    position: absolute;
    top: -50px;
    width: 4px;
    height: 4px;
    background: transparent;
    animation: blood-drip 8s infinite linear;
}

.blood-drop::before {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 16px;
    background-color: rgba(138, 3, 3, 0.9);
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    clip-path: polygon(100% 60%, 100% 100%, 0% 100%, 0% 60%, 50% 0%);
    animation: blood-drop-head 8s infinite linear;
    box-shadow: 0 0 8px rgba(138, 3, 3, 0.4);
}

@keyframes blood-drip {
    0% {
        top: -50px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100vh;
        opacity: 0;
    }
}

@keyframes blood-drop-head {
    0% {
        transform: translateX(-50%) scale(0);
        opacity: 0;
    }
    10% {
        transform: translateX(-50%) scale(0.8);
        opacity: 1;
    }
    90% {
        transform: translateX(-50%) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) scale(0);
        opacity: 0;
    }
}

/* Blood puddle effect at bottom */
.blood-container::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(138, 3, 3, 0.3) 10%,
        rgba(138, 3, 3, 0.5) 25%,
        rgba(138, 3, 3, 0.3) 40%,
        transparent 50%,
        rgba(138, 3, 3, 0.4) 60%,
        rgba(138, 3, 3, 0.6) 75%,
        rgba(138, 3, 3, 0.2) 90%,
        transparent 100%);
    animation: blood-puddle 12s infinite ease-in-out;
}

@keyframes blood-puddle {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.8;
        transform: scaleY(1.5);
    }
}

/* Additional blood drops for more variety */
.blood-drop:nth-child(odd) {
    width: 3px;
    height: 3px;
    animation-duration: 10s;
}

.blood-drop:nth-child(even) {
    width: 5px;
    height: 5px;
    animation-duration: 6s;
}

.blood-drop:nth-child(3n) {
    width: 2px;
    height: 2px;
    animation-duration: 12s;
    opacity: 0.7;
}

.blood-drop:nth-child(4n) {
    width: 6px;
    height: 6px;
    animation-duration: 9s;
    opacity: 0.9;
}

/* Exact teardrop shapes using your provided formula */
.blood-drop:nth-child(even)::before {
    width: 6px;
    height: 12px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

.blood-drop:nth-child(3n)::before {
    width: 4px;
    height: 8px;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
}

.blood-drop:nth-child(4n)::before {
    width: 10px;
    height: 20px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* Blood splatter effect on hover using exact teardrop */
.member-entry:hover::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 12px;
    background-color: rgba(138, 3, 3, 0.8);
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    clip-path: polygon(100% 60%, 100% 100%, 0% 100%, 0% 60%, 50% 0%);
    animation: blood-splatter 0.5s ease-out;
}

@keyframes blood-splatter {
    0% {
        transform: translateX(-50%) scale(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) scale(1.5);
        opacity: 0.8;
    }
    100% {
        transform: translateX(-50%) scale(0);
        opacity: 0;
    }
} 