/* =============================================
 * Coded By - DARK LMNx9 (Limon Hossain)
 * GitHub - https://github.com/LMNx9-JOHNY
 * TG Group - https://t.me/+6hZVa9jGrIY4ZDRl
 * WhatsApp - https://wa.me/19707808868
 * Telegram - https://t.me/x_LMNx9
 * Website - https://lmnx9.shop
============================================= */

[data-aos] {
    opacity: 0;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade"] {
    transition-duration: 0.6s;
}
[data-aos="fade"].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(40px);
    transition-duration: 0.8s;
}
[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-down"] {
    transform: translateY(-40px);
    transition-duration: 0.8s;
}
[data-aos="fade-down"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(40px);
    transition-duration: 0.8s;
}
[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(-40px);
    transition-duration: 0.8s;
}
[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-up-right"] {
    transform: translate(40px, 40px);
    transition-duration: 0.8s;
}
[data-aos="fade-up-right"].aos-animate {
    transform: translate(0, 0);
}

[data-aos="fade-up-left"] {
    transform: translate(-40px, 40px);
    transition-duration: 0.8s;
}
[data-aos="fade-up-left"].aos-animate {
    transform: translate(0, 0);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
    transition-duration: 0.6s;
}
[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

[data-aos="zoom-out"] {
    transform: scale(1.2);
    transition-duration: 0.6s;
}
[data-aos="zoom-out"].aos-animate {
    transform: scale(1);
}

[data-aos="zoom-in-up"] {
    transform: translateY(40px) scale(0.8);
    transition-duration: 0.8s;
}
[data-aos="zoom-in-up"].aos-animate {
    transform: translateY(0) scale(1);
}

[data-aos="flip-left"] {
    transform: perspective(2500px) rotateY(-100deg);
    transition-duration: 0.8s;
}
[data-aos="flip-left"].aos-animate {
    transform: perspective(2500px) rotateY(0);
}

[data-aos="flip-right"] {
    transform: perspective(2500px) rotateY(100deg);
    transition-duration: 0.8s;
}
[data-aos="flip-right"].aos-animate {
    transform: perspective(2500px) rotateY(0);
}

[data-aos="flip-up"] {
    transform: perspective(2500px) rotateX(-100deg);
    transition-duration: 0.8s;
}
[data-aos="flip-up"].aos-animate {
    transform: perspective(2500px) rotateX(0);
}

[data-aos="slide-up"] {
    transform: translateY(100%);
    transition-duration: 0.8s;
}
[data-aos="slide-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="slide-down"] {
    transform: translateY(-100%);
    transition-duration: 0.8s;
}
[data-aos="slide-down"].aos-animate {
    transform: translateY(0);
}

[data-aos="slide-left"] {
    transform: translateX(100%);
    transition-duration: 0.8s;
}
[data-aos="slide-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="slide-right"] {
    transform: translateX(-100%);
    transition-duration: 0.8s;
}
[data-aos="slide-right"].aos-animate {
    transform: translateX(0);
}

[data-aos-delay="50"] { transition-delay: 0.05s; }
[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="150"] { transition-delay: 0.15s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="250"] { transition-delay: 0.25s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="350"] { transition-delay: 0.35s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos-delay="450"] { transition-delay: 0.45s; }
[data-aos-delay="500"] { transition-delay: 0.5s; }
[data-aos-delay="600"] { transition-delay: 0.6s; }
[data-aos-delay="700"] { transition-delay: 0.7s; }
[data-aos-delay="800"] { transition-delay: 0.8s; }
[data-aos-delay="900"] { transition-delay: 0.9s; }
[data-aos-delay="1000"] { transition-delay: 1s; }
[data-aos-duration="300"] { transition-duration: 0.3s; }
[data-aos-duration="500"] { transition-duration: 0.5s; }
[data-aos-duration="800"] { transition-duration: 0.8s; }
[data-aos-duration="1000"] { transition-duration: 1s; }
[data-aos-duration="1500"] { transition-duration: 1.5s; }
[data-aos-duration="2000"] { transition-duration: 2s; }
[data-aos-easing="linear"] { transition-timing-function: linear; }
[data-aos-easing="ease"] { transition-timing-function: ease; }
[data-aos-easing="ease-in"] { transition-timing-function: ease-in; }
[data-aos-easing="ease-out"] { transition-timing-function: ease-out; }
[data-aos-easing="ease-in-out"] { transition-timing-function: ease-in-out; }
[data-aos-easing="bounce"] { transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55); }

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 5px var(--primary-neon-glow),
                    0 0 20px var(--primary-neon-glow),
                    0 0 40px var(--primary-neon-glow);
    }
    50% {
        box-shadow: 0 0 10px var(--primary-neon-glow),
                    0 0 30px var(--primary-neon-glow),
                    0 0 60px var(--primary-neon-glow);
    }
}

