/* --------------------------------------------------
   THEME VARIABLES (GLOBAL)
-------------------------------------------------- */

:root {
    --bg: #0b0f12;
    --bg-alt: #111418;
    --text: #e5e7eb;
    --text-muted: #9ca3af;
    --card-bg: #111418;
    --border: #1f2428;
    --accent: #f97316;
    --accent-hover: #fb923c;
    --header-bg: #0b0f12;
    --hero-overlay: rgba(0,0,0,0.4);
}

/* Light theme */
:root.light {
    --bg: #ffffff;
    --bg-alt: #f3f4f6;
    --text: #111111;
    --text-muted: #4b5563;
    --card-bg: #ffffff;
    --border: #e5e7eb;
    --accent: #d97706;
    --accent-hover: #f59e0b;
    --header-bg: #ffffff;
    --hero-overlay: rgba(255,255,255,0.4);
}

/* --------------------------------------------------
   GLOBAL RESET
-------------------------------------------------- */

body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
}

h1, h2, h3 {
    margin: 0 0 12px;
    font-weight: 600;
}

a {
    color: var(--text);
    text-decoration: none;
}

strong {
    color: var(--accent);
}

/* --------------------------------------------------
   HEADER
-------------------------------------------------- */

.site-header {
    background: var(--header-bg);
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 20;
}

.site-header nav a {
    margin-left: 20px;
    opacity: 0.8;
    font-size: 14px;
}

.site-header nav a:hover {
    opacity: 1;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */

.site-footer {
    background: var(--header-bg);
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-muted);
}
.vanished-header {
    position: relative;
    z-index: 5000;
}

