:root {
    --bg-dark: #121212;
    --bg-secondary: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent: #ff6b6b;
    --accent-secondary: #4ecdc4;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.8;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.post-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.post-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.post-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.post-content {
    margin-bottom: 3rem;
}

.post-intro {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius);
}

.post-section {
    margin-bottom: 3rem;
}

.post-section h2 {
    color: var(--accent-secondary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-secondary);
}

.post-image {
    margin: 2rem 0;
    text-align: center;
}

.post-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.image-caption {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.post-highlight {
    background-color: rgba(255, 107, 107, 0.1);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.post-highlight ul {
    padding-left: 1.5rem;
}

.post-highlight li {
    margin-bottom: 0.5rem;
}

.post-quote {
    border-left: 4px solid var(--accent-secondary);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background-color: rgba(78, 205, 196, 0.1);
    font-style: italic;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.grid-item {
    background-color: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.grid-item h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0;
}

.tag {
    background-color: var(--bg-secondary);
    color: var(--accent-secondary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.share-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.share-btn.wechat {
    background-color: #07C160;
    color: white;
}

.share-btn.qq {
    background-color: #12B7F5;
    color: white;
}

.share-btn.weibo {
    background-color: #E6162D;
    color: white;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post-grid {
        grid-template-columns: 1fr;
    }
}
