/* Custom CSS to supplement Tailwind */

/* Animated Gradient Background */
.bg-animated-gradient {
    background: linear-gradient(-45deg, #0f172a, #1e1b4b, #020617, #0f172a);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glassmorphism utility */
.glass {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.glass-nav {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.glass-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(245, 158, 11, 0.3); /* amber-500 tint */
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.5);
    transform: translateY(-5px);
}

/* Glowing Accent */
.glow-text {
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #020617; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #475569; }

/* Modal specific base styles (used in pair with Tailwind classes) */
.modal {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.modal.active { opacity: 1; pointer-events: auto; }
.modal-overlay {
    position: absolute; inset: 0; background: rgba(2, 6, 23, 0.85); backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.modal-content {
    position: relative; width: 95%; max-width: 900px; max-height: 95vh;
    transform: translateY(20px) scale(0.98); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal.active .modal-content {
    transform: translateY(0) scale(1);
}
