/* Ripple effect container */
.ripple-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    transform: translateZ(0);
    contain: layout style paint;
}

/* Individual ripple circles */
.ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) translateZ(0);
    animation: ripple-animation 4s linear infinite;
}

.ripple:nth-child(2) {
    animation-delay: 0.1s;
}

.ripple:nth-child(3) {
    animation-delay: 1s;
}

.ripple:nth-child(4) {
    animation-delay: 1.1s;
}

@keyframes ripple-animation {
    0% {
        width: 0;
        height: 0;
        opacity: 0.8;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        width: 100vmax;
        height: 100vmax;
        opacity: 0;
    }
}
