/* 基础变量 */
:root {
    --bg-color: #0b0d14;
    --card-bg: #161a25;
    --accent: #c9a063;
    --text-main: #e0e0e0;
    --text-muted: #999;
    --border: #2a2f3d;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    padding: 20px;
}

/* 导航栏 */
.main-header {
    background: #000;
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo { color: var(--accent); text-decoration: none; font-size: 24px; font-weight: bold; }
.logo span { color: #fff; }
.nav-links { list-style: none; display: flex; gap: 20px; }
.nav-links a { color: #fff; text-decoration: none; font-size: 14px; }

/* 广告占位符样式 */
.ad-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}
.ad-placeholder {
    background: #1a1e2b;
    border: 1px dashed #444;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.top-banner .ad-placeholder { width: 728px; height: 90px; }
.sidebar-ad .ad-placeholder { width: 300px; height: 250px; }

/* 文章卡片 */
.post-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    display: flex;
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
}
.post-thumb img { width: 300px; height: 180px; object-fit: cover; }
.post-info { padding: 20px; }
.category { color: var(--accent); font-size: 12px; font-weight: bold; }
.post-info h3 a { color: #fff; text-decoration: none; font-size: 20px; }
.post-meta { font-size: 12px; color: var(--text-muted); margin-top: 10px; }

/* 底部 */
.main-footer {
    background: #000;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 50px;
}
.footer-links { margin-bottom: 20px; }
.footer-links a { color: var(--text-muted); margin: 0 15px; text-decoration: none; font-size: 14px; }
.copyright { color: #666; font-size: 13px; }

/* 手机端适配 */
@media (max-width: 768px) {
    .container { flex-direction: column; }
    .post-card { flex-direction: column; }
    .post-thumb img { width: 100%; }
    .top-banner .ad-placeholder { width: 100%; height: 50px; }
}