/* 全局基础 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}
body {
    background: #f0fff4;
    color: #333;
    line-height: 1.8;
    overflow-x: hidden;
}
.container {
    width: 1280px;
    margin: 0 auto;
}
a {
    text-decoration: none;
    color: inherit;
}
ul,li {list-style: none;}
.hide {display: none;}
.btn {
    display: inline-block;
    padding: 14px 40px;
    background: #ffd700;
    color: #0a6b2c;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 6px 12px rgba(10,107,44,0.2);
}
.btn:hover {
    background: #fff;
    transform: translateY(-3px);
}

/* 顶部条 */
.top-bar {
    background: #0a6b2c;
    color: #fff;
    text-align: center;
    padding: 6px 0;
    font-size: 14px;
}

/* 头部导航 */
.header {
    position: fixed;
    top: 32px;
    left: 0;
    width: 100%;
    background: #0d8b32;
    z-index: 999;
    box-shadow: 0 3px 15px rgba(0,0,0,0.15);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}
.logo h1 {
    color: #fff;
    font-size: 26px;
}
.logo span {
    color: #d4ffd4;
    font-size: 13px;
}
.search-box {
    display: flex;
    width: 380px;
}
.search-box input {
    flex: 1;
    height: 42px;
    border: none;
    outline: none;
    padding: 0 15px;
    border-radius: 50px 0 0 50px;
    font-size: 14px;
}
.search-box button {
    width: 90px;
    height: 42px;
    background: #ffd700;
    color: #0a6b2c;
    border: none;
    border-radius: 0 50px 50px 0;
    font-weight: bold;
    cursor: pointer;
}
.nav a {
    color: #fff;
    margin-left: 28px;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}
.nav a.active,.nav a:hover {
    color: #ffd700;
}
.nav a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ffd700;
}

/* 轮播横幅 */
.banner-slider {
    margin-top: 130px;
    height: 500px;
    position: relative;
    background: linear-gradient(90deg, #0d8b32, #0a6b2c);
    overflow: hidden;
}
.slider-item {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
}
.slider-item.active {
    display: block;
}
.slider-content {
    padding-top: 120px;
    color: #fff;
}
.slider-content h2 {
    font-size: 46px;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.slider-content p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.9;
}

/* 搜索结果 */
.search-result {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 20px auto;
}

/* 模块通用 */
.section {
    padding: 60px 0;
}
.section-head {
    text-align: center;
    margin-bottom: 45px;
}
.section-head h2 {
    font-size: 32px;
    color: #0d8b32;
    margin-bottom: 8px;
}
.section-head span {
    color: #666;
    font-size: 15px;
}
.white h2,.white span {color: #fff;}
.bg-dark {background: #111;}
.bg-green {background: #0d8b32;}

/* 开服列表 */
.server-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.server-head {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    background: #0d8b32;
    color: #fff;
    padding: 14px 20px;
    font-weight: bold;
}
.server-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    align-items: center;
}
.server-item:last-child {border: none;}
.status {
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 12px;
    color: #fff;
}
.status.hot {background: #ff4444;}
.status.new {background: #00c853;}
.btn-entry {
    background: #0d8b32;
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    text-align: center;
}

/* 职业卡片 */
.job-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}
.job-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}
.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,255,60,0.15);
}
.job-title {
    padding: 15px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
}
.warrior {background: #c0392b;}
.mage {background: #2980b9;}
.tao {background: #8e44ad;}
.assassin {background: #2c3e50;}
.job-info {
    padding: 20px;
    color: #eee;
    font-size: 14px;
}

/* 副本攻略 */
.copy-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}
.tab-item {
    padding: 12px 30px;
    background: #eee;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
}
.tab-item.active {
    background: #0d8b32;
    color: #fff;
}
.copy-box {
    display: none;
}
.copy-box.active {
    display: block;
}
.copy-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.copy-item h4 {
    color: #0d8b32;
    margin-bottom: 8px;
    font-size: 18px;
}

/* 游戏系统 */
.system-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}
.system-card {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 10px;
    color: #fff;
    backdrop-filter: blur(5px);
}
.system-card h4 {
    margin-bottom: 10px;
    color: #ffd700;
}

/* 打金教程 */
.gold-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}
.gold-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ddd;
}
.gold-item:last-child {border: none; margin: 0; padding: 0;}
.gold-item h4 {
    color: #0d8b32;
    font-size: 18px;
    margin-bottom: 5px;
}

/* 福利礼包 */
.gift-section {
    background: linear-gradient(90deg, #0d8b32, #0a6b2c);
}
.gift-box {
    display: flex;
    gap: 30px;
    justify-content: center;
}
.gift-card {
    background: rgba(255,255,255,0.95);
    width: 320px;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.gift-card h4 {
    color: #0d8b32;
    font-size: 22px;
    margin-bottom: 15px;
}
.gift-card p {
    color: #666;
    margin-bottom: 25px;
}
.btn-gift {
    padding: 12px 35px;
    background: #0d8b32;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
}

/* 资讯 */
.news-item {
    background: #fff;
    padding: 18px 25px;
    border-radius: 8px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.news-item h4 {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}
.news-item span {
    color: #999;
    font-size: 13px;
}

/* 评论 */
.comment-box {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
}
.comment-box textarea {
    width: 100%;
    height: 100px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    resize: none;
    margin-bottom: 15px;
    outline-color: #0d8b32;
}
.btn-comment {
    padding: 10px 25px;
    background: #0d8b32;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.comment-item {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 14px;
}

/* 页脚 */
.footer {
    background: #082b16;
    color: #fff;
    padding: 60px 0 20px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
}
.footer-col h4 {
    margin-bottom: 20px;
    color: #ffd700;
}
.footer-col p {
    margin-bottom: 8px;
    color: #ccc;
}
.footer-bottom {
    text-align: center;
    padding-top: 25px;
    margin-top: 35px;
    border-top: 1px solid #222;
    color: #888;
    font-size: 14px;
}

/* 返回顶部 */
.back-top {
    position: fixed;
    bottom: 40px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #0d8b32;
    color: #fff;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    z-index: 99;
}