:root {
    --primary: #000;
    --text: #333;
    --text-light: #666;
    --border: #e0e0e0;
    --bg: #fff;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

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

/* Header */
header {
    border-bottom: 1px solid var(--border);
    padding: 3rem 0 2rem;
    margin-bottom: 3rem;
}

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

header h1 a {
    color: var(--text);
    text-decoration: none;
}

header .tagline {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* About Section */
.about {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.about p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
}

.about a {
    color: var(--primary);
    text-decoration: underline;
}

.about a:hover {
    opacity: 0.7;
}

/* Posts List */
.posts {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.section-title {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.post-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

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

.post-item a {
    color: var(--text);
    text-decoration: underline;
    font-size: 1rem;
    flex: 1;
}

.post-item a:hover {
    color: var(--primary);
}

.post-date {
    color: var(--text-light);
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Post Page */
.post {
    padding-bottom: 3rem;
}

.post-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.post-header h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.post-header time {
    color: var(--text-light);
    font-size: 0.9rem;
}

.post-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.post-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

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

.post-content a {
    color: var(--primary);
    text-decoration: underline;
}

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

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content blockquote {
    border-left: 3px solid var(--border);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: var(--text-light);
}

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

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

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

.post-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--primary);
    text-decoration: none;
}

.nav-link:hover {
    text-decoration: underline;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.back-link {
    color: var(--primary);
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Socials Section */
.socials {
    margin-bottom: 3rem;
}

.socials .social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.socials .social-links a {
    color: var(--text);
    text-decoration: underline;
    font-size: 1rem;
}

.socials .social-links a:hover {
    color: var(--primary);
}

/* Footer Social Links */
footer .social-links {
    display: flex;
    gap: 1.5rem;
}

footer .social-links a {
    color: var(--text-light);
    text-decoration: none;
}

footer .social-links a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 600px) {
    header {
        padding: 2rem 0 1.5rem;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    .post-header h1 {
        font-size: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
