/* 全局重置 + 基础样式 复古浅蓝主题 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微软雅黑", sans-serif;
}
body {
    background-color: #f0f7ff;
    color: #333;
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: inherit;
}
ul, ol {
    list-style: none;
}

/* 头部导航 */
.header {
    background-color: #4a90e2;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 99;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.logo {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}
.nav {
    display: flex;
    justify-content: center;
    gap: 30px;
}
.nav a {
    color: #fff;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.3s;
}
.nav a:hover {
    background-color: #357abd;
}

/* banner轮播区域 */
.banner {
    height: 300px;
    background: linear-gradient(to right, #b3d9ff, #80bfff);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 30px;
}
.banner-text h1 {
    font-size: 42px;
    color: #2c5282;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}
.banner-text p {
    font-size: 18px;
    color: #2d3748;
}

/* 通用容器 */
.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 板块标题 */
.section {
    margin-bottom: 50px;
}
.section-title {
    text-align: center;
    margin-bottom: 30px;
}
.section-title h2 {
    font-size: 30px;
    color: #2c5282;
    margin-bottom: 8px;
    border-bottom: 3px solid #4a90e2;
    display: inline-block;
    padding-bottom: 8px;
}
.section-title p {
    font-size: 16px;
    color: #666;
}

/* 职业介绍 */
.career-box {
    display: flex;
    gap: 20px;
}
.career-item {
    flex: 1;
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(74,144,226,0.15);
    border-left: 4px solid #4a90e2;
}
.career-item h3 {
    font-size: 22px;
    color: #2c5282;
    margin-bottom: 12px;
}
.career-item p {
    font-size: 15px;
    color: #555;
}

/* 副本攻略 */
.copy-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.copy-item {
    background-color: #fff;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(74,144,226,0.1);
}
.copy-item h3 {
    font-size: 20px;
    color: #2c5282;
    margin-bottom: 8px;
}
.copy-item p {
    font-size: 15px;
    color: #555;
}

/* 游戏功能 */
.func-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.func-item {
    background-color: #fff;
    padding: 22px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(74,144,226,0.12);
    transition: transform 0.3s;
}
.func-item:hover {
    transform: translateY(-5px);
}
.func-item h3 {
    font-size: 19px;
    color: #2c5282;
    margin-bottom: 10px;
}
.func-item p {
    font-size: 14px;
    color: #555;
}

/* 开服资讯 */
.news-list {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(74,144,226,0.1);
}
.news-item {
    font-size: 16px;
    padding: 12px 0;
    border-bottom: 1px dashed #d1e7ff;
    color: #333;
}
.news-item:last-child {
    border-bottom: none;
}

/* 底部 */
.footer {
    background-color: #4a90e2;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .container {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .career-box {
        flex-direction: column;
    }
    .func-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav {
        gap: 15px;
    }
}