*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  font-family: 'Outfit', system-ui, sans-serif;
  background: #0a0612;
  color: #f5eaff;
}

#app {
  position: relative;
  width: 100vw;
  height: 100vh;
}

#stage {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.hud {
  position: fixed;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  pointer-events: none;
  z-index: 2;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8);
}

.hud h1 {
  margin: 0;
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #ff9ef0, #7cf5ff, #ffe566);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin: 0.25rem 0 0.75rem;
  opacity: 0.85;
  font-size: 0.95rem;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  pointer-events: auto;
}

.pill {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(20, 10, 40, 0.65);
  backdrop-filter: blur(8px);
  color: inherit;
  font: inherit;
  font-size: 0.85rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.12s, background 0.12s;
}

.pill:hover {
  transform: translateY(-1px);
  background: rgba(40, 20, 70, 0.85);
}

.pill.primary {
  border-color: #ff7ad9;
  background: linear-gradient(135deg, rgba(255, 80, 200, 0.35), rgba(80, 200, 255, 0.25));
}

.hint {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.55;
  pointer-events: none;
  z-index: 2;
}
