* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Courier New", monospace;
    color: #00ff41;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
}

a, a:visited, a:active {
     text-decoration: none !important;
     
}

body {
    background-color: #0a0a0a;
    background-image: 
        linear-gradient(rgba(0, 20, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 20, 0, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    padding: 20px;
    max-width: 1024px;
    margin: 0 auto;
    overflow-x: hidden;
    position: relative;
}


body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0.2) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 1000;
    animation: scanline 10s linear infinite;
}

.site-desc{
    font-size: 14px;
    margin-top: 10px;
    padding: 5px;
    background-color: rgba(0, 30, 0, 0.6);
    display: inline-block;
}

header {
    border: 1px solid #00ff41;
    margin-bottom: 20px;
    padding: 15px;
    text-align: center;
    background-color: rgba(0, 20, 0, 0.7);
    position: relative;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}


/*---------------------------------------------------------------------------*/

nav {
    margin-bottom: 20px;
    padding: 5px;
    background-color: rgba(0, 30, 0, 0.6);
    border: 1px solid #00ff41;
    font-size: 14px;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: space-around;
    flex-wrap: wrap;
}

nav a {
    color: #00ff41;
    text-decoration: none;
    padding: 5px 10px;
    transition: all 0.3s;
}

nav a:hover {
    background-color: #00ff41;
    color: #000;
    text-shadow: none;
}

/*----------------------------------------------------------------*/

.container {
    display: flex;
    gap: 20px;
}

main {
    flex: 2;
}


.forum-section {
    border: 1px solid #00ff41;
    margin-bottom: 20px;
    background-color: rgba(0, 20, 0, 0.4);
}

.section-header {
    background-color: rgba(0, 40, 0, 0.7);
    padding: 8px;
    border-bottom: 1px solid #00ff41;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

.online-status {
    font-size: 12px;
    font-style: italic;
}

.thread {
    padding: 10px;
    border-bottom: 1px dotted #00ff41;
    transition: background-color 0.3s;
    display: flex;
    justify-content: space-between;
}

.thread:last-child {
    border-bottom: none;
}

.thread:hover {
    background-color: rgba(0, 60, 0, 0.4);
}

.thread-title {
    font-weight: bold;
    margin-bottom: 5px;
    cursor: pointer;
}

.thread-meta {
    font-size: 12px;
    color: #00cc33;
    display: flex;
    gap: 10px;
}

.thread-details {
    flex: 3;
}

.thread-activity {
    flex: 1;
    text-align: right;
    font-size: 12px;
}

.thread-author {
    display: flex;
    align-items: center;
    gap: 5px;
}

.avatar {
    width: 16px;
    height: 16px;
    image-rendering: pixelated;
    display: inline-block;
    border: 1px solid #00ff41;
}



.timestamp {
    font-size: 11px;
    color: #00cc33;
    display: block;
    margin-top: 3px;
}

/* Thread Replies */
.thread-view {
    display: none;
    margin-top: 20px;
}

.thread-view.active {
    display: block;
}

.post {
    border: 1px solid #00ff41;
    margin-bottom: 15px;
    background-color: rgba(0, 20, 0, 0.4);
}

.post-header {
    background-color: rgba(0, 40, 0, 0.7);
    padding: 8px;
    border-bottom: 1px solid #00ff41;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-content {
    padding: 15px;
    line-height: 1.4;
}

/* Code block styling */
.code-block {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #008f23;
    padding: 10px;
    margin: 10px 0;
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
    color: #00cc33;
    overflow-x: auto;
}

.post-signature {
    font-size: 11px;
    text-align: right;
    border-top: 1px dotted #008f23;
    padding: 5px;
    font-style: italic;
    color: #00cc33;
}

/* Secret hidden links */
.hidden-link {
    color: #0a0a0a;
    text-decoration: none;
    cursor: default;
}

.hidden-link:hover {
    color: #ff00ff;
    text-shadow: 0 0 5px #ff00ff;
}

/* Footer */
footer {
    margin-top: 30px;
    text-align: center;
    font-size: 12px;
    padding: 10px;
    border-top: 1px solid #00ff41;
    color: #00cc33;
}

/* Glitch animation */
.glitch {
    position: relative;
    animation: glitch-text 3s infinite;
}

@keyframes glitch-text {
    0% { opacity: 1; transform: translateX(0); }
    1% { opacity: 0.8; transform: translateX(2px); }
    2% { opacity: 1; transform: translateX(0); }
    49% { opacity: 1; transform: translateX(0); }
    50% { opacity: 0.8; transform: translateX(-2px); }
    51% { opacity: 1; transform: translateX(0); }
    92% { opacity: 1; transform: translateX(0); }
    93% { opacity: 0.8; transform: translateX(2px); }
    94% { opacity: 1; transform: translateX(0); }
}


/* ASCII Art */
.ascii-art {
    font-size: 11px;
    line-height: 11px;
    font-family: monospace;
    white-space: pre;
    text-align: center;
    margin: 10px 0;
    color: #00ff41;
}

/* Topic tags */
.topic-tag {
    display: inline-block;
    background-color: rgba(0, 40, 0, 0.7);
    border: 1px solid #00ff41;
    font-size: 10px;
    padding: 2px 5px;
    margin-right: 5px;
    margin-top: 5px;
}
img {
    width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
  }
  
  .img-container {
    text-align: center;
    margin-bottom: 20px;
  }

/* Mobile responsiveness */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .thread {
        flex-direction: column;
    }
    
    .thread-activity {
        text-align: left;
        margin-top: 5px;
    }
    .img-container img {
        width: 100%;
        height: auto;
    }
}