/* ==========================================================================
   Delowar Swipe Slider Pro — Particle & Canvas Background Effects Stylesheet
   ========================================================================== */

/* Universal Particle Containers */
.snow-container,
.snowfall-container,
.rain-container,
.bubble-container,
.stripe-connect-container,
.water-container,
.clear-sky-container,
.water-ripple-container,
.nyan-cat-container,
.cloudy-sky-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

/* 1. Rainfall Effect */
.raindrop {
    position: absolute;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 70%, rgba(255, 255, 255, 0.9) 100%);
    opacity: 0;
    transform: translateY(-100%);
    animation: deloswsl-rain-fall linear infinite;
    border-radius: 0 0 2px 2px;
}

@keyframes deloswsl-rain-fall {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    15% {
        opacity: 0.9;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* 2. Snowfall Effect */
.snowflake {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 60%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50%;
    animation: deloswsl-snowfall-fall linear infinite, deloswsl-snowfall-sway ease-in-out infinite;
    pointer-events: none;
}

@keyframes deloswsl-snowfall-fall {
    0% {
        transform: translateY(-15px);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    90% {
        opacity: 0.9;
    }
    100% {
        transform: translateY(105vh);
        opacity: 0;
    }
}

@keyframes deloswsl-snowfall-sway {
    0%, 100% {
        margin-left: 0;
    }
    50% {
        margin-left: 25px;
    }
}

/* 3. Bubble Effect */
.bubble {
    position: absolute;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.15) 60%, rgba(255, 255, 255, 0.35) 100%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.5), 0 0 8px rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    opacity: 0;
    animation: deloswsl-bubble-rise linear infinite, deloswsl-bubble-wobble ease-in-out infinite;
    pointer-events: none;
}

@keyframes deloswsl-bubble-rise {
    0% {
        transform: translateY(100vh) scale(0.4);
        opacity: 0;
    }
    15% {
        opacity: 0.85;
    }
    85% {
        opacity: 0.85;
    }
    100% {
        transform: translateY(-80px) scale(1.1);
        opacity: 0;
    }
}

@keyframes deloswsl-bubble-wobble {
    0%, 100% {
        margin-left: 0;
    }
    50% {
        margin-left: 18px;
    }
}

/* 4. Stripe Connect Effect */
.stripe-connect-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    animation: deloswsl-stripe-connect linear infinite;
    will-change: transform, opacity;
    pointer-events: none;
}

@keyframes deloswsl-stripe-connect {
    0% {
        transform: translateZ(0) rotateX(0deg) rotateY(0deg) scale(0.6);
        opacity: 0;
    }
    20% {
        opacity: 0.7;
    }
    80% {
        opacity: 0.7;
    }
    100% {
        transform: translateZ(400px) rotateX(360deg) rotateY(360deg) scale(1.4);
        opacity: 0;
    }
}

/* 5. Water Swimming Effect Canvas */
.water-container canvas,
.clear-sky-container canvas,
.cloudy-sky-container canvas,
.water-ripple-container canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}

/* 6. Water Ripple interactive container */
.water-ripple-container {
    pointer-events: all !important;
}

/* 7. Nyan Cat Effect */
.nyan-cat-wrap {
    position: absolute;
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 10;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.nyan-cat-rainbow {
    height: 18px;
    width: 240px;
    background: linear-gradient(to bottom,
        #ff0000 0%, #ff0000 16.66%,
        #ff9900 16.66%, #ff9900 33.33%,
        #ffff00 33.33%, #ffff00 50%,
        #33ff00 50%, #33ff00 66.66%,
        #0099ff 66.66%, #0099ff 83.33%,
        #6633ff 83.33%, #6633ff 100%
    );
    border-radius: 4px 0 0 4px;
    opacity: 0.85;
    animation: deloswsl-nyan-wave 0.4s ease-in-out infinite alternate;
}

.nyan-cat-cat {
    width: 60px;
    height: 40px;
    margin-left: -5px;
    background: #ffcc99;
    border: 3px solid #000000;
    border-radius: 8px;
    position: relative;
    box-shadow: inset 0 0 0 2px #ff99cc;
    animation: deloswsl-nyan-bounce 0.2s ease-in-out infinite alternate;
}

.nyan-cat-cat::before {
    content: "";
    position: absolute;
    right: -14px;
    top: 4px;
    width: 20px;
    height: 24px;
    background: #999999;
    border: 3px solid #000000;
    border-radius: 50% 50% 40% 40%;
}

.nyan-cat-cat::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 10px;
    width: 4px;
    height: 4px;
    background: #000000;
    border-radius: 50%;
    box-shadow: -8px 0 0 #000000;
}

@keyframes deloswsl-nyan-wave {
    0% { transform: translateY(-3px); }
    100% { transform: translateY(3px); }
}

@keyframes deloswsl-nyan-bounce {
    0% { transform: translateY(-2px); }
    100% { transform: translateY(2px); }
}
