/* ==========================================================================
   1. GLOBAL STYLES & RESET
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #2b2b36; /* Dark background to make the center box pop */
    font-family: "Courier New", Courier, monospace; /* Classic retro tech font */
    color: #e0e0e0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

/* Links styling */
a {
    color: #4af626; /* Bright matrix-neon green for links */
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
    color: #fff;
}

hr {
    border: 0;
    border-top: 2px dashed #444;
    margin: 20px 0;
}

/* ==========================================================================
   2. THE WINDOW CONTAINER (.EXE Style wrapper)
   ========================================================================== */
#container {
    background-color: #1c1c24; /* Darker terminal/box color */
    width: 100%;
    max-width: 900px;
    border: 3px solid #4af626; /* Neon frame border */
    box-shadow: 8px 8px 0px #000; /* Retro hard shadow */
}

/* Top bar of the window */
#header-bar {
    background: linear-gradient(90deg, #4af626, #116300);
    color: #000;
    padding: 6px 12px;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.window-controls span {
    margin-left: 8px;
    cursor: pointer;
    padding: 0 4px;
}

/* ==========================================================================
   3. BANNER & HEADER
   ========================================================================== */
#main-header {
    text-align: center;
    padding: 20px;
    background-color: #15151d;
    border-bottom: 2px solid #444;
}

#main-header h1 {
    font-size: 1.4rem;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 10px;
}

.banner-img {
    max-width: 100%;
    height: auto;
    border: 0px solid #444;
}

/* ==========================================================================
   4. SIDEBAR & MAIN CONTENT SPLIT
   ========================================================================== */
#wrapper {
    display: flex;
    flex-wrap: wrap; /* Allows stacking on mobile screens */
}

/* Sidebar Navigation Area */
#sidebar {
    flex: 1 1 220px; /* Base size of 220px, can grow/shrink */
    background-color: #181820;
    padding: 20px;
    border-right: 2px solid #444;
}

.box {
    background-color: #22222b;
    border: 1px solid #4af626;
    padding: 15px;
    margin-bottom: 20px;
}

.box h3 {
    color: #000;
    background-color: #4af626;
    padding: 2px 6px;
    font-size: 1rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    text-align: center;
}

/* Sidebar Menu List */
.menu ul {
    list-style: none;
}

.menu li {
    margin-bottom: 8px;
}

.menu a {
    display: block;
    padding: 4px 0;
}

.status-box p {
    font-size: 0.85rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Main Content Area */
#main-content {
    flex: 3 1 450px; /* Takes up the majority of the room */
    padding: 25px;
    background-color: #1c1c24;
}

.content-block h1 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
    border-left: 4px solid #4af626;
    padding-left: 10px;
}

.content-block h2 {
    font-size: 1.2rem;
    color: #bcbcbc;
}

.content-block p {
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.content-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
    border: 2px solid #333;
}

/* Warning Text Styling */
.warn {
    color: #ff5555; /* Sharp red to stand out as an alert */
    font-weight: bold;
    background-color: rgba(255, 85, 85, 0.1);
    padding: 8px;
    border-left: 3px solid #ff5555;
    margin-top: 8px;
}
/* Caution Text Style */
.caut {
  color: #ffc00;
  font-weight: bold;
  background-color: rgba(255, 204, 0, 1);
  padding: 8px;
  border-left: 3px solid #ffc00;
  margin-top: 8px;
}

/* Counter embed layout */
.counter-section {
    text-align: center;
}
.counter-embed {
    margin: 15px auto;
    display: inline-block;
    background: #000;
    padding: 10px;
    border: 1px solid #444;
}

/* ==========================================================================
   5. FOOTER & STAMPS
   ========================================================================== */
#main-footer {
    background-color: #111116;
    padding: 20px;
    text-align: center;
    border-top: 2px solid #444;
    font-size: 0.8rem;
    color: #666;
}

#main-footer p {
    margin-bottom: 15px;
}

.stamps {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.stamps img {
    width: 88px;
    height: 31px;
    image-rendering: pixelated; /* Keeps old-school gif badges crisp */
    border: 1px solid #333;
}

/* ==========================================================================
   6. RESPONSIVE DESIGN (Mobile Friendly)
   ========================================================================== */
@media (max-width: 768px) {
    #sidebar {
        border-right: none;
        border-bottom: 2px solid #444;
    }
    body {
        padding: 5px;
    }
}