.pulse-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes neonFlicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        opacity: 1;
    }
    20%, 24%, 55% {
        opacity: 0.3;
    }
}

.neon-flicker {
    animation: neonFlicker 4s linear infinite;
}

@keyframes cursorBlink {
    0%, 100% { border-color: var(--primary-neon); }
    50% { border-color: transparent; }
}

.typing-cursor {
    border-right: 2px solid var(--primary-neon);
    animation: cursorBlink 1s step-end infinite;
}

@keyframes textReveal {
    0% {
        clip-path: inset(0 100% 0 0);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

.text-reveal {
    animation: textReveal 1.5s ease forwards;
}

@keyframes glitch {
    0% {
        transform: translate(0);
        text-shadow: none;
    }
    2% {
        transform: translate(-2px, 2px);
        text-shadow: -2px 0 var(--accent-pink), 2px 0 var(--secondary-cyan);
    }
    4% {
        transform: translate(2px, -2px);
        text-shadow: 2px 0 var(--accent-pink), -2px 0 var(--secondary-cyan);
    }
    6% {
        transform: translate(0);
        text-shadow: none;
    }
    100% {
        transform: translate(0);
        text-shadow: none;
    }
}

.glitch-effect {
    animation: glitch 3s linear infinite;
}

.glitch-effect:hover {
    animation: glitch 0.3s linear infinite;
}

@keyframes floatingElement {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
    }
    50% {
        transform: translateY(-5px) rotate(-1deg);
    }
    75% {
        transform: translateY(-20px) rotate(3deg);
    }
}

.floating {
    animation: floatingElement 6s ease-in-out infinite;
}

.floating-slow {
    animation: floatingElement 8s ease-in-out infinite;
}

.floating-fast {
    animation: floatingElement 4s ease-in-out infinite;
}

@keyframes hoverFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hover-float:hover {
    animation: hoverFloat 1.5s ease-in-out infinite;
}

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

.spin {
    animation: spin 2s linear infinite;
}

.spin-slow {
    animation: spin 4s linear infinite;
}

.spin-fast {
    animation: spin 1s linear infinite;
}

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

.shake {
    animation: shake 0.8s ease-in-out;
}

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

.bounce-in {
    animation: bounceIn 0.8s ease forwards;
}

@keyframes slideInDown {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-down {
    animation: slideInDown 0.5s ease forwards;
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-up {
    animation: slideInUp 0.5s ease forwards;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.5s ease forwards;
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.5s ease forwards;
}

@keyframes slideOutRight {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

.slide-out-right {
    animation: slideOutRight 0.3s ease forwards;
}

@keyframes slideOutLeft {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-100%);
    }
}

.slide-out-left {
    animation: slideOutLeft 0.3s ease forwards;
}

@keyframes slideOutUp {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-100%);
    }
}

.slide-out-up {
    animation: slideOutUp 0.3s ease forwards;
}

@keyframes slideOutDown {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(100%);
    }
}

