/* ============================ */
/* پارالاکس سبک و بهینه         */
/* ============================ */

:root {
  --bg-shape-1: rgba(59, 130, 246, 0.78);
  --bg-shape-2: rgba(147, 51, 234, 0.76);
  --bg-shape-3: rgba(236, 72, 153, 1.7);
}

:root[data-theme="dark"] {
  --bg-shape-1: rgba(99, 102, 241, 0.72);
  --bg-shape-2: rgba(139, 92, 246, 0.78);
  --bg-shape-3: rgba(168, 85, 247, 1.16);
}

#parallax-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.parallax-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  will-change: transform;
  transition: transform 0.2s ease-out;
}

.parallax-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--bg-shape-1) 0%, transparent 70%);
  filter: blur(35px);
  opacity: 0.3;
}

@media (max-width: 768px) {
  .parallax-shape {
    filter: blur(30px);
  }
  .parallax-glow {
    width: 100px;
    height: 100px;
  }
}
