/* PissCoin Dripping Animation - Improved liquid drops version */

/* Hide old animation elements */
.element-drip, .piss-puddle {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.piss-drip-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.piss-drip {
    position: absolute;
    width: 10px;
    height: 14px; /* Taller than wide for teardrop shape */
    background-color: #FFFF00; /* Bright yellow */
    border-radius: 50% 50% 50% 25%; /* Teardrop shape */
    opacity: 0.9;
    animation: drip 4s infinite;
    filter: drop-shadow(0 0 5px rgba(255, 255, 0, 0.9));
    transform: rotate(5deg); /* Slight tilt */
}

/* Just one piss drip (drastically reduced) */
.piss-drip:nth-child(1) {
    left: 50%;
    animation-delay: 0s;
    animation-duration: 6s;
}

@keyframes drip {
    0% {
        top: -20px;
        width: 10px;
        height: 14px;
        opacity: 0;
        border-radius: 50% 50% 50% 25%;
        transform: rotate(5deg);
    }
    10% {
        opacity: 1;
    }
    20% {
        width: 12px;
        height: 18px;
        border-radius: 50% 50% 50% 25%;
        transform: rotate(8deg);
    }
    30% {
        width: 14px;
        height: 20px;
        border-radius: 50% 50% 45% 20%;
        transform: rotate(10deg);
    }
    40% {
        width: 16px;
        height: 22px;
        border-radius: 50% 50% 40% 20%;
        transform: rotate(7deg);
    }
    50% {
        top: 40%;
        width: 18px;
        height: 24px;
        border-radius: 50% 50% 40% 15%;
        opacity: 0.9;
        transform: rotate(12deg);
    }
    60% {
        width: 20px;
        height: 28px;
        border-radius: 50% 50% 35% 15%;
        transform: rotate(8deg);
    }
    70% {
        width: 22px;
        height: 30px;
        border-radius: 50% 50% 35% 15%;
        transform: rotate(10deg);
    }
    85% {
        top: 80%;
        opacity: 0.9;
        width: 24px;
        height: 32px;
        border-radius: 50% 50% 30% 10%;
        transform: rotate(5deg);
    }
    100% {
        top: 100%;
        width: 28px;
        height: 16px;
        border-radius: 50% 50% 50% 50%;
        opacity: 0;
        transform: rotate(0deg);
    }
}

/* Dripping container for sections */
.dripping-container {
    position: relative;
    overflow: hidden;
}

.dripping-container::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(8deg);
    width: 25px;
    height: 35px;
    background-color: #FFFF00; /* Bright yellow */
    border-radius: 50% 50% 45% 20%;
    filter: drop-shadow(0 0 8px rgba(255, 255, 0, 0.9));
    opacity: 0.95;
    animation: droplets 3s infinite;
}

.dripping-container::after {
    content: "";
    position: absolute;
    top: -10px;
    left: 70%;
    transform: translateX(-10%) rotate(-5deg);
    width: 20px;
    height: 30px;
    background-color: #FFFF00; /* Bright yellow */
    border-radius: 50% 50% 40% 15%;
    filter: drop-shadow(0 0 8px rgba(255, 255, 0, 0.9));
    opacity: 0.95;
    animation: droplets 4s infinite 1s;
}

@keyframes droplets {
    0% {
        top: -20px;
        width: 20px;
        height: 28px;
        border-radius: 50% 50% 45% 20%;
        transform: translateX(-50%) rotate(5deg);
    }
    20% {
        width: 22px;
        height: 32px;
        border-radius: 50% 50% 40% 15%;
        transform: translateX(-50%) rotate(8deg);
    }
    40% {
        width: 24px;
        height: 36px;
        border-radius: 50% 50% 35% 15%;
        transform: translateX(-50%) rotate(10deg);
    }
    60% {
        top: 20px;
        width: 25px;
        height: 38px;
        border-radius: 50% 50% 30% 10%;
        transform: translateX(-50%) rotate(7deg);
    }
    80% {
        width: 28px;
        height: 32px;
        border-radius: 50% 50% 25% 20%;
        transform: translateX(-50%) rotate(5deg);
    }
    100% {
        top: 40px;
        width: 30px;
        height: 20px;
        border-radius: 50% 50% 50% 50%;
        opacity: 0;
        transform: translateX(-50%) rotate(0deg);
    }
}
