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

:root {
    --gold-primary: #D4AF37;
    --gold-light: #F3E5AB;
    --midnight: #0F172A;
    --midnight-dark: #020617;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--midnight);
    color: #e2e8f0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .cinzel-font {
    font-family: 'Cinzel', serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--midnight-dark); 
}
::-webkit-scrollbar-thumb {
    background: #334155; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary); 
}

/* Gold Text Gradient */
.text-gold-gradient {
    background: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 5s linear infinite;
    background-size: 200% auto;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Glow Effects */
.glow-gold {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}
.glow-gold:hover {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
    transform: translateY(-2px);
}

/* Glassmorphism */
.glass-panel {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

/* Layout Specifics */
.main-grid {
    display: grid;
    grid-template-columns: 80px 1fr;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .main-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 80px;
    }
    .nav-sidebar {
        grid-row: 2;
        width: 100%;
        height: 80px;
        flex-direction: row !important;
        border-right: none !important;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
    }
}

.nav-link {
    position: relative;
    color: #94a3b8;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 100%;
    right: -24px; /* Adjust based on padding */
    top: 0;
    background-color: var(--gold-primary);
    box-shadow: 0 0 10px var(--gold-primary);
}

@media (max-width: 768px) {
    .nav-link.active::after {
        width: 100%;
        height: 4px;
        right: 0;
        top: -20px; /* Adjust based on container */
        bottom: auto;
    }
}

/* Loader */
.loader-overlay {
    position: fixed;
    inset: 0;
    background: var(--midnight-dark);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}
