/* RESET & FONTS */
body {
    background-color: #050505;
    background-image: 
        linear-gradient(rgba(0, 10, 20, 0.9), rgba(0, 10, 20, 0.9)),
        url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjMDAwIiAvPgo8cmVjdCB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSIjMTEyMjMzIiAvPgo8L3N2Zz4=');
    color: #cccccc;
    font-family: 'Verdana', 'Tahoma', sans-serif;
    font-size: 11px;
    margin: 0;
    padding: 0;
}

/* CRT SCANLINE EFFECT */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,0) 50%,
        rgba(0,0,0,0.2) 50%,
        rgba(0,0,0,0.2)
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 999;
}

/* LAYOUT */
.main-container {
    width: 960px;
    margin: 0 auto;
    background-color: #000913;
    border-left: 1px solid #003366;
    border-right: 1px solid #003366;
    box-shadow: 0 0 20px #000;
}

header {
    background: #000;
    border-bottom: 2px solid #005599;
    text-align: center;
}

.main-logo {
    max-width: 100%;
    height: auto;
    display: block;
}

/* NAVIGATION */
.navbar {
    background: linear-gradient(to bottom, #004488, #002244);
    border-top: 1px solid #5599ff;
    border-bottom: 1px solid #001122;
    padding: 8px 0;
    text-align: center;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 20px;
    border-right: 1px solid #003366;
    font-size: 12px;
}

.navbar a:last-child {
    border-right: none;
}

.navbar a:hover {
    background-color: #0055aa;
    color: #ffd700;
}

/* CONTENT WRAPPER */
.content-wrapper {
    display: flex;
    padding: 10px;
}

/* SIDEBAR */
.sidebar {
    width: 200px;
    padding-right: 10px;
}

.module {
    background-color: #001122;
    border: 1px solid #003366;
    margin-bottom: 15px;
}

.module-header {
    background: linear-gradient(to right, #002244, #000);
    color: #fff;
    font-weight: bold;
    padding: 5px;
    border-bottom: 1px solid #004488;
    text-transform: uppercase;
    font-size: 10px;
}

.module-content {
    padding: 10px;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    border-bottom: 1px solid #002233;
}

.nav-links a {
    display: block;
    padding: 6px 10px;
    color: #88bbff;
    text-decoration: none;
}

.nav-links a:hover {
    background-color: #002244;
    color: #fff;
}

.center-text { text-align: center; }
.small-text { font-size: 10px; color: #667788; line-height: 1.5; }

.button-small {
    display: inline-block;
    background: #004488;
    color: white;
    padding: 4px 8px;
    text-decoration: none;
    border: 1px solid #66aaff;
    font-size: 10px;
}

/* MAIN CONTENT */
main {
    flex: 1;
}

h2 {
    color: #ffffff;
    font-size: 14px;
    margin: 0;
    text-shadow: 1px 1px 2px #000;
}

.news-post {
    border: 1px solid #003366;
    margin-bottom: 15px;
    background-color: #0b1016;
}

.post-header {
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCI+CjxyZWN0IHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgZmlsbD0iIzAwMzM2NiIgLz4KPGxpbmUgeDE9IjAiIHkxPSIwIiB4Mj0iMTAiIHkyPSIxMCIgc3Ryb2tlPSIjMDA0NDg4IiAvPgo8L3N2Zz4=');
    padding: 6px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #004488;
}

.date {
    font-size: 10px;
    color: #88aabb;
}

.post-content {
    padding: 15px;
    line-height: 1.6;
    color: #ccddee;
}

/* SERVERS TABLE */
.section-block {
    margin-bottom: 15px;
}

.block-header {
    background: #002244;
    color: #fff;
    padding: 5px 10px;
    font-weight: bold;
    border: 1px solid #004488;
    margin-bottom: 5px;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10px;
    background: #000;
}

th {
    background: #003366;
    color: #fff;
    text-align: left;
    padding: 6px;
    border: 1px solid #004488;
}

td {
    padding: 6px;
    border: 1px solid #002233;
    color: #aaccff;
}

tr:nth-child(even) { background-color: #0a1520; }
tr:hover { background-color: #002244; cursor: default; }

.tag {
    padding: 2px 4px;
    border-radius: 2px;
    color: #000;
    font-weight: bold;
    font-size: 9px;
}
.cs { background-color: #d1b643; } /* Goldish */
.tfc { background-color: #438ad1; } /* Blue */
.dmc { background-color: #d14343; } /* Red */
.rc { background-color: #9cd143; } /* Green */
.dod { background-color: #888; } /* Grey */
.ut { background-color: #b543d1; } /* Purple */

/* ROSTER GRID */
.roster-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.staff-card {
    background: #08111a;
    border: 1px solid #003355;
    padding: 5px;
    display: flex;
    flex-direction: column;
}

.staff-name { color: #fff; font-weight: bold; font-size: 11px; }
.staff-role { color: #eebb00; font-size: 9px; }
.staff-loc { color: #557799; font-size: 9px; margin-top: auto; }

/* FOOTER */
footer {
    background: #001122;
    border-top: 1px solid #003366;
    text-align: center;
    padding: 20px;
    font-size: 10px;
    color: #445566;
}