* {
    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;
}

/* 头部样式 */
.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;
}

/* 欧式魔幻史诗风导航 + 二级下拉菜单 */
.nav {
    max-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);
    position: relative;
    z-index: 999;
}

.nav ul {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.nav li {
    position: relative;
}

.nav a {
    display: inline-block;
    color: #c9b896;
    padding: 18px 24px;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px #000;
    white-space: nowrap;
}

.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 {
    color: #ffdf8c;
    text-shadow: 0 0 8px #d4af37,0 0 15px #9d8146;
}
.nav a:hover::after {
    width: 70%;
}

/* 二级菜单默认隐藏 */
.nav li ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background: #201830;
    border: 1px solid #9d8146;
    border-radius: 0 0 6px 6px;
    flex-direction: column;
    padding: 8px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    display: none;
    z-index: 999;
}

/* 悬停显示二级菜单 */
.nav li:hover ul {
    display: flex;
}

.nav li ul a {
    padding: 10px 20px;
    width: 100%;
}

.nav li ul a::after {
    display: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 开服表格整体样式 */
.server-table-wrap {
    background: #1a1429;
    border: 1px solid #9d8146;
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
    box-shadow: 0 0 20px rgba(157,129,70,0.15);
}
.server-table-wrap h2 {
    text-align: center;
    color: #d4af37;
    font-size: 22px;
    margin-bottom: 18px;
    text-shadow: 0 0 6px #9d8146;
    letter-spacing: 2px;
}
.server-table {
    width: 100%;
    overflow-x: auto;
}
.server-table table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}
.server-table th {
    background: linear-gradient(90deg,#2c1f42,#9d8146,#2c1f42);
    color: #fff;
    padding: 12px 8px;
    font-size: 15px;
    text-shadow: 0 0 5px #000;
}
.server-table td {
    padding: 12px 8px;
    border-bottom: 1px dashed #44385c;
    color: #e2d8c0;
    font-size: 14px;
}
.server-table tbody tr:hover {
    background: rgba(212,175,55,0.1);
}
.server-link {
    display: inline-block;
    padding: 4px 12px;
    background: #9d8146;
    color: #0f0b1a;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}
.server-link:hover {
    background: #d4af37;
    color: #fff;
}

/* 缩略图区域 */
.thumb-group {
    margin: 20px 0 40px;
}

.thumb-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.thumb-item {
    flex: 1;
    min-width: 270px;
    height: 170px;
    background: #181818;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 2px solid #333;
    transition: 0.3s;
}

.thumb-item:hover {
    border-color: #d4af37;
    transform: scale(1.04);
    box-shadow: 0 0 30px rgba(212,175,55,0.3);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-item .name {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 12px;
    background: rgba(0,0,0,0.7);
    color: #fffa;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
}

/* 攻略列表 */
.article-group {
    margin: 50px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-box {
    background: #161616;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #333;
    box-shadow: 0 0 20px #000;
    transition: 0.3s;
}

.article-box:hover {
    border-color: #d4af37;
    box-shadow: 0 0 30px rgba(212,175,55,0.2);
}

.article-box h3 {
    color: #d4af37;
    font-size: 19px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #555;
    text-shadow: 0 0 6px #9d8146;
}

.article-box li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #333;
}

.article-box a {
    color: #eee;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 250px;
    transition: 0.2s;
}

.article-box a:hover {
    color: #d4af37;
    padding-left: 4px;
}

.article-box .date {
    color: #888;
    font-size: 12px;
}

/* 友情链接 */
.link-group {
    background: #161616;
    border-radius: 12px;
    padding: 24px;
    margin: 40px 0;
    border: 1px solid #333;
}

.link-group h3 {
    color: #d4af37;
    margin-bottom: 18px;
}

.link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.link-list a {
    color: #ccc;
    padding: 8px 14px;
    background: #222;
    border-radius: 6px;
    font-size: 14px;
    transition: 0.2s;
}

.link-list a:hover {
    color: #d4af37;
    background: #111;
}

/* 底部 */
.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;
}

/* 响应式适配 */
@media (max-width:768px){
    .article-group {
        grid-template-columns: 1fr;
    }
    .thumb-item {
        min-width: 100%;
    }
    .nav ul {
        justify-content: center;
    }
}