/* Luxury cursor — crystal pointer + light trail */

@media (pointer: fine) and (min-width: 900px) {
  html.mx-lux-on,
  html.mx-lux-on * {
    cursor: none !important;
  }
}

#mx-lux {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2147483647;
  overflow: hidden;
}

#mx-lux[hidden] {
  display: none !important;
}

.mx-lux__trail {
  position: absolute;
  inset: 0;
}

.mx-lux__tip {
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 70px;
  transform-origin: 18px 17px;
  transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1);
}

.mx-lux__tip img {
  display: block;
  width: 64px;
  height: 70px;
}

#mx-lux.is-hover .mx-lux__tip {
  transform: scale(1.12);
  filter:
    drop-shadow(0 0 8px rgba(165, 148, 255, 0.8))
    drop-shadow(0 0 22px rgba(94, 228, 200, 0.28));
}

#mx-lux.is-press .mx-lux__tip {
  transform: scale(0.88);
}

.mx-hero-lift {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
  background: radial-gradient(
    circle 440px at var(--mx-x, 50%) var(--mx-y, 50%),
    rgba(165, 148, 255, 0.14),
    rgba(80, 120, 200, 0.05) 40%,
    transparent 65%
  );
}

.mx-hero-lift.is-on {
  opacity: 1;
}

.mw-hero__content.mx-parallax-title {
  transform: translate3d(var(--mx-px, 0px), var(--mx-py, 0px), 0);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.mx-magnetic {
  --mx: 0px;
  --my: 0px;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.mx-magnetic.is-magnetic-active {
  transition: transform 0.1s linear;
}

.mx-lit {
  position: relative;
  isolation: isolate;
}

.mx-lit:not(.mw-btn--glow)::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.32s ease;
  background: radial-gradient(
    circle 140px at var(--lx, 50%) var(--ly, 50%),
    rgba(255, 255, 255, 0.2),
    rgba(165, 148, 255, 0.12) 38%,
    transparent 70%
  );
}

.mx-lit.is-lit:not(.mw-btn--glow)::before {
  opacity: 1;
}

.mw-btn--glow.mx-lit.is-lit {
  border-color: rgba(165, 148, 255, 0.72);
  box-shadow:
    0 10px 36px rgba(0, 0, 0, 0.52),
    0 0 36px rgba(165, 148, 255, 0.48),
    0 0 68px rgba(165, 148, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.mw-btn--ghost.mx-lit.is-lit {
  color: var(--mw-moon);
  border-color: rgba(165, 148, 255, 0.38);
  background: rgba(165, 148, 255, 0.07);
  box-shadow: 0 0 28px rgba(165, 148, 255, 0.22);
}

.mw-step.mx-lit.is-lit {
  border-color: rgba(165, 148, 255, 0.58);
  box-shadow: 0 0 36px rgba(165, 148, 255, 0.26);
}

.mw-nav__links a.mx-lit.is-lit {
  color: var(--mw-moon);
  background: rgba(165, 148, 255, 0.1);
  box-shadow: 0 0 22px rgba(165, 148, 255, 0.24);
}

.mw-class.mx-lit.is-lit {
  opacity: 1;
  border-color: var(--btn-glow, var(--class-accent-hex, #a594ff));
  box-shadow:
    0 0 22px color-mix(in srgb, var(--btn-glow, #a594ff) 60%, transparent),
    0 0 44px color-mix(in srgb, var(--btn-glow, #a594ff) 28%, transparent);
}

.mw-class.mx-lit.is-lit .mw-class__icon img {
  filter: drop-shadow(0 0 10px var(--btn-glow, var(--class-accent-hex, #a594ff)));
}

@media (prefers-reduced-motion: reduce) {
  #mx-lux,
  .mx-hero-lift,
  .mx-magnetic {
    display: none !important;
  }

  html.mx-lux-on,
  html.mx-lux-on * {
    cursor: auto !important;
  }
}

@media (pointer: coarse), (max-width: 899px) {
  #mx-lux,
  .mx-hero-lift {
    display: none !important;
  }

  html.mx-lux-on,
  html.mx-lux-on * {
    cursor: auto !important;
  }
}
