body {
  font-family: "Inter", sans-serif;
}

.bubble {
  position: absolute;
  bottom: -60px;
  border-radius: 9999px;
  width: 2rem;
  height: 2rem;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.9),
    rgba(173, 216, 230, 0.5)
  );
  box-shadow: inset -4px -4px 6px rgba(255, 255, 255, 0.8),
    inset 4px 4px 8px rgba(0, 0, 0, 0.05), 0 6px 12px rgba(0, 0, 0, 0.1);
  opacity: 0.8;
  pointer-events: none;
  animation: floatUpAndPop 15s linear infinite;
}

@keyframes floatUpAndPop {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  20% {
    opacity: 0.8;
  }
  80% {
    transform: translateY(-90vh) scale(1.05);
    opacity: 0.9;
  }
  95% {
    transform: translateY(-100vh) scale(1.1);
    opacity: 0.4;
  }
  100% {
    transform: translateY(-100vh) scale(1.4);
    opacity: 0;
  }
}

#wave-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  background: var(--wave-color, #000);
  clip-path: circle(0% at var(--wave-x, 50%) var(--wave-y, 50%));
  z-index: 9999;
  mix-blend-mode: screen;
  opacity: 0;
  transition: clip-path 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
}

.toggle-switch {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 60px;
  height: 32px;
  background: #e2e8f0;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px;
  transition: background-color 0.3s ease;
  z-index: 10;
}

.toggle-switch.dark {
  background: #374151;
}

.toggle-thumb {
  background: white;
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  box-shadow: 0 0 4px rgb(0 0 0 / 0.1);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.toggle-thumb.sun {
  color: #fbbf24;
}

.toggle-thumb.moon {
  color: #fbbf24;
}

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"]:checked + label.toggle-switch {
  background: #374151;
}

input[type="checkbox"]:checked + label.toggle-switch .toggle-thumb {
  transform: translateX(28px);
}
