/* ==========================================================================
   NovaChat - Parallax Scrolling & Capas Multi-Nivel
   ========================================================================== */

/* Contenedor con Perspectiva 3D */
.parallax-scene {
  position: relative;
  overflow: hidden;
}

/* Fondos Abstractos con Desplazamiento Parallax */
.parallax-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.1s linear;
}

.parallax-blob-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, transparent 70%);
  top: 5%;
  right: -5%;
}

.parallax-blob-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 70%);
  top: 30%;
  left: -5%;
}

.parallax-blob-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 70%);
  bottom: 10%;
  right: 15%;
}

/* Capas Parallax con Velocidad Diferenciada */
[data-parallax-speed] {
  will-change: transform;
}

/* Efecto de Inclinación 3D del Smartphone */
.tilt-card-active {
  transition: transform 0.1s ease-out;
}

/* Grilla de Patrones de Fondo */
.bg-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(226, 232, 240, 0.6) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.6) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
