/*--------------------------------------------------------------
# Animations & Effects
--------------------------------------------------------------*/

/* === Keyframe Animations === */

/* Shimmer Effect for Hero */
@keyframes shimmer {
    0%, 100% { 
        opacity: 0.3; 
    }
    50% { 
        opacity: 0.7; 
    }
}

/* Glow Effect for Elements */
@keyframes glow {
    0%, 100% {
        box-shadow: var(--shadow-glow-gold);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    }
}

/* Float Animation for Badges */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide In From Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In From Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale In Animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Rotate Animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* === Animation Classes === */

/* Logo Glow Animation */
.nav-logo .logo-circle {
    /* animation: glow 3s ease-in-out infinite; */
}

/* Badge Float Animation */
.badge-new {
    animation: float 3s ease-in-out infinite;
}

/* Hover Effects */
.hover-lift {
    transition: transform var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

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

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

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

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

/* === Fade Animations === */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.fade-in-delayed {
    animation: fadeIn 0.8s ease-out 0.2s both;
}

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

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

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

/* === Loading Animations === */
.loading-spinner {
    animation: rotate 1s linear infinite;
}

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

/* === Stagger Animations === */
.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }
.stagger-item:nth-child(6) { animation-delay: 0.6s; }

/* === Smooth Transitions === */
.smooth-transition {
    transition: all var(--transition-normal);
}

.smooth-transition-fast {
    transition: all var(--transition-fast);
}

.smooth-transition-slow {
    transition: all var(--transition-slow);
}

/* === Special Effects === */
.glow-on-hover {
    transition: all var(--transition-normal);
}

.glow-on-hover:hover {
    text-shadow: 0 0 10px currentColor;
}

.border-glow {
    position: relative;
    overflow: hidden;
}

.border-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-gold);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.border-glow:hover::before {
    opacity: 1;
}

/* === Reduced Motion Support === */
@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;
    }
    
    .nav-logo .logo-circle {
        animation: none;
    }
    
    .badge-new {
        animation: none;
    }
}