/**
 * uicore Pro Animations - Complete Animation Suite
 * Modern, stylish animations for WordPress
 * Version: 2.0.0
 */

/* ===================================
   CSS VARIABLES & CONFIGURATION
   =================================== */
:root {
    --uicore-speed: 0.8s;
    --uicore-easing: cubic-bezier(0.34, 1.56, 0.64, 1);
    --uicore-blur-light: blur(4px);
    --uicore-blur-medium: blur(8px);
    --uicore-blur-heavy: blur(16px);
    --uicore-blur-extreme: blur(32px);
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    *[class*="uicore-"] {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   ENTRANCE ANIMATIONS
   =================================== */

/* Base entrance class */
.uicore-entrance {
    animation-fill-mode: both;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
}

/* Fade Effects */
@keyframes uicore-fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes uicore-fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes uicore-fadeDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes uicore-fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes uicore-fadeRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.uicore-fade-in {
    animation-name: uicore-fadeIn;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-fade-in.uicore-animated {
    animation: none;
    opacity: 1;
}

.uicore-fade-up {
    animation-name: uicore-fadeUp;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-fade-up.uicore-animated {
    animation: none;
    opacity: 1;
    transform: translateY(0);
}

.uicore-fade-down {
    animation-name: uicore-fadeDown;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-fade-down.uicore-animated {
    animation: none;
    opacity: 1;
    transform: translateY(0);
}

.uicore-fade-left {
    animation-name: uicore-fadeLeft;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-fade-left.uicore-animated {
    animation: none;
    opacity: 1;
    transform: translateX(0);
}

.uicore-fade-right {
    animation-name: uicore-fadeRight;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-fade-right.uicore-animated {
    animation: none;
    opacity: 1;
    transform: translateX(0);
}

/* Slide Effects */
@keyframes uicore-slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes uicore-slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes uicore-slideLeft {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes uicore-slideRight {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.uicore-slide-up {
    animation-name: uicore-slideUp;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-slide-up.uicore-animated {
    animation: none;
    opacity: 1;
    transform: translateY(0);
}

.uicore-slide-down {
    animation-name: uicore-slideDown;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-slide-down.uicore-animated {
    animation: none;
    opacity: 1;
    transform: translateY(0);
}

.uicore-slide-left {
    animation-name: uicore-slideLeft;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-slide-left.uicore-animated {
    animation: none;
    opacity: 1;
    transform: translateX(0);
}

.uicore-slide-right {
    animation-name: uicore-slideRight;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-slide-right.uicore-animated {
    animation: none;
    opacity: 1;
    transform: translateX(0);
}

/* Scale Effects */
@keyframes uicore-scaleUp {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes uicore-scaleDown {
    from {
        transform: scale(1.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes uicore-zoomIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes uicore-zoomOut {
    from {
        transform: scale(2);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.uicore-scale-up {
    animation-name: uicore-scaleUp;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-scale-up.uicore-animated {
    animation: none;
    opacity: 1;
    transform: scale(1);
}

.uicore-scale-down {
    animation-name: uicore-scaleDown;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-scale-down.uicore-animated {
    animation: none;
    opacity: 1;
    transform: scale(1);
}

.uicore-zoom-in {
    animation-name: uicore-zoomIn;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-zoom-in.uicore-animated {
    animation: none;
    opacity: 1;
    transform: scale(1);
}

.uicore-zoom-out {
    animation-name: uicore-zoomOut;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-zoom-out.uicore-animated {
    animation: none;
    opacity: 1;
    transform: scale(1);
}

/* Rotate Effects */
@keyframes uicore-rotateIn {
    from {
        transform: rotate(-180deg) scale(0.5);
        opacity: 0;
    }
    to {
        transform: rotate(0) scale(1);
        opacity: 1;
    }
}

@keyframes uicore-rotateLeft {
    from {
        transform: rotate(-90deg);
        transform-origin: left bottom;
        opacity: 0;
    }
    to {
        transform: rotate(0);
        transform-origin: left bottom;
        opacity: 1;
    }
}

@keyframes uicore-rotateRight {
    from {
        transform: rotate(90deg);
        transform-origin: right bottom;
        opacity: 0;
    }
    to {
        transform: rotate(0);
        transform-origin: right bottom;
        opacity: 1;
    }
}

@keyframes uicore-flipX {
    from {
        transform: perspective(400px) rotateX(-90deg);
        opacity: 0;
    }
    to {
        transform: perspective(400px) rotateX(0);
        opacity: 1;
    }
}

@keyframes uicore-flipY {
    from {
        transform: perspective(400px) rotateY(-90deg);
        opacity: 0;
    }
    to {
        transform: perspective(400px) rotateY(0);
        opacity: 1;
    }
}

.uicore-rotate-in {
    animation-name: uicore-rotateIn;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-rotate-in.uicore-animated {
    animation: none;
    opacity: 1;
    transform: rotate(0) scale(1);
}

.uicore-rotate-left {
    animation-name: uicore-rotateLeft;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-rotate-left.uicore-animated {
    animation: none;
    opacity: 1;
    transform: rotate(0);
}

.uicore-rotate-right {
    animation-name: uicore-rotateRight;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-rotate-right.uicore-animated {
    animation: none;
    opacity: 1;
    transform: rotate(0);
}

.uicore-flip-x {
    animation-name: uicore-flipX;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-flip-x.uicore-animated {
    animation: none;
    opacity: 1;
    transform: perspective(400px) rotateX(0);
}

.uicore-flip-y {
    animation-name: uicore-flipY;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-flip-y.uicore-animated {
    animation: none;
    opacity: 1;
    transform: perspective(400px) rotateY(0);
}

/* Blur Entrance Effects */
@keyframes uicore-blurIn {
    from {
        filter: blur(20px);
        opacity: 0;
    }
    to {
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes uicore-blurSlideUp {
    from {
        filter: blur(20px);
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        filter: blur(0);
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes uicore-blurZoom {
    from {
        filter: blur(20px);
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        filter: blur(0);
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes uicore-blurRotate {
    from {
        filter: blur(20px);
        transform: rotate(-180deg);
        opacity: 0;
    }
    to {
        filter: blur(0);
        transform: rotate(0);
        opacity: 1;
    }
}

.uicore-blur-in {
    animation-name: uicore-blurIn;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-blur-in.uicore-animated {
    animation: none;
    opacity: 1;
    filter: blur(0);
}

.uicore-blur-slide-up {
    animation-name: uicore-blurSlideUp;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-blur-slide-up.uicore-animated {
    animation: none;
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.uicore-blur-zoom {
    animation-name: uicore-blurZoom;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-blur-zoom.uicore-animated {
    animation: none;
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

.uicore-blur-rotate {
    animation-name: uicore-blurRotate;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-blur-rotate.uicore-animated {
    animation: none;
    opacity: 1;
    filter: blur(0);
    transform: rotate(0);
}

/* Special Entrance Effects */
@keyframes uicore-bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes uicore-elasticIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    55% {
        opacity: 1;
        transform: scale(1.15);
    }
    75% {
        transform: scale(0.95);
    }
    85% {
        transform: scale(1.05);
    }
    95% {
        transform: scale(0.98);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes uicore-glitchIn {
    0% {
        opacity: 0;
        transform: translate(-10px, -10px);
        filter: hue-rotate(0deg);
    }
    25% {
        transform: translate(10px, 5px);
        filter: hue-rotate(90deg);
    }
    50% {
        transform: translate(-5px, 8px);
        filter: hue-rotate(180deg);
    }
    75% {
        transform: translate(8px, -5px);
        filter: hue-rotate(270deg);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
        filter: hue-rotate(360deg);
    }
}

@keyframes uicore-perspectiveLeft {
    from {
        transform: perspective(800px) rotateY(-45deg);
        opacity: 0;
    }
    to {
        transform: perspective(800px) rotateY(0);
        opacity: 1;
    }
}

@keyframes uicore-perspectiveRight {
    from {
        transform: perspective(800px) rotateY(45deg);
        opacity: 0;
    }
    to {
        transform: perspective(800px) rotateY(0);
        opacity: 1;
    }
}

.uicore-bounce-in {
    animation-name: uicore-bounceIn;
    animation-duration: var(--uicore-speed);
    animation-timing-function: ease-out;
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-bounce-in.uicore-animated {
    animation: none;
    opacity: 1;
    transform: scale(1);
}

.uicore-elastic-in {
    animation-name: uicore-elasticIn;
    animation-duration: var(--uicore-speed);
    animation-timing-function: ease-out;
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-elastic-in.uicore-animated {
    animation: none;
    opacity: 1;
    transform: scale(1);
}

.uicore-glitch-in {
    animation-name: uicore-glitchIn;
    animation-duration: 0.6s;
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-glitch-in.uicore-animated {
    animation: none;
    opacity: 1;
    transform: translate(0, 0);
    filter: hue-rotate(0deg);
}

.uicore-perspective-left {
    animation-name: uicore-perspectiveLeft;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-perspective-left.uicore-animated {
    animation: none;
    opacity: 1;
    transform: perspective(800px) rotateY(0);
}

.uicore-perspective-right {
    animation-name: uicore-perspectiveRight;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
    animation-fill-mode: both;
    animation-iteration-count: 1;
}

.uicore-perspective-right.uicore-animated {
    animation: none;
    opacity: 1;
    transform: perspective(800px) rotateY(0);
}

/* ===================================
   SCROLL ANIMATIONS
   =================================== */

/* Elements hidden until scrolled into view */
.uicore-scroll-fade,
.uicore-scroll-slide-up,
.uicore-scroll-slide-left,
.uicore-scroll-slide-right,
.uicore-scroll-scale,
.uicore-scroll-blur,
.uicore-scroll-rotate {
    opacity: 0;
    transition: all var(--uicore-speed) var(--uicore-easing);
}

.uicore-scroll-fade.uicore-in-view {
    opacity: 1;
}

.uicore-scroll-slide-up {
    transform: translateY(50px);
}

.uicore-scroll-slide-up.uicore-in-view {
    opacity: 1;
    transform: translateY(0);
}

.uicore-scroll-slide-left {
    transform: translateX(50px);
}

.uicore-scroll-slide-left.uicore-in-view {
    opacity: 1;
    transform: translateX(0);
}

.uicore-scroll-slide-right {
    transform: translateX(-50px);
}

.uicore-scroll-slide-right.uicore-in-view {
    opacity: 1;
    transform: translateX(0);
}

.uicore-scroll-scale {
    transform: scale(0.8);
}

.uicore-scroll-scale.uicore-in-view {
    opacity: 1;
    transform: scale(1);
}

.uicore-scroll-blur {
    filter: blur(10px);
}

.uicore-scroll-blur.uicore-in-view {
    opacity: 1;
    filter: blur(0);
}

.uicore-scroll-rotate {
    transform: rotate(-10deg) scale(0.9);
}

.uicore-scroll-rotate.uicore-in-view {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Parallax Effects */
.uicore-parallax-slow,
.uicore-parallax-medium,
.uicore-parallax-fast {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Continuous Scroll Glow */
.uicore-scroll-glow {
    transition: box-shadow var(--uicore-speed) ease;
}

.uicore-scroll-glow.uicore-in-view {
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.6);
}

/* Skew Effect */
.uicore-scroll-skew {
    transform: skewY(3deg);
    transition: transform var(--uicore-speed) var(--uicore-easing);
}

.uicore-scroll-skew.uicore-in-view {
    transform: skewY(0);
}

/* ===================================
   HOVER ANIMATIONS
   =================================== */

/* Button Hover Effects */
.uicore-hover-lift {
    transition: transform 0.3s var(--uicore-easing), box-shadow 0.3s ease;
}

.uicore-hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.uicore-hover-grow {
    transition: transform 0.3s var(--uicore-easing);
}

.uicore-hover-grow:hover {
    transform: scale(1.1);
}

.uicore-hover-shrink {
    transition: transform 0.3s var(--uicore-easing);
}

.uicore-hover-shrink:hover {
    transform: scale(0.95);
}

@keyframes uicore-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.uicore-hover-pulse:hover {
    animation: uicore-pulse 1s ease-in-out infinite;
}

@keyframes uicore-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(102, 126, 234, 0.5);
    }
    50% {
        box-shadow: 0 0 25px rgba(102, 126, 234, 0.8), 0 0 50px rgba(102, 126, 234, 0.5);
    }
}

.uicore-hover-glow {
    transition: box-shadow 0.3s ease;
}

.uicore-hover-glow:hover {
    animation: uicore-glow 2s ease-in-out infinite;
}

/* Movement Hover Effects */
@keyframes uicore-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.uicore-hover-float:hover {
    animation: uicore-float 3s ease-in-out infinite;
}

@keyframes uicore-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.uicore-hover-bounce:hover {
    animation: uicore-bounce 0.6s ease-in-out infinite;
}

@keyframes uicore-swing {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    75% {
        transform: rotate(-5deg);
    }
}

.uicore-hover-swing:hover {
    animation: uicore-swing 1s ease-in-out infinite;
    transform-origin: top center;
}

@keyframes uicore-shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

.uicore-hover-shake:hover {
    animation: uicore-shake 0.5s ease-in-out;
}

/* Rotation Hover Effects */
.uicore-hover-rotate {
    transition: transform 0.5s var(--uicore-easing);
}

.uicore-hover-rotate:hover {
    transform: rotate(360deg);
}

.uicore-hover-tilt {
    transition: transform 0.3s ease;
}

.uicore-hover-tilt:hover {
    transform: perspective(800px) rotateY(10deg);
}

.uicore-hover-flip {
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.uicore-hover-flip:hover {
    transform: rotateY(180deg);
}

/* Blur Hover Effects */
.uicore-hover-blur-in {
    transition: filter 0.4s ease;
    filter: blur(0);
}

.uicore-hover-blur-in:hover {
    filter: blur(5px);
}

.uicore-hover-blur-out {
    transition: filter 0.4s ease;
    filter: blur(5px);
}

.uicore-hover-blur-out:hover {
    filter: blur(0);
}

.uicore-hover-focus {
    transition: all 0.4s ease;
    filter: blur(2px) brightness(0.8);
}

.uicore-hover-focus:hover {
    filter: blur(0) brightness(1);
    transform: scale(1.05);
}

/* Special FX Hover */
@keyframes uicore-shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.uicore-hover-shimmer {
    position: relative;
    overflow: hidden;
}

.uicore-hover-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.uicore-hover-shimmer:hover::before {
    opacity: 1;
    animation: uicore-shimmer 1.5s linear infinite;
}

@keyframes uicore-glitch {
    0%, 100% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
    33% {
        transform: translate(-3px, 3px);
        filter: hue-rotate(90deg);
    }
    66% {
        transform: translate(3px, -3px);
        filter: hue-rotate(180deg);
    }
}

.uicore-hover-glitch:hover {
    animation: uicore-glitch 0.3s ease-in-out infinite;
}

.uicore-hover-magnetic {
    transition: transform 0.2s ease;
    cursor: pointer;
}

/* Gradient animation */
@keyframes uicore-gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.uicore-hover-gradient {
    background: linear-gradient(270deg, #667eea, #764ba2, #f093fb, #4facfe);
    background-size: 400% 400%;
    transition: all 0.3s ease;
}

.uicore-hover-gradient:hover {
    animation: uicore-gradient 3s ease infinite;
}

/* Text Hover Effects */
.uicore-hover-underline {
    position: relative;
    display: inline-block;
}

.uicore-hover-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s var(--uicore-easing);
}

.uicore-hover-underline:hover::after {
    width: 100%;
}

@keyframes uicore-wave {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-5px);
    }
    75% {
        transform: translateY(5px);
    }
}

.uicore-hover-wave:hover {
    animation: uicore-wave 1s ease-in-out infinite;
}

.uicore-hover-split {
    position: relative;
    transition: color 0.3s ease;
}

.uicore-hover-split::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    overflow: hidden;
    color: #667eea;
    transition: width 0.5s var(--uicore-easing);
}

.uicore-hover-split:hover::before {
    width: 100%;
}

/* ===================================
   BLUR EFFECTS & GLASSMORPHISM
   =================================== */

/* Glass Effects */
.uicore-glass-light {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.uicore-glass-dark {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.uicore-glass-gradient {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
}

/* Static Blur Levels */
.uicore-blur-light {
    filter: var(--uicore-blur-light);
}

.uicore-blur-medium {
    filter: var(--uicore-blur-medium);
}

.uicore-blur-heavy {
    filter: var(--uicore-blur-heavy);
}

.uicore-blur-extreme {
    filter: var(--uicore-blur-extreme);
}

/* Animated Blur Effects */
@keyframes uicore-blurPulse {
    0%, 100% {
        filter: blur(0);
    }
    50% {
        filter: blur(8px);
    }
}

.uicore-blur-pulse {
    animation: uicore-blurPulse 3s ease-in-out infinite;
}

@keyframes uicore-blurWave {
    0%, 100% {
        filter: blur(2px);
    }
    33% {
        filter: blur(8px);
    }
    66% {
        filter: blur(0);
    }
}

.uicore-blur-wave {
    animation: uicore-blurWave 4s ease-in-out infinite;
}

@keyframes uicore-blurBreathe {
    0%, 100% {
        filter: blur(4px);
    }
    50% {
        filter: blur(12px);
    }
}

.uicore-blur-breathe {
    animation: uicore-blurBreathe 5s ease-in-out infinite;
}

/* Backdrop Filter Effects */
.uicore-backdrop-blur {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.uicore-backdrop-saturate {
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
}

.uicore-backdrop-invert {
    backdrop-filter: invert(10%) blur(5px);
    -webkit-backdrop-filter: invert(10%) blur(5px);
}

/* ===================================
   TIMING & DELAY UTILITIES
   =================================== */

.uicore-delay-1 {
    animation-delay: 0.1s !important;
}

.uicore-delay-2 {
    animation-delay: 0.2s !important;
}

.uicore-delay-3 {
    animation-delay: 0.3s !important;
}

.uicore-delay-4 {
    animation-delay: 0.4s !important;
}

.uicore-delay-5 {
    animation-delay: 0.5s !important;
}

.uicore-slow {
    animation-duration: 1.5s !important;
}

.uicore-slower {
    animation-duration: 2s !important;
}

.uicore-fast {
    animation-duration: 0.5s !important;
}

.uicore-faster {
    animation-duration: 0.3s !important;
}

/* ===================================
   STAGGER EFFECTS FOR CHILDREN
   =================================== */

.uicore-stagger-children > *:nth-child(1) {
    animation-delay: 0.1s;
}

.uicore-stagger-children > *:nth-child(2) {
    animation-delay: 0.2s;
}

.uicore-stagger-children > *:nth-child(3) {
    animation-delay: 0.3s;
}

.uicore-stagger-children > *:nth-child(4) {
    animation-delay: 0.4s;
}

.uicore-stagger-children > *:nth-child(5) {
    animation-delay: 0.5s;
}

.uicore-stagger-children > *:nth-child(6) {
    animation-delay: 0.6s;
}

.uicore-stagger-children > *:nth-child(7) {
    animation-delay: 0.7s;
}

.uicore-stagger-children > *:nth-child(8) {
    animation-delay: 0.8s;
}

.uicore-stagger-children > *:nth-child(9) {
    animation-delay: 0.9s;
}

.uicore-stagger-children > *:nth-child(10) {
    animation-delay: 1s;
}

/* Apply entrance animation to staggered children */
.uicore-stagger-children > * {
    animation-name: uicore-fadeUp;
    animation-duration: var(--uicore-speed);
    animation-timing-function: var(--uicore-easing);
    animation-fill-mode: both;
}

/* ===================================
   RESPONSIVE ADJUSTMENTS
   =================================== */

@media (max-width: 768px) {
    :root {
        --uicore-speed: 0.6s;
    }
    
    /* Reduce transform distances on mobile */
    @keyframes uicore-fadeUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
    }
    
    @keyframes uicore-fadeDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
    }
    
    @keyframes uicore-fadeLeft {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }
    }
    
    @keyframes uicore-fadeRight {
        from {
            opacity: 0;
            transform: translateX(20px);
        }
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.uicore-no-animation {
    animation: none !important;
    transition: none !important;
}

.uicore-infinite {
    animation-iteration-count: infinite !important;
}

.uicore-once {
    animation-iteration-count: 1 !important;
}
