* {
    margin:0;
    padding:0;
    box-sizing:border-box;
    text-decoration:none;
    list-style:none;
    font-family:"Microsoft YaHei",sans-serif;
}
html {
    scroll-behavior: smooth;
}
body {
    background: #0f0b1a;
    color: #e2d8c0;
    line-height:1.6;
}
/* 头部通栏 */
.header {
    width: 100%;
    height: 180px;
    background: #121212 url(200.jpg) center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 3px solid #9d8146;
    box-shadow: 0 0 30px #000;
}
.header::after {
    content: "";
    position: absolute;
    top: 0;left: 0;width: 100%;height: 100%;
    background: rgba(0,0,0,0.5);z-index:1;
}
.header h1 {
    position: relative;z-index:2;
    font-size:36px;color:#fffa;
    text-shadow:0 0 15px #d4af37,0 0 30px #9d8146;
    letter-spacing:2px;
}
/* 导航固定1200px 升级下拉导航 */
.nav {
    width: 1200px;
    margin:20px auto;
    background: linear-gradient(90deg,#201830,#2c1f42,#201830);
    border-radius:6px;padding:0 20px;
    border:1px solid #9d8146;
    box-shadow:0 0 15px rgba(157,129,70,0.25),inset 0 1px 0 rgba(255,255,255,0.1);
}
.nav > ul {
    display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-start;
    position: relative;
}
.nav li {
    position: relative;
}
.nav a {
    display:inline-block;color:#c9b896;
    padding:16px 22px;font-size:15px;font-weight:500;
    position:relative;transition:all 0.3s ease;
    text-shadow:0 1px 2px #000;
}
.nav a::after {
    content:"";position:absolute;left:50%;bottom:10px;
    width:0;height:2px;background:linear-gradient(90deg,transparent,#d4af37,transparent);
    transform:translateX(-50%);transition:width 0.3s ease;
}
.nav a:hover,.nav a.active {
    color:#ffdf8c;text-shadow:0 0 8px #d4af37,0 0 15px #9d8146;
}
.nav a.active::after {width:70%;}

/* 二级下拉菜单样式 统一复古金色风格 */
.nav .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #201830;
    border: 1px solid #9d8146;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.6),0 0 12px rgba(157,129,70,0.3);
    width: 180px;
    z-index:999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.nav li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav .submenu li {
    border-bottom: 1px dashed #44385c;
}
.nav .submenu li:last-child {
    border-bottom: none;
}
.nav .submenu a {
    display: block;
    padding: 12px 18px;
    width: 100%;
}
.nav .submenu a:hover {
    background: rgba(157,129,70,0.15);
    padding-left: 24px;
}

/* 主体容器固定1200px */
.wrapper {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
/* 面包屑+底部分隔线 强化路径SEO */
.breadcrumb {
    padding:10px 0;
    color:#aaa;
    font-size:20px;
    border-bottom: 1px solid #44385c;
    padding-bottom: 12px;
    margin-bottom:20px;
}
.breadcrumb a {color:#d4af37;}
/* 左右布局对齐 */
.content-wrap {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}
/* 主内容区 */
.main-box {flex: 1;}
/* H2栏目标题 权重标签 */
.page-title {
    font-size:22px;color:#d4af37;margin-bottom:18px;
    font-weight:bold;
}
/* 图文文章列表 SEO友好布局 */
.article-container {margin-bottom:30px;}
.article-item {
    background:#1a1429;border:1px solid #9d8146;border-radius:10px;
    padding:15px;margin-bottom:15px;display:flex;gap:15px;
}
.article-item img {
    width:180px;height:120px;object-fit:cover;border-radius:6px;
    border:1px solid #333;
    transition: 0.3s;
}
/* 图片hover轻微缩放提升体验 */
.article-item a:hover img{
    transform: scale(1.05);
}
.article-text {flex:1;}
/* H3文章标题 层级合理 */
.article-text h3 {margin-bottom:6px;}
.article-text h3 a {
    color:#e2d8c0;font-size:16px;transition:0.2s;
}
.article-text h3 a:hover {color:#d4af37;}
.article-time {
    color:#b8a88a;font-size:13px;margin:8px 0;
}
.article-intro {
    color:#aaa;font-size:14px;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
/* 分页SEO 合理锚文本 */
.page-nav {
    display:flex;justify-content:center;gap:8px;margin:20px 0;
}
.page-nav a {
    padding:8px 14px;background:#201830;color:#e2d8c0;
    border:1px solid #9d8146;border-radius:4px;
}
.page-nav a:hover,.page-nav a.current {
    background:#9d8146;color:#fff;
}
/* 侧边栏固定宽度 上下对齐 */
.side-bar {width: 300px;}
.side-module {
    background:#1a1429;border:1px solid #9d8146;border-radius:10px;
    padding:20px;margin-bottom:20px;
}






.side-module li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #333;
}

.side-module a {
    color: #eee;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 250px;
    transition: 0.2s;
}

.side-module a:hover {
    color: #d4af37;
    padding-left: 4px;
}











.side-module h3 {
    color:#d4af37;font-size:18px;margin-bottom:15px;
    padding-bottom:8px;border-bottom:1px dashed #9d8146;
    text-shadow:0 0 6px #9d8146;
}
.side-list li {
    padding:10px 0;border-bottom:1px dashed #44385c;
}
.side-list li:last-child {border-bottom:none;}
.side-list a {
    color:#e2d8c0;font-size:14px;transition:0.2s;
}
.side-list a:hover {color:#d4af37;padding-left:4px;}
.side-date {
    color:#888;font-size:12px;float:right;
}
/* 底部SEO版权+站点信息 */
.footer {
    background:#111;padding:35px 20px;text-align:center;
    border-top:3px solid #9d8146;color:#999;font-size:14px;
    box-shadow:0 0 30px #000;margin-top:50px;
}
/* 响应式兼容 不破坏SEO结构 */
@media (max-width:1200px){
    .nav, .wrapper { width: 100%; }
    .content-wrap { flex-direction:column; }
    .side-bar { width:100%; }
    .nav > ul {justify-content: center;}
    .nav .submenu {width: 150px;}
}