/* ==================== CSS Variables ==================== */
:root {
  --bg-deep: #070b12;
  --bg-page: #0c1119;
  --bg-card: #121824;
  --bg-card-hover: #18202e;
  --bg-header: rgba(7, 11, 18, 0.94);
  --bg-sidebar: #0f151e;
  --bg-input: #1a2130;

  --gold: #c8a45c;
  --gold-light: #e0c77a;
  --gold-dark: #9a7830;
  --gold-glow: rgba(200, 164, 92, 0.08);
  --gold-border: rgba(200, 164, 92, 0.18);

  --accent: #d4503c;
  --accent-hover: #e8614d;
  --accent-glow: rgba(212, 80, 60, 0.12);

  --text-primary: #e2e0dd;
  --text-secondary: #9a9895;
  --text-muted: #63615e;

  --border: #1e2632;
  --border-light: #262f3d;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow: 0 2px 12px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.7);

  --transition: all 0.25s ease;

  --font-body: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --font-title: "Microsoft YaHei", "PingFang SC", "SimHei", sans-serif;

  --max-width: 1320px;
  --header-height: 64px;
}

/* ==================== Reset ==================== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family:var(--font-body);
  background:var(--bg-deep);
  color:var(--text-primary);
  line-height:1.7;
  min-height:100vh;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
a { color:inherit; text-decoration:none; transition:var(--transition); }
a:hover { color:var(--gold-light); }
img { max-width:100%; height:auto; display:block; }
ul,ol { list-style:none; }
input,button,textarea,select { font-family:inherit; font-size:inherit; outline:none; border:none; }
button { cursor:pointer; }
::-webkit-scrollbar { width:6px; }
::-webkit-scrollbar-track { background:var(--bg-deep); }
::-webkit-scrollbar-thumb { background:var(--border-light); border-radius:3px; }
::-webkit-scrollbar-thumb:hover { background:var(--gold-dark); }

/* ==================== Utilities ==================== */
.container { max-width:var(--max-width); margin:0 auto; padding:0 24px; }
.container-narrow { max-width:1100px; margin:0 auto; padding:0 24px; }

/* ==================== Layout System ==================== */
/* LR: sidebar + main */
.layout-lr { display:flex; gap:28px; align-items:flex-start; }
.layout-lr .lr-side { width:260px; flex-shrink:0; }
.layout-lr .lr-main { flex:1; min-width:0; }

/* LMR: three-column */
.layout-lmr { display:flex; gap:24px; align-items:flex-start; }
.layout-lmr .lmr-left { width:210px; flex-shrink:0; }
.layout-lmr .lmr-center { flex:1; min-width:0; }
.layout-lmr .lmr-right { width:250px; flex-shrink:0; }

/* TB: top + bottom split */
.layout-tb { display:flex; flex-direction:column; gap:24px; }
.layout-tb .tb-top { width:100%; }
.layout-tb .tb-bottom { display:flex; gap:24px; }
.layout-tb .tb-bottom .tb-bl { flex:1; min-width:0; }
.layout-tb .tb-bottom .tb-br { width:300px; flex-shrink:0; }

/* ==================== Sections ==================== */
.section { padding:48px 0; }
.section-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:28px; }
.section-title {
  font-family:var(--font-title); font-size:22px; font-weight:700; color:var(--text-primary);
  display:flex; align-items:center; gap:12px;
}
.section-title::before {
  content:''; display:inline-block; width:4px; height:22px;
  background:linear-gradient(180deg, var(--gold-light), var(--gold-dark)); border-radius:2px;
}
.section-more { font-size:13px; color:var(--text-muted); display:flex; align-items:center; gap:4px; }
.section-more::after { content:'\203A'; font-size:16px; }

/* Section divider */
.section-divider {
  max-width:var(--max-width); margin:0 auto; padding:0 24px;
}
.section-divider hr { border:none; border-top:1px solid var(--border); }

