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

body {
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部固定导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0e8b48;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

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

.navbar {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #fff;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    background-color: #0a6b36;
    color: #ffd700;
}

/* Banner区域 */
.banner {
    margin-top: 70px;
    height: 450px;
    background: linear-gradient(rgba(14,139,72,0.8), rgba(14,139,72,0.9)), url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4xD4AAAAFVBMVEX///8AAADg4OC/v7+bm5uRkZGtra2u7u7w7+hoAAAAAXRSTlMAQObYZgAAADFJREFUKM9jYBgFOwEDBQ0DCwMHBwcHBwcHB8cHBwcHBwcHBwcHB8cHBwcHBwcHB/8GBgYGBgYA5I0Fh8rAAAAAElFTkSuQmCC');
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

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

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

.banner-btn {
    display: inline-block;
    padding: 12px 35px;
    background-color: #ffd700;
    color: #0e8b48;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,215,0,0.3);
}

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

.bg-light {
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #0e8b48;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: #0e8b48;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* 职业介绍网格 */
.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.career-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #0e8b48;
    transition: all 0.3s ease;
}

.career-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.career-card h3 {
    font-size: 22px;
    color: #0e8b48;
    margin-bottom: 15px;
}

/* 副本攻略列表 */
.copy-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.copy-item {
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
}

.copy-item h3 {
    font-size: 20px;
    color: #0e8b48;
    margin-bottom: 10px;
}

/* 游戏功能网格 */
.function-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.function-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.function-card:hover {
    border: 1px solid #0e8b48;
}

.function-card h3 {
    font-size: 20px;
    color: #0e8b48;
    margin-bottom: 15px;
}

/* 资讯样式 */
.news-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    font-size: 16px;
    line-height: 2;
}

.news-box p {
    margin-bottom: 10px;
    color: #333;
}

/* 页脚 */
.footer {
    background-color: #0e8b48;
    color: #fff;
    text-align: center;
    padding: 25px 0;
    margin-top: 30px;
}