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

body {
    background-color: #000000;
    color: #CCCCCC;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.4;
    overflow-x: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


.header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
    filter: contrast(1.2) brightness(0.9);
}


.nav {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 15px;
}

.nav-item {
    color: #CCCCCC;
    cursor: pointer;
    padding: 5px 10px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    font-weight: bold;
}

.nav-item:hover {
    color: #c95447;
    border: 1px solid #c95447;
    background-color: rgba(255, 0, 0, 0.1);
}

.nav-item.active {
    color: #c95447;
    border: 1px solid #c95447;
    background-color: rgba(255, 0, 0, 0.1);
}


.main-content {
    flex: 1;
    margin-bottom: 30px;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.prompt {
    color: #c95447;
    font-weight: bold;
}

.command {
    color: #CCCCCC;
}


.post-item {
    border-bottom: 1px solid #333;
    padding: 15px;
    transition: background-color 0.3s ease;
}

.post-item:last-child {
    border-bottom: none;
}

.post-item:hover {
    background-color: #1a1a1a;
    cursor: pointer;
}

.post-title {
    color: #c95447;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.post-meta {
    color: #CCCCCC;
    font-size: 12px;
    margin-bottom: 10px;
}

.post-excerpt {
    color: #CCCCCC;
    font-size: 13px;
    line-height: 1.3;
}

.post-path {
    color: #888;
    font-size: 11px;
    margin-top: 5px;
}


.post-content {
    padding: 20px;
    line-height: 1.6;
}

.post-content h1 {
    color: #c95447;
    font-size: 24px;
    margin-bottom: 20px;
    border-bottom: 2px solid #c95447;
    padding-bottom: 10px;
}

.post-content h2 {
    color: #c95447;
    font-size: 20px;
    margin: 25px 0 15px 0;
}

.post-content h3 {
    color: #CCCCCC;
    font-size: 16px;
    margin: 20px 0 10px 0;
}

.post-content p {
    margin-bottom: 15px;
    color: #CCCCCC;
}

.post-content code {
    background-color: #1a1a1a;
    color: #c95447;
    padding: 2px 4px;
    border: 1px solid #333;
    font-family: 'Courier New', monospace;
}

.post-content pre {
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 15px;
    overflow-x: auto;
    margin: 15px 0;
    color: #CCCCCC;
}

.post-content pre code {
    background: none;
    border: none;
    padding: 0;
    color: #CCCCCC;
}

.post-content ul, .post-content ol {
    margin: 15px 0 15px 30px;
    color: #CCCCCC;
}

.post-content li {
    margin-bottom: 5px;
}

.post-content blockquote {
    border-left: 3px solid #c95447;
    margin: 15px 0;
    padding-left: 15px;
    color: #888;
    font-style: italic;
}

.post-content a {
    color: #c95447;
    text-decoration: underline;
}

.post-content a:hover {
    color: #CCCCCC;
}


.back-link {
    margin-top: 30px;
    text-align: center;
}

.back-link a {
    color: #c95447;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border: 1px solid #c95447;
    background-color: rgba(255, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.back-link a:hover {
    background-color: rgba(255, 0, 0, 0.2);
    color: #CCCCCC;
}


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 20px;
    border-top: 1px solid #333;
}

.pagination button {
    background-color: #0a0a0a;
    color: #CCCCCC;
    border: 1px solid #333;
    padding: 8px 12px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
}

.pagination button:hover {
    border-color: #c95447;
    color: #c95447;
}

.pagination button.active {
    background-color: #c95447;
    color: #000000;
    border-color: #c95447;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination button:disabled:hover {
    border-color: #333;
    color: #CCCCCC;
}


.about-content {
    background-color: #000000;
    padding: 20px;
}

.ascii-art {
    color: #c95447;
    font-size: 12px;
    line-height: 1.2;
    white-space: pre;
    font-family: 'Courier New', monospace;
}


.footer {
    margin-top: auto;
    text-align: center;
    padding: 20px;
    border-top: 1px solid #333;
}

.footer p {
    color: #CCCCCC;
    font-size: 12px;
    margin: 0;
}

.cursor {
    color: #c95447;
    font-weight: bold;
    animation: blink 1s infinite;
}

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


.ascii-border-bottom {
    color: #c95447;
    font-weight: bold;
    font-size: 12px;
    white-space: pre;
    margin: 20px 0;
}


.loading {
    text-align: center;
    color: #CCCCCC;
    font-style: italic;
    padding: 40px;
}


@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .ascii-border,
    .ascii-border-bottom {
        font-size: 10px;
        overflow-x: auto;
    }
    
    .logo {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 12px;
    }
    
    .logo {
        max-width: 200px;
    }
    
    .ascii-border,
    .ascii-border-bottom {
        font-size: 8px;
    }
    
    .post-content {
        padding: 15px;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}