/* ==================== Top Notice ==================== */
.top-notice {
  background:linear-gradient(90deg, rgba(200,164,92,0.08), rgba(200,164,92,0.03), rgba(200,164,92,0.08));
  border-bottom:1px solid var(--gold-border);
  color:var(--gold-light); font-size:12px;
}
.top-notice-inner {
  display:flex; align-items:center; justify-content:space-between;
  max-width:var(--max-width); margin:0 auto; padding:7px 24px;
}
.top-notice .notice-dot { display:inline-block; width:6px; height:6px; background:var(--accent); border-radius:50%; margin-right:6px; animation:pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:.3} }
.notice-link { color:var(--gold); text-decoration:underline; margin:0 4px; }
.notice-actions { display:flex; align-items:center; gap:10px; flex-shrink:0; }
.notice-btn {
  padding:4px 14px; font-size:12px; border:1px solid var(--gold-border);
  border-radius:var(--radius-sm); color:var(--gold-light);
  background:transparent; cursor:pointer; transition:var(--transition);
  white-space:nowrap;
}
.notice-btn:hover { background:var(--gold-glow); border-color:var(--gold); }

/* ==================== Header ==================== */
.site-header {
  position:sticky; top:0; z-index:1000;
  background:var(--bg-header); backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
}
.header-inner {
  display:flex; align-items:center; height:var(--header-height);
  max-width:var(--max-width); margin:0 auto; padding:0 24px;
  gap:55px;
}
.site-logo {
  display:flex; align-items:center; flex-shrink:0;
}
.site-logo img { height:40px; display:block; }

/* Main nav */
.main-nav { display:flex; align-items:center; gap:6px; flex:1; }
.main-nav > li { position:relative; }
.main-nav > li > a {
  display:block; padding:8px 14px; font-size:14px; font-weight:500; border-radius:var(--radius-sm);
  color:var(--text-secondary); white-space:nowrap; transition:var(--transition);
}
.main-nav > li:hover > a,
.main-nav > li.active > a { color:var(--gold-light); background:var(--gold-glow); }
.main-nav > li > a .nav-arrow { font-size:10px; margin-left:3px; transition:transform .2s; display:inline-block; }
.main-nav > li:hover > a .nav-arrow { transform:rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position:absolute; top:100%; left:50%; transform:translateX(-50%) translateY(8px);
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:8px;
  min-width:160px; opacity:0; visibility:hidden;
  transition:all .2s ease; box-shadow:var(--shadow-lg);
}
.main-nav > li:hover .nav-dropdown { opacity:1; visibility:visible; transform:translateX(-50%) translateY(4px); }
.nav-dropdown a {
  display:block; padding:8px 16px; font-size:13px; border-radius:var(--radius-sm);
  color:var(--text-secondary); transition:var(--transition); white-space:nowrap;
}
.nav-dropdown a:hover { color:var(--gold-light); background:var(--gold-glow); }

/* Grid dropdown for items/maps */
.nav-dropdown.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:2px; min-width:300px; }
.nav-dropdown.grid-2 a { text-align:center; }

/* Mobile nav trigger */
.menu-toggle { display:none; background:none; color:var(--text-secondary); font-size:24px; padding:6px; }
/* Search */
.header-search { position:relative; width:100%; }
.header-search input {
  width:100%; height:38px; padding:0 40px 0 14px; border-radius:20px;
  background:var(--bg-input); color:var(--text-primary); font-size:13px;
  border:1px solid transparent; transition:var(--transition);
}
.header-search input:focus { border-color:var(--gold-border); background:var(--bg-card); }
.header-search button {
  position:absolute; right:4px; top:50%; transform:translateY(-50%);
  width:30px; height:30px; background:var(--gold-dark); border-radius:50%;
  color:var(--bg-deep); font-size:14px; display:flex; align-items:center; justify-content:center;
}
.sb-search { padding:14px 18px; }

