/* ==============================================================================
   MAIN GLOBAL STYLES & DESIGN SYSTEM TOKENS
   ============================================================================== */

:root {
    --primary: #D4AF37;
    --primary-hover: #b89628;
    --navy: #0F172A;
    --navy-dark: #020617;
    --navy-light: #1E293B;
    --background-light: #F8FAFC;
    --background-dark: #0F172A;
}

/* Material Symbols Default Settings */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

.material-symbols-outlined.fill {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Base Body Styles */
body {
    background-color: var(--background-light);
    color: var(--navy);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dark body,
html.dark body {
    background-color: var(--navy-dark);
    color: #E2E8F0;
}

/* Gradients */
.gold-gradient {
    background: linear-gradient(135deg, #D4AF37 0%, #F5E0A3 50%, #B8860B 100%);
}

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

.profile-card:hover .profile-overlay {
    opacity: 1;
}

/* Glassmorphism Panels & Cards */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.dark .glass-panel,
html.dark .glass-panel {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.85) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.dark .glass-card,
html.dark .glass-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Smooth Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.3);
    border-radius: 9999px;
}

.dark .custom-scrollbar::-webkit-scrollbar-thumb,
html.dark .custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(51, 65, 85, 0.5);
}

/* Form Inputs & Interactive Chips */
.input-focus {
    transition: all 0.2s ease;
}

.input-focus:focus {
    ring: 2px;
    ring-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.tag-chip {
    transition: all 0.2s ease;
    cursor: pointer;
}

.tag-chip.selected {
    background-color: var(--primary);
    color: var(--navy);
    border-color: var(--primary);
    font-weight: 700;
}

/* Animations */
.animate-fade-up {
    animation: fadeUp 0.4s ease-out forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
