/* SOFT CINEMATIC AMBIENT BACKGROUNDS */

.ambient-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* 1. Moving Mesh Gradients */
.bg-mesh {
  position: absolute;
  width: 140%;
  height: 140%;
  top: -20%;
  left: -20%;
  background: radial-gradient(circle at 50% 50%, 
    rgba(255, 46, 147, 0.05) 0%, 
    rgba(217, 179, 255, 0.03) 30%, 
    rgba(5, 5, 5, 0) 60%
  );
  filter: blur(80px);
  animation: meshDrift 25s ease-in-out infinite alternate;
}

@keyframes meshDrift {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(5%, 10%) rotate(10deg); }
}

/* 2. Soft Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  mix-blend-mode: screen;
}

.orb-pink { background: var(--hot-pink); width: 500px; height: 500px; }
.orb-lavender { background: var(--lavender); width: 400px; height: 400px; }

/* 3. Ambient Floating Particles */
.ambient-particles {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 100px 100px;
  opacity: 0.2;
  animation: particleSlow 60s linear infinite;
}

@keyframes particleSlow {
  from { background-position: 0 0; }
  to { background-position: 1000px 1000px; }
}

/* 4. Cinematic Dark Overlay */
.cinematic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, 
    rgba(5, 5, 5, 0.4) 0%, 
    rgba(5, 5, 5, 0) 20%, 
    rgba(5, 5, 5, 0) 80%, 
    rgba(5, 5, 5, 0.6) 100%
  );
  z-index: 1;
}

/* 5. Animated Noise */
.ambient-noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.02;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
