:root {
    --void: #050505;
    --slate: #1c1c1c;
    --stone: #7a7a7a;
    --oxide: #8b3a3a; /* Deep red/rust */
    --paper: #e8e6df; 
    --ink: #080808;
    --gold: #b8860b; 
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: var(--paper);
    color: var(--ink);
    line-height: 1.8;
    font-size: 18px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Impact', 'Anton', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--void);
}

.hero-sub {
    font-family: 'Courier New', monospace; 
    color: var(--oxide); 
    font-size: 1.2rem;
    margin-top: 1rem;
}

.verse {
    font-family: 'Courier New', monospace;
    border-left: 5px solid var(--oxide);
    background: #dad8d0;
    padding: 1.5rem;
    margin: 3rem 0;
    font-style: italic;
    color: #222;
    font-size: 1.1rem;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.1);
}

/* Navigation */
nav {
    background: var(--void);
    color: var(--paper);
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid var(--oxide);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { 
    font-size: 1.4rem; 
    font-weight: bold; 
    letter-spacing: 0.15em; 
    font-family: 'Courier New', monospace;
}

.nav-links { display: flex; gap: 20px; flex-wrap: wrap; }
.nav-links a {
    color: #888;
    text-decoration: none;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s;
    cursor: pointer;
    font-weight: bold;
}
.nav-links a:hover, .nav-links a.active { color: var(--paper); text-decoration: underline; }

/* Layout */
.container { max-width: 850px; margin: 0 auto; padding: 2rem; }
.page { display: none; animation: fadeIn 0.6s ease; }
.page.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

/* Hero Section */
.hero {
    text-align: center;
    padding: 8rem 1rem;
    background: var(--void);
    color: var(--paper);
    margin: -2rem -2rem 0 -2rem; /* Flush with bottom section */
    border-bottom: 10px solid var(--oxide);
}

.hero h1 { 
    font-size: clamp(3rem, 6vw, 5rem); 
    line-height: 1; 
    color: var(--paper); 
    margin-bottom: 1.5rem;
}

/* The "Enemy" Section */
.enemy-section {
    background: #111;
    color: #ccc;
    padding: 4rem 2rem;
    margin: 0 -2rem 4rem -2rem; /* Full width */
    border-bottom: 1px solid #444;
}

.enemy-section h2 { color: var(--oxide); }
.enemy-section strong { color: white; }

/* The Pillars Grid */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.pillar {
    background: white;
    padding: 2rem;
    border: 1px solid #bbb;
    box-shadow: 8px 8px 0 var(--stone);
    transition: transform 0.2s;
}
.pillar:hover { transform: translateY(-5px); }
.pillar h3 { color: var(--oxide); border-bottom: 2px solid var(--void); padding-bottom: 10px; display: inline-block;}
.pillar p { font-size: 0.95rem; margin-top: 1rem; }

/* Buttons */
.btn {
    display: inline-block;
    background: var(--void);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    border: 2px solid var(--void);
    transition: all 0.3s;
    text-transform: uppercase;
    margin-top: 1rem;
    cursor: pointer;
}
.btn:hover { background: transparent; color: var(--void); }
.btn-full { width: 100%; text-align: center; }

/* Footer */
footer {
    text-align: center;
    padding: 5rem 2rem;
    font-size: 0.85rem;
    color: #666;
    border-top: 1px solid #ccc;
    margin-top: 5rem;
    font-family: 'Courier New', monospace;
}

@media (max-width: 768px) {
    nav { flex-direction: column; gap: 1rem; text-align: center; }
    .nav-links { justify-content: center; }
    .hero { padding: 4rem 1rem; }
}