.hexa-animations-ready [data-hexa-animation] {
    opacity: var(--hexa-animation-opacity, 0);
    filter: blur(var(--hexa-animation-blur, 0));
    transition:
        opacity var(--hexa-animation-duration, 600ms) var(--hexa-animation-easing, ease) var(--hexa-animation-delay, 0ms),
        transform var(--hexa-animation-duration, 600ms) var(--hexa-animation-easing, ease) var(--hexa-animation-delay, 0ms),
        filter var(--hexa-animation-duration, 600ms) var(--hexa-animation-easing, ease) var(--hexa-animation-delay, 0ms);
    will-change: opacity, transform, filter;
}

.hexa-animations-ready [data-hexa-animation="fade"] { transform: none; }
.hexa-animations-ready [data-hexa-animation="fade-up"] { transform: translate3d(0, var(--hexa-animation-distance, 32px), 0); }
.hexa-animations-ready [data-hexa-animation="fade-down"] { transform: translate3d(0, calc(-1 * var(--hexa-animation-distance, 32px)), 0); }
.hexa-animations-ready [data-hexa-animation="fade-left"] { transform: translate3d(calc(-1 * var(--hexa-animation-distance, 32px)), 0, 0); }
.hexa-animations-ready [data-hexa-animation="fade-right"] { transform: translate3d(var(--hexa-animation-distance, 32px), 0, 0); }
.hexa-animations-ready [data-hexa-animation="zoom-in"] { transform: scale(var(--hexa-animation-scale, .92)); }
.hexa-animations-ready [data-hexa-animation="zoom-out"] { transform: scale(var(--hexa-animation-scale, 1.08)); }
.hexa-animations-ready [data-hexa-animation="rotate-left"] { transform: rotate(calc(-1 * var(--hexa-animation-rotate, 8deg))); }
.hexa-animations-ready [data-hexa-animation="rotate-right"] { transform: rotate(var(--hexa-animation-rotate, 8deg)); }
.hexa-animations-ready [data-hexa-animation="flip-x"] { transform: perspective(800px) rotateX(90deg); }
.hexa-animations-ready [data-hexa-animation="flip-y"] { transform: perspective(800px) rotateY(90deg); }
.hexa-animations-ready [data-hexa-animation="custom"] { transform: var(--hexa-animation-transform, none); }

.hexa-animations-ready [data-hexa-animation].hexa-animation-visible {
    opacity: 1;
    transform: none;
    filter: blur(0);
}

[data-hexa-hover] {
    transition:
        opacity var(--hexa-hover-duration, 250ms) var(--hexa-hover-easing, ease),
        transform var(--hexa-hover-duration, 250ms) var(--hexa-hover-easing, ease),
        filter var(--hexa-hover-duration, 250ms) var(--hexa-hover-easing, ease),
        box-shadow var(--hexa-hover-duration, 250ms) var(--hexa-hover-easing, ease);
    will-change: opacity, transform, filter, box-shadow;
}

[data-hexa-hover]:where(:not([data-hexa-animation]), .hexa-animation-visible):hover {
    opacity: var(--hexa-hover-opacity, 1);
}

[data-hexa-hover="lift"]:where(:not([data-hexa-animation]), .hexa-animation-visible):hover {
    transform: translate3d(0, calc(-1 * var(--hexa-hover-lift, 8px)), 0);
}

[data-hexa-hover="scale"]:where(:not([data-hexa-animation]), .hexa-animation-visible):hover {
    transform: scale(var(--hexa-hover-scale, 1.03));
}

[data-hexa-hover="lift-scale"]:where(:not([data-hexa-animation]), .hexa-animation-visible):hover {
    transform: translate3d(0, calc(-1 * var(--hexa-hover-lift, 8px)), 0) scale(var(--hexa-hover-scale, 1.03));
}

[data-hexa-hover="tilt-left"]:where(:not([data-hexa-animation]), .hexa-animation-visible):hover {
    transform: rotate(calc(-1 * var(--hexa-hover-rotate, 2deg)));
}

[data-hexa-hover="tilt-right"]:where(:not([data-hexa-animation]), .hexa-animation-visible):hover {
    transform: rotate(var(--hexa-hover-rotate, 2deg));
}

[data-hexa-hover="fade"]:where(:not([data-hexa-animation]), .hexa-animation-visible):hover {
    opacity: var(--hexa-hover-opacity, .85);
}

[data-hexa-hover="shadow"]:where(:not([data-hexa-animation]), .hexa-animation-visible):hover {
    box-shadow: 0 var(--hexa-hover-shadow, 18px) calc(var(--hexa-hover-shadow, 18px) * 2) rgba(15, 23, 42, .18);
}

[data-hexa-hover="glow"]:where(:not([data-hexa-animation]), .hexa-animation-visible):hover {
    box-shadow: 0 0 calc(var(--hexa-hover-shadow, 18px) * 2) rgba(147, 51, 234, .35);
}

[data-hexa-hover="blur"]:where(:not([data-hexa-animation]), .hexa-animation-visible):hover {
    filter: blur(2px);
}

[data-hexa-hover="press"]:where(:not([data-hexa-animation]), .hexa-animation-visible):hover {
    transform: scale(var(--hexa-hover-scale, .98));
}

[data-hexa-hover="custom"]:where(:not([data-hexa-animation]), .hexa-animation-visible):hover {
    transform: var(--hexa-hover-transform, none);
    box-shadow: 0 var(--hexa-hover-shadow, 18px) calc(var(--hexa-hover-shadow, 18px) * 2) rgba(15, 23, 42, .16);
}

@media (prefers-reduced-motion: reduce) {
    .hexa-animations-ready [data-hexa-animation],
    [data-hexa-hover],
    [data-hexa-hover]:hover {
        opacity: 1;
        transform: none;
        filter: none;
        box-shadow: none;
        transition: none;
    }
}