.slide-out-down {
    animation: slideOutDown 0.3s ease forwards;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-down {
    animation: fadeInDown 0.6s ease forwards;
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease forwards;
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-right {
    animation: fadeInRight 0.6s ease forwards;
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

.fade-out {
    animation: fadeOut 0.5s ease forwards;
}

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

.scale-in {
    animation: scaleIn 0.5s ease forwards;
}

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

.scale-in-center {
    animation: scaleInCenter 0.5s ease forwards;
}

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

.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    padding-top: 100%;
    background: radial-gradient(circle, var(--primary-neon-glow) 10%, transparent 10%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 1s linear;
    pointer-events: none;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-animated {
    background: linear-gradient(270deg, var(--primary-neon), var(--secondary-cyan), var(--accent-purple));
    background-size: 600% 600%;
    animation: gradientShift 8s ease infinite;
}

@keyframes borderGlow {
    0%, 100% {
        border-color: var(--primary-neon);
        box-shadow: 0 0 5px var(--primary-neon-glow), inset 0 0 5px var(--primary-neon-glow);
    }
    50% {
        border-color: var(--secondary-cyan);
        box-shadow: 0 0 20px var(--secondary-cyan-glow), inset 0 0 10px var(--secondary-cyan-glow);
    }
}

.border-glow {
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes scanLine {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

.scan-line {
    position: relative;
    overflow: hidden;
}

.scan-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-neon), transparent);
    animation: scanLine 3s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

.particle {
    position: fixed;
    width: 4px;
    height: 4px;
    background: var(--primary-neon);
    border-radius: 50%;
    pointer-events: none;
    animation: particleFloat var(--duration) linear infinite;
    animation-delay: var(--delay);
}

@keyframes skeleton {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, 
        var(--bg-tertiary) 25%, 
        rgba(0, 255, 65, 0.05) 37%, 
        var(--bg-tertiary) 63%
    );
    background-size: 200px 100%;
    animation: skeleton 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 16px;
}

.skeleton-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.skeleton-card {
    height: 200px;
    border-radius: var(--radius-xl);
}

.skeleton-button {
    height: 40px;
    width: 120px;
    border-radius: var(--radius-lg);
}

.card-tilt {
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-tilt:hover {
    transform: rotateX(2deg) rotateY(2deg) translateY(-5px);
}

@keyframes revealLine {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-line {
    opacity: 0;
    animation: revealLine 0.6s ease forwards;
}

.reveal-line:nth-child(1) { animation-delay: 0.1s; }
.reveal-line:nth-child(2) { animation-delay: 0.2s; }
.reveal-line:nth-child(3) { animation-delay: 0.3s; }
.reveal-line:nth-child(4) { animation-delay: 0.4s; }
.reveal-line:nth-child(5) { animation-delay: 0.5s; }

.stagger-children > * {
    opacity: 0;
    animation: revealLine 0.5s ease forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }
.stagger-children > *:nth-child(7) { animation-delay: 0.7s; }
.stagger-children > *:nth-child(8) { animation-delay: 0.8s; }
.stagger-children > *:nth-child(9) { animation-delay: 0.9s; }
.stagger-children > *:nth-child(10) { animation-delay: 1s; }

@keyframes pageEnter {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-enter {
    animation: pageEnter 0.5s ease forwards;
}

@keyframes pageExit {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.page-exit {
    animation: pageExit 0.3s ease forwards;
}

@keyframes badgePulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.badge-pulse-animation {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes progressFill {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

.progress-animated .progress-fill {
    animation: progressFill 2s ease forwards;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.3);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.3);
    }
    70% {
        transform: scale(1);
    }
}

.heartbeat {
    animation: heartbeat 1.5s ease-in-out infinite;
    display: inline-block;
}

@keyframes rotate3D {
    0% {
        transform: perspective(1000px) rotateY(0deg);
    }
    100% {
        transform: perspective(1000px) rotateY(360deg);
    }
}

.rotate-3d {
    animation: rotate3D 8s linear infinite;
}

@keyframes wobble {
    0% { transform: translateX(0%); }
    15% { transform: translateX(-25%) rotate(-5deg); }
    30% { transform: translateX(20%) rotate(3deg); }
    45% { transform: translateX(-15%) rotate(-3deg); }
    60% { transform: translateX(10%) rotate(2deg); }
    75% { transform: translateX(-5%) rotate(-1deg); }
    100% { transform: translateX(0%); }
}

.wobble {
    animation: wobble 1s ease;
}

@keyframes jello {
    0%, 100% { transform: scale3d(1, 1, 1); }
    30% { transform: scale3d(1.25, 0.75, 1); }
    40% { transform: scale3d(0.75, 1.25, 1); }
    50% { transform: scale3d(1.15, 0.85, 1); }
    65% { transform: scale3d(0.95, 1.05, 1); }
    75% { transform: scale3d(1.05, 0.95, 1); }
}

.jello {
    animation: jello 1s ease;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .particle {
        display: none;
    }
}

.animate-paused {
    animation-play-state: paused !important;
}

.animate-running {
    animation-play-state: running !important;
}

.animate-once {
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.animate-infinite {
    animation-iteration-count: infinite;
}

.animate-normal {
    animation-direction: normal;
}

.animate-reverse {
    animation-direction: reverse;
}

.animate-alternate {
    animation-direction: alternate;
}

.animate-alternate-reverse {
    animation-direction: alternate-reverse;
}

.animate-forwards {
    animation-fill-mode: forwards;
}

.animate-backwards {
    animation-fill-mode: backwards;
}

.animate-both {
    animation-fill-mode: both;
}

.duration-100 { animation-duration: 0.1s; }
.duration-200 { animation-duration: 0.2s; }
.duration-300 { animation-duration: 0.3s; }
.duration-500 { animation-duration: 0.5s; }
.duration-700 { animation-duration: 0.7s; }
.duration-1000 { animation-duration: 1s; }
.duration-1500 { animation-duration: 1.5s; }
.duration-2000 { animation-duration: 2s; }
.duration-3000 { animation-duration: 3s; }
.duration-5000 { animation-duration: 5s; }

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-500 { animation-delay: 0.5s; }
.delay-700 { animation-delay: 0.7s; }
.delay-1000 { animation-delay: 1s; }
.delay-1500 { animation-delay: 1.5s; }
.delay-2000 { animation-delay: 2s; }
