body {
    background-color: #050505;
    /* Creates a futuristic glowing wireframe grid */
    background-image: 
        linear-gradient(transparent 95%, rgba(0, 255, 255, 0.2) 95%), 
        linear-gradient(90deg, transparent 95%, rgba(0, 255, 255, 0.2) 95%);
    background-size: 30px 30px;
    color: #00ffff; /* Neon Cyan */
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 20px;
}

/* Main Container with a glowing border */
.system-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.85); /* Slightly transparent black */
    border: 2px solid #ff00ff; /* Neon Magenta */
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5), inset 0 0 15px rgba(255, 0, 255, 0.2);
    padding: 20px;
    /* Angled corners for that sci-fi UI look */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

/* Header Area */
header {
    border-bottom: 2px dashed #00ffff;
    padding-bottom: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

header a {
    text-decoration: none;
    color: inherit;
}

header a:hover h1 {
    color: #ff0000;                 /* swap to red */
    text-shadow: 2px 2px 0px #fcee0a; /* swap to yellow */
}

h1 {
    color: #fcee0a; /* Cyberpunk Yellow */
    font-size: 2.5em;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px #ff0000;
    letter-spacing: -2px;
}

.system-status {
    color: #00ff00; /* Hacker Green */
    font-size: 0.9em;
    text-shadow: 0 0 5px #00ff00;
}

/* Navigation Buttons */
nav {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.nav-btn {
    background-color: #000;
    color: #00ffff;
    border: 1px solid #00ffff;
    padding: 8px 15px;
    font-family: inherit;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.2s;
}

.nav-btn:hover {
    background-color: #00ffff;
    color: #000;
    box-shadow: 0 0 10px #00ffff;
}

/* Split Layout */
.layout-grid {
    display: flex;
    gap: 20px;
}

/* Sidebar */
.sidebar {
    width: 250px;
    flex-shrink: 0;
}

.widget {
    border: 1px solid #ff00ff;
    padding: 15px;
    margin-bottom: 20px;
    background: #111;
}

.widget h3 {
    color: #ff00ff;
    margin-top: 0;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
    text-transform: uppercase;
    font-size: 1em;
}

.widget ul {
    list-style-type: square;
    padding-left: 15px;
    color: #fcee0a;
}

.widget a {
    color: #c0c0c0;
    text-decoration: none;
}

.widget a:hover {
    color: #fff;
    background: #ff00ff;
}

/* Main Content / Terminal Screen */
.feed {
    flex-grow: 1;
}

.post {
    border-left: 4px solid #fcee0a;
    padding-left: 15px;
    margin-bottom: 40px;
    background: linear-gradient(90deg, rgba(252, 238, 10, 0.1) 0%, transparent 100%);
    padding-top: 5px;
    padding-bottom: 5px;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.post-title {
    color: #fff;
    font-size: 1.5em;
    margin: 0;
    text-transform: uppercase;
}

.post-date {
    color: #ff00ff;
    font-size: 0.8em;
}

.post-body {
    color: #e0e0e0;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #fcee0a;
    text-decoration: none;
    border-bottom: 1px dotted #fcee0a;
}

.read-more:hover {
    background: #fcee0a;
    color: #000;
}

/* Footer */
footer {
    margin-top: 40px;
    border-top: 2px dashed #00ffff;
    padding-top: 15px;
    text-align: center;
    font-size: 0.8em;
    color: #555;
}

/* Mobile Adjustments */
@media (max-width: 700px) {
    .layout-grid { flex-direction: column; }
    .sidebar { width: auto; }
    header { flex-direction: column; align-items: flex-start; gap: 10px; }
}
