/* 全局重置与基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    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: #1a3b66; /* 淡蓝墨色主色 */
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-fixed .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.nav-bar a {
    color: #e6edf7;
    text-decoration: none;
    margin-left: 25px;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-bar a:hover, .nav-bar a.nav-active {
    color: #5ac8fa;
}

/* Banner区域 */
.banner {
    margin-top: 70px;
    height: 450px;
    background: linear-gradient(135deg, #2a5298, #1a3b66);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.banner-content h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.banner-btn {
    display: inline-block;
    padding: 12px 35px;
    background-color: #5ac8fa;
    color: #1a3b66;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.banner-btn:hover {
    background-color: #fff;
}

/* 通用区块样式 */
.section {
    padding: 60px 0;
}

.bg-section {
    background-color: #e6edf7;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #1a3b66;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: "";
    width: 80px;
    height: 4px;
    background-color: #5ac8fa;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* 职业介绍样式 */
.career-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.career-item {
    flex: 1;
    min-width: 280px;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #2a5298;
}

.career-item h3 {
    color: #1a3b66;
    margin-bottom: 10px;
    font-size: 20px;
}

/* 副本攻略样式 */
.copy-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.copy-item {
    flex: 1;
    min-width: 280px;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

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

/* 游戏功能样式 */
.func-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.func-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.func-item h4 {
    color: #1a3b66;
    margin-bottom: 8px;
    font-size: 18px;
}

/* 新开传奇样式 */
.server-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.server-item {
    flex: 1;
    min-width: 280px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    position: relative;
}

.server-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #2a5298;
    color: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
}

.server-name {
    font-weight: bold;
    color: #1a3b66;
    margin-bottom: 5px;
}

/* 福利区域 */
.welfare-section {
    background: linear-gradient(135deg, #1a3b66, #2a5298);
    color: #fff;
}

.welfare-section .section-title {
    color: #fff;
}

.welfare-content {
    text-align: center;
    font-size: 18px;
    line-height: 2.2;
}

/* 页脚 */
.footer {
    background-color: #1a3b66;
    color: #e6edf7;
    text-align: center;
    padding: 30px 0;
}

.footer p {
    margin-bottom: 10px;
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .container {
        width: 100%;
    }
    .func-grid {
        grid-template-columns: repeat(2,1fr);
    }
}