*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

#gl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

#title-overlay {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  font-family: monospace;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.75);
  mix-blend-mode: screen;
  pointer-events: none;
  user-select: none;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
}

#fallback {
  position: fixed;
  inset: 0;
  background: #000;
  overflow: hidden;
  animation: hue-cycle 24s linear infinite;
}

.orb {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  filter: blur(90px);
  opacity: 0.75;
}

.orb1 {
  width: 70vmax; height: 70vmax;
  background: radial-gradient(circle at center, #c800ff 0%, transparent 70%);
  top: -20vmax; left: -20vmax;
  animation: orb1 18s ease-in-out infinite alternate;
}

.orb2 {
  width: 60vmax; height: 60vmax;
  background: radial-gradient(circle at center, #0090ff 0%, transparent 70%);
  bottom: -15vmax; right: -10vmax;
  animation: orb2 22s ease-in-out infinite alternate;
}

.orb3 {
  width: 50vmax; height: 50vmax;
  background: radial-gradient(circle at center, #00ffd0 0%, transparent 70%);
  top: 30%; left: 35%;
  animation: orb3 15s ease-in-out infinite alternate;
}

#fallback-label {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-family: monospace;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.35);
  mix-blend-mode: screen;
  pointer-events: none;
}

@keyframes hue-cycle {
  from { filter: hue-rotate(0deg); }
  to   { filter: hue-rotate(360deg); }
}

@keyframes orb1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(55vw, 50vh) scale(1.3); }
}

@keyframes orb2 {
  from { transform: translate(0, 0) scale(1.1); }
  to   { transform: translate(-50vw, -40vh) scale(0.8); }
}

@keyframes orb3 {
  from { transform: translate(0, 0) scale(0.9); }
  to   { transform: translate(20vw, -30vh) scale(1.2); }
}
