/* --- SCP Mint Green & Reversed Dark Palette --- */
:root {
    --bg-header: #212529;        /* Grayish Accent Background (Navbar) */
    --bg-body: #121416;          /* Dark Charcoal Background (Main Content) */
    --card-bg: #1a1d20;          /* Panel Background for Notice Box */
    --mint-green: #3eb489;       /* Mint Green Title, Nav & Headings */
    --mint-hover: #58d8a3;       /* Bright Mint Accent */
    --text-main: #d0d6dc;        /* Light Text Color */
    --border-color: #343a40;     /* Border Separator */
    --alert-red: #a83232;        /* Classified Warning Accent */
}

/* --- Base Reset & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Courier Prime', monospace;
    font-size: 1.05rem;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Navigation Header (Lighter Grayish Area) --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.2rem 12%;
    background-color: var(--bg-header);
    border-bottom: 2px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.logo {
    font-family: 'Share Tech Mono', monospace;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--mint-green);
    letter-spacing: -0.5px;
}

.scp-symbol {
    font-size: 1.8rem;
    margin-right: 6px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--mint-green);
    text-decoration: none;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.15rem;
    font-weight: 700;
    transition: color 0.2s ease;
}

nav a:hover, nav a.active {
    color: var(--mint-hover);
    text-decoration: underline;
}

/* --- Main Content Layout (Darker Background Area) --- */
.container {
    max-width: 820px;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
    flex: 1; /* Pushes the footer to the bottom on short pages */
}

/* Classified Warning Box */
.classified-banner {
    border: 1px dashed var(--alert-red);
    color: #e57373;
    text-align: center;
    padding: 0.6rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    background: rgba(168, 50, 50, 0.08);
}

/* Section Formatting */
.content-block {
    margin-bottom: 2.5rem;
}

h1, h2 {
    font-family: 'Share Tech Mono', monospace;
    color: var(--mint-green);
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.6rem;
    margin-top: 1rem;
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-main);
}

/* Hyperlinks */
a {
    color: var(--mint-green);
    font-weight: 700;
    text-decoration: none;
}

a:hover {
    color: var(--mint-hover);
    text-decoration: underline;
}

/* Notice Box */
.alert-box {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--card-bg);
    border-left: 4px solid var(--mint-green);
    font-size: 0.98rem;
}

.alert-box a {
    display: inline-block;
    margin-top: 0.4rem;
}
/* --- Footer Styling --- */
footer {
    width: 100%;
    background-color: var(--bg-header);
    border-top: 2px solid var(--border-color);
    padding: 1rem 12%;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    color: var(--mint-green);
    margin-top: auto; /* Ensures bottom alignment */
}

.footer-container {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}