/* ==========================================
   1. GLOBAL & CONTAINER STYLES
   ========================================== */
body {
    margin: 0;
    padding: 20px 0;
    background-color: #111111; /* Classic dark background */
    color: #ffffff;
}

/* Centers the entire website and locks it to the classic desktop width */
#website-container {
    width: 960px;
    margin: 0 auto;
    background-color: #222222; /* Inner page background */
    padding: 15px;
    box-sizing: border-box;
}

/* ==========================================
   2. FLEXBOX LAYOUT (The Columns)
   ========================================== */
/* Activates Flexbox and creates the 15px gap between your columns */
#main-layout {
    display: flex;
    gap: 15px; 
    align-items: flex-start; /* Keeps columns from stretching weirdly */
}

/* LEFT SIDEBAR: Takes up 2 out of 8 parts (240px minus gap adjustments) */
#left-sidebar {
    flex: 2;
    box-sizing: border-box;
}

/* CENTER COLUMN: Takes up 4 out of 8 parts (480px minus gap adjustments) */
#center-content {
    flex: 4;
    box-sizing: border-box;
}

/* RIGHT SIDEBAR: Takes up 2 out of 8 parts (240px) and adds the era-accurate border */
#right-sidebar {
    flex: 2;
    border-left: 3px double #ffffff; /* Classic retro double border */
    padding-left: 15px;              /* Keeps content from touching the border */
    box-sizing: border-box;
}

/* ==========================================
   3. BASIC RETRO FIXES
   ========================================== */
/* Ensures images and fake ads don't burst out of their 240px columns */
img, iframe {
    max-width: 100%;
    height: auto;
}

/* Keeps your 5,000-word story paragraphs readable and clean */
#center-content p {
    line-height: 1.5;
    margin-bottom: 1.5em;
}

.back-to-top {
    text-align: center;
    margin-top: 30px;
}
