/* Custom styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

.animation-delay-1000 {
    animation-delay: 1s;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

/* Glow effects */
.hover\:shadow-purple-500\/20:hover {
    box-shadow: 0 25px 50px -12px rgba(168, 85, 247, 0.2);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(55, 65, 81, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 85, 247, 0.7);
}

/* Glass morphism effect */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

.backdrop-blur-md {
    backdrop-filter: blur(12px);
}

/* Hover animations */
.hover\:scale-105:hover {
    transform: scale(1.05);
}

/* Gradient text */
.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

/* Custom pulse animation for trending items */
@keyframes pulse-slow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse-slow {
    animation: pulse-slow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Button hover effects */
button {
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

/* Card hover effects */
.hover\:bg-black\/60:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

/* Progress bar animation */
.transition-all {
    transition: all 0.3s ease;
}

/* Modal backdrop */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

/* Custom grid patterns */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

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

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

/* Custom gradients */
.gradient-border {
    background: linear-gradient(45deg, #8b5cf6, #06b6d4, #10b981, #f59e0b);
    border-radius: 12px;
    padding: 2px;
}

.gradient-border > div {
    background: rgba(17, 24, 39, 0.8);
    border-radius: 10px;
    height: 100%;
}

/* Crypto-themed animations */
@keyframes rocket-launch {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-5px) rotate(-5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.hover\:animate-rocket:hover {
    animation: rocket-launch 0.6s ease-in-out;
}

/* Success state animations */
@keyframes success-glow {
    0% {
        box-shadow: 0 0 5px rgba(16, 185, 129, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.8), 0 0 30px rgba(16, 185, 129, 0.5);
    }
    100% {
        box-shadow: 0 0 5px rgba(16, 185, 129, 0.5);
    }
}

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