@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1614;
}

::-webkit-scrollbar-thumb {
    background: #2C1E16;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #C5A059;
}

/* Animations that Tailwind doesn't have out of the box */
@keyframes fade-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation-name: fade-up;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-500 {
    animation-delay: 500ms;
}

.delay-700 {
    animation-delay: 700ms;
}

/* Smooth Reveal Class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Glass Card Effect */
.glass-card {
    background: rgba(44, 30, 22, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 160, 89, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
}

.glass-card:hover {
    background: rgba(44, 30, 22, 0.6);
    border-color: rgba(197, 160, 89, 0.3);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.2);
    transform: translateY(-5px);
}

/* Glow Pulse Animation */
@keyframes glow-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(197, 160, 89, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
    }
}

.animate-glow-pulse {
    animation: glow-pulse 2s infinite;
}

/* Page Transition */
@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.page-animate {
    animation: fade-in 0.8s ease-out forwards;
}