/* ============================================================
   SCP Foundation: Site-19 — main.css
   ============================================================ */

:root {
    --red:        #cc0000;
    --red-dim:    #880000;
    --red-dark:   #3a0000;
    --bg:         #080808;
    --bg2:        #0f0f0f;
    --bg3:        #141414;
    --border:     #2a2a2a;
    --border-red: #440000;
    --text:       #c8c8c8;
    --text-dim:   #666;
    --text-bright:#eeeeee;
    --mono:       'Share Tech Mono', monospace;
    --head:       'Barlow Condensed', sans-serif;
    --body:       'Barlow', sans-serif;
    --safe:       #2a7a2a;
    --safe-bg:    #0a1a0a;
    --euclid:     #8a6000;
    --euclid-bg:  #1a1200;
    --keter:      #cc0000;
    --keter-bg:   #1a0000;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Scanline overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.08) 2px, rgba(0,0,0,0.08) 4px);
    pointer-events: none;
    z-index: 9999;
}

/* ── Top bar ── */
.topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 36px;
    background: rgba(8,8,8,0.97);
    border-bottom: 1px solid var(--border-red);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    z-index: 200;
    backdrop-filter: blur(8px);
}
.topbar-left  { font-family: var(--mono); font-size: 10px; color: var(--text-dim); letter-spacing: 0.12em; }
.topbar-left span { color: var(--red); }
.topbar-right { font-family: var(--mono); font-size: 10px; color: var(--text-dim); letter-spacing: 0.08em; }

/* ── Site header / global nav ── */
.site-header {
    position: fixed;
    top: 36px; left: 0; right: 0;
    height: 56px;
    background: rgba(10,10,10,0.97);
    border-bottom: 1px solid var(--border);
    z-index: 190;
    backdrop-filter: blur(8px);
}
.site-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.site-logo-main {
    font-family: var(--head);
    font-weight: 900;
    font-size: 22px;
    letter-spacing: 0.04em;
    color: var(--red);
    text-transform: uppercase;
}
.site-logo-sub {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    color: var(--text-dim);
    text-transform: uppercase;
}
.site-nav { display: flex; gap: 4px; }
.site-nav a {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    text-decoration: none;
    padding: 8px 16px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.site-nav a:hover,
.site-nav a.active { color: var(--text-bright); border-color: var(--red); }

/* ── Page wrapper ── */
.page-content {
    padding-top: 92px; /* topbar + site-header */
}

/* ── Layout ── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}
.section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

/* ── Section headers ── */
.section-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--head);
    font-weight: 900;
    font-size: clamp(36px, 5vw, 56px);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--text-bright);
    line-height: 1;
    margin-bottom: 8px;
}
.section-rule {
    width: 60px;
    height: 3px;
    background: var(--red);
    margin-bottom: 40px;
}

/* ── Hero ── */
.hero {
    min-height: calc(100vh - 92px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
    border-bottom: 1px solid var(--border-red);
    background: radial-gradient(ellipse 60% 40% at 50% 60%, rgba(100,0,0,0.12) 0%, transparent 70%);
    position: relative;
}
.hero-eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.25em;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.2s forwards;
}
.hero-title {
    font-family: var(--head);
    font-weight: 900;
    font-size: clamp(56px, 10vw, 120px);
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: var(--text-bright);
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.4s forwards;
}
.hero-title span { display: block; color: var(--red); font-size: clamp(28px, 5vw, 64px); letter-spacing: 0.04em; }
.hero-divider { width: 120px; height: 2px; background: var(--red); margin: 32px auto; opacity: 0; animation: fadeUp 0.6s ease 0.6s forwards; }
.hero-sub { font-size: 18px; color: var(--text-dim); max-width: 560px; line-height: 1.6; opacity: 0; animation: fadeUp 0.6s ease 0.8s forwards; }
.hero-tags { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 32px; opacity: 0; animation: fadeUp 0.6s ease 1.0s forwards; }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--text-dim); animation: pulse 2s ease-in-out infinite; }

