:root {
    --bg-darkest: #0a0a0a;
    --bg-panel: #111111;
    --text-main: #cccccc;
    --hack-green: #00ff00;
    --dark-green: #005500;
}

body {
    background-color: var(--bg-darkest);
    color: var(--text-main);
    font-family: "Courier New", Courier, monospace;
    margin: 0; padding: 0;
    font-size: 12px;
    background-image: linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.2) 50%), linear-gradient(90deg, rgba(0, 255, 0, 0.03), rgba(0, 50, 0, 0.02), rgba(0, 0, 0, 0.03));
    background-size: 100% 3px, 3px 100%;
}

.container {
    width: 95%;
    max-width: 900px;
    margin: 20px auto;
    background-color: var(--bg-panel);
    border: 1px solid var(--dark-green);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.15);
}

header {
    background-color: #050f05;
    border-bottom: 1px solid var(--hack-green);
    padding: 20px 0;
    text-align: center;
    background-image: linear-gradient(#000 1px, transparent 1px);
    background-size: 10px 10px;
}

h1 {
    margin: 0;
    font-family: "Courier New", monospace;
    color: #fff;
    letter-spacing: -2px;
    text-transform: uppercase;
    font-size: 36px;
    text-shadow: 0 0 5px var(--hack-green), 0 0 10px var(--hack-green);
}

.subtitle {
    font-size: 11px;
    color: var(--hack-green);
    margin-top: 5px;
    letter-spacing: 2px;
}

.content-wrapper {
    display: flex;
    border-top: 1px solid var(--dark-green);
    align-items: stretch;
}

aside {
    flex: 0 0 230px;
    background-color: #0d0d0d;
    padding: 15px;
    border-right: 1px solid var(--dark-green);
    text-align: left;
}

main {
    flex: 1;
    padding: 20px;
    overflow: hidden;
    background-color: var(--bg-panel);
}

.nav-link {
    display: block; 
    padding: 3px 0; 
    margin-bottom: 2px;
    color: var(--hack-green);
    text-decoration: none; 
    font-size: 11px; 
    text-align: left;
}
.nav-link:hover { 
    color: #fff; 
    text-shadow: 0 0 5px var(--hack-green);
    background: rgba(0, 255, 0, 0.1);
}
.nav-link::before { content: "[ "; color: var(--dark-green); }
.nav-link::after { content: " ]"; color: var(--dark-green); }

h2 { 
    border-bottom: 1px solid var(--dark-green); 
    color: var(--hack-green);
    font-size: 14px; 
    padding-bottom: 3px; 
    margin-top: 0; 
    text-transform: uppercase; 
}
h2::before { content: ":: "; color: var(--dark-green); }

.news-item { 
    background-color: #0a0a0a;
    border: 1px solid var(--dark-green); 
    padding: 10px; 
    margin-bottom: 15px; 
    font-family: "Lucida Console", Monaco, monospace;
}

.date { 
    font-size: 10px; 
    color: var(--hack-green); 
    margin-bottom: 5px; 
    border-bottom: 1px dashed var(--dark-green);
    display: inline-block;
    padding-bottom: 2px;
}

.marquee-container { 
    background: #000800; 
    color: var(--hack-green); 
    border-bottom: 1px solid var(--dark-green); 
    padding: 4px; 
    overflow: hidden; 
    white-space: nowrap; 
    font-family: monospace; 
    font-size: 11px;
}
.marquee-text { display: inline-block; animation: scroll-left 20s linear infinite; }
@keyframes scroll-left { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

.profile-pic { 
    border: 1px solid var(--hack-green); 
    width: 80px; height: 80px; 
    object-fit: cover; 
    background: #000; 
    margin: 0 auto 10px auto; 
    display: block;
    filter: grayscale(100%) contrast(1.2) brightness(1.1);
    opacity: 0.9;
}

.profile-pic:hover {
    filter: none;
    border-color: #fff;
    opacity: 1;
    cursor: help;
}

footer { 
    background: var(--bg-panel);
    text-align: center; 
    padding: 10px; 
    font-size: 10px; 
    color: #666;
    border-top: 1px solid var(--dark-green); 
}

.construction-bar {
    background: repeating-linear-gradient(
        45deg,
        #0a0a0a,
        #0a0a0a 10px,
        var(--dark-green) 10px,
        var(--dark-green) 20px
    );
    height: 10px; width: 100%; margin-bottom: 15px;
    border: 1px solid var(--hack-green);
}

main p a { color: #fff; text-decoration: none; border-bottom: 1px dotted var(--hack-green); }
main p a:hover { background: var(--hack-green); color: #000; }

.blink { animation: blinker 1s step-end infinite; }
@keyframes blinker { 50% { opacity: 0; } }

ul { list-style: none; padding-left: 10px; }
li::before { content: "> "; color: var(--hack-green); }

.status-box {
    border: 1px dashed #00ff00;
    background-color: rgba(0, 20, 0, 0.6);
    margin-bottom: 25px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    color: #00ff00;
}

.status-box legend {
    font-weight: bold;
    padding: 0 10px;
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    background-color: black;
}

.status-box:hover {
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    border-style: solid;
    cursor: help;
}
        
.status-content {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.4;
}

.guestbook-container {
    width: 100%;
    height: 600px; 
    border: none;
    margin-top: 10px;
}


.guestbook-frame {
    width: 100%;
    height: 100%;
    border: none; 
    background: transparent;
}




.link-box {
    margin-top: 30px;
}

/* --- CODE BOX STYLING --- */
.code-box {
    width: 100%; /* Stretch across the container */
    box-sizing: border-box; /* Include padding in width */
    height: 60px;
    background-color: #0a0a0a; /* Dark background */
    color: #00ff00; /* Hacker green text */
    border: 1px dashed #00ff00; /* Matrix-style border */
    padding: 10px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    resize: none; /* No resize handle */
    cursor: pointer; /* Show it's clickable */
    outline: none;
    margin-bottom: 5px;
    transition: all 0.2s ease-in-out;
}

.code-box:hover {
    background-color: #0f0f0f;
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}

/* New style for the feedback message */
#copy-feedback {
    font-size: 11px;
    font-weight: bold;
    height: 15px; /* Reserve space so layout doesn't jump */
    text-align: right;
    /* Color will be set by JS */
}