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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #00ff00;
    background-color: #000000;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #000000;
    border-bottom: 1px solid #00ff00;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

header h1 a {
    color: #008000;
    text-decoration: none;
}

header h1 a:hover {
    color: #00ff00;
}

.tagline {
    color: #00ff00;
    font-style: italic;
}

/* Main Content */
main {
    background-color: #000000;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,255,0,0.3);
    margin-bottom: 2rem;
    min-height: 60vh;
}

/* Blog Introduction */
.blog-intro {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #008000;
}

.blog-intro h2 {
    color: #008000;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.blog-intro p {
    color: #00ff00;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Posts List */
.posts-list h2 {
    margin-bottom: 2rem;
    color: #008000;
    border-bottom: 2px solid #008000;
    padding-bottom: 0.5rem;
}

.post-preview {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #008000;
}

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

.post-preview h3 {
    margin-bottom: 0.5rem;
}

.post-preview h3 a {
    color: #008000;
    text-decoration: none;
}

.post-preview h3 a:hover {
    text-decoration: underline;
    color: #00ff00;
}

/* Post Meta */
.post-meta {
    color: #00ff00;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.post-meta .author {
    margin-left: 1rem;
}

/* Tags */
.tags {
    margin-top: 0.5rem;
}

.tag {
    display: inline-block;
    background-color: #008000;
    color: #000000;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

/* Individual Post */
.post h2 {
    color: #008000;
    margin-bottom: 1rem;
}

.post-content {
    margin-top: 2rem;
    line-height: 1.8;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #008000;
}

.post-content h1 { font-size: 2rem; }
.post-content h2 { font-size: 1.5rem; }
.post-content h3 { font-size: 1.25rem; }

.post-content p {
    margin-bottom: 1rem;
}

.post-content ul,
.post-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.post-content code {
    background-color: #1a1a1a;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #00ff00;
}

.post-content pre {
    background-color: #1a1a1a;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.post-content pre code {
    background-color: transparent;
    padding: 0;
}

.post-content blockquote {
    border-left: 4px solid #008000;
    padding-left: 1rem;
    margin-left: 0;
    margin-bottom: 1rem;
    color: #00ff00;
    font-style: italic;
}

.post-content a {
    color: #008000;
    text-decoration: none;
}

.post-content a:hover {
    text-decoration: underline;
    color: #00ff00;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #008000;
}

.post-footer a {
    color: #008000;
    text-decoration: none;
}

.post-footer a:hover {
    text-decoration: underline;
    color: #00ff00;
}

/* Comments Section */
.comments {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #008000;
}

.comments h3 {
    margin-bottom: 1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    color: #00ff00;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.5rem;
    }
    
    main {
        padding: 1rem;
    }
    
    .post-meta .author {
        display: block;
        margin-left: 0;
        margin-top: 0.25rem;
    }
}
