// ============================================================
// Soft gradient blobs behind the page
// ============================================================

.blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(var(--blob-blur));
  opacity: var(--blob-opacity);
}

.blob-1 {
  width: 560px; height: 560px;
  top: -160px; left: -120px;
  background: radial-gradient(circle, var(--blob-1) 0%, transparent 70%);
  animation: drift 26s ease-in-out infinite alternate;
}

.blob-2 {
  width: 640px; height: 640px;
  top: 20%; right: -220px;
  background: radial-gradient(circle, var(--blob-2) 0%, transparent 70%);
  animation: drift 32s ease-in-out infinite alternate-reverse;
}

.blob-3 {
  width: 520px; height: 520px;
  bottom: -180px; left: 22%;
  background: radial-gradient(circle, var(--blob-3) 0%, transparent 70%);
  animation: drift 29s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(46px, -34px) scale(1.07); }
}

// Must come after .blob-1/2/3's animation, or it loses
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
}
