/* ============ 基础 ============ */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:"Microsoft YaHei","PingFang SC","WenQuanYi Micro Hei",sans-serif;font-size:14px;color:#e8e2d6;background:#11131a;line-height:1.7}
a{color:#e8c87a;text-decoration:none;transition:color .2s}
a:hover{color:#ffd86b}
img{max-width:100%;height:auto;display:block}
ul,ol{margin:0;padding:0;list-style:none}
h1,h2,h3,h4{margin:0;font-weight:600;color:#fff}
.container{max-width:1180px;margin:0 auto;padding:0 15px}

/* ============ 顶部 ============ */
.site-header{background:linear-gradient(180deg,#1c1f2b 0%,#14161f 100%);border-bottom:2px solid #b8912f;box-shadow:0 2px 12px rgba(0,0,0,.5)}
.site-header .container{display:flex;align-items:center;height:66px}
.brand a{display:flex;align-items:center;gap:10px;font-size:20px;color:#fff;font-weight:700}
.brand .logo{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:8px;background:linear-gradient(135deg,#c79a3a,#8d6419);color:#fff;font-size:18px;font-weight:800;text-shadow:0 1px 2px rgba(0,0,0,.4)}
.brand .brand-text{background:linear-gradient(90deg,#f3d58a,#c79a3a);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.main-nav{flex:1;margin-left:30px}
.main-nav ul{display:flex;gap:8px}
.main-nav a{display:block;padding:8px 18px;border-radius:6px;color:#d9d3c5;font-size:15px}
.main-nav a:hover{color:#fff;background:rgba(199,154,58,.15)}
.main-nav li.active a{background:linear-gradient(135deg,#c79a3a,#8d6419);color:#fff;font-weight:600}
.header-meta{display:flex;align-items:center;gap:14px}
.header-meta .date{color:#9a9385;font-size:13px}
.btn-play{display:inline-block;padding:9px 24px;border-radius:6px;background:linear-gradient(135deg,#e0a73e,#b8791c);color:#fff;font-weight:600;box-shadow:0 3px 10px rgba(199,154,58,.4)}
.btn-play:hover{color:#fff;filter:brightness(1.1)}

/* ============ 面包屑 ============ */
.header-breadcrumb{background:#0c0d12;border-bottom:1px solid #23252f}
.header-breadcrumb .container{padding:9px 15px;font-size:13px;color:#8a8578}
.header-breadcrumb a{color:#c79a3a}
.header-breadcrumb i{margin:0 8px;color:#555}

/* ============ 通用板块 ============ */
.section{padding:24px 0}
.section-head{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #2a2c36;padding-bottom:10px;margin-bottom:18px}
.section-head h2{font-size:20px;position:relative;padding-left:14px}
.section-head h2::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:5px;height:20px;border-radius:3px;background:linear-gradient(180deg,#e0a73e,#b8791c)}
.section-head .more{color:#9a9385;font-size:13px}
.section-head .more:hover{color:#c79a3a}
.section-head .en{color:#6b6659;font-size:12px;letter-spacing:1px;text-transform:uppercase}

/* ============ 焦点图 ============ */
.focus{margin-top:18px}
.focus-inner{position:relative;border-radius:12px;overflow:hidden;border:1px solid #2a2c36;background:#16181f}
.focus img{width:100%;height:auto;min-height:280px;object-fit:cover}
.focus-overlay{position:absolute;left:0;right:0;bottom:0;padding:24px 28px;background:linear-gradient(0deg,rgba(8,9,13,.95) 0%,rgba(8,9,13,.6) 60%,transparent 100%)}
.focus-overlay h2{font-size:26px;margin-bottom:8px;text-shadow:0 2px 6px rgba(0,0,0,.7)}
.focus-overlay p{color:#c8c2b4;margin:0;max-width:700px}

/* ============ 开服表 ============ */
.kf-table{width:100%;border-collapse:collapse;background:#16181f;border-radius:10px;overflow:hidden;border:1px solid #2a2c36}
.kf-table th,.kf-table td{padding:13px 14px;text-align:left;border-bottom:1px solid #23252f;font-size:14px}
.kf-table th{background:#1c1f2b;color:#c79a3a;font-weight:600;white-space:nowrap}
.kf-table td{color:#d9d3c5}
.kf-table tr:hover td{background:rgba(199,154,58,.06)}
.kf-table .name{color:#fff;font-weight:600}
.kf-table .hot{color:#ff6b4a;font-weight:700}
.tag{display:inline-block;padding:2px 9px;border-radius:4px;font-size:12px}
.tag-red{background:rgba(255,80,60,.15);color:#ff6b4a}
.tag-gold{background:rgba(199,154,58,.18);color:#e0a73e}
.tag-blue{background:rgba(70,140,220,.15);color:#6ea8e8}
.tag-green{background:rgba(60,180,110,.15);color:#5cc68a}
.btn-mini{display:inline-block;padding:4px 14px;border-radius:4px;background:linear-gradient(135deg,#e0a73e,#b8791c);color:#fff;font-size:13px}
.btn-mini:hover{color:#fff;filter:brightness(1.1)}

/* ============ 卡片网格 ============ */
.grid{display:grid;gap:18px}
.grid-4{grid-template-columns:repeat(4,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
.news-card{background:#16181f;border:1px solid #2a2c36;border-radius:10px;overflow:hidden;transition:transform .2s,border-color .2s}
.news-card:hover{transform:translateY(-4px);border-color:#c79a3a}
.news-card .thumb{position:relative;overflow:hidden}
.news-card .thumb img{width:100%;height:170px;object-fit:cover;transition:transform .4s}
.news-card:hover .thumb img{transform:scale(1.06)}
.news-card .thumb .badge{position:absolute;left:10px;top:10px;background:rgba(0,0,0,.65);color:#f3d58a;font-size:12px;padding:3px 10px;border-radius:4px}
.news-card .body{padding:14px 16px}
.news-card .body h3{font-size:15px;line-height:1.5;margin-bottom:8px}
.news-card .body h3 a{color:#fff}
.news-card .body p{color:#9a9385;font-size:13px;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news-card .meta{display:flex;justify-content:space-between;margin-top:12px;font-size:12px;color:#6f6a5d}

/* ============ 列表 ============ */
.list-news li{padding:14px 0;border-bottom:1px dashed #2a2c36;display:flex;gap:12px;align-items:flex-start}
.list-news li:last-child{border-bottom:none}
.list-news .num{flex:none;width:26px;height:26px;border-radius:5px;background:#1c1f2b;color:#c79a3a;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}
.list-news li:nth-child(-n+3) .num{background:linear-gradient(135deg,#e0a73e,#b8791c);color:#fff}
.list-news h3{font-size:15px;line-height:1.5;margin-bottom:5px;flex:1}
.list-news h3 a{color:#e8e2d6}
.list-news h3 a:hover{color:#f3d58a}
.list-news .date{color:#6f6a5d;font-size:12px;white-space:nowrap}

/* ============ 双栏布局 ============ */
.layout{display:grid;grid-template-columns:2fr 1fr;gap:24px}
.side-card{background:#16181f;border:1px solid #2a2c36;border-radius:10px;padding:18px;margin-bottom:20px}
.side-card h3{font-size:16px;margin-bottom:14px;padding-left:12px;border-left:4px solid #c79a3a}
.hot-list li{padding:11px 0;border-bottom:1px solid #23252f;display:flex;gap:10px}
.hot-list li:last-child{border-bottom:none}
.hot-list .idx{flex:none;width:22px;height:22px;border-radius:50%;background:#1c1f2b;color:#c79a3a;font-size:12px;display:flex;align-items:center;justify-content:center}
.hot-list li:nth-child(-n+3) .idx{background:#e0a73e;color:#fff}
.hot-list a{color:#d9d3c5;font-size:13px;line-height:1.5}
.hot-list a:hover{color:#f3d58a}

/* ============ 文章页 ============ */
.article-wrap{background:#16181f;border:1px solid #2a2c36;border-radius:12px;padding:30px}
.article-head{text-align:center;border-bottom:1px solid #2a2c36;padding-bottom:20px;margin-bottom:24px}
.article-head .cat{display:inline-block;padding:3px 14px;border-radius:20px;background:rgba(199,154,58,.15);color:#e0a73e;font-size:13px;margin-bottom:14px}
.article-head h1{font-size:26px;line-height:1.4;margin-bottom:14px}
.article-head .info{color:#8a8578;font-size:13px}
.article-head .info span{margin:0 8px}
.article-body{font-size:15px;line-height:1.95;color:#dcd6c8}
.article-body p{margin:0 0 18px;text-indent:2em;text-align:justify}
.article-body p:first-child{font-size:16px;color:#fff}
.article-body img{margin:22px auto;max-width:100%;border-radius:8px;border:1px solid #2a2c36}
.article-body .figure{margin:22px 0;text-align:center}
.article-body .figure figcaption{color:#8a8578;font-size:13px;margin-top:8px}
.article-tags{margin-top:26px;padding-top:20px;border-top:1px solid #2a2c36}
.article-tags a{display:inline-block;padding:4px 14px;margin:0 6px 6px 0;background:#1c1f2b;border-radius:20px;color:#c79a3a;font-size:13px}
.article-tags a:hover{background:#c79a3a;color:#fff}
.article-pager{display:flex;justify-content:space-between;margin-top:26px;padding-top:20px;border-top:1px solid #2a2c36}
.article-pager a{color:#c79a3a;font-size:14px}

/* ============ 广告位 ============ */
.ad-box{background:linear-gradient(135deg,#1a1c25,#14151c);border:1px dashed #3a3c46;border-radius:10px;padding:24px;text-align:center;margin:24px 0;color:#8a8578}
.ad-box .t{color:#6b6659;font-size:12px;letter-spacing:2px;margin-bottom:8px}

/* ============ 页脚 ============ */
.site-footer{background:#0c0d12;border-top:2px solid #b8912f;margin-top:40px;padding:36px 0 20px}
.foot-top{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px;padding-bottom:26px;border-bottom:1px solid #23252f}
.foot-col h4{color:#c79a3a;font-size:15px;margin-bottom:12px}
.foot-col p,.foot-col a{color:#8a8578;font-size:13px;line-height:1.9}
.foot-col ul li{margin-bottom:6px}
.foot-bottom{text-align:center;padding-top:20px;color:#6b6659;font-size:12px}
.foot-bottom a{color:#8a8578}

/* ============ 表格响应式 ============ */
.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}

/* ============ 分页 ============ */
.pagination{display:flex;justify-content:center;gap:8px;margin:30px 0}
.pagination a,.pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 14px;border-radius:6px;background:#1c1f2b;color:#d9d3c5;font-size:14px}
.pagination a:hover{background:#c79a3a;color:#fff}
.pagination .current{background:linear-gradient(135deg,#c79a3a,#8d6419);color:#fff}

/* ============ 移动端 ============ */
@media (max-width:900px){
  .grid-4,.grid-3,.grid-2{grid-template-columns:repeat(2,1fr)}
  .layout{grid-template-columns:1fr}
  .foot-top{grid-template-columns:1fr}
  .main-nav{display:none}
  .focus-overlay h2{font-size:18px}
  .article-wrap{padding:18px}
  .article-head h1{font-size:20px}
}
@media (max-width:560px){
  .grid-4,.grid-3,.grid-2{grid-template-columns:1fr}
  .header-meta .date{display:none}
  .brand .brand-text{font-size:16px}
}
