/* Glass Container Styles */
.glass-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 10px;
  box-sizing: border-box;
}

.glass-container-circle {
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  flex-grow: 0;
}

.glass-container-pill {
  flex-shrink: 0;
  flex-grow: 0;
}

/* Glass Button Styles */
.glass-button {
  position: relative;
  /* Lightweight ring shadow — avoid GPU-heavy box-shadows on WebGL canvases */
  box-shadow:
    0 1px 0 rgba(255,255,255,0.25) inset,
    0 6px 20px rgba(0,0,0,0.18),
    0 0 0 1px rgba(255,255,255,0.14);
  cursor: pointer;
  pointer-events: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  /* GPU compositing hint */
  will-change: transform;
  transform: translateZ(0);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.glass-button:hover {
  transform: translateY(-2px) translateZ(0);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.35) inset,
    0 10px 28px rgba(0,0,0,0.22),
    0 0 0 1px rgba(255,255,255,0.2);
}

.glass-button-circle {
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  flex-grow: 0;
}

.glass-button-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  font-weight: 600;
  font-size: inherit;
  /* Default: white with slight depth shadow */
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  white-space: nowrap;
  letter-spacing: -0.02em;
}
