/* ===== PARTICLES BACKGROUND ===== */
.particles-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(236, 72, 153, 0.4);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}
.particle:nth-child(odd) {
  background: rgba(244, 114, 182, 0.3);
  width: 3px;
  height: 3px;
}
.particle:nth-child(3n) {
  background: rgba(219, 39, 119, 0.25);
  width: 1px;
  height: 1px;
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

/* ===== MAGNETIC LINES ===== */
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(236, 72, 153, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 72, 153, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
}

/* ===== NOISE TEXTURE ===== */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ===== AURORA / GRADIENT BLOBS ===== */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  animation: auroraMove 20s ease-in-out infinite alternate;
}
.aurora-blob-1 {
  width: 600px; height: 600px;
  background: #ec4899;
  top: -200px; left: -100px;
  animation-delay: 0s;
}
.aurora-blob-2 {
  width: 500px; height: 500px;
  background: #f472b6;
  bottom: -150px; right: -100px;
  animation-delay: -7s;
  animation-duration: 25s;
}
.aurora-blob-3 {
  width: 400px; height: 400px;
  background: #be185d;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
  animation-duration: 18s;
}
.aurora-blob-4 {
  width: 350px; height: 350px;
  background: #fb7185;
  top: 20%; right: 20%;
  animation-delay: -3s;
  animation-duration: 22s;
}

@keyframes auroraMove {
  0% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -30px) scale(1.1); }
  50% { transform: translate(-30px, 50px) scale(0.95); }
  75% { transform: translate(40px, 30px) scale(1.05); }
  100% { transform: translate(-20px, -40px) scale(1); }
}

/* ===== CINEMATIC BARS ===== */
.cinema-bars {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}
.cinema-bar-top,
.cinema-bar-bottom {
  position: absolute;
  left: 0; right: 0;
  height: 0;
  background: #000;
  transition: height 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}
.cinema-bar-top { top: 0; }
.cinema-bar-bottom { bottom: 0; }
.cinema-bars.active .cinema-bar-top,
.cinema-bars.active .cinema-bar-bottom {
  height: 40px;
}
