.orbs-container {
  bottom: 140px;

}

.orb-container {
  width: 100px;
  height: 100px;
}
.orb {
  cursor: pointer;
  user-select: none;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  /* // position: relative; */
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid #fff;
  /* Subtle rim + inner shadow to sell a glass sphere */
  box-shadow:
    inset 0 6px 10px rgba(255, 255, 255, 0.35),
    inset 0 -10px 16px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  filter: drop-shadow();
}

.water {
  position: relative;
  width: 100%;
  height: 100%;
  background: white;
  /* box-shadow: inset 0 0 0 5px #000000; */
  border-radius: 30px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  /* //overflow: hidden; */
}

/*
 * Liquid fill, Diablo 2 orb style: a mostly-flat pool of liquid with a
 * single subtle ripple riding the surface, not a multi-layer animated
 * blob. `--height` is the fill's top offset as a % of the orb (0 = full,
 * 100 = empty), so it's set directly from health/mana and just transitions
 * smoothly when it changes. The one ripple layer is a gentle rock
 * (`transform` only), and a thin highlight sells the surface/meniscus.
 */
.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: var(--height);
  transition: top 0.6s ease-out;
  background: linear-gradient(45deg, #520000, #780000, #990000);
  overflow: hidden;
  /* Subtle meniscus: a bright sliver hugging the liquid's top edge */
  box-shadow: inset 0 3px 4px rgba(255, 255, 255, 0.35);
}

.wave:before {
  content: '';
  position: absolute;
  left: -25%;
  width: 150%;
  height: 16px;
  top: -8px;
  border-radius: 45%;
  background: rgba(255, 0, 0, 0.45);
  transform-origin: 50% 50%;
  will-change: transform;
  animation: sway 5s ease-in-out infinite;
}

.wave.mana {
  background: linear-gradient(45deg, #040052, #020065, #00067e);
}

.wave.mana:before {
  background: rgba(4, 0, 255, 0.45);
}

/* Gentle rock: small rotation + horizontal drift, no full spins */
@keyframes sway {
  0% {
    transform: translateX(-1.5%) rotate(-1deg);
  }
  50% {
    transform: translateX(1.5%) rotate(1deg);
  }
  100% {
    transform: translateX(-1.5%) rotate(-1deg);
  }
}

.glass-streak {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  color: #000;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 25% 25%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0) 60%
  );

  pointer-events: none; /* To make sure it doesn't interfere with any interactions */
}

