/* LinkMax Trinity v89 Engine 4 — Cleanroom Parallax & Multi-Plane Cutout Compositor */
:root {
  --lmx-parallax-perspective: 1200px;
  --lmx-parallax-shift-fg: -18px;
  --lmx-parallax-shift-mid: -8px;
  --lmx-parallax-shift-bg: 10px;
}

.lmx-parallax-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  perspective: var(--lmx-parallax-perspective);
  border-radius: var(--lmx-radius-card, 16px);
}

.lmx-parallax-layer {
  position: relative;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.lmx-parallax-layer--fg {
  z-index: 3;
  filter: drop-shadow(0 18px 34px rgba(15, 23, 42, 0.22));
}

.lmx-parallax-layer--mid {
  z-index: 2;
}

.lmx-parallax-layer--bg {
  z-index: 1;
}

.lmx-cutout-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--lmx-radius-card, 16px);
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.14), transparent 70%);
}

@supports (animation-timeline: view()) {
  @keyframes lmxParallaxFloatFg {
    0% { transform: translate3d(0, 12px, 0) scale(0.99); }
    100% { transform: translate3d(0, var(--lmx-parallax-shift-fg, -18px), 0) scale(1.01); }
  }
  @keyframes lmxParallaxFloatMid {
    0% { transform: translate3d(0, 6px, 0); }
    100% { transform: translate3d(0, var(--lmx-parallax-shift-mid, -8px), 0); }
  }
  @keyframes lmxParallaxFloatBg {
    0% { transform: translate3d(0, -6px, 0); }
    100% { transform: translate3d(0, var(--lmx-parallax-shift-bg, 10px), 0); }
  }

  .lmx-parallax-layer--fg {
    animation: lmxParallaxFloatFg linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
  .lmx-parallax-layer--mid {
    animation: lmxParallaxFloatMid linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
  .lmx-parallax-layer--bg {
    animation: lmxParallaxFloatBg linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lmx-parallax-layer--fg,
  .lmx-parallax-layer--mid,
  .lmx-parallax-layer--bg {
    animation: none;
    transform: none;
    will-change: auto;
  }
}
