:root {
    /* Color Palette - Dark Mode Optimized */
    /* --bg-primary is mostly covered by image now, but kept as fallback */
    --bg-primary: #0f1115;

    /* More transparent glass for better background visibility */
    --bg-glass: rgba(15, 17, 21, 0.65);
    --bg-glass-heavy: rgba(15, 17, 21, 0.85);
    /* For models/popups */
    --bg-glass-border: rgba(255, 255, 255, 0.12);

    --text-primary: #ffffff;
    --text-secondary: #c9d1d9;
    --text-tertiary: #8b949e;

    --accent-primary: #58a6ff;
    --accent-primary-hover: #79c0ff;
    --accent-secondary: #bc8cff;

    --success: #3fb950;
    --warning: #d29922;
    --error: #f85149;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --font-heading: 'Noto Sans SC', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', 'Noto Sans SC', system-ui, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Glassmorphism Utilities */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bg-glass-border);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-lg);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-glass-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

/* Layout Utilities */
.hidden {
    display: none !important;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}