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

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

@keyframes glow {
    0% {
        filter: drop-shadow(0 0 10px rgba(255, 0, 128, 0.5));
    }
    100% {
        filter: drop-shadow(0 0 25px rgba(255, 0, 128, 0.8));
    }
}

@keyframes avatarFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

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

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

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

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -15px, 0);
    }
    70% {
        transform: translate3d(0, -7px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

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

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

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.bounce {
    animation: bounce 1s ease;
}

.pulse {
    animation: pulse 2s infinite;
}

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

/* Staggered Animation for Buttons */
.nav-btn {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.nav-row:nth-child(1) .nav-btn {
    animation-delay: 0.1s;
}

.nav-row:nth-child(2) .nav-btn {
    animation-delay: 0.2s;
}

.nav-row:nth-child(3) .nav-btn {
    animation-delay: 0.3s;
}

.nav-row:nth-child(4) .nav-btn {
    animation-delay: 0.4s;
}

/* Hover Effects */
.nav-btn:hover .btn-icon {
    animation: bounce 0.6s ease;
}

/* Loading Animation */
.loading-logo {
    animation: pulse 2s infinite, glow 2s ease-in-out infinite alternate;
}

/* Background Animation */
.bg-circle {
    animation: float 8s ease-in-out infinite;
}

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