/* ── Options Zoo – Base Theme ─────────────────────────────── */
:root {
    --bg-primary:    #0d1117;
    --bg-secondary:  #161b22;
    --bg-card:       #1c2128;
    --text-primary:  #e6edf3;
    --text-secondary:#8b949e;
    --text-muted:    #484f58;
    --border-default:#30363d;
    --accent:        #58a6ff;
    --shadow-md:     0 3px 12px rgba(0,0,0,0.4);
    --shadow-lg:     0 8px 24px rgba(0,0,0,0.5);
    --radius:        10px;
    --transition:    0.2s ease;
}
[data-theme="light"] {
    --bg-primary:    #ffffff;
    --bg-secondary:  #f6f8fa;
    --bg-card:       #ffffff;
    --text-primary:  #1f2328;
    --text-secondary:#656d76;
    --text-muted:    #8b949e;
    --border-default:#d0d7de;
    --accent:        #0969da;
    --shadow-md:     0 3px 12px rgba(0,0,0,0.07);
    --shadow-lg:     0 8px 24px rgba(0,0,0,0.12);
}

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ────────────────────────────────────────────── */
.zoo-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-default);
    padding: 12px 24px;
}
.header-inner {
    max-width: 1400px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
}
.brand {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--text-primary);
}
.brand-logo { width: 32px; height: 32px; }
.brand-text { font-size: 1.1rem; font-weight: 700; }
.brand-sub  { font-size: 0.78rem; color: var(--text-secondary); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.gh-link { color: var(--text-secondary); transition: color var(--transition); }
.gh-link:hover { color: var(--text-primary); text-decoration: none; }
.theme-toggle {
    background: none; border: none; cursor: pointer;
    color: var(--text-secondary); padding: 4px;
    transition: color var(--transition);
}
.theme-toggle:hover { color: var(--text-primary); }
[data-theme="dark"]  .icon-sun  { display: none; }
[data-theme="light"] .icon-moon { display: none; }

/* ── Main Container ────────────────────────────────────── */
.zoo-main {
    max-width: 1400px; width: 100%;
    margin: 0 auto; padding: 0 24px 48px; flex: 1;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero { text-align: center; padding: 48px 0 32px; }
.hero h1 { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; }
.hero-sub {
    font-size: 1.05rem; color: var(--text-secondary);
    margin-top: 8px; max-width: 600px; margin-left: auto; margin-right: auto;
}

/* ── Section Headers (grouped view) ────────────────────── */
.section-header {
    font-size: 1.3rem; font-weight: 700;
    margin: 36px 0 16px; padding-bottom: 8px;
    border-bottom: 2px solid var(--border-default);
}
.subsection-header {
    font-size: 1rem; font-weight: 600; color: var(--text-secondary);
    margin: 24px 0 12px;
    display: flex; align-items: center; gap: 8px;
}
.subsection-header::before {
    content: ''; width: 12px; height: 12px; border-radius: 3px;
    display: inline-block;
}

/* ── Footer ────────────────────────────────────────────── */
.zoo-footer {
    text-align: center; padding: 24px;
    color: var(--text-muted); font-size: 0.85rem;
    border-top: 1px solid var(--border-default);
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero h1 { font-size: 1.6rem; }
    .hero-sub { font-size: 0.9rem; }
    .brand-sub { display: none; }
    .zoo-main { padding: 0 16px 32px; }
}
