/* ==================================================
   BASE LAYER
================================================== */

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

/* THEME */
:root {
    --bg: #0f172a;
    --card: #111827;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --accent: #3b82f6;
}

body {
    font-family: system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* ==================================================
   LAYOUT
================================================== */

/* HEADER */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15,23,42,0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1f2937;
}

/* NAV */
nav {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    max-width: 900px;
    margin: auto;
    overflow-x: auto;
    white-space: nowrap;
}

nav::-webkit-scrollbar {
    display: none;
}

/* NAV LINKS */
nav a {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    color: var(--muted);
    flex-shrink: 0;
}

nav a:hover {
    background: var(--card);
    color: var(--text);
}

nav a.active {
    background: var(--accent);
    color: white;
}

/* PAGE WRAPPER */
.container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

/* TEXT CONTENT */
.content {
    background: var(--card);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

/* FEATURE IMAGE */
.featured {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* HEADINGS */
h1 {
    font-size: 28px;
    margin-bottom: 15px;
}
