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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #0f172a;
    color: #e2e8f0;
    line-height: 1.6;
}

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

.header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #334155;
}

.page-name {
    font-size: 2em;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 4px;
}

.page-position {
    font-size: 1em;
    color: #818cf8;
    font-weight: 500;
}

.blog-header {
    margin-bottom: 50px;
}

.blog-header h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 12px;
    color: #f1f5f9;
}

.blog-header p {
    font-size: 1em;
    color: #cbd5e1;
}

.blog-post {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid #334155;
}

.blog-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.post-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 8px;
}

.post-title a {
    color: #f1f5f9;
    text-decoration: none;
    transition: color 0.2s;
}

.post-title a:hover {
    color: #ec4899;
}

.post-subtitle {
    font-size: 1em;
    color: #cbd5e1;
    margin-bottom: 12px;
    font-weight: 400;
}

.post-meta {
    font-size: 0.9em;
    color: #94a3b8;
    margin-bottom: 16px;
}

.post-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.post-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid #6366f1;
    border-radius: 20px;
    font-size: 0.85em;
    color: #818cf8;
    text-decoration: none;
    transition: all 0.2s;
}

.post-tag:hover {
    background: rgba(99, 102, 241, 0.2);
    color: #c7d2fe;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 9999px;
    background: #1e293b;
    border: 1px solid #334155;
    color: #cbd5e1;
    font-size: 0.875em;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-btn i {
    font-size: 0.95em;
    color: #6366f1;
    transition: color 0.2s ease;
}

.social-btn:hover {
    background: #1e293b;
    border-color: #6366f1;
    color: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25);
}

.social-btn:hover i {
    color: #818cf8;
}

.footer {
    margin-top: 80px;
    padding-top: 24px;
    border-top: 1px solid #334155;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #64748b;
    font-size: 0.875em;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #cbd5e1;
}

.copyright {
    margin-top: 16px;
    font-size: 0.8em;
    color: #475569;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #cbd5e1;
}

.empty-state p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

/* Blog Post Page Styles */

.blog-post-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 20px;
}

.blog-post-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #334155;
    font-size: 0.95em;
    color: #cbd5e1;
}

.blog-post-meta span {
    display: flex;
    gap: 8px;
}

.blog-post-meta strong {
    color: #818cf8;
}

.blog-post-content {
    color: #e2e8f0;
    line-height: 1.8;
}

.blog-post-content h2 {
    font-size: 1.8em;
    font-weight: 700;
    color: #f1f5f9;
    margin-top: 40px;
    margin-bottom: 20px;
}

.blog-post-content h3 {
    font-size: 1.3em;
    font-weight: 600;
    color: #cbd5e1;
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-post-content p {
    margin-bottom: 20px;
}

.blog-post-content a {
    color: #818cf8;
    text-decoration: none;
    border-bottom: 1px solid #818cf8;
    transition: color 0.2s;
}

.blog-post-content a:hover {
    color: #6366f1;
}

.blog-post-tags {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #334155;
}

.blog-post-tags-label {
    font-weight: 600;
    color: #818cf8;
    margin-bottom: 10px;
}

.blog-post-tags-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-post-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid #818cf8;
    border-radius: 4px;
    color: #818cf8;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.2s;
}

.blog-post-tag:hover {
    background: rgba(99, 102, 241, 0.2);
}

.blog-nav-links {
    margin-top: 60px;
    text-align: center;
}

.blog-nav-links a {
    color: #818cf8;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.2s;
}

.blog-nav-links a:hover {
    color: #6366f1;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .container {
        padding: 20px 16px;
    }

    .blog-header h1 {
        font-size: 2em;
    }

    .blog-post-title {
        font-size: 2em;
    }

    .blog-post-meta {
        flex-direction: column;
        gap: 10px;
    }

    .footer-links {
        gap: 16px;
    }

    .blog-nav-links a {
        display: block;
        margin: 10px 0;
    }
}
