/* --- Global Resets & Body --- */
body {
    background-color: #050505;
    /* Classic tiling stardust background */
    background-image: url('https://www.transparenttextures.com/patterns/stardust.png'); 
    color: #00ff00; /* Hacker green text */
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 20px;
    cursor: crosshair; /* Changes the mouse pointer */
}

/* --- Main Layout Wrapper --- */
#container {
    max-width: 950px;
    margin: 0 auto;
    background: rgba(0, 15, 0, 0.85); /* Semi-transparent dark green */
    border: 4px double #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    padding: 15px;
}

/* --- Header & Marquee --- */
header h1 {
    text-align: center;
    color: #ff00ff; /* Neon Pink */
    font-family: 'VT323', monospace; /* Pixel font */
    text-shadow: 3px 3px 0px #000, 0 0 15px #ff00ff;
    font-size: 3.5em;
    margin: 5px 0 15px 0;
}

marquee {
    background: #003300;
    color: #ffffff;
    border-top: 1px dashed #00ff00;
    border-bottom: 1px dashed #00ff00;
    padding: 5px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* --- Flexbox for Sidebar & Content --- */
#flex-wrapper {
    display: flex;
    margin-top: 20px;
    gap: 20px;
}

/* --- Sidebar --- */
#sidebar {
    width: 250px;
    border: 2px dashed #00ffff; /* Cyan border */
    padding: 15px;
    background: rgba(0, 50, 50, 0.3);
}

#sidebar h2, #sidebar h3 {
    color: #00ffff;
    border-bottom: 1px solid #00ffff;
    padding-bottom: 5px;
    font-family: 'VT323', monospace;
    font-size: 1.8em;
    margin-top: 0;
}

#sidebar ul {
    list-style-type: square;
    padding-left: 20px;
}

#sidebar a {
    color: #ffff00; /* Yellow links */
    text-decoration: none;
    font-weight: bold;
}

#sidebar a:hover {
    color: #000;
    background: #ffff00; /* Highlight effect on hover */
}

/* --- 88x31 Buttons --- */
.blinkies {
    text-align: center;
    margin-top: 25px;
}

.blinkies img {
    margin: 2px;
    border: 1px solid #444;
    image-rendering: pixelated; /* Keeps pixel art crisp */
}

/* --- Main Content --- */
#content {
    flex: 1;
    border: 2px inset #ff00ff; /* Pink inset border */
    padding: 20px;
    background: rgba(20, 0, 20, 0.6);
}

#content h2 {
    color: #ff00ff;
    font-family: 'VT323', monospace;
    font-size: 2.2em;
    margin-top: 0;
}

#content h3 {
    color: #00ffff;
}

hr {
    border: 0;
    border-bottom: 1px dashed #00ff00;
    margin: 20px 0;
}

.update-box {
    border: 1px solid #555;
    padding: 10px;
    background: rgba(0, 0, 0, 0.8);
    margin-bottom: 10px;
    border-left: 5px solid #ff00ff;
}

/* --- Clock Container --- */
#clock-container {
    background: #000;
    border: 1px solid #00ff00;
    color: #00ff00;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
    font-family: 'VT323', monospace;
    font-size: 1.4em;
    box-shadow: inset 0 0 10px rgba(0, 255, 0, 0.3);
}

/* --- Footer --- */
footer {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    border-top: 4px double #00ff00;
    font-size: 0.9em;
    color: #666;
}

/* --- Custom Cyber Scrollbar (Works in Chrome/Edge/Safari) --- */
::-webkit-scrollbar {
    width: 15px;
}
::-webkit-scrollbar-track {
    background: #050505;
    border-left: 1px solid #00ff00;
}
::-webkit-scrollbar-thumb {
    background: #ff00ff;
    border: 2px solid #050505;
}
::-webkit-scrollbar-thumb:hover {
    background: #00ffff;
}