.banner-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 15vh;
  min-height: 100px;
  max-height: 150px;
  z-index: 10; /* Ensure it's above the board */
  pointer-events: none;
}

.waves {
  position: absolute;
  width: 100%;
  height: 15vh;
  min-height: 100px;
  max-height: 150px;
  bottom: 0;
  left: 0;
}

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
  fill: var(--body-bg-color);
  opacity: 0.7;
}

.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
  fill: var(--body-bg-color);
  opacity: 0.5;
}

.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
  fill: var(--body-bg-color);
  opacity: 0.3;
}

.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
  fill: var(--body-bg-color);
  opacity: 1;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }
  .banner-wave {
    height: 40px;
    min-height: 40px;
  }
}

/* Home Page Board Adjustments for Seamless Integration */
#board {
  margin-top: 0 !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  box-shadow: none !important; /* Remove top shadow to blend with wave */
  /* Optional: if you want the board to look "connected" to the wave, 
     we need to ensure no gap. */
  z-index: 2; /* Below the wave */
}

/* Ensure the banner container allows the wave to be visible */
#banner {
  overflow: visible !important;
}
