/* AEU Preloader CSS */
.aeu-loader-wrap {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;

    --aeu-spinner-size: 150px;
    --aeu-text-size: 70px;
    --aeu-rotation-speed: 1.5s;
    --aeu-bg-color: #ff8300;
    --aeu-text-color: #ebebeb;
    --aeu-tilt-x: 0deg;
    --aeu-tilt-y: 0deg;
}

.aeu-handle-preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--aeu-bg-color, #ff8300);
    display: flex;
    display: -ms-flexbox;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    z-index: 9999999;
}

.aeu-preloader-close {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 30px;
    background: #fff;
    text-align: center;
    cursor: pointer;
    z-index: 99999999;
    transition: all 0.3s ease;
}

.aeu-preloader-close:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.aeu-handle-preloader .animation-preloader {
    position: absolute;
    z-index: 100;
    transform: perspective(800px) rotateX(var(--aeu-tilt-x)) rotateY(var(--aeu-tilt-y));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Preloader image (SVG/PNG) */
.aeu-handle-preloader .animation-preloader > img {
    display: block;
    width: auto;
    height: auto;
    max-height: 80vh;
    margin: 0 auto;
}

/* === Circle spinner (default) === */
.aeu-handle-preloader .animation-preloader .spinner {
    width: var(--aeu-spinner-size, 150px);
    height: var(--aeu-spinner-size, 150px);
    border-radius: 50%;
    border: 3px solid var(--aeu-text-color, #ebebeb);
    border-top-color: transparent;
    margin: 0 auto 45px auto;
    animation: zoomInOut var(--aeu-rotation-speed, 1.5s) infinite ease-in-out;
    -webkit-animation: zoomInOut var(--aeu-rotation-speed, 1.5s) infinite ease-in-out;
    box-sizing: border-box;
}

/* === Text loading === */
.aeu-handle-preloader .animation-preloader .txt-loading {
    text-align: center;
    user-select: none;
}

.aeu-handle-preloader .animation-preloader .txt-loading .letters-loading {
    position: relative;
    display: inline-block;
    color: transparent;
    font-size: var(--aeu-text-size, 70px);
    line-height: var(--aeu-text-size, 70px);
    font-weight: 600;
    letter-spacing: 15px;
    text-transform: uppercase;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: rgba(235, 235, 235, 0.30);
}

.aeu-handle-preloader .animation-preloader .txt-loading .letters-loading:before {
    position: absolute;
    top: 0;
    left: 0;
    animation: letters-loading 4s infinite;
    content: attr(data-text-preloader);
    color: var(--aeu-text-color, #ebebeb);
    opacity: 0;
}

.aeu-handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(2):before { animation-delay: 0.2s; }
.aeu-handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(3):before { animation-delay: 0.4s; }
.aeu-handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(4):before { animation-delay: 0.6s; }
.aeu-handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(5):before { animation-delay: 0.8s; }
.aeu-handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(6):before { animation-delay: 1s; }
.aeu-handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(7):before { animation-delay: 1.2s; }
.aeu-handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(8):before { animation-delay: 1.4s; }
.aeu-handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(9):before { animation-delay: 1.6s; }
.aeu-handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(10):before { animation-delay: 1.8s; }

.aeu-preloader .loaded .animation-preloader {
    opacity: 0;
    transition: 0.3s ease-out;
}

/* === Spinner Shapes === */

/* Dots */
.aeu-spinner-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    width: var(--aeu-spinner-size, 150px);
    height: var(--aeu-spinner-size, 150px);
    margin: 0 auto 45px auto;
}

.aeu-spinner-dots .dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--aeu-text-color, #ebebeb);
    animation: dotBounce 1.4s infinite ease-in-out both;
}

.aeu-spinner-dots .dot:nth-child(1) { animation-delay: -0.32s; }
.aeu-spinner-dots .dot:nth-child(2) { animation-delay: -0.16s; }
.aeu-spinner-dots .dot:nth-child(3) { animation-delay: 0s; }

/* Bars */
.aeu-spinner-bars {
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    width: var(--aeu-spinner-size, 150px);
    height: var(--aeu-spinner-size, 150px);
    margin: 0 auto 45px auto;
}

.aeu-spinner-bars .bar {
    width: 6px;
    height: 60%;
    border-radius: 3px;
    background: var(--aeu-text-color, #ebebeb);
    animation: barWave 1.2s infinite ease-in-out;
}

.aeu-spinner-bars .bar:nth-child(1) { animation-delay: -0.4s; }
.aeu-spinner-bars .bar:nth-child(2) { animation-delay: -0.3s; }
.aeu-spinner-bars .bar:nth-child(3) { animation-delay: -0.2s; }
.aeu-spinner-bars .bar:nth-child(4) { animation-delay: -0.1s; }
.aeu-spinner-bars .bar:nth-child(5) { animation-delay: 0s; }

/* Pulse */
.aeu-spinner-pulse {
    width: var(--aeu-spinner-size, 150px);
    height: var(--aeu-spinner-size, 150px);
    border-radius: 50%;
    background: var(--aeu-text-color, #ebebeb);
    animation: pulseExpand 1.5s infinite ease-in-out;
    margin: 0 auto 45px auto;
}

/* Ring */
.aeu-spinner-ring {
    width: var(--aeu-spinner-size, 150px);
    height: var(--aeu-spinner-size, 150px);
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--aeu-text-color, #ebebeb);
    border-bottom-color: var(--aeu-text-color, #ebebeb);
    animation: spinKeyframe 1s infinite linear;
    margin: 0 auto 45px auto;
    box-sizing: border-box;
}

/* Cube */
.aeu-spinner-cube {
    width: calc(var(--aeu-spinner-size, 150px) * 0.4);
    height: calc(var(--aeu-spinner-size, 150px) * 0.4);
    background: var(--aeu-text-color, #ebebeb);
    animation: cubeFlip 1.2s infinite ease-in-out;
    margin: 0 auto 45px auto;
}

/* Bounce */
.aeu-spinner-bounce {
    position: relative;
    width: var(--aeu-spinner-size, 150px);
    height: var(--aeu-spinner-size, 150px);
    margin: 0 auto 45px auto;
}

.aeu-spinner-bounce .bounce-ball {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--aeu-text-color, #ebebeb);
    position: absolute;
    opacity: 0.6;
    animation: bounceBall 2s infinite ease-in-out;
}

.aeu-spinner-bounce .bounce-ball:last-child {
    animation-delay: -1s;
}

/* Wave */
.aeu-spinner-wave {
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: flex-end;
    width: var(--aeu-spinner-size, 150px);
    height: var(--aeu-spinner-size, 150px);
    margin: 0 auto 45px auto;
}

.aeu-spinner-wave .wave-bar {
    width: 8px;
    height: 50%;
    border-radius: 4px;
    background: var(--aeu-text-color, #ebebeb);
    animation: waveStretch 1.2s infinite ease-in-out;
}

.aeu-spinner-wave .wave-bar:nth-child(1) { animation-delay: -0.48s; }
.aeu-spinner-wave .wave-bar:nth-child(2) { animation-delay: -0.36s; }
.aeu-spinner-wave .wave-bar:nth-child(3) { animation-delay: -0.24s; }
.aeu-spinner-wave .wave-bar:nth-child(4) { animation-delay: -0.12s; }
.aeu-spinner-wave .wave-bar:nth-child(5) { animation-delay: 0s; }

/* Ripple */
.aeu-spinner-ripple {
    position: relative;
    width: var(--aeu-spinner-size, 150px);
    height: var(--aeu-spinner-size, 150px);
    margin: 0 auto 45px auto;
}

.aeu-spinner-ripple .ripple-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--aeu-text-color, #ebebeb);
    opacity: 0;
    animation: rippleEffect 1.5s infinite ease-out;
}

.aeu-spinner-ripple .ripple-ring:last-child {
    animation-delay: -0.75s;
}

/* Hourglass */
.aeu-spinner-hourglass {
    width: var(--aeu-spinner-size, 150px);
    height: var(--aeu-spinner-size, 150px);
    border: 4px solid var(--aeu-text-color, #ebebeb);
    border-color: var(--aeu-text-color, #ebebeb) transparent;
    border-radius: 50%;
    animation: hourglassSpin 1.2s infinite linear;
    margin: 0 auto 45px auto;
    box-sizing: border-box;
}

/* Diamond */
.aeu-spinner-diamond {
    width: calc(var(--aeu-spinner-size, 150px) * 0.5);
    height: calc(var(--aeu-spinner-size, 150px) * 0.5);
    background: var(--aeu-text-color, #ebebeb);
    transform: rotate(45deg);
    animation: diamondSpin 1.5s infinite ease-in-out;
    margin: 0 auto 45px auto;
}

/* Hexagon */
.aeu-spinner-hexagon {
    width: var(--aeu-spinner-size, 150px);
    height: var(--aeu-spinner-size, 150px);
    position: relative;
    animation: hexagonRotate 2s infinite linear;
    margin: 0 auto 45px auto;
}
.aeu-spinner-hexagon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    transform: translate(-50%, -50%);
    border: 3px solid var(--aeu-text-color, #ebebeb);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Triangle */
.aeu-spinner-triangle {
    width: 0;
    height: 0;
    border-left: calc(var(--aeu-spinner-size, 150px) * 0.35) solid transparent;
    border-right: calc(var(--aeu-spinner-size, 150px) * 0.35) solid transparent;
    border-bottom: calc(var(--aeu-spinner-size, 150px) * 0.6) solid var(--aeu-text-color, #ebebeb);
    animation: triangleRotate 1.5s infinite ease-in-out;
    margin: 0 auto 45px auto;
}

/* Square Spin */
.aeu-spinner-square-spin {
    width: calc(var(--aeu-spinner-size, 150px) * 0.4);
    height: calc(var(--aeu-spinner-size, 150px) * 0.4);
    background: var(--aeu-text-color, #ebebeb);
    animation: squareSpinAnim 3s infinite cubic-bezier(0.09, 0.57, 0.49, 0.9);
    margin: 0 auto 45px auto;
}

/* Orbit */
.aeu-spinner-orbit {
    position: relative;
    width: var(--aeu-spinner-size, 150px);
    height: var(--aeu-spinner-size, 150px);
    animation: orbitRotate 1.2s infinite linear;
    margin: 0 auto 45px auto;
}
.aeu-spinner-orbit .orbit-dot {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--aeu-text-color, #ebebeb);
}
.aeu-spinner-orbit .orbit-dot:first-child {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
.aeu-spinner-orbit .orbit-dot:last-child {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Chase */
.aeu-spinner-chase {
    position: relative;
    width: var(--aeu-spinner-size, 150px);
    height: var(--aeu-spinner-size, 150px);
    animation: chaseRotate 2.5s infinite linear;
    margin: 0 auto 45px auto;
}
.aeu-spinner-chase .chase-dot {
    position: absolute;
    top: 0;
    left: 50%;
    width: 25%;
    height: 25%;
    margin-left: -12.5%;
    border-radius: 50%;
    background: var(--aeu-text-color, #ebebeb);
    animation: chaseDotAnim 2s infinite ease-in-out both;
}
.aeu-spinner-chase .chase-dot:nth-child(1) { transform: rotate(0deg) translateY(0); animation-delay: -1.1s; }
.aeu-spinner-chase .chase-dot:nth-child(2) { transform: rotate(60deg); animation-delay: -1.0s; }
.aeu-spinner-chase .chase-dot:nth-child(3) { transform: rotate(120deg); animation-delay: -0.9s; }
.aeu-spinner-chase .chase-dot:nth-child(4) { transform: rotate(180deg); animation-delay: -0.8s; }
.aeu-spinner-chase .chase-dot:nth-child(5) { transform: rotate(240deg); animation-delay: -0.7s; }
.aeu-spinner-chase .chase-dot:nth-child(6) { transform: rotate(300deg); animation-delay: -0.6s; }

/* Spiral */
.aeu-spinner-spiral {
    width: var(--aeu-spinner-size, 150px);
    height: var(--aeu-spinner-size, 150px);
    border: 4px solid transparent;
    border-color: var(--aeu-text-color, #ebebeb) transparent var(--aeu-text-color, #ebebeb) transparent;
    border-radius: 50%;
    animation: spiralSpin 1s infinite linear;
    margin: 0 auto 45px auto;
    box-sizing: border-box;
    position: relative;
}
.aeu-spinner-spiral::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 3px solid transparent;
    border-color: transparent var(--aeu-text-color, #ebebeb) transparent var(--aeu-text-color, #ebebeb);
    border-radius: 50%;
    animation: spiralSpin 0.6s infinite linear reverse;
}

/* Pendulum */
.aeu-spinner-pendulum {
    position: relative;
    width: var(--aeu-spinner-size, 150px);
    height: calc(var(--aeu-spinner-size, 150px) * 0.5);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 0 auto 45px auto;
}
.aeu-spinner-pendulum .pendulum-ball {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--aeu-text-color, #ebebeb);
}
.aeu-spinner-pendulum .pendulum-ball:first-child {
    animation: pendulumLeft 0.6s infinite alternate ease-in;
}
.aeu-spinner-pendulum .pendulum-ball:last-child {
    animation: pendulumRight 0.6s infinite alternate ease-in;
}

/* DNA */
.aeu-spinner-dna {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: var(--aeu-spinner-size, 150px);
    height: var(--aeu-spinner-size, 150px);
    margin: 0 auto 45px auto;
}
.aeu-spinner-dna .dna-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--aeu-text-color, #ebebeb);
    animation: dnaBounce 1.2s infinite ease-in-out;
}
.aeu-spinner-dna .dna-dot:nth-child(1) { animation-delay: 0s; }
.aeu-spinner-dna .dna-dot:nth-child(2) { animation-delay: 0.15s; }
.aeu-spinner-dna .dna-dot:nth-child(3) { animation-delay: 0.3s; }
.aeu-spinner-dna .dna-dot:nth-child(4) { animation-delay: 0.45s; }
.aeu-spinner-dna .dna-dot:nth-child(5) { animation-delay: 0.6s; }
.aeu-spinner-dna .dna-dot:nth-child(6) { animation-delay: 0.75s; }
.aeu-spinner-dna .dna-dot:nth-child(7) { animation-delay: 0.9s; }
.aeu-spinner-dna .dna-dot:nth-child(8) { animation-delay: 1.05s; }

/* Clock */
.aeu-spinner-clock {
    position: relative;
    width: var(--aeu-spinner-size, 150px);
    height: var(--aeu-spinner-size, 150px);
    border: 3px solid var(--aeu-text-color, #ebebeb);
    border-radius: 50%;
    margin: 0 auto 45px auto;
    box-sizing: border-box;
}
.aeu-spinner-clock .clock-hand {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 35%;
    background: var(--aeu-text-color, #ebebeb);
    transform-origin: bottom center;
    transform: translateX(-50%);
    top: 15%;
    animation: clockSpin 2s infinite linear;
}

/* Fill Circle */
.aeu-spinner-fill-circle {
    width: var(--aeu-spinner-size, 150px);
    height: var(--aeu-spinner-size, 150px);
    border: 3px solid var(--aeu-text-color, #ebebeb);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    margin: 0 auto 45px auto;
    box-sizing: border-box;
}
.aeu-spinner-fill-circle::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--aeu-text-color, #ebebeb);
    opacity: 0.3;
    animation: fillUp 2s infinite ease-in-out;
}

/* Gradient Ring */
.aeu-spinner-gradient-ring {
    width: var(--aeu-spinner-size, 150px);
    height: var(--aeu-spinner-size, 150px);
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--aeu-text-color, #ebebeb);
    animation: gradientRingSpin 0.8s infinite linear;
    margin: 0 auto 45px auto;
    box-sizing: border-box;
    position: relative;
}
.aeu-spinner-gradient-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-right-color: var(--aeu-text-color, #ebebeb);
    opacity: 0.4;
}

/* Pie */
.aeu-spinner-pie {
    width: var(--aeu-spinner-size, 150px);
    height: var(--aeu-spinner-size, 150px);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 3px solid var(--aeu-text-color, #ebebeb);
    margin: 0 auto 45px auto;
    box-sizing: border-box;
}
.aeu-spinner-pie::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(var(--aeu-text-color, #ebebeb) 0deg, transparent 0deg);
    animation: pieFill 2s infinite linear;
}

/* Morph */
.aeu-spinner-morph {
    width: calc(var(--aeu-spinner-size, 150px) * 0.5);
    height: calc(var(--aeu-spinner-size, 150px) * 0.5);
    background: var(--aeu-text-color, #ebebeb);
    animation: morphShape 3s infinite ease-in-out;
    margin: 0 auto 45px auto;
}

/* Heartbeat */
.aeu-spinner-heartbeat {
    margin: 0 auto 45px auto;
}
.aeu-spinner-heartbeat svg {
    width: 100%;
    height: auto;
    overflow: visible;
}
.aeu-spinner-heartbeat .heartbeat-line {
    stroke: var(--aeu-text-color, #ebebeb);
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: heartbeatDraw 1.5s infinite linear;
}

/* Infinity */
.aeu-spinner-infinity {
    width: var(--aeu-spinner-size, 150px);
    height: calc(var(--aeu-spinner-size, 150px) * 0.5);
    position: relative;
    margin: 0 auto 45px auto;
}
.aeu-spinner-infinity .infinity-path {
    position: absolute;
    width: 100%;
    height: 100%;
}
.aeu-spinner-infinity .infinity-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--aeu-text-color, #ebebeb);
    animation: infinityMove 2s infinite ease-in-out;
}

/* Fold */
.aeu-spinner-fold {
    width: var(--aeu-spinner-size, 150px);
    height: var(--aeu-spinner-size, 150px);
    position: relative;
    transform: rotateZ(45deg);
    margin: 0 auto 45px auto;
}
.aeu-spinner-fold .fold-cube {
    float: left;
    width: 50%;
    height: 50%;
    position: relative;
    transform: scale(1.1);
}
.aeu-spinner-fold .fold-cube::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--aeu-text-color, #ebebeb);
    animation: foldCubeAnim 2.4s infinite linear both;
    transform-origin: 100% 100%;
}
.aeu-spinner-fold .fold-cube2 { transform: scale(1.1) rotateZ(90deg); }
.aeu-spinner-fold .fold-cube2::before { animation-delay: 0.3s; }
.aeu-spinner-fold .fold-cube3 { transform: scale(1.1) rotateZ(180deg); }
.aeu-spinner-fold .fold-cube3::before { animation-delay: 0.9s; }
.aeu-spinner-fold .fold-cube4 { transform: scale(1.1) rotateZ(270deg); }
.aeu-spinner-fold .fold-cube4::before { animation-delay: 0.6s; }

/* Grid */
.aeu-spinner-grid {
    width: var(--aeu-spinner-size, 150px);
    height: var(--aeu-spinner-size, 150px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 4px;
    margin: 0 auto 45px auto;
}
.aeu-spinner-grid .grid-cube {
    background: var(--aeu-text-color, #ebebeb);
    border-radius: 2px;
    animation: gridPulse 1.3s infinite ease-in-out;
}
.aeu-spinner-grid .grid-cube1 { animation-delay: 0.2s; }
.aeu-spinner-grid .grid-cube2 { animation-delay: 0.3s; }
.aeu-spinner-grid .grid-cube3 { animation-delay: 0.4s; }
.aeu-spinner-grid .grid-cube4 { animation-delay: 0.1s; }
.aeu-spinner-grid .grid-cube5 { animation-delay: 0.2s; }
.aeu-spinner-grid .grid-cube6 { animation-delay: 0.3s; }
.aeu-spinner-grid .grid-cube7 { animation-delay: 0.0s; }
.aeu-spinner-grid .grid-cube8 { animation-delay: 0.1s; }
.aeu-spinner-grid .grid-cube9 { animation-delay: 0.2s; }

/* Staggered Circles */
.aeu-spinner-staggered {
    position: relative;
    width: var(--aeu-spinner-size, 150px);
    height: var(--aeu-spinner-size, 150px);
    margin: 0 auto 45px auto;
}
.aeu-spinner-staggered .stagger-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid var(--aeu-text-color, #ebebeb);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: staggerPulse 2s infinite ease-out;
}
.aeu-spinner-staggered .stagger-circle:nth-child(2) { animation-delay: 0.4s; }
.aeu-spinner-staggered .stagger-circle:nth-child(3) { animation-delay: 0.8s; }

/* Typing Dots */
.aeu-spinner-typing {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 45px auto;
}
.aeu-spinner-typing .typing-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--aeu-text-color, #ebebeb);
    animation: typingBounce 1.4s infinite ease-in-out;
}
.aeu-spinner-typing .typing-dot:nth-child(1) { animation-delay: 0s; }
.aeu-spinner-typing .typing-dot:nth-child(2) { animation-delay: 0.2s; }
.aeu-spinner-typing .typing-dot:nth-child(3) { animation-delay: 0.4s; }

/* Ellipsis */
.aeu-spinner-ellipsis {
    position: relative;
    width: var(--aeu-spinner-size, 150px);
    height: calc(var(--aeu-spinner-size, 150px) * 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 45px auto;
}
.aeu-spinner-ellipsis .ellipsis-dot {
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--aeu-text-color, #ebebeb);
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.aeu-spinner-ellipsis .ellipsis-dot:nth-child(1) { left: 15%; animation: ellipsis1 0.6s infinite; }
.aeu-spinner-ellipsis .ellipsis-dot:nth-child(2) { left: 15%; animation: ellipsis2 0.6s infinite; }
.aeu-spinner-ellipsis .ellipsis-dot:nth-child(3) { left: 45%; animation: ellipsis2 0.6s infinite; }
.aeu-spinner-ellipsis .ellipsis-dot:nth-child(4) { left: 75%; animation: ellipsis3 0.6s infinite; }

/* === Animation Keyframes === */

/* Zoom (default) */
@keyframes zoomInOut {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* Spin */
@keyframes spinKeyframe {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Spin animation type (for circle spinner override) */
@keyframes spinAnim {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Pulse animation type */
@keyframes pulseAnim {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* Fade animation type */
@keyframes fadeAnim {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* Bounce animation type */
@keyframes bounceAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Swing animation type */
@keyframes swingAnim {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-15deg); }
    100% { transform: rotate(0deg); }
}

/* Flip animation type */
@keyframes flipAnim {
    0% { transform: perspective(400px) rotateY(0deg); }
    50% { transform: perspective(400px) rotateY(180deg); }
    100% { transform: perspective(400px) rotateY(360deg); }
}

/* Shape-specific keyframes */
@keyframes dotBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@keyframes barWave {
    0%, 40%, 100% { transform: scaleY(0.4); }
    20% { transform: scaleY(1); }
}

@keyframes pulseExpand {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(1); opacity: 0; }
}

@keyframes cubeFlip {
    0% { transform: perspective(120px) rotateX(0deg) rotateY(0deg); }
    50% { transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg); }
    100% { transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg); }
}

@keyframes bounceBall {
    0%, 100% { transform: scale(0); }
    50% { transform: scale(1); }
}

@keyframes waveStretch {
    0%, 40%, 100% { transform: scaleY(0.4); }
    20% { transform: scaleY(1); }
}

@keyframes rippleEffect {
    0% { transform: scale(0.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0; }
}

/* New shape keyframes */
@keyframes hourglassSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes diamondSpin {
    0% { transform: rotate(45deg) scale(1); }
    50% { transform: rotate(225deg) scale(0.6); }
    100% { transform: rotate(405deg) scale(1); }
}

@keyframes hexagonRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes triangleRotate {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

@keyframes squareSpinAnim {
    0% { transform: perspective(100px) rotateX(0) rotateY(0); }
    25% { transform: perspective(100px) rotateX(180deg) rotateY(0); }
    50% { transform: perspective(100px) rotateX(180deg) rotateY(180deg); }
    75% { transform: perspective(100px) rotateX(0) rotateY(180deg); }
    100% { transform: perspective(100px) rotateX(0) rotateY(0); }
}

@keyframes orbitRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes chaseRotate {
    100% { transform: rotate(360deg); }
}

@keyframes chaseDotAnim {
    80%, 100% { transform: rotate(360deg); }
}

@keyframes spiralSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pendulumLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(15px); }
}

@keyframes pendulumRight {
    0% { transform: translateX(0); }
    100% { transform: translateX(-15px); }
}

@keyframes dnaBounce {
    0%, 100% { transform: translateY(-15px); opacity: 1; }
    50% { transform: translateY(15px); opacity: 0.5; }
}

@keyframes clockSpin {
    0% { transform: translateX(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg); }
}

@keyframes fillUp {
    0% { height: 0%; }
    50% { height: 100%; }
    100% { height: 0%; }
}

@keyframes gradientRingSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pieFill {
    0% { background: conic-gradient(var(--aeu-text-color, #ebebeb) 0deg, transparent 0deg); }
    100% { background: conic-gradient(var(--aeu-text-color, #ebebeb) 360deg, transparent 360deg); }
}

@keyframes morphShape {
    0% { border-radius: 0; transform: rotate(0deg); }
    25% { border-radius: 50%; transform: rotate(90deg); }
    50% { border-radius: 10%; transform: rotate(180deg) scale(0.7); }
    75% { border-radius: 50%; transform: rotate(270deg); }
    100% { border-radius: 0; transform: rotate(360deg); }
}

@keyframes heartbeatDraw {
    0% { stroke-dashoffset: 300; }
    100% { stroke-dashoffset: 0; }
}

@keyframes infinityMove {
    0% { left: 0; top: 50%; transform: translate(0, -50%); }
    25% { left: 50%; top: 0; transform: translate(-50%, 0); }
    50% { left: 100%; top: 50%; transform: translate(-100%, -50%); }
    75% { left: 50%; top: 100%; transform: translate(-50%, -100%); }
    100% { left: 0; top: 50%; transform: translate(0, -50%); }
}

@keyframes foldCubeAnim {
    0%, 10% { transform: perspective(140px) rotateX(-180deg); opacity: 0; }
    25%, 75% { transform: perspective(140px) rotateX(0deg); opacity: 1; }
    90%, 100% { transform: perspective(140px) rotateY(180deg); opacity: 0; }
}

@keyframes gridPulse {
    0%, 70%, 100% { transform: scale3D(1, 1, 1); }
    35% { transform: scale3D(0, 0, 1); }
}

@keyframes staggerPulse {
    0% { transform: translate(-50%, -50%) scale(0.3); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-10px); opacity: 1; }
}

@keyframes ellipsis1 {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

@keyframes ellipsis2 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100%, 0); }
}

@keyframes ellipsis3 {
    0% { transform: scale(1); }
    100% { transform: scale(0); }
}

/* Letters loading */
@keyframes letters-loading {
    0%, 75%, 100% { opacity: 0; transform: rotateY(-90deg); }
    25%, 50% { opacity: 1; transform: rotateY(0deg); }
}

@-webkit-keyframes letters-loading {
    0%, 75%, 100% { opacity: 0; transform: rotateY(-90deg); }
    25%, 50% { opacity: 1; transform: rotateY(0deg); }
}

/* Responsive */
@media screen and (max-width: 767px) {
    .aeu-handle-preloader .animation-preloader .spinner {
        height: 8em;
        width: 8em;
    }

    .aeu-handle-preloader .animation-preloader .txt-loading .letters-loading {
        font-size: 50px;
        line-height: 50px;
        letter-spacing: 12px;
    }
}

@media screen and (max-width: 500px) {
    .aeu-handle-preloader .animation-preloader .spinner {
        height: 7em;
        width: 7em;
    }

    .aeu-handle-preloader .animation-preloader .txt-loading .letters-loading {
        font-size: 30px;
        line-height: 30px;
        letter-spacing: 10px;
    }
}
