@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&display=swap');

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    color: #00ff00;
    font-family: 'Courier Prime', monospace;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effects */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

/* Main Container System */
.page-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* For full-height centered pages (like homepage) */
.page-container.centered {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Main Content Window */
.content-window {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #00ff00;
    border-radius: 5px;
    box-shadow: inset 0 0 17px 3px #009900;
    width: 100%;
}

/* Content inside the window */
.content-inner {
    padding: 30px;
}

.content-inner a {
    color: #00ff00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-inner a:hover {
    color: #fff;
    text-shadow: 0 0 10px #ffffff;
}

/* Page Header */
.page-header {
    border-bottom: 1px solid #009900;
    padding: 30px;
}

.page-title {
    color: #00ff00;
    margin-bottom: 20px;
}

.page-subtitle {
    opacity: 0.8;
    font-size: 1.2em;
}

/* Navigation */
.nav-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #009900;
    padding: 20px;
}

.nav-links {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 0;
    list-style: none;
}

.nav-links li {
    padding: 0;
}

.nav-links li::before {
    content: "[";
    color: #00ff00;
}

.nav-links li::after {
    content: "]";
    color: #00ff00;
}

.nav-links a {
    color: #00ff00;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px #ffffff;
}

.social-links {
    display: flex;
}

.icon-link {
    color: #00ff00;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-right: 15px;
}

.icon-link:hover {
    color: #ffffff;
    text-shadow: 0 0 5px #ffffff;
}

/* Back Link */
.back-link {
    display: inline-block;
    color: #00ff00;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #00ff00;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

/* Cursor Animation */
.cursor {
    display: inline-block;
    background: #00ff00;
    width: 10px;
    height: 20px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Typewriter Animation */
.typewriter {
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 3s steps(40, end);
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

/* Section Styles */
.section {
    margin: 30px 0;
}

.section-title {
    color: #00ff00;
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.section-title::before {
    content: "> ";
}

.content-footer {
    border-top: 1px solid #009900;
}

/* Status Lines */
.status-line {
    font-size: 0.9em;
    margin: 10px 0;
    opacity: 0.8;
}

.status-line::before {
    content: "[STATUS] ";
    color: #00ff00;
    font-weight: bold;
}

/* Article Lists */
.article-list {
    list-style: none;
    padding: 0;
}

.article-item {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #00ff00;
    margin-bottom: 20px;
    padding: 30px;
}

.article-item:hover {
    /*background: rgba(0, 255, 0, 0.05);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    transform: translateY(-2px);*/
    box-shadow: inset 0 0 17px 3px #009900;
}

.article-link {
    color: #00ff00;
    text-decoration: none;
    display: block;
}

.article-title {
    color: #00ff00;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

.article-description {
    margin-bottom: 10px;
    color: #f0f0f0;
}

.article-meta {
    font-size: 0.9em;
    opacity: 0.7;
}

.article-date::before {
    content: "[";
    color: #00ff00;
}

.article-date::after {
    content: "]";
    color: #00ff00;
}

.article-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    padding: 2px 8px;
    font-size: 0.8em;
    border: 1px solid #00ff00;
    text-decoration: none;
}

.tag:hover {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
}

/* Individual Article Styles */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.article-header {
    border: 2px solid #00ff00;
    padding: 30px;
    margin-bottom: 30px;
    background: rgba(0, 255, 0, 0.05);
}

.article-header .article-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.article-meta-info {
    font-size: 0.9em;
    opacity: 0.8;
    margin-bottom: 10px;
}

.article-meta-info::before {
    color: #00ff00;
    font-weight: bold;
}

.article-content {
    color: #d0d0d0;
    font-family: 'Consolas', monospace;
}

.article-content h1,
.article-content h2,
.article-content h3 {
    font-family: 'Courier Prime', monospace;
    color: #00ff00;
}

.article-content code {
    font-family: 'Courier Prime', monospace;
}

.article-content pre {
    background-color: #1f1f1f;
    padding: 10px;
}

.article-content blockquote {
    background-color: #1f1f1f;
    border-left: 4px solid #00ff00;
    margin: 20px 0;
    padding: 15px 20px;
    font-style: italic;
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-section {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        order: 1;
        width: 100%;
    }

    .social-links {
        order: 2;
        justify-content: center;
        width: 100%;
    }

    .content-inner {
        padding: 20px;
    }

    .page-title {
        font-size: 2em;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}
