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

body {
    background: #0f172a; /* 征途风格深色背景 */
    color: #e2e8f0;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #fbbf24; /* 征途经典金色 */
    transition: color 0.3s;
}

a:hover {
    color: #f59e0b;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 头部导航样式 ==================== */
header {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #fbbf24;
}

.logo span {
    color: #ef4444;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list li a {
    font-size: 16px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
}

.nav-list li a:hover {
    background: rgba(251, 191, 36, 0.2);
}

/* ==================== 开服公告横幅 ==================== */
.banner {
    background: linear-gradient(90deg, #040404, #040404);
    padding: 15px 0;
    text-align: center;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.banner-text {
    font-size: 18px;
    font-weight: 600;
}

.banner-text a {
    text-decoration: underline;
}

/* ==================== 核心内容区通用样式 ==================== */
.section {
    margin: 40px 0;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    color: #fbbf24;
    border-left: 6px solid #ef4444;
    padding-left: 15px;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: #fbbf24;
    margin-top: 8px;
}

.content-card {
    background: #1e293b;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.content-card:hover {
    transform: translateY(-5px);
}

.card-title {
    font-size: 20px;
    color: #f8fafc;
    margin-bottom: 15px;
    font-weight: 600;
}

.card-content {
    color: #cbd5e1;
    font-size: 16px;
}

.card-content p {
    margin-bottom: 12px;
}

.card-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 12px;
}

/* ==================== 职业介绍板块 ==================== */
.career-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.career-item {
    background: #1e293b;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.career-item:hover {
    transform: translateY(-5px);
}

.career-name {
    font-size: 18px;
    color: #fbbf24;
    font-weight: 600;
    margin-bottom: 10px;
    border-bottom: 1px solid #fbbf2433;
    padding-bottom: 8px;
}

/* ==================== 副本攻略板块 ==================== */
.copy-guide {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.copy-item {
    flex: 1;
    min-width: 280px;
    background: #1e293b;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.copy-difficulty {
    display: inline-block;
    padding: 4px 8px;
    background: #ef4444;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 10px;
}

/* ==================== 游戏功能板块 ==================== */
.func-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.func-item {
    background: #1e293b;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.func-icon {
    font-size: 36px;
    color: #fbbf24;
    margin-bottom: 10px;
}

/* ==================== 底部信息 ==================== */
footer {
    background: #1e293b;
    padding: 30px 0;
    margin-top: 60px;
    text-align: center;
}

.footer-text {
    color: #94a3b8;
    font-size: 14px;
}

/* ==================== 响应式适配 ==================== */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-list {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .copy-guide {
        flex-direction: column;
    }
}