(()=>{function t(t){const e=t.currentTarget,a=e.getBoundingClientRect(),r=t.clientX-a.left,n=t.clientY-a.top,d=parseFloat(e.getAttribute("data-tilt-max"))||15,o=parseFloat(e.getAttribute("data-scale"))||1.03,c=a.width/2,i=a.height/2,l=(n-i)/i*d*-1,s=(r-c)/c*d;e.style.transform=`perspective(1000px) rotateX(${l}deg) rotateY(${s}deg) scale3d(${o}, ${o}, ${o})`}function e(t){t.currentTarget.style.transform="perspective(1000px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1)"}document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll(".axvart-3d-tilt-card").forEach(a=>{a.addEventListener("mousemove",t),a.addEventListener("mouseleave",e)})})})();