/* ── Tags ── */
.tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; padding: 6px 14px; border: 1px solid var(--border); color: var(--text-dim); }
.tag.red { border-color: var(--border-red); color: var(--red); }

/* ── Page-level nav (GDD anchor nav) ── */
.page-nav {
    position: sticky;
    top: 92px;
    background: rgba(10,10,10,0.97);
    border-bottom: 1px solid var(--border);
    z-index: 90;
    backdrop-filter: blur(8px);
    overflow-x: auto;
}
.page-nav-inner { display: flex; padding: 0 32px; max-width: 1100px; margin: 0 auto; justify-content: center; }
.page-nav a {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    text-decoration: none;
    padding: 13px 18px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
}
.page-nav a:hover, .page-nav a.active { color: var(--text-bright); border-color: var(--red); }

/* ── Alert boxes ── */
.alert { display: flex; border: 1px solid; margin: 32px 0; }
.alert-badge { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; writing-mode: vertical-rl; padding: 16px 10px; display: flex; align-items: center; justify-content: center; min-width: 36px; }
.alert-body { padding: 20px 24px; font-size: 14px; line-height: 1.7; }
.alert.red    { border-color: var(--red-dim); background: var(--red-dark); }
.alert.red    .alert-badge { background: var(--red); color: white; }
.alert.red    .alert-body  { color: #ffbbbb; }
.alert.orange { border-color: #553300; background: #1a0e00; }
.alert.orange .alert-badge { background: #884400; color: white; }
.alert.orange .alert-body  { color: #ffd8a8; }
.alert.green  { border-color: #1a4a1a; background: #060f06; }
.alert.green  .alert-badge { background: #2a6a2a; color: white; }
.alert.green  .alert-body  { color: #a8ffb0; }
.alert.teal   { border-color: #004444; background: #00100f; }
.alert.teal   .alert-badge { background: #006666; color: white; }
.alert.teal   .alert-body  { color: #a0ffee; }

/* ── Status grid ── */
.status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 32px 0; }
.status-box { border: 1px solid; padding: 24px; }
.status-box.green  { border-color: #1a4a1a; background: #060f06; }
.status-box.orange { border-color: #553300; background: #1a0e00; }
.status-box.red    { border-color: var(--red-dim); background: var(--red-dark); }
.status-title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid; }
.status-box.green  .status-title { color: #4aaa4a; border-color: #1a4a1a; }
.status-box.orange .status-title { color: #cc7700; border-color: #553300; }
.status-box.red    .status-title { color: var(--red); border-color: var(--red-dim); }
.status-box ul { list-style: none; }
.status-box ul li { font-size: 13px; padding: 5px 0 5px 18px; position: relative; line-height: 1.5; }
.status-box ul li::before { content: '▸'; position: absolute; left: 0; font-size: 10px; }
.status-box.green  ul li { color: #88cc88; }
.status-box.green  ul li::before { color: #4aaa4a; }
.status-box.orange ul li { color: #cc9955; }
.status-box.orange ul li::before { color: #cc7700; }
.status-box.red    ul li { color: #cc8888; }
.status-box.red    ul li::before { color: var(--red); }

/* ── Cards ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--border); margin: 32px 0; }
.card { background: var(--bg2); padding: 28px; transition: background 0.2s; }
.card:hover { background: var(--bg3); }
.card-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.card-title { font-family: var(--head); font-weight: 700; font-size: 20px; text-transform: uppercase; color: var(--text-bright); margin-bottom: 10px; letter-spacing: 0.02em; }
.card-body  { font-size: 14px; color: var(--text-dim); line-height: 1.65; }

/* ── Mode cards ── */
.mode-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 32px 0; }
.mode-card { border: 1px solid var(--border); padding: 24px; position: relative; overflow: hidden; transition: border-color 0.25s, transform 0.2s; }
.mode-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.25s; }
.mode-card:hover { border-color: var(--red-dim); transform: translateY(-2px); }
.mode-card:hover::before { transform: scaleX(1); }
.mode-status { font-family: var(--mono); font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; padding: 3px 8px; margin-bottom: 14px; display: inline-block; }
.mode-status.launch { background: var(--red-dark); color: var(--red); border: 1px solid var(--red-dim); }
.mode-status.update { background: #1a1000; color: #cc7700; border: 1px solid #553300; }
.mode-status.maybe  { background: #0a0a0a; color: #555; border: 1px solid #333; }
.mode-title { font-family: var(--head); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-bright); margin-bottom: 10px; }
.mode-desc  { font-size: 13px; color: var(--text-dim); line-height: 1.65; }

/* ── SCP entries ── */
.scp-entry { border: 1px solid var(--border); margin-bottom: 24px; overflow: hidden; transition: border-color 0.2s; }
.scp-entry:hover { border-color: var(--red-dim); }
.scp-header { display: flex; align-items: center; gap: 20px; padding: 20px 24px; border-bottom: 1px solid var(--border); cursor: pointer; background: var(--bg2); transition: background 0.2s; user-select: none; }
.scp-header:hover { background: var(--bg3); }
.scp-num  { font-family: var(--mono); font-size: 22px; color: var(--red); min-width: 90px; }
.scp-name { font-family: var(--head); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-bright); flex: 1; }
.scp-toggle { font-family: var(--mono); font-size: 20px; color: var(--text-dim); transition: transform 0.2s; }
.scp-toggle.open { transform: rotate(45deg); }
.class-badge { font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; padding: 4px 12px; border: 1px solid; }
.class-badge.safe   { color: #4aaa4a; border-color: var(--safe);   background: var(--safe-bg);   }
.class-badge.euclid { color: #ddaa00; border-color: var(--euclid); background: var(--euclid-bg); }
.class-badge.keter  { color: var(--red); border-color: var(--keter); background: var(--keter-bg); }
.scp-body { padding: 24px; background: var(--bg); display: none; }
.scp-body.open { display: block; }
.scp-row { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; align-items: baseline; }
.scp-row:last-child { border-bottom: none; }
.scp-row-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); min-width: 130px; }
.scp-row-val   { color: var(--text); line-height: 1.6; }

/* ── Difficulty table ── */
.diff-table { width: 100%; border-collapse: collapse; margin: 32px 0; }
.diff-table th { font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; padding: 12px 16px; text-align: left; background: var(--red-dark); color: var(--red); border: 1px solid var(--border-red); }
.diff-table td { padding: 14px 16px; border: 1px solid var(--border); font-size: 14px; vertical-align: top; line-height: 1.6; }
.diff-table tr:nth-child(even) td { background: var(--bg2); }
.diff-safe   td:first-child { color: #4aaa4a; font-family: var(--mono); font-weight: 600; letter-spacing: 0.1em; }
.diff-euclid td:first-child { color: #ddaa00; font-family: var(--mono); font-weight: 600; letter-spacing: 0.1em; }
.diff-keter  td:first-child { color: var(--red); font-family: var(--mono); font-weight: 600; letter-spacing: 0.1em; }

/* ── Roadmap ── */
.roadmap { position: relative; padding-left: 40px; }
.roadmap::before { content: ''; position: absolute; left: 11px; top: 0; bottom: 0; width: 1px; background: var(--border-red); }
.milestone { position: relative; margin-bottom: 32px; }
.milestone::before { content: ''; position: absolute; left: -33px; top: 6px; width: 10px; height: 10px; background: var(--bg); border: 2px solid var(--red); }
.milestone-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.milestone-id    { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--red); min-width: 32px; }
.milestone-title { font-family: var(--head); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-bright); }
.milestone-version { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; padding: 3px 8px; margin-left: auto; }
.milestone-desc { font-size: 14px; color: var(--text-dim); padding-left: 48px; line-height: 1.6; }
.v10     { background: #061a06; color: #4aaa4a; border: 1px solid #1a4a1a; }
.v11     { background: #1a1000; color: #cc7700; border: 1px solid #553300; }
.v12     { background: var(--red-dark); color: var(--red); border: 1px solid var(--red-dim); }
.vfuture { background: #0a0a0a; color: #555; border: 1px solid #2a2a2a; }

/* ── Collab box ── */
.collab-box { border: 1px solid var(--red-dim); background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(100,0,0,0.15) 0%, transparent 70%), var(--bg2); padding: 60px 48px; text-align: center; position: relative; overflow: hidden; margin-top: 32px; }
.collab-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--red), transparent); }
.collab-title { font-family: var(--head); font-weight: 900; font-size: clamp(36px, 6vw, 60px); text-transform: uppercase; color: var(--text-bright); letter-spacing: -0.01em; margin-bottom: 16px; }
.collab-sub   { font-size: 16px; color: var(--text-dim); max-width: 560px; margin: 0 auto 32px; line-height: 1.7; }
.collab-pills { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.collab-pill  { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 10px 20px; border: 1px solid var(--red-dim); color: var(--red); background: var(--red-dark); }
.collab-reality { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-dim); max-width: 560px; margin: 0 auto 32px; line-height: 1.9; padding: 20px 24px; border: 1px solid var(--border); text-align: left; }

/* ── Buttons ── */
.btn { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; padding: 14px 36px; background: var(--red); color: white; text-decoration: none; border: none; cursor: pointer; transition: background 0.2s, transform 0.15s; }
.btn:hover { background: #ee0000; transform: translateY(-1px); }
.btn.outline { background: transparent; border: 1px solid var(--red-dim); color: var(--red); margin-left: 12px; }
.btn.outline:hover { background: var(--red-dark); transform: translateY(-1px); }

/* ── License bar ── */
.license-bar { background: var(--bg2); border-top: 1px solid var(--border); padding: 18px 32px; font-family: var(--mono); font-size: 11px; color: var(--text-dim); letter-spacing: 0.07em; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.license-bar a { color: var(--red); text-decoration: none; }
.license-bar a:hover { text-decoration: underline; }

/* ── Footer ── */
footer { padding: 60px 32px; border-top: 1px solid var(--border-red); text-align: center; background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(60,0,0,0.2) 0%, transparent 70%); }
.foundation-logo { font-family: var(--head); font-weight: 900; font-size: 42px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--red); margin-bottom: 6px; }
.tagline         { font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 28px; }
.footer-note     { font-size: 12px; color: var(--text-dim); max-width: 500px; margin: 0 auto; line-height: 1.7; }
.footer-note a   { color: var(--red); text-decoration: none; }

/* ── Typography ── */
p { margin-bottom: 16px; font-size: 15px; color: var(--text); line-height: 1.75; }
p:last-child { margin-bottom: 0; }
strong { color: var(--text-bright); font-weight: 500; }
a { color: var(--red); }
h3 { font-family: var(--head); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-bright); margin: 32px 0 12px; }
h3:first-child { margin-top: 0; }

/* ── Devlog ── */
.devlog-entry { border: 1px solid var(--border); margin-bottom: 24px; transition: border-color 0.2s; }
.devlog-entry:hover { border-color: var(--red-dim); }
.devlog-header { padding: 24px; border-bottom: 1px solid var(--border); background: var(--bg2); }
.devlog-date  { font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em; color: var(--red); margin-bottom: 6px; }
.devlog-title { font-family: var(--head); font-weight: 700; font-size: 22px; text-transform: uppercase; color: var(--text-bright); }
.devlog-body  { padding: 24px; font-size: 14px; color: var(--text-dim); line-height: 1.75; }

/* ── Animations ── */
@keyframes fadeUp  { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft{ from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse   { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ── Hamburger button (hidden on desktop) ── */
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-bright);
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    line-height: 1;
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    /* Layout */
    .container, .topbar, .site-header-inner, .page-nav-inner { padding-left: 16px; padding-right: 16px; }
    .section { padding: 48px 0; }

    /* Topbar: hide long title, keep status on the right */
    .topbar-left { display: none !important; }
    .topbar { justify-content: flex-end; }

    /* Hamburger */
    .nav-toggle { display: block; }

    /* Lang switcher: tighten up in header */
    .lang-switcher { margin-left: 8px; padding-left: 8px; gap: 0; }
    .lang-btn span { display: none; }

    /* Nav becomes a full-width dropdown */
    .site-nav {
        display: none;
        position: fixed;
        top: 92px; left: 0; right: 0;
        background: rgba(8,8,8,0.99);
        border-bottom: 1px solid var(--border-red);
        flex-direction: column;
        z-index: 180;
        backdrop-filter: blur(8px);
    }
    .site-nav.open { display: flex; }
    .site-nav a {
        padding: 16px 20px;
        font-size: 12px;
        border-bottom: 1px solid var(--border);
        border-left: 2px solid transparent;
    }
    .site-nav a:hover,
    .site-nav a.active {
        border-left-color: var(--red);
        border-bottom-color: var(--border);
    }

    /* SCP entries */
    .scp-header { flex-wrap: wrap; gap: 10px; }
    .scp-num  { min-width: unset; font-size: 18px; }
    .scp-name { font-size: 17px; }
    .scp-row  { flex-direction: column; gap: 4px; }
    .scp-row-label { min-width: unset; }

    /* Diff table: horizontal scroll */
    .diff-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: 13px; }
    .diff-table th, .diff-table td { padding: 10px; white-space: nowrap; }

    /* Page nav: always show scrollbar so users know it scrolls */
    .page-nav { overflow-x: scroll; }
    .page-nav::-webkit-scrollbar { height: 3px; }
    .page-nav::-webkit-scrollbar-track { background: var(--bg2); }
    .page-nav::-webkit-scrollbar-thumb { background: var(--red-dim); border-radius: 2px; }

    /* Roadmap */
    .milestone-head { flex-wrap: wrap; }
    .milestone-version { margin-left: 0; }
    .milestone-desc { padding-left: 0; margin-top: 8px; }

    /* Collab box */
    .collab-box { padding: 40px 20px; }
    .collab-reality { font-size: 11px; }

    /* License bar */
    .license-bar { flex-direction: column; gap: 4px; padding: 14px 16px; }

    /* Footer */
    footer { padding: 48px 20px; }
    .foundation-logo { font-size: 30px; }
}

@media (max-width: 480px) {
    .hero-sub { font-size: 15px; }
    .hero-tags { gap: 8px; }
    .tag { font-size: 9px; padding: 5px 10px; }
    .collab-title { font-size: clamp(28px, 8vw, 48px); }
    .section-title { font-size: clamp(28px, 7vw, 48px); }
    .btn { padding: 12px 24px; font-size: 11px; }
    .btn.outline { margin-left: 0; margin-top: 10px; }
}

/* ── Header right group ── */
.header-right {
    display: flex;
    align-items: center;
    gap: 0;
}

/* ── Language switcher ── */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid var(--border);
}
.lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    text-decoration: none;
    padding: 5px 8px;
    border: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    line-height: 1;
}
.lang-btn:hover {
    color: var(--text-bright);
    border-color: var(--border);
    background: var(--bg3);
}
.lang-btn.active {
    color: var(--red);
    border-color: var(--red-dim);
    background: var(--red-dark);
}
.lang-btn span { font-size: 9px; }

/* ── Polish credit ── */
.footer-made {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}
.footer-made .flag { font-size: 18px; vertical-align: middle; margin-right: 4px; }
