@tailwind base;
@tailwind components;
@tailwind utilities;

@layer utilities {
    .animate-fade-in-up {
        animation: fadeInUp 0.8s ease-out forwards;
        opacity: 0;
        transform: translateY(20px);
    }
    
    .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-1000 { animation-delay: 1s; }

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

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

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

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

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

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

::-webkit-scrollbar-track {
    background: #051a10; 
}

::-webkit-scrollbar-thumb {
    background: #1f5036; 
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ca8a04; 
}

html {
    scroll-behavior: smooth;
}