body {
  overflow-x: hidden;
}

.wave-char {
  transition: transform 0.3s ease;
}

.wave-text {
  position: relative;
  display: inline-block;
}

.wave-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.group:hover .wave-text::after {
  width: 100%;
}

.wave-text:hover .wave-char {
  animation-name: wave;
  animation-duration: 0.6s;
  animation-timing-function: ease;
  animation-fill-mode: both;
  animation-iteration-count: 1;
}

@keyframes wave {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

.bubble-wrapper {
  width: 60px;
  height: 60px;
  background-color: #007a55;
  color: white;
  font-weight: bold;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  cursor: pointer;
  transition: all 0.6s ease;
  z-index: 10;
}

.bubble-wrapper.settled {
  opacity: 1;
}

.bubble-wrapper i {
  width: 48px;
  height: 48px;
  background-color: #007a55;
  color: white;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.blurb {
  background-color: #1e293b;
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  max-width: min(75vw, 300px);
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 5;
}

#bubble-container {
  position: relative;
  height: 550px;
  width: 100%;
  overflow: hidden;
}

#cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(2, 42, 13, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  mix-blend-mode: screen;
  transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
  .bubble-wrapper {
    margin-bottom: 2rem;
    transform: translateY(40px);
  }
}

@media (max-width: 767px) {
  .blurb {
    transition: none !important;
  }
  #cursor-glow {
    display: none; 
  }
}