/* ==================== Hero Section ==================== */
.hero {
  position:relative; padding:60px 0 0;
  background:
    linear-gradient(180deg, rgba(15,24,36,0.75) 0%, rgba(10,14,20,0.85) 100%),
    url('Dark_fantasy_game_background___2026-05-22T16-26-45.png') center/cover no-repeat;
  overflow:hidden;
}
.hero::before {
  content:''; position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:800px; height:400px;
  background:radial-gradient(ellipse at center, rgba(200,164,92,0.06) 0%, transparent 70%);
  pointer-events:none;
}
.hero-inner { display:flex; align-items:center; gap:48px; position:relative; z-index:1; }
.hero-text { flex:1; }
.hero-badge {
  display:inline-flex; align-items:center; gap:6px;
  background:var(--accent-glow); color:var(--accent);
  font-size:13px; font-weight:600; padding:4px 14px; border-radius:20px;
  margin-bottom:18px; border:1px solid rgba(212,80,60,0.2);
}
.hero-badge .dot { width:6px; height:6px; background:var(--accent); border-radius:50%; animation:pulse-dot 2s infinite; }
.hero-title {
  font-family:var(--font-title); font-size:42px; font-weight:900; line-height:1.2;
  background:linear-gradient(180deg, #f0d78c, #c8a45c);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
  margin-bottom:14px;
}
.hero-desc { font-size:16px; color:var(--text-secondary); line-height:1.8; margin-bottom:28px; max-width:480px; }
.hero-btns { display:flex; gap:14px; flex-wrap:wrap; }
.btn { display:inline-flex; align-items:center; gap:8px; padding:12px 28px; border-radius:var(--radius); font-size:15px; font-weight:600; transition:var(--transition); }
.btn-primary { background:linear-gradient(135deg, #d4503c, #b83a28); color:#fff; box-shadow:0 4px 16px rgba(212,80,60,0.3); }
.btn-primary:hover { background:linear-gradient(135deg, #e8614d, #c94432); color:#fff; transform:translateY(-1px); box-shadow:0 6px 24px rgba(212,80,60,0.4); }
.btn-outline { border:1px solid var(--gold-border); color:var(--gold-light); background:transparent; }
.btn-outline:hover { background:var(--gold-glow); border-color:var(--gold); color:var(--gold-light); }
.btn-ghost { color:var(--text-secondary); background:rgba(255,255,255,0.04); }
.btn-ghost:hover { background:rgba(255,255,255,0.08); color:var(--text-primary); }

.hero-stats { display:flex; gap:36px; margin-top:28px; }
.hero-stat { text-align:center; }
.hero-stat .stat-num { font-size:26px; font-weight:800; color:var(--gold-light); line-height:1; }
.hero-stat .stat-label { font-size:12px; color:var(--text-muted); margin-top:4px; }

.hero-visual {
  width:380px; flex-shrink:0; position:relative;
}
.hero-visual .visual-card {
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-xl);
  padding:24px; position:relative; overflow:hidden;
}
.hero-visual .visual-card::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg, rgba(200,164,92,0.05), transparent 50%);
  pointer-events:none;
}
.hero-visual .vc-badge {
  font-size:11px; color:var(--gold); text-transform:uppercase; letter-spacing:2px; margin-bottom:8px;
}
.hero-visual .vc-title { font-size:18px; font-weight:700; margin-bottom:4px; }
.hero-visual .vc-sub { font-size:13px; color:var(--text-muted); }

.hero-visual .vc-list { display:flex; flex-direction:column; gap:8px; margin-top:16px; }
.hero-visual .vc-row {
  display:flex; align-items:center; gap:10px;
  background:var(--bg-deep); border-radius:var(--radius); padding:10px 12px;
  border:1px solid var(--border); transition:var(--transition);
}
.hero-visual .vc-row:hover { border-color:var(--gold-border); }
.hero-visual .vc-tag {
  font-size:11px; font-weight:600; padding:2px 8px; border-radius:3px;
  flex-shrink:0; color:#fff;
}
.hero-visual .vc-tag.tag-update { background:#d4503c; }
.hero-visual .vc-tag.tag-event { background:#e67e22; }
.hero-visual .vc-tag.tag-guide { background:#27ae60; }
.hero-visual .vc-tag.tag-battle { background:#8e44ad; }
.hero-visual .vc-text { flex:1; font-size:13px; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hero-visual .vc-date { font-size:11px; color:var(--text-muted); flex-shrink:0; }

/* ==================== Quick Nav Grid ==================== */
.quick-nav { padding:36px 0; }
.quick-nav-grid { display:grid; grid-template-columns:repeat(6, 1fr); gap:16px; }
.qn-card {
  display:flex; flex-direction:column; align-items:center; gap:10px;
  padding:24px 16px; background:var(--bg-card); border-radius:var(--radius-lg);
  border:1px solid var(--border); transition:var(--transition); cursor:pointer; text-align:center;
}
.qn-card:hover { transform:translateY(-3px); border-color:var(--gold-border); box-shadow:var(--shadow); }
.qn-card .qn-icon { font-size:32px; }
.qn-card .qn-title { font-size:15px; font-weight:600; }
.qn-card .qn-count { font-size:11px; color:var(--text-muted); }

/* ==================== Sidebar Components ==================== */
.sidebar-block {
  background:var(--bg-sidebar); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:18px; margin-bottom:16px;
}
.sidebar-block:last-child { margin-bottom:0; }
.sb-title {
  font-size:14px; font-weight:700; color:var(--text-primary);
  padding-bottom:12px; border-bottom:1px solid var(--border); margin-bottom:12px;
  display:flex; align-items:center; gap:8px;
}
.sb-title .sb-icon { color:var(--gold); }

/* Category nav */
.cat-nav a {
  display:flex; align-items:center; justify-content:space-between;
  padding:8px 10px; border-radius:var(--radius-sm); font-size:13px;
  color:var(--text-secondary); transition:var(--transition);
}
.cat-nav a:hover, .cat-nav a.active { color:var(--gold-light); background:var(--gold-glow); }
.cat-nav a .count {
  font-size:11px; background:var(--bg-card); padding:1px 8px; border-radius:10px;
  color:var(--text-muted);
}
.cat-grid { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.cat-grid a { justify-content:center; padding:8px 4px; font-size:12px; text-align:center; }

/* Hot tags */
.tag-cloud { display:flex; flex-wrap:wrap; gap:6px; }
.tag {
  display:inline-block; padding:4px 12px; font-size:12px; border-radius:14px;
  background:var(--bg-card); color:var(--text-secondary); border:1px solid var(--border);
  transition:var(--transition);
}
.tag:hover { border-color:var(--gold-border); color:var(--gold-light); }
.tag.hot { border-color:var(--accent); color:var(--accent); background:var(--accent-glow); }

/* Server status */
.server-item { display:flex; align-items:center; justify-content:space-between; padding:6px 0; font-size:13px; border-bottom:1px dotted var(--border); }
.server-item:last-child { border:none; }
.server-name { color:var(--text-secondary); }
.server-status { font-size:11px; padding:2px 8px; border-radius:10px; }
.server-status.online { background:rgba(39,174,96,0.12); color:#27ae60; }
.server-status.busy { background:rgba(241,196,15,0.12); color:#f1c40f; }
.server-status.offline { background:rgba(127,140,141,0.12); color:#7f8c8d; }

/* Sidebar gift list */
.gift-sb-list { display:flex; flex-direction:column; gap:8px; }
.gift-sb-item {
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius);
  padding:10px 12px; transition:var(--transition);
}
.gift-sb-item:hover { border-color:var(--gold-border); }
.gift-sb-item .gsb-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:6px; }
.gift-sb-item .gsb-game { font-size:13px; font-weight:600; color:var(--text-primary); }
.gift-sb-item .gsb-ver {
  font-size:10px; padding:1px 7px; border-radius:8px; background:var(--gold-glow);
  color:var(--gold-light); border:1px solid var(--gold-border); font-weight:600;
}
.gift-sb-item .gsb-mid { display:flex; align-items:center; gap:8px; font-size:11px; color:var(--text-secondary); margin-bottom:6px; }
.gift-sb-item .gsb-mid .sep { color:var(--text-muted); }
.gift-sb-item .gsb-foot { display:flex; align-items:center; justify-content:space-between; }
.gift-sb-item .gsb-count { font-size:12px; color:var(--gold-light); }
.gift-sb-item .gsb-count span { color:var(--accent); font-weight:600; }
.gift-sb-item .gsb-btn {
  font-size:11px; padding:3px 12px; border-radius:12px;
  background:var(--accent); color:#fff; border:none; cursor:pointer;
  transition:var(--transition); text-decoration:none; display:inline-block;
}
.gift-sb-item .gsb-btn:hover { background:var(--accent-hover); }

/* Item property tabs */
.item-tabs { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:20px; }
.item-tabs .it-tab {
  padding:6px 14px; font-size:12px; border-radius:var(--radius);
  background:var(--bg-card); color:var(--text-secondary); border:1px solid var(--border);
  cursor:pointer; transition:var(--transition); white-space:nowrap;
}
.item-tabs .it-tab:hover { border-color:var(--gold-border); color:var(--gold-light); }
.item-tabs .it-tab.active { background:var(--gold-glow); color:var(--gold-light); border-color:var(--gold-border); font-weight:600; }

.item-props-table { width:100%; border-collapse:collapse; font-size:13px; }
.item-props-table th {
  text-align:left; padding:10px 12px; font-weight:600; color:var(--gold-light);
  background:rgba(200,164,92,0.05); border-bottom:2px solid var(--gold-border);
  font-size:12px; white-space:nowrap;
}
.item-props-table td {
  padding:9px 12px; border-bottom:1px solid var(--border); color:var(--text-secondary);
}
.item-props-table tr:hover td { background:rgba(255,255,255,0.02); }
.item-props-table .ip-name { color:var(--text-primary); font-weight:600; }
.item-props-table .ip-val { color:var(--accent); font-weight:600; }
.item-props-panel { display:none; }
.item-props-panel.active { display:block; }

@media (max-width:768px) {
  .item-tabs { gap:4px; }
  .item-tabs .it-tab { padding:4px 10px; font-size:11px; }
  .item-props-table { font-size:11px; }
  .item-props-table th, .item-props-table td { padding:6px 8px; }
}

/* ==================== Cards ==================== */
.card-grid { display:grid; gap:16px; }
.card-grid.cols-2 { grid-template-columns:1fr 1fr; }
.card-grid.cols-3 { grid-template-columns:repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns:repeat(4, 1fr); }
.card-grid.cols-6 { grid-template-columns:repeat(6, 1fr); }

.card {
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-lg);
  overflow:hidden; transition:var(--transition);
}
.card:hover { transform:translateY(-2px); border-color:var(--gold-border); box-shadow:var(--shadow); }
.card-thumb {
  aspect-ratio:16/9; background:var(--bg-deep);
  display:flex; align-items:center; justify-content:center; font-size:48px;
  position:relative; overflow:hidden;
}
.card-thumb::after {
  content:''; position:absolute; inset:0;
  background:linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4));
}
.card-tag {
  position:absolute; top:10px; left:10px; z-index:2;
  font-size:11px; padding:3px 10px; border-radius:3px; font-weight:600;
  color:#fff;
}
.card-tag.new { background:var(--accent); }
.card-tag.hot { background:#e67e22; }
.card-tag.rare { background:#8e44ad; }
.card-body { padding:14px; }
.card-title { font-size:15px; font-weight:600; margin-bottom:6px; line-height:1.4; }
.card-meta { font-size:12px; color:var(--text-muted); display:flex; align-items:center; gap:12px; }
.card-price { font-size:14px; color:var(--gold-light); font-weight:700; }

/* 资讯横向列表 */
.news-list { display:flex; flex-direction:column; gap:12px; }
.news-item {
  display:flex; gap:16px; align-items:flex-start;
  padding:14px 16px; border-radius:var(--radius-lg);
  background:var(--bg-card); border:1px solid var(--border);
  transition:var(--transition); text-decoration:none;
}
.news-item:hover { border-color:var(--gold-border); transform:translateY(-2px); box-shadow:var(--shadow); }
.news-item .ni-thumb {
  width:140px; height:88px; border-radius:var(--radius); flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  font-size:36px; overflow:hidden; position:relative;
}
.news-item .ni-thumb .ni-cat {
  position:absolute; top:6px; left:6px; font-size:10px;
  padding:2px 8px; border-radius:8px; background:var(--accent); color:#fff;
  font-weight:600;
}
.news-item .ni-body { flex:1; min-width:0; display:flex; flex-direction:column; justify-content:center; }
.news-item .ni-title {
  font-size:15px; font-weight:600; color:var(--text-primary);
  line-height:1.5; margin-bottom:8px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.news-item .ni-desc {
  font-size:12px; color:var(--text-muted); line-height:1.5; margin-bottom:8px;
  display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden;
}
.news-item .ni-meta {
  font-size:11px; color:var(--text-muted); display:flex; align-items:center; gap:12px;
}
.news-item .ni-meta .ni-hot { color:var(--accent); font-weight:600; }
@media (max-width:768px) {
  .news-item .ni-thumb { width:100px; height:68px; font-size:24px; }
  .news-item .ni-title { font-size:13px; }
  .news-item { padding:10px 12px; }
}

/* 资讯+爆料双栏 */
.news-split { display:flex; gap:20px; margin-bottom:32px; }
.news-split .ns-left { flex:0 0 68%; min-width:0; }
.news-split .ns-right { flex:1; min-width:0; display:flex; flex-direction:column; gap:8px; }
.news-split .ns-right .sidebar-block { background:var(--bg-sidebar); margin-bottom:0; }
.news-split .ns-right .sidebar-block .sb-title { border-bottom-color:var(--gold-border); }
@media (max-width:768px) {
  .news-split { flex-direction:column; }
  .news-split .ns-left { flex:auto; }
}

/* 玩家攻略双栏 */
.guide-split { display:flex; gap:24px; margin-bottom:32px; }
.gs-left { flex:0 0 42%; min-width:0; }
.gs-right { flex:1; min-width:0; display:flex; flex-direction:column; gap:12px; }
.guide-card {
  background:linear-gradient(135deg, #121824, #1a2030);
  border:1px solid var(--gold-border); border-radius:var(--radius-lg);
  padding:18px 24px; height:100%; display:flex; flex-direction:column; justify-content:flex-start;
}
.gc-badge { font-size:11px; color:var(--gold); margin-bottom:8px; font-weight:600; }
.gc-title { font-size:18px; font-weight:700; color:var(--text-primary); margin-bottom:6px; }
.gc-sub { font-size:12px; color:var(--text-muted); margin-bottom:18px; }
.gc-list { display:flex; flex-direction:column; gap:6px; }
.gc-row { display:flex; align-items:center; gap:8px; font-size:12px; color:var(--text-secondary); }
.gc-text { flex:1; }
.gc-date { font-size:11px; color:var(--text-muted); white-space:nowrap; }
.gc-tag {
  display:inline-block; padding:1px 6px; border-radius:3px; font-size:10px; font-weight:600; flex-shrink:0;
}
.gc-tag.tag-update { background:rgba(200,164,92,0.15); color:var(--gold); }
.gc-tag.tag-event { background:rgba(212,80,60,0.15); color:var(--accent); }
.gc-tag.tag-guide { background:rgba(92,152,200,0.15); color:#6ca0c8; }
.gc-tag.tag-battle { background:rgba(180,100,200,0.15); color:#b064c8; }
.gc-img-row { display:flex; gap:10px; margin-bottom:16px; }
.gc-img-item {
  flex:1; min-width:0; border-radius:var(--radius); overflow:hidden;
  border:1px solid var(--border); aspect-ratio:16/11;
  display:flex; align-items:center; justify-content:center;
  font-size:13px; color:var(--text-secondary); position:relative;
}
.gc-img-item .gc-img-label {
  position:absolute; bottom:6px; left:6px; right:6px;
  background:rgba(0,0,0,0.7); color:var(--gold); font-size:11px;
  padding:3px 8px; border-radius:3px; text-align:center;
}

@media (max-width:1024px) {
  .guide-split { flex-direction:column; }
  .gs-left { flex:none; }
}
@media (max-width:768px) {
  .guide-split { gap:16px; }
  .gc-title { font-size:15px; }
}
/* Special: equipment card */
.equip-card {
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:16px; transition:var(--transition); display:flex; gap:14px; align-items:center;
}
.equip-card:hover { border-color:var(--gold-border); transform:translateY(-2px); }
.equip-card .eq-icon {
  width:56px; height:56px; border-radius:var(--radius); flex-shrink:0;
  display:flex; align-items:center; justify-content:center; font-size:32px;
  background:var(--bg-deep); border:1px solid var(--border);
}
.equip-card .eq-icon.legendary { border-color:var(--gold); box-shadow:0 0 12px var(--gold-glow); }
.equip-card .eq-info { flex:1; min-width:0; }
.equip-card .eq-name { font-size:15px; font-weight:700; margin-bottom:2px; }
.equip-card .eq-type { font-size:12px; color:var(--text-muted); margin-bottom:6px; }
.equip-card .eq-stats { font-size:12px; color:var(--gold-dark); line-height:1.6; }
.equip-card .eq-stat-row { display:flex; justify-content:space-between; }

/* Boss card */
.boss-card { position:relative; }
.boss-card .card-thumb { aspect-ratio:4/3; }
.boss-card .boss-level {
  position:absolute; top:10px; right:10px; z-index:2;
  font-size:11px; font-weight:700; padding:3px 10px; border-radius:3px;
  background:rgba(0,0,0,0.7); color:var(--accent);
}
.boss-card .boss-location { font-size:12px; color:var(--text-muted); }
.boss-card .boss-drops { font-size:12px; color:var(--gold-dark); }

/* Video card */
.video-card .card-thumb { position:relative; }
.video-card .play-btn {
  position:absolute; inset:0; z-index:2;
  display:flex; align-items:center; justify-content:center;
}
.video-card .play-icon {
  width:48px; height:48px; background:rgba(212,80,60,0.9); border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:20px; color:#fff;
  transition:var(--transition);
}
.video-card:hover .play-icon { transform:scale(1.1); background:var(--accent); }
.video-card .video-duration {
  position:absolute; bottom:8px; right:8px; z-index:2;
  font-size:11px; background:rgba(0,0,0,0.7); padding:2px 8px; border-radius:3px;
}

/* Streamer card */
.streamer-card {
  display:flex; gap:12px; align-items:center; padding:12px;
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius);
  transition:var(--transition);
}
.streamer-card:hover { border-color:var(--gold-border); }
.streamer-card .st-avatar {
  width:48px; height:48px; border-radius:50%; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; font-size:24px;
  background:var(--bg-deep); border:2px solid var(--border);
}
.streamer-card .st-avatar.live { border-color:var(--accent); }
.streamer-card .st-info { flex:1; min-width:0; }
.streamer-card .st-name { font-size:14px; font-weight:600; }
.streamer-card .st-platform { font-size:11px; color:var(--text-muted); }
.streamer-card .st-viewers { font-size:11px; color:var(--accent); }
.streamer-card .st-live-dot {
  width:8px; height:8px; background:var(--accent); border-radius:50%;
  animation:pulse-dot 2s infinite; flex-shrink:0;
}

/* Streamer filter tags */
.streamer-filter {
  display:flex; align-items:center; gap:6px; flex-wrap:wrap;
}
.streamer-filter .sf-label { font-size:12px; color:var(--text-muted); flex-shrink:0; }
.streamer-filter .sf-tag {
  font-size:11px; padding:3px 10px; border-radius:3px;
  border:1px solid var(--border); color:var(--text-muted);
  transition:var(--transition);
}
.streamer-filter .sf-tag:hover,
.streamer-filter .sf-tag.active {
  border-color:var(--gold-border); color:var(--gold-light);
  background:rgba(200,164,92,0.08);
}

/* Mini streamer card for grid */
.streamer-card-mini {
  display:flex; flex-direction:column; align-items:center; gap:6px;
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius);
  padding:16px 10px; transition:var(--transition); text-align:center;
  text-decoration:none; color:var(--text);
}
.streamer-card-mini:hover { border-color:var(--gold-border); transform:translateY(-2px); }
.streamer-card-mini .stm-avatar {
  width:44px; height:44px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:22px;
  background:var(--bg-deep); border:2px solid var(--border); flex-shrink:0;
}
.streamer-card-mini .stm-avatar.live { border-color:var(--accent); box-shadow:0 0 8px rgba(212,80,60,0.3); }
.streamer-card-mini .stm-name { font-size:13px; font-weight:600; }
.streamer-card-mini .stm-tag {
  font-size:10px; color:var(--gold-light); padding:1px 6px; border-radius:2px;
  background:rgba(200,164,92,0.1); border:1px solid rgba(200,164,92,0.2);
}
.streamer-card-mini .stm-platform { font-size:11px; color:var(--text-muted); }
.streamer-card-mini .stm-viewers { font-size:11px; color:var(--accent); }

/* Gift card */
.gift-card {
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:20px; text-align:center; transition:var(--transition);
}
.gift-card:hover { border-color:var(--gold-border); transform:translateY(-2px); }
.gift-card .gift-icon { font-size:36px; margin-bottom:10px; }
.gift-card .gift-name { font-size:16px; font-weight:700; margin-bottom:4px; }
.gift-card .gift-desc { font-size:12px; color:var(--text-muted); margin-bottom:12px; }
.gift-card .gift-items { font-size:11px; color:var(--gold-dark); margin-bottom:12px; }
.gift-row { display:grid; grid-template-columns:repeat(4, 1fr); gap:16px; }
.btn-sm { padding:7px 20px; font-size:13px; border-radius:var(--radius); font-weight:600; }
.btn-sm-primary { background:var(--accent); color:#fff; }
.btn-sm-primary:hover { background:var(--accent-hover); }
.btn-sm-outline { border:1px solid var(--gold-border); color:var(--gold-light); background:transparent; }

/* ==================== Image Gallery ==================== */
.img-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:12px; }
.img-card {
  aspect-ratio:4/3; background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius); overflow:hidden; position:relative; transition:var(--transition);
  display:flex; align-items:center; justify-content:center; font-size:42px;
}
.img-card:hover { transform:scale(1.03); border-color:var(--gold-border); z-index:1; }
.img-card .img-overlay {
  position:absolute; inset:0; background:linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7));
  opacity:0; transition:var(--transition);
  display:flex; align-items:flex-end; padding:12px;
}
.img-card:hover .img-overlay { opacity:1; }
.img-card .img-label { font-size:12px; color:#fff; }

/* ==================== Download Section ==================== */
.download-section {
  background:linear-gradient(180deg, var(--bg-deep), #0f1824);
  padding:56px 0; text-align:center; position:relative; overflow:hidden;
}
.download-section::before {
  content:''; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:500px; height:500px;
  background:radial-gradient(circle, rgba(200,164,92,0.04) 0%, transparent 60%);
  pointer-events:none;
}
.dl-title { font-family:var(--font-title); font-size:30px; font-weight:800; margin-bottom:10px; }
.dl-sub { color:var(--text-muted); margin-bottom:32px; }
.dl-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); gap:20px; }
.dl-card {
  padding:28px 20px; background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-lg); transition:var(--transition); text-align:center;
}
.dl-card:hover { border-color:var(--gold-border); transform:translateY(-3px); box-shadow:var(--shadow); }
.dl-card .dl-icon { font-size:40px; margin-bottom:12px; }
.dl-card .dl-name { font-size:16px; font-weight:700; margin-bottom:4px; }
.dl-card .dl-info { font-size:12px; color:var(--text-muted); margin-bottom:16px; }

/* ==================== Footer ==================== */
.site-footer {
  background:var(--bg-card); border-top:1px solid var(--border); padding:40px 0 20px;
}
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:32px; }
.footer-col h4 { font-size:14px; font-weight:700; margin-bottom:14px; color:var(--gold-light); }
.footer-col p, .footer-col a { font-size:13px; color:var(--text-muted); line-height:2; display:block; }
.footer-col a:hover { color:var(--gold-light); }
.footer-bottom {
  margin-top:32px; padding-top:16px; border-top:1px solid var(--border);
  text-align:center; font-size:12px; color:var(--text-muted);
}

/* ==================== Responsive ==================== */
@media (max-width:1024px) {
  .quick-nav-grid { grid-template-columns:repeat(3, 1fr); }
  .card-grid.cols-4, .card-grid.cols-6 { grid-template-columns:repeat(2, 1fr); }
  .img-grid { grid-template-columns:repeat(3, 1fr); }
  .hero-inner { flex-direction:column; text-align:center; }
  .hero-desc { max-width:100%; }
  .hero-stats { justify-content:center; }
  .hero-visual { width:100%; }
  .hero-btns { justify-content:center; }
  .dl-grid { grid-template-columns:repeat(3, 1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
}

@media (max-width:768px) {
  .container, .container-narrow { padding:0 16px; }
  .section { padding:32px 0; }
  .section-title { font-size:18px; }

  /* Navigation → hamburger */
  .menu-toggle { display:block; }
  .main-nav {
    display:none; position:absolute; top:var(--header-height); left:0; right:0;
    background:var(--bg-header); backdrop-filter:blur(20px);
    flex-direction:column; padding:8px 16px 16px; gap:2px;
    border-bottom:1px solid var(--border); max-height:70vh; overflow-y:auto;
  }
  .main-nav.open { display:flex; }
  .main-nav > li > a { padding:10px 12px; font-size:15px; }
  .nav-dropdown {
    position:static; transform:none; opacity:1; visibility:visible;
    background:transparent; border:none; box-shadow:none; padding:0 0 0 16px;
    display:none; min-width:auto;
  }
  .nav-dropdown.open { display:block; }
  .nav-dropdown.grid-2 { grid-template-columns:1fr 1fr; }

  /* Layout collapse */
  .layout-lr, .layout-lmr { flex-direction:column; }
  .layout-lr .lr-side, .layout-lmr .lmr-left, .layout-lmr .lmr-right { width:100%; }
  .layout-tb .tb-bottom { flex-direction:column; }
  .layout-tb .tb-bottom .tb-br { width:100%; }

  .quick-nav-grid { grid-template-columns:repeat(3, 1fr); }
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4, .card-grid.cols-6 { grid-template-columns:1fr; }
  .img-grid { grid-template-columns:repeat(2, 1fr); }
  .equip-card { flex-direction:column; text-align:center; }
  .hero-title { font-size:28px; }
  .dl-grid { grid-template-columns:1fr; max-width:320px; }
  .footer-grid { grid-template-columns:1fr; gap:20px; }
  .gift-row { grid-template-columns:repeat(2, 1fr); }
  .streamer-filter { gap:4px; }
  .streamer-filter .sf-tag { font-size:10px; padding:2px 7px; }
}

@media (max-width:480px) {
  .quick-nav-grid { grid-template-columns:repeat(2, 1fr); }
  .img-grid { grid-template-columns:1fr 1fr; gap:8px; }
  .hero-stats { gap:20px; }
}