/* 全局初始化 - 无外链 纯原生样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}
body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}
.container {
    width: 1200px;
    margin: 0 auto;
}

/* 顶部固定导航 - 酒红色主题 */
.header {
    background-color: #8B0000; /* 酒红色主色调 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.logo h1 {
    color: #fff;
    font-size: 28px;
}
.logo p {
    color: #ffd700;
    font-size: 14px;
}
.navbar ul {
    display: flex;
    list-style: none;
}
.navbar a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 16px;
    transition: 0.3s;
}
.navbar a:hover, .navbar a.active {
    background-color: #B22222;
    border-radius: 5px;
}

/* 轮播横幅 */
.banner {
    margin-top: 80px;
    height: 450px;
    background: linear-gradient(rgba(139,0,0,0.8), rgba(139,0,0,0.6)), url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAMAAABx9f99AAAAA1BMVEUAAACnej3aAAAAAXRSTlMAQObYZgAAACJJREFUeJztwTEBAAAAwqD1T20JT6AAAAAAAAAAAAAAAAAAAD4PGW0AAQDX6zo4AAAAAElFTkSuQmCC') center no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.banner-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}
.banner-content p {
    font-size: 20px;
    margin-bottom: 30px;
}
.btn {
    display: inline-block;
    padding: 12px 35px;
    background-color: #ffd700;
    color: #8B0000;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}
.btn:hover {
    background-color: #fff;
}

/* 通用板块样式 */
.main-content {
    padding: 40px 0;
}
.section {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}
.section-title {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 3px solid #8B0000;
    padding-bottom: 15px;
}
.section-title h3 {
    font-size: 28px;
    color: #8B0000;
    margin-bottom: 10px;
}
.section-title p {
    font-size: 16px;
    color: #666;
}

/* 排行榜样式 */
.rank-item {
    padding: 12px 20px;
    font-size: 18px;
    border-bottom: 1px dashed #eee;
}
.rank-item:last-child {
    border-bottom: none;
}

/* 职业介绍卡片 */
.job-card-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.job-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    transition: 0.3s;
}
.job-card:hover {
    transform: translateY(-5px);
    border-color: #8B0000;
}
.job-card h4 {
    font-size: 20px;
    color: #8B0000;
    margin-bottom: 10px;
}

/* 副本攻略 */
.copy-item {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
}
.copy-item h4 {
    font-size: 20px;
    color: #8B0000;
    margin-bottom: 8px;
}

/* 游戏功能网格 */
.func-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.func-item {
    padding: 20px;
    border-left: 4px solid #8B0000;
    background-color: #f9f9f9;
}
.func-item h4 {
    font-size: 19px;
    color: #8B0000;
    margin-bottom: 8px;
}

/* 双列布局 */
.double-section {
    display: flex;
    gap: 20px;
}
.tool-section, .live-section {
    flex: 1;
}
.tool-list li, .live-list li {
    padding: 10px 15px;
    list-style: none;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

/* 页脚 */
.footer {
    background-color: #8B0000;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 20px;
}
.footer p {
    margin-bottom: 10px;
    font-size: 15px;
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .container { width: 95%; }
}