/* ============================================
   ANIMATIONS & EFFECTS - Floworaa Brand Design System
   ============================================ */

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

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered Animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }

/* ============================================
   FLOATING ANIMATIONS
   ============================================ */

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

@keyframes floatCentered {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0px);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-20px);
    }
}

@keyframes floatXCentered {
    0%, 100% {
        transform: translateX(-50%) translateY(0px);
    }
    50% {
        transform: translateX(-50%) translateY(-20px);
    }
}

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

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

.floating,
.floating-slow,
.floating-fast,
.floating-delayed,
.floating-delayed-2,
.floating-delayed-3,
.floating-delayed-4,
.floating-delayed-5,
.floating-delayed-6 {
    animation-fill-mode: both;
}

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

.dashboard-card.floating {
    animation-name: floatCentered;
}

.tiktok-card.floating-delayed-5 {
    animation-name: floatXCentered;
}

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

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

.floating-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: 0.5s;
}

.floating-delayed-2 {
    animation: float 6s ease-in-out infinite;
    animation-delay: 1s;
}

.floating-delayed-3 {
    animation: float 6s ease-in-out infinite;
    animation-delay: 1.5s;
}

.floating-delayed-4 {
    animation: float 6s ease-in-out infinite;
    animation-delay: 2s;
}

.floating-delayed-5 {
    animation: float 6s ease-in-out infinite;
    animation-delay: 2.5s;
}

.floating-delayed-6 {
    animation: float 6s ease-in-out infinite;
    animation-delay: 3s;
}

/* ============================================
   PULSE ANIMATIONS
   ============================================ */

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes pulseSlow {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes pulseFast {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.7;
    }
}

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

.pulse-slow {
    animation: pulseSlow 3s ease-in-out infinite;
}

.pulse-fast {
    animation: pulseFast 1s ease-in-out infinite;
}

/* ============================================
   GLOW ANIMATIONS - Floworaa Brand Colors
   ============================================ */

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 15, 123, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 15, 123, 0.6);
    }
}

@keyframes glowSecondary {
    0%, 100% {
        box-shadow: 0 0 20px rgba(139, 44, 245, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(139, 44, 245, 0.6);
    }
}

@keyframes glowAccent {
    0%, 100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(99, 102, 241, 0.6);
    }
}

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

.glow-secondary {
    animation: glowSecondary 2s ease-in-out infinite;
}

.glow-accent {
    animation: glowAccent 2s ease-in-out infinite;
}

/* ============================================
   SPIN & ROTATE ANIMATIONS
   ============================================ */

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes spinReverse {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

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

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

.spin-reverse {
    animation: spinReverse 3s linear infinite;
}

/* ============================================
   BOUNCE ANIMATIONS
   ============================================ */

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

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

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

.bounce {
    animation: bounce 2s ease-in-out infinite;
}

.bounce-slow {
    animation: bounceSlow 3s ease-in-out infinite;
}

.bounce-fast {
    animation: bounceFast 1s ease-in-out infinite;
}

/* ============================================
   SHAKE ANIMATIONS
   ============================================ */

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

@keyframes shakeSlow {
    0%, 100% {
        transform: translateX(0);
    }
    25%, 75% {
        transform: translateX(-3px);
    }
    50% {
        transform: translateX(3px);
    }
}

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

.shake-slow {
    animation: shakeSlow 2s ease-in-out infinite;
}

/* ============================================
   FADE ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

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

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

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

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

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

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-down {
    animation: fadeInDown 0.8s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

/* ============================================
   SCALE ANIMATIONS
   ============================================ */

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scaleOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

@keyframes scaleUp {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

@keyframes scaleDown {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(0.9);
    }
}

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

.scale-out {
    animation: scaleOut 0.5s ease-out;
}

.scale-up {
    animation: scaleUp 0.3s ease-out;
}

.scale-down {
    animation: scaleDown 0.3s ease-out;
}

/* ============================================
   SLIDE ANIMATIONS
   ============================================ */

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

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

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

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

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

/* ============================================
   ROTATE ANIMATIONS
   ============================================ */

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateReverse {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg);
    }
    to {
        opacity: 1;
        transform: rotate(0deg);
    }
}

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

.rotate-reverse {
    animation: rotateReverse 2s linear infinite;
}

.rotate-in {
    animation: rotateIn 0.5s ease-out;
}

/* ============================================
   SPECIAL EFFECTS
   ============================================ */

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

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

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

@keyframes wave {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(20deg);
    }
    75% {
        transform: rotate(-20deg);
    }
}

.shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

.gradient-animation {
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
}

.typing {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--primary-pink);
    animation: typing 3s steps(40, end), blink 0.75s step-end infinite;
}

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

/* ============================================
   SVG ANIMATIONS
   ============================================ */

@keyframes dash {
    to {
        stroke-dashoffset: -20;
    }
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes moveDot {
    0%, 100% {
        offset-distance: 0%;
    }
    50% {
        offset-distance: 100%;
    }
}

.svg-dash {
    stroke-dasharray: 5, 5;
    animation: dash 2s linear infinite;
}

.svg-draw {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 3s ease-out forwards;
}

/* ============================================
   PARALLAX EFFECTS
   ============================================ */

.parallax-slow {
    will-change: transform;
}

.parallax-medium {
    will-change: transform;
}

.parallax-fast {
    will-change: transform;
}

/* ============================================
   HOVER EFFECTS
   ============================================ */

.hover-lift {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.hover-scale {
    transition: transform var(--transition-base);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-glow {
    transition: box-shadow var(--transition-base);
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(255, 15, 123, 0.5);
}

.hover-rotate {
    transition: transform var(--transition-base);
}

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

/* ============================================
   LOADING ANIMATIONS
   ============================================ */

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-light);
    border-top-color: var(--primary-pink);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-sm {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

.spinner-lg {
    width: 60px;
    height: 60px;
    border-width: 6px;
}

/* ============================================
   COUNTER ANIMATION
   ============================================ */

.counter {
    display: inline-block;
}

/* ============================================
   MOUSE FOLLOW EFFECT - Floworaa Brand
   ============================================ */

.mouse-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 15, 123, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

/* ============================================
   BACKGROUND ANIMATIONS
   ============================================ */

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

.animated-gradient {
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}

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

.animated-background {
    background-size: 400% 400%;
    animation: backgroundMove 20s ease infinite;
}

/* ============================================
   TEXT ANIMATIONS - Floworaa Brand
   ============================================ */

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 15, 123, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 15, 123, 0.8), 0 0 30px rgba(255, 15, 123, 0.6);
    }
}

.text-glow {
    animation: textGlow 2s ease-in-out infinite;
}

/* ============================================
   CARD ANIMATIONS
   ============================================ */

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.card-animate {
    animation: cardEntrance 0.6s ease-out;
}

/* ============================================
   BUTTON ANIMATIONS - Floworaa Brand
   ============================================ */

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 15, 123, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 15, 123, 0);
    }
}

.btn-pulse {
    animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s;
}

.btn-shine:hover::after {
    left: 100%;
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* GPU Acceleration */
.gpu-accelerated {
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Smooth scrolling for all browsers */
html {
    scroll-behavior: smooth;
}

/* ============================================
   CUSTOM CURSOR (Optional)
   ============================================ */

.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-pink);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease;
    transform: translate(-50%, -50%);
}

.custom-cursor.hover {
    width: 40px;
    height: 40px;
    background: rgba(255, 15, 123, 0.1);
}

/* ============================================
   LOADING SKELETON
   ============================================ */

@keyframes skeleton {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(
        90deg,
        var(--bg-light) 25%,
        var(--bg-gray) 50%,
        var(--bg-light) 75%
    );
    background-size: 200% 100%;
    animation: skeleton 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

/* ============================================
   NOTIFICATION BADGE
   ============================================ */

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

.badge-pop {
    animation: badgePop 0.3s ease-out;
}

/* ============================================
   SUCCESS CHECKMARK
   ============================================ */

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

.checkmark {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: checkmark 0.5s ease-out forwards;
}

/* ============================================
   PROGRESS BAR
   ============================================ */

@keyframes progressBar {
    from {
        width: 0%;
    }
    to {
        width: var(--progress-width);
    }
}

.progress-bar-animated {
    animation: progressBar 1s ease-out forwards;
}

/* ============================================
   MORPHING SHAPES
   ============================================ */

@keyframes morph {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

.morph {
    animation: morph 8s ease-in-out infinite;
}

/* ============================================
   TYPING CURSOR
   ============================================ */

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.typing-cursor::after {
    content: '|';
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

/* ============================================
   RIPPLE EFFECT
   ============================================ */

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

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

.ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 0.6s ease-out;
}

/* ============================================
   STAGGER ANIMATIONS FOR LISTS
   ============================================ */

.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   INFINITE SCROLL
   ============================================ */

@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.infinite-scroll {
    animation: infiniteScroll 20s linear infinite;
}

/* ============================================
   PARTICLE EFFECTS
   ============================================ */

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

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-pink);
    border-radius: 50%;
    animation: particle 3s ease-in-out infinite;
}

/* ============================================
   WAVE ANIMATION
   ============================================ */

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

.wave-animation {
    animation: wave 2s ease-in-out infinite;
}

.wave-delay-1 { animation-delay: 0.1s; }
.wave-delay-2 { animation-delay: 0.2s; }
.wave-delay-3 { animation-delay: 0.3s; }
.wave-delay-4 { animation-delay: 0.4s; }
.wave-delay-5 { animation-delay: 0.5s; }

/* ============================================
   FLIP CARD ANIMATION
   ============================================ */

.flip-card {
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

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

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* ============================================
   TILT EFFECT
   ============================================ */

.tilt-effect {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.tilt-effect:hover {
    transform: perspective(1000px) rotateX(10deg) rotateY(10deg) scale(1.02);
}

/* ============================================
   GLITCH EFFECT
   ============================================ */

@keyframes glitch {
    0%, 100% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
}

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

/* ============================================
   NEON GLOW - Floworaa Brand
   ============================================ */

@keyframes neonGlow {
    0%, 100% {
        text-shadow: 0 0 10px var(--primary-pink), 0 0 20px var(--primary-pink), 0 0 30px var(--primary-pink);
    }
    50% {
        text-shadow: 0 0 20px var(--primary-pink), 0 0 30px var(--primary-pink), 0 0 40px var(--primary-pink);
    }
}

.neon-text {
    animation: neonGlow 1.5s ease-in-out infinite;
}

/* ============================================
   SKELETON LOADING
   ============================================ */

@keyframes skeletonLoading {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton-loading {
    background: linear-gradient(
        90deg,
        var(--bg-light) 0%,
        var(--bg-gray) 50%,
        var(--bg-light) 100%
    );
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s ease-in-out infinite;
}

/* ============================================
   INTERSECTION OBSERVER ANIMATIONS
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}