* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

body {
    background-color: #161009;
    color: #e6d5b2;
    line-height: 1.7;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 固定导航 */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background: linear-gradient(90deg, #3d2713, #4b311a);
    border-bottom: 2px solid #c89655;
    z-index: 999;
}

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

.logo {
    font-size: 26px;
    font-weight: bold;
    color: #ffcc00;
    text-shadow: 0 0 6px #963;
}

.nav-menu a {
    color: #e6d5b2;
    text-decoration: none;
    margin-left: 24px;
    font-size: 15px;
    transition: 0.3s;
}

.nav-menu a:hover,
.nav-menu a.nav-active {
    color: #ffcc00;
    text-shadow: 0 0 4px #f90;
}

/* 搜索框 */
.search-box {
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-box input {
    width: 220px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #c89655;
    background: #2b1d0f;
    color: #fff;
    border-radius: 4px;
    outline: none;
}

.search-box button {
    height: 34px;
    padding: 0 12px;
    background: #c76a18;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.search-box button:hover {
    background: #e67e22;
}

/* Banner */
.banner {
    margin-top: 75px;
    height: 460px;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAAAAAAAD/=");
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 3px solid #c89655;
}

.banner-content h1 {
    font-size: 46px;
    color: #ffcc00;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #630;
}

.banner-content p {
    font-size: 19px;
    color: #f6e7c8;
    margin-bottom: 30px;
}

.banner-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #c76a18;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #f93;
}

.banner-btn:hover {
    background: #e67e22;
}

/* 标题 */
.section-title {
    text-align: center;
    margin: 50px 0 35px;
}

.section-title h2 {
    font-size: 34px;
    color: #ffcc00;
    margin-bottom: 12px;
    text-shadow: 0 0 4px #963;
}

.section-title p {
    font-size: 17px;
    color: #d4c39f;
}

/* 传奇简介 */
.intro-section {
    padding: 40px 0;
    background: #24190e;
    border-top: 2px solid #c89655;
    border-bottom: 2px solid #c89655;
}

.intro-content {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 16px;
    text-align: justify;
}

.intro-content p {
    margin-bottom: 16px;
}

/* 职业 */
.job-section {
    padding: 50px 0;
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.job-card {
    background: #2e1f10;
    border: 1px solid #b3884d;
    border-radius: 8px;
    padding: 28px;
}

.job-card h3 {
    color: #ffcc00;
    font-size: 22px;
    margin-bottom: 15px;
}

.job-card p {
    margin-bottom: 8px;
    font-size: 15px;
}

/* 副本 */
.copy-section {
    padding: 50px 0;
    background: #24190e;
}

.copy-item {
    background: #2e1f10;
    border-left: 5px solid #c76a18;
    padding: 20px 25px;
    margin-bottom: 18px;
    border-radius: 6px;
}

.copy-item h3 {
    color: #f93;
    margin-bottom: 10px;
}

/* 功能 */
.func-section {
    padding: 50px 0;
}

.func-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.func-card {
    background: #2e1f10;
    border: 1px solid #b3884d;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
}

.func-card h3 {
    color: #ffcc00;
    margin-bottom: 12px;
}

/* 新手攻略 */
.guide-section {
    padding: 50px 0;
    background: #24190e;
    border-top: 2px solid #c89655;
}

.guide-item {
    background: #2e1f10;
    padding: 22px;
    margin-bottom: 18px;
    border-radius: 6px;
    border-left: 5px solid #ffcc00;
}

.guide-item h3 {
    color: #ffcc00;
    margin-bottom: 12px;
}

/* 新开传奇 */
.server-section {
    padding: 50px 0;
}

.server-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.server-card {
    background: #2e1f10;
    border: 1px solid #c89655;
    border-radius: 8px;
    padding: 22px;
    position: relative;
    text-align: center;
}

.tag {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 10px;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
}

.tag-fugu { background: #c76a18; }
.tag-danz { background: #9b59b6; }
.tag-heji { background: #e74c3c; }
.tag-bian { background: #3498db; }

.server-card h3 {
    color: #ffcc00;
    margin: 15px 0 10px;
}

.server-btn {
    margin-top: 15px;
    padding: 8px 20px;
    background: #c76a18;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* 搜索弹窗 */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
}

.modal-content {
    background: #2e1f10;
    margin: 120px auto;
    padding: 30px;
    width: 600px;
    border: 2px solid #c89655;
    border-radius: 8px;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #ffcc00;
}

/* 页脚 */
.footer {
    background: #120c07;
    padding: 35px 0;
    text-align: center;
    border-top: 2px solid #c89655;
    margin-top: 40px;
}

.footer p {
    color: #997a55;
    margin-bottom: 10px;
    font-size: 14px;
}