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

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

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #4f46e5;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6366f1;
}

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

.bg-gray-800 {
    animation: fadeIn 0.5s ease-out forwards;
}
/* Delay animations for a cascading effect */
.bg-gray-800:nth-child(1) { animation-delay: 0.1s; }
.bg-gray-800:nth-child(2) { animation-delay: 0.2s; }
.bg-gray-800:nth-child(3) { animation-delay: 0.3s; }

/* Status bar styling */
#lastUpdated {
    font-family: monospace;
}

/* Progress bar animation */
.bg-primary-500 {
    transition: width 0.5s ease-in-out;
}







.bg-gray-800 {
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    transition: 
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.45s ease,
        box-shadow 0.45s ease;
    transform-origin: center;
    will-change: transform, box-shadow;
}

/* Hover glow layer */
.bg-gray-800::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.45s ease;
    box-shadow:
        0 0 20px 6px rgba(168, 85, 247, 0.25),
        0 0 40px 12px rgba(147, 51, 234, 0.15);
}

/* Smooth hover state */
.bg-gray-800.hover-active {
    /*transform: translateY(-4px) scale(1.01);*/
    border-color: rgba(168, 85, 247, 0.5) !important;
}

.bg-gray-800.hover-active::before {
    opacity: 1;
}
