/* Global Refinements */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #0f172a; /* Slate 900 - Premium Dark Base */
    color: #f8fafc; /* Slate 50 */
}

/* Custom Scrollbar - Dark Mode */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1e293b; /* Slate 800 */
}
::-webkit-scrollbar-thumb {
    background: #475569; /* Slate 600 */
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b; /* Slate 500 */
}

/* Animation Utilities */
.fill-mode-forwards {
    animation-fill-mode: forwards;
}

.fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; /* Smoother easing */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Glass Card Utility - Premium Dark Mode */
.glass-card {
    /* Subtle surface, highly translucent */
    background: rgba(30, 41, 59, 0.4); 
    /* Heavy blur for depth */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* Very subtle border */
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.15);
}

.glass-card:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(16, 185, 129, 0.5); /* Emerald 500 wash */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}
