/* Always-on animated neon border (compatible ring: no mask-composite, no "spinning square") */

.neon-anim-border {
  position: relative;
  isolation: isolate;
}

.neon-anim-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;

  border: 2px solid transparent;
  background:
    linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0)) padding-box,
    conic-gradient(
      from 180deg,
      rgba(29, 78, 216, 0.05),
      rgba(29, 78, 216, 0.55),
      rgba(14, 165, 233, 0.45),
      rgba(245, 158, 11, 0.30),
      rgba(29, 78, 216, 0.05)
    ) border-box;
  background-clip: padding-box, border-box;

  opacity: 0.95;
  filter: drop-shadow(0 16px 44px rgba(29, 78, 216, 0.10));
  animation: neonHue 6s linear infinite, neonPulse 2.8s ease-in-out infinite;
}

.neon-anim-border::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.65) inset,
    0 22px 70px rgba(29, 78, 216, 0.10);
  opacity: 1;
}

.lease-offer--featured {
  transform: translateZ(0);
}

.lease-offer--featured:hover {
  transform: translateY(-3px);
}

.lease-offer--featured .lease-offer-badge {
  background: rgba(255,255,255,0.92);
  border-color: rgba(245, 158, 11, 0.22);
  color: rgba(180, 83, 9, 1);
}

.lease-offer--featured .lease-offer-badge i {
  color: rgba(245, 158, 11, 1);
}

/* (old featuredSpin removed) */

@keyframes neonHue {
  0% { filter: drop-shadow(0 16px 44px rgba(29, 78, 216, 0.10)) hue-rotate(0deg); }
  100% { filter: drop-shadow(0 16px 44px rgba(29, 78, 216, 0.10)) hue-rotate(360deg); }
}

@keyframes neonPulse {
  0%, 100% { opacity: 0.78; }
  50% { opacity: 0.98; }
}

@media (prefers-reduced-motion: reduce) {
  .neon-anim-border::before { animation: none !important; }
}

/* (glint sweep removed in favor of stable border-only animation) */


