/* Rising Bubbles Background Animation */
@keyframes float-up {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(var(--tx, 0));
    opacity: 0;
  }
}

.bubble-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: -10;
}

.bubble {
  position: absolute;
  bottom: -50px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(100, 180, 255, 0.6), rgba(30, 100, 200, 0.2));
  box-shadow: inset -2px -2px 5px rgba(255, 255, 255, 0.2);
  opacity: 0;
  filter: blur(0.5px);
}

.bubble:nth-child(1) {
  width: 50px;
  height: 50px;
  left: 10%;
  animation: float-up 8s infinite ease-in;
  animation-delay: 0s;
}

.bubble:nth-child(2) {
  width: 35px;
  height: 35px;
  left: 20%;
  animation: float-up 10s infinite ease-in;
  animation-delay: 2s;
}

.bubble:nth-child(3) {
  width: 60px;
  height: 60px;
  left: 30%;
  animation: float-up 12s infinite ease-in;
  animation-delay: 4s;
}

.bubble:nth-child(4) {
  width: 45px;
  height: 45px;
  left: 50%;
  animation: float-up 9s infinite ease-in;
  animation-delay: 1s;
}

.bubble:nth-child(5) {
  width: 55px;
  height: 55px;
  left: 60%;
  animation: float-up 11s infinite ease-in;
  animation-delay: 3s;
}

.bubble:nth-child(6) {
  width: 40px;
  height: 40px;
  left: 75%;
  animation: float-up 8.5s infinite ease-in;
  animation-delay: 2.5s;
}

.bubble:nth-child(7) {
  width: 50px;
  height: 50px;
  left: 85%;
  animation: float-up 10.5s infinite ease-in;
  animation-delay: 0.5s;
}

.bubble:nth-child(8) {
  width: 38px;
  height: 38px;
  left: 40%;
  animation: float-up 9.5s infinite ease-in;
  animation-delay: 4.5s;
}

/* Ripple animation CSS variables */
:root {
  --ripple-duration: 10s;
}

/* Responsive Header - Mobile Navigation */
@media (max-width: 768px) {
  header {
    position: relative;
  }

  header .max-w-7xl {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }

  header .flex.flex-col {
    width: auto;
    margin-bottom: 0;
  }

  header .text-2xl {
    font-size: 1.1rem;
  }

  header .text-sm {
    display: none;
  }

  header .h-0.5 {
    display: none;
  }

  header nav {
    width: auto;
    display: flex;
    flex-direction: row;
    gap: 0.5rem !important;
    space-x: 0 !important;
    padding-left: 0;
  }

  header nav a {
    padding: 0.25rem 0.5rem;
    border-bottom: none;
    text-align: left;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  header nav a:last-child {
    border-bottom: none;
  }
}

/* Ensure content is above bubbles */
body {
  position: relative;
  z-index: 1;
}
