/* 全局初始化 - 中国传统色彩基底 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}
body {
    background-color: #f9f3e6; /* 象牙白 - 传统底色 */
    color: #3a2e22; /* 紫檀色 - 主文字 */
    line-height: 1.6;
}
.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部固定导航 */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: #8c2620; /* 宫墙红 - 传统主色 */
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header-fixed .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ffd700; /* 鎏金色 */
}
.nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    transition: 0.3s;
}
.nav a:hover, .nav a.active {
    color: #ffd700;
}
.search-box {
    display: flex;
    height: 36px;
}
.search-box input {
    width: 220px;
    padding: 0 10px;
    border: none;
    outline: none;
    border-radius: 4px 0 0 4px;
    background-color: #fff;
}
.search-box button {
    padding: 0 15px;
    border: none;
    background-color: #e6a23c; /* 赭黄色 */
    color: #fff;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    transition: 0.3s;
}
.search-box button:hover {
    background-color: #d48f1a;
}

/* 横幅 */
.banner {
    margin-top: 70px;
    padding: 100px 0;
    background: linear-gradient(135deg, #8c2620, #6a1a17);
    text-align: center;
    color: #fff;
}
.banner h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #ffd700;
}
.banner h2 {
    font-size: 24px;
    margin-bottom: 10px;
}
.banner p {
    font-size: 18px;
    margin-bottom: 30px;
}
.btn {
    display: inline-block;
    padding: 12px 35px;
    background-color: #e6a23c;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    transition: 0.3s;
}
.btn:hover {
    background-color: #ffc107;
}

/* 通用标题 */
.title {
    text-align: center;
    font-size: 32px;
    color: #8c2620;
    margin-bottom: 40px;
    position: relative;
}
.title::after {
    content: "";
    width: 80px;
    height: 3px;
    background-color: #e6a23c;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* 板块间距 */
.advantage, .job, .copy, .func, .download {
    padding: 70px 0;
}

/* 平台优势 */
.advantage-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.advantage-list .item {
    flex: 1;
    min-width: 250px;
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #eee;
    transition: 0.3s;
}
.advantage-list .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.advantage-list h3 {
    font-size: 20px;
    color: #8c2620;
    margin-bottom: 10px;
}

/* 职业介绍 + 副本攻略 */
.job-list, .copy-list {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}
.job-item, .copy-item {
    flex: 1;
    min-width: 260px;
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #8c2620;
}
.job-item h3, .copy-item h3 {
    font-size: 20px;
    color: #8c2620;
    margin-bottom: 10px;
}

/* 游戏功能 */
.func-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.func-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #eee;
}
.func-item h3 {
    font-size: 20px;
    color: #8c2620;
    margin-bottom: 10px;
}

/* 下载区域 */
.download {
    background-color: #fff5d7; /* 米黄色 */
    text-align: center;
}
.download-btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}
.download-btn {
    padding: 15px 40px;
    background-color: #8c2620;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    transition: 0.3s;
}
.download-btn:hover {
    background-color: #a8322b;
}
.download p {
    font-size: 16px;
    color: #666;
}

/* 底部 */
footer {
    background-color: #3a2e22;
    color: #ccc;
    text-align: center;
    padding: 30px 0;
}
footer p {
    margin-bottom: 8px;
}