/* 全局重置 + 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}
body {
    background-color: #111;
    color: #fff;
    line-height: 1.6;
}
.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
a {
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
}
a:hover {
    color: #ffcc00;
}
.btn {
    padding: 12px 30px;
    background: linear-gradient(90deg, #ff6600, #ffcc00);
    border: none;
    border-radius: 5px;
    color: #000;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 20px;
}
.btn:hover {
    transform: scale(1.05);
}

/* 头部样式 */
.header {
    background-color: #1a1a1a;
    padding: 20px 0;
    border-bottom: 2px solid #ff6600;
    position: sticky;
    top: 0;
    z-index: 999;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo h1 {
    color: #ffcc00;
    font-size: 28px;
    margin-bottom: 5px;
}
.logo p {
    color: #ccc;
    font-size: 14px;
}
.nav a {
    margin-left: 30px;
    font-size: 16px;
    font-weight: 500;
}

/* Banner样式 */
.banner {
    height: 500px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAAAAAAAD/");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.banner-content h2 {
    font-size: 42px;
    color: #ffcc00;
    margin-bottom: 15px;
    text-shadow: 0 0 10px #ff6600;
}
.banner-content p {
    font-size: 18px;
    color: #eee;
}

/* 通用板块标题 */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
}
.section-title h3 {
    font-size: 32px;
    color: #ff6600;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}
.section-title h3::after {
    content: "";
    width: 80%;
    height: 3px;
    background: #ffcc00;
    position: absolute;
    bottom: -8px;
    left: 10%;
}
.section-title p {
    color: #ccc;
    font-size: 16px;
}

/* 职业介绍样式 */
.career {
    padding: 40px 0 80px;
    background-color: #181818;
}
.career-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.career-item {
    background-color: #222;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #333;
    transition: 0.3s;
}
.career-item:hover {
    border-color: #ff6600;
    transform: translateY(-5px);
}
.career-item h4 {
    font-size: 20px;
    color: #ffcc00;
    margin-bottom: 10px;
}
.career-item p {
    color: #ddd;
    font-size: 15px;
}

/* 副本攻略样式 */
.copy {
    padding: 40px 0 80px;
    background-color: #111;
}
.copy-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
.copy-item {
    background-color: #252525;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #ff6600;
}
.copy-item h4 {
    font-size: 22px;
    color: #ffcc00;
    margin-bottom: 12px;
}
.copy-item p {
    color: #eee;
}

/* 游戏功能样式 */
.func {
    padding: 40px 0 80px;
    background-color: #181818;
}
.func-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.func-item {
    background-color: #222;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: 0.3s;
}
.func-item:hover {
    background-color: #2a2a2a;
}
.func-item h4 {
    font-size: 20px;
    color: #ff6600;
    margin-bottom: 10px;
}

/* 新服资讯样式 */
.news {
    padding: 40px 0 80px;
    background-color: #111;
}
.news-list {
    max-width: 900px;
    margin: 0 auto;
}
.news-item {
    background-color: #222;
    padding: 20px 25px;
    border-radius: 5px;
    margin-bottom: 15px;
    border-bottom: 2px solid #333;
}
.news-item h4 {
    font-size: 18px;
    color: #ffcc00;
    margin-bottom: 8px;
}
.news-item p {
    color: #ccc;
}

/* 页脚样式 */
.footer {
    background-color: #1a1a1a;
    padding: 30px 0;
    text-align: center;
    border-top: 2px solid #ff6600;
}
.footer p {
    color: #999;
    margin-bottom: 8px;
    font-size: 14px;
}