.background__water-shimmer {
  /* Water colors and speed from your original code */
  --water-color-dark: var(--primary-trans-60);
  --water-color-medium: var(--primary-trans-40);
  --water-color-light: var(--primary-trans-20);
  --water-shimmer-speed: 10s;
  
  /* NEW: Ripple variables */
  --ripple-size: 100px; /* Controls the size of the light ripples */
  --ripple-speed: 15s; /* Controls the speed of the ripples moving */
  --ripple-strength: 100px; /* Controls the intensity of the distortion */
  --ripple-angle: 45deg; /* Controls the rotation of the ripple pattern (e.g., 0deg for diagonal, 90deg for vertical, etc.) */
}

.background__water-shimmer {
  position: relative;
  overflow: hidden;
  
  /* Your existing shimmer background */
  background: linear-gradient(
    45deg,
    var(--water-color-dark),
    var(--water-color-medium),
    var(--water-color-light),
    var(--water-color-medium)
  );
  background-size: 400% 400%;
  animation: waterShimmer var(--water-shimmer-speed) ease infinite;
  
  /* The filter that creates the distortion */
  filter: url(#ripple-filter);
}

/* The light ripple pseudo-element */
.background__water-shimmer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  z-index: 1;
  pointer-events: none; /* Add this line to make the layer clickable */
  
  /* Create the light ripples with a repeating radial gradient */
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 10%
  );
  background-size: var(--ripple-size) var(--ripple-size);
  animation: ripple var(--ripple-speed) linear infinite;
}

/* The @keyframes for your existing shimmer */
@keyframes waterShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* UPDATED: The @keyframes for the ripple effect now includes a rotate transform */
@keyframes ripple {
  from {
    transform: translate(0, 0) rotate(var(--ripple-angle));
  }
  to {
    transform: translate(calc(var(--ripple-size) * -1), calc(var(--ripple-size) * -1)) rotate(var(--ripple-angle));
  }
}