/* Page Loader with Water Ripple Effect */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #a4c639 0%, #2c3e1f 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Water Drop Container */
.water-drop-container {
    position: relative;
    width: 200px;
    height: 200px;
}

/* Water Drop - Simple Circle */
.water-drop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    animation: dropBounce 2s ease-in-out infinite;
}

/* Ripple Waves */
.ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: rippleEffect 2s ease-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
                inset 0 0 10px rgba(255, 255, 255, 0.3);
}

.ripple:nth-child(2) {
    animation-delay: 0.4s;
}

.ripple:nth-child(3) {
    animation-delay: 0.8s;
}

.ripple:nth-child(4) {
    animation-delay: 1.2s;
}

.ripple:nth-child(5) {
    animation-delay: 1.6s;
}

/* Animations */
@keyframes dropBounce {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes rippleEffect {
    0% {
        width: 10px;
        height: 10px;
        opacity: 1;
        border-width: 2px;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
                    inset 0 0 10px rgba(255, 255, 255, 0.3);
    }
    50% {
        opacity: 0.6;
        border-width: 1.5px;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.4),
                    inset 0 0 15px rgba(255, 255, 255, 0.2);
    }
    100% {
        width: 250px;
        height: 250px;
        opacity: 0;
        border-width: 0.5px;
        box-shadow: 0 0 30px rgba(255, 255, 255, 0),
                    inset 0 0 20px rgba(255, 255, 255, 0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .water-drop-container {
        width: 150px;
        height: 150px;
    }
}
