/* --- Core Variables (The MLTD Palette) --- */
:root {
    --bg-void: #0d0d0d;           /* Deep background */
    --panel-base: #1c1c1c;        /* Dark stone/iron panels */
    --panel-border: #4a4a4a;      /* Weathered iron framing */
    --text-parchment: #dcd4c6;    /* Readable off-white body text */
    --text-orichalcum: #e5c158;   /* Bright gold for headers */
    --text-bronze: #b08d57;       /* Muted bronze for secondary text */
    --highlight-glow: rgba(229, 193, 88, 0.3);
}

/* --- Global Resets & Typography --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-void);
    background-image: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    color: var(--text-parchment);
    /* Sans-serif for highly readable body text */
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

/* Serif for fantasy/lore headers */
h1, h2, h3 {
    font-family: Georgia, "Times New Roman", Times, serif;
    color: var(--text-orichalcum);
    text-shadow: 1px 1px 2px black;
    font-weight: normal;
    letter-spacing: 1px;
}

/* --- Layout Containers --- */
.container {
    width: 100%;
    max-width: 800px;
    margin: 40px 20px;
}

/* --- Themed Panels (The 'Modder' UI Boxes) --- */
header, section {
    background-color: var(--panel-base);
    border: 3px solid var(--panel-border);
    border-radius: 2px;
    padding: 25px;
    margin-bottom: 25px;
    /* Creates the inset/outset chunky metal look */
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.8), 
                0 5px 15px rgba(0, 0, 0, 0.9);
    border-top-color: #666;
    border-left-color: #666;
    border-bottom-color: #222;
    border-right-color: #222;
}

/* --- Header & Navigation --- */
header {
    text-align: center;
    border-bottom: 4px solid var(--text-bronze);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-bronze);
    text-decoration: none;
    font-family: Georgia, serif;
    font-size: 1.1rem;
    padding: 5px 10px;
    transition: all 0.2s ease;
}

nav a:hover, nav a.active {
    color: var(--text-orichalcum);
    text-shadow: 0 0 8px var(--highlight-glow);
}

/* --- Section Content --- */
section h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

section p {
    margin-bottom: 15px;
}

section ul {
    margin-left: 25px;
    margin-bottom: 15px;
    list-style-type: square;
}

section li {
    color: var(--text-bronze);
    margin-bottom: 5px;
}

/* --- Custom Elements --- */
.status-badge {
    display: inline-block;
    background-color: #2a2a2a;
    border: 1px solid var(--text-bronze);
    color: var(--text-orichalcum);
    padding: 4px 10px;
    font-size: 0.9rem;
    font-family: Georgia, serif;
    margin-bottom: 15px;
    box-shadow: inset 0 0 5px black;
}

/* --- Footer --- */
footer {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 40px;
}