/* ============================================================
   沉默火龙 官方网站 - 静态站样式
   配色：暗黑底 + 暗金 + 沉默蓝 / 火龙红（传奇复古风）
   ============================================================ */
:root {
  --bg: #0b0d14;
  --bg2: #11141f;
  --panel: #161a28;
  --line: #2a3047;
  --gold: #e8b45a;
  --gold-dark: #b9862e;
  --gold-grad: linear-gradient(180deg, #ffe9b0 0%, #e8b45a 45%, #a06a1c 100%);
  --silent: #4aa8ff;
  --silent-deep: #12305c;
  --fire: #ff5a2e;
  --fire-deep: #6e1a08;
  --text: #e8e4d8;
  --text-dim: #9aa0b4;
  --red-cn: #e0392b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "SimSun", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8, 10, 18, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main {
  font-size: 22px; font-weight: 800; letter-spacing: 1px;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-main em { font-style: normal; font-size: 15px; color: var(--fire); -webkit-text-fill-color: var(--fire); margin: 0 2px; }
.logo-sub { font-size: 11px; color: var(--text-dim); letter-spacing: 3px; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  padding: 6px 14px; font-size: 15px; color: var(--text-dim);
  border-radius: 4px; transition: all .25s;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold); text-shadow: 0 0 12px rgba(232,180,90,.45); }
.btn-download-mini {
  padding: 8px 18px; font-size: 14px; font-weight: 700; border-radius: 4px;
  background: linear-gradient(180deg, #d24a2e, #8f1f0e);
  border: 1px solid #ff8a5e; color: #ffe9d8;
  box-shadow: 0 2px 10px rgba(210, 74, 46, .4);
  transition: transform .2s;
}
.btn-download-mini:hover { transform: translateY(-2px); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--gold); margin: 5px 0; }

/* ---------------- 首屏视频头图 ---------------- */
.hero { position: relative; height: 100vh; min-height: 560px; overflow: hidden; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8,10,18,.55) 0%, rgba(8,10,18,.05) 40%, rgba(8,10,18,.82) 100%);
}
.hero-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding-top: 64px;
}
.hero-title { font-size: clamp(38px, 7vw, 82px); font-weight: 900; letter-spacing: 4px; line-height: 1.15; }
.hero-title .t-silent {
  color: #cfe8ff;
  text-shadow: 0 0 24px rgba(74,168,255,.9), 0 2px 0 #0a2547, 0 0 60px rgba(74,168,255,.5);
}
.hero-title .t-fire {
  color: #ffd9a8;
  text-shadow: 0 0 24px rgba(255,110,40,.9), 0 2px 0 #5c1607, 0 0 60px rgba(255,90,46,.55);
}
.hero-title .t-vs {
  font-size: .5em; color: var(--gold); margin: 0 14px; vertical-align: middle;
  text-shadow: 0 0 18px rgba(232,180,90,.8);
}
.hero-slogan {
  margin-top: 18px; font-size: clamp(17px, 2.4vw, 26px); color: #ffe9b0; letter-spacing: 3px;
  text-shadow: 0 1px 0 #3a2405, 0 0 18px rgba(232,180,90,.55);
}
.hero-sub {
  margin-top: 10px;
  font-size: 19px;
  color: #ecd0ad;
  text-shadow: 0 0 24px rgba(255,110,40,.9), 0 2px 0 #5c1607, 0 0 60px rgba(255,90,46,.55);
  letter-spacing: 2px;
  font-weight: bold;
}
.hero-btns { display: flex; gap: 18px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }
.btn {
  min-width: 168px; padding: 13px 34px; font-size: 18px; font-weight: 800; letter-spacing: 3px;
  border-radius: 6px; text-align: center; transition: all .25s; position: relative;
}
.btn-primary {
  color: #fff0dc;
  background: linear-gradient(180deg, #e0603a, #96230f);
  border: 1px solid #ff9a6a;
  box-shadow: 0 4px 18px rgba(200, 60, 30, .5), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-gold {
  color: #3a2405;
  background: var(--gold-grad);
  border: 1px solid #ffd98a;
  box-shadow: 0 4px 18px rgba(220, 160, 60, .45), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-ghost {
  color: var(--text); background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(4px);
}
.btn:hover { transform: translateY(-3px); filter: brightness(1.12); }
.hero-tips { display: flex; gap: 26px; margin-top: 26px; flex-wrap: wrap; justify-content: center; }
.hero-tips span { font-size: 13px; color: var(--text-dim); background: rgba(0,0,0,.35); padding: 6px 16px; border-radius: 20px; border: 1px solid rgba(255,255,255,.12); }
.hero-tips b { color: var(--gold); }
.hero-arrow {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--gold); font-size: 26px; cursor: pointer;
  animation: bounce 1.6s infinite;
}
@keyframes bounce { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------------- 滚动公告 ---------------- */
.notice-bar { background: var(--bg2); border-bottom: 1px solid var(--line); }
.notice-inner { display: flex; align-items: center; height: 46px; gap: 14px; }
.notice-tag {
  flex-shrink: 0; color: #3a2405; font-size: 13px; font-weight: 800;
  background: var(--gold-grad); padding: 3px 12px; border-radius: 3px; letter-spacing: 2px;
}
.notice-viewport { flex: 1; overflow: hidden; height: 46px; position: relative; }
.notice-list li {
  height: 46px; line-height: 46px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--text-dim); font-size: 14px;
}

/* ---------------- 通用 Section ---------------- */
.section { padding: 72px 0; position: relative; }
.section-dark { background: var(--bg2); }
.section-head { text-align: center; margin-bottom: 44px; }
.section-title {
  display: inline-block; font-size: 32px; font-weight: 900; letter-spacing: 6px;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 10px; position: relative;
}
.section-title::before, .section-title::after {
  content: ""; position: absolute; bottom: 0; width: 70px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.section-title::before { left: -12px; transform: scaleX(-1); }
.section-title::after { right: -12px; }
.section-desc { margin-top: 4px; font-size: 12px; letter-spacing: 8px; color: var(--text-dim); opacity: .6; }

/* ---------------- 游戏特色 ---------------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
  padding: 30px 22px; text-align: center; transition: all .3s; position: relative; overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.f-blue::before { background: linear-gradient(90deg, transparent, var(--silent), transparent); }
.f-gold::before { background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.f-red::before { background: linear-gradient(90deg, transparent, var(--fire), transparent); }
.f-green::before { background: linear-gradient(90deg, transparent, #57c37a, transparent); }
.feature-card:hover { transform: translateY(-6px); border-color: var(--gold-dark); box-shadow: 0 12px 30px rgba(0,0,0,.5); }
.feature-icon { font-size: 40px; margin-bottom: 14px; filter: drop-shadow(0 0 10px rgba(232,180,90,.4)); }
.feature-card h3 { font-size: 19px; color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.feature-card p { font-size: 13.5px; color: var(--text-dim); text-align: justify; }

/* ---------------- 双阵营 ---------------- */
.section-camps {
  background:
    radial-gradient(600px 300px at 15% 20%, rgba(74,168,255,.08), transparent),
    radial-gradient(600px 300px at 85% 80%, rgba(255,90,46,.08), transparent),
    var(--bg);
}
.camps-wrap { display: grid; grid-template-columns: 1fr 220px 1fr; gap: 22px; align-items: center; }
.camp-card {
  background: var(--panel); border-radius: 10px; padding: 20px; text-align: center;
  border: 1px solid var(--line); transition: all .3s;
}
.camp-card img { border-radius: 6px; margin: 14px 0; }
.camp-card h3 { font-size: 22px; letter-spacing: 4px; }
.camp-silent { border-top: 3px solid var(--silent); }
.camp-silent h3 { color: #cfe8ff; text-shadow: 0 0 14px rgba(74,168,255,.6); }
.camp-fire { border-top: 3px solid var(--fire); }
.camp-fire h3 { color: #ffd9a8; text-shadow: 0 0 14px rgba(255,110,40,.6); }
.camp-card p { font-size: 13.5px; color: var(--text-dim); }
.camps-vs { text-align: center; position: relative; }
.camps-vs > span {
  display: block; font-size: 52px; font-weight: 900; font-style: italic;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 0 16px rgba(232,180,90,.5));
}
.camps-portal { border-radius: 8px; margin: 12px 0; border: 1px solid var(--gold-dark); }
.camps-vs em {
  font-style: normal; display: inline-block; font-size: 13px; color: var(--gold);
  border: 1px solid var(--gold-dark); border-radius: 16px; padding: 3px 14px;
}

/* ---------------- 分区列表 ---------------- */
.zone-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.zone-table { width: 100%; border-collapse: collapse; min-width: 760px; background: var(--panel); }
.zone-table th, .zone-table td { padding: 14px 18px; text-align: left; font-size: 14px; }
.zone-table thead th {
  background: linear-gradient(180deg, #232a40, #181d2e);
  color: var(--gold); letter-spacing: 2px; font-size: 15px; border-bottom: 1px solid var(--line);
}
.zone-table tbody tr { border-bottom: 1px solid rgba(42,48,71,.6); transition: background .2s; }
.zone-table tbody tr:last-child { border-bottom: 0; }
.zone-table tbody tr:hover { background: rgba(232,180,90,.05); }
.status-open {
  color: #6fe08a; font-weight: 700;
}
.status-open::before { content: "●"; margin-right: 6px; animation: blink 1.2s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.status-soon { color: var(--gold); }
.status-soon::before { content: "◐"; margin-right: 6px; }
.btn-start {
  display: inline-block; padding: 6px 18px; font-size: 13px; border-radius: 4px;
  background: linear-gradient(180deg, #d24a2e, #8f1f0e); color: #ffe9d8;
  border: 1px solid #ff8a5e; transition: all .2s;
}
.btn-start:hover { filter: brightness(1.15); }
.btn-start.disabled { background: #2a3047; color: var(--text-dim); border-color: #3a4260; cursor: not-allowed; }

/* ---------------- 职业展示 ---------------- */
.job-tabs { display: flex; justify-content: center; gap: 14px; margin-bottom: 34px; }
.job-tab {
  padding: 10px 40px; font-size: 18px; letter-spacing: 6px; font-weight: 700;
  background: var(--panel); color: var(--text-dim);
  border: 1px solid var(--line); border-radius: 6px; cursor: pointer; transition: all .25s;
}
.job-tab:hover { color: var(--gold); }
.job-tab.active {
  color: #3a2405; background: var(--gold-grad); border-color: #ffd98a;
  box-shadow: 0 4px 16px rgba(220,160,60,.4);
}
.job-panel { display: none; grid-template-columns: 340px 1fr; gap: 40px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 30px; }
.job-panel.active { display: grid; animation: fadeIn .45s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.job-panel img { border-radius: 8px; border: 1px solid var(--line); }
.job-info h3 { font-size: 28px; letter-spacing: 6px; color: var(--gold); margin-bottom: 16px; }
.job-info h3 span { font-size: 14px; letter-spacing: 2px; color: var(--text-dim); margin-left: 12px; }
.job-info p { color: var(--text-dim); margin-bottom: 18px; }
.job-info li { position: relative; padding-left: 20px; color: var(--text-dim); font-size: 14px; margin-bottom: 8px; }
.job-info li::before { content: "◆"; position: absolute; left: 0; color: var(--gold); font-size: 11px; top: 3px; }

/* ---------------- 装备展示 ---------------- */
.equip-group { margin-bottom: 36px; }
.equip-group-title {
  font-size: 18px; letter-spacing: 3px; text-align: center; margin-bottom: 18px;
  display: table; margin-left: auto; margin-right: auto; padding: 6px 40px; border-radius: 4px;
}
.t-silent-bg { color: #cfe8ff; background: linear-gradient(180deg, #1c3a66, #122544); border: 1px solid #2a528c; }
.t-fire-bg { color: #ffd9a8; background: linear-gradient(180deg, #6e2412, #4a160a); border: 1px solid #93341a; }
.equip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.equip-item {
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden; text-align: center; transition: all .3s; cursor: pointer;
}
.equip-item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.equip-item figcaption { padding: 9px 4px; font-size: 13px; color: var(--text-dim); letter-spacing: 1px; }
.equip-item:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 8px 22px rgba(0,0,0,.5); }
.equip-item:hover figcaption { color: var(--gold); }

.t-zonghe-bg { color: #3a2405; background: var(--gold-grad);  border: 1px solid #93341a; }

/* ---------------- 截图轮播 ---------------- */
.carousel { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.carousel-track { display: flex; transition: transform .5s ease; }
.carousel-slide { min-width: 100%; }
.carousel-slide img { width: 100%; height: auto; max-height: 620px; object-fit: cover; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.45); color: #fff; font-size: 26px; cursor: pointer; transition: all .2s;
}
.carousel-btn:hover { background: rgba(232,180,90,.85); color: #221503; }
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }
.carousel-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 5; }
.carousel-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.4); transition: all .25s;
}
.carousel-dots button.on { background: var(--gold); width: 26px; border-radius: 5px; }

/* ---------------- 下载中心 ---------------- */
.section-download {
  background:
    radial-gradient(700px 340px at 50% 0%, rgba(232,180,90,.09), transparent),
    var(--bg2);
}
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dl-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 34px 20px; text-align: center; transition: all .3s;
}
.dl-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 10px 26px rgba(0,0,0,.5); }
.dl-icon { font-size: 36px; display: block; margin-bottom: 12px; }
.dl-card b { display: block; font-size: 19px; color: var(--gold); letter-spacing: 2px; margin-bottom: 6px; }
.dl-card small { color: var(--text-dim); font-size: 12.5px; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #070910; border-top: 1px solid var(--line); padding: 36px 0 26px; text-align: center; }
.footer-links { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); font-size: 13px; }
.footer-links a:hover { color: var(--gold); }
.footer-links i { color: #2a3047; font-style: normal; }
.footer-copy { font-size: 13px; color: #6a7086; }
.footer-copy.small { font-size: 11.5px; color: #4a5065; margin-top: 8px; }

/* ---------------- 返回顶部 ---------------- */
.back-top {
  position: fixed; right: 26px; bottom: 30px; z-index: 90;
  width: 44px; height: 44px; border-radius: 6px; display: none;
  align-items: center; justify-content: center; font-size: 15px;
  background: var(--gold-grad); color: #3a2405; font-weight: 900;
  box-shadow: 0 4px 14px rgba(0,0,0,.5);
}
.back-top.show { display: flex; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
  .main-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(8,10,18,.97); flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 24px; }
  .nav-toggle { display: block; margin-left: auto; }
  .btn-download-mini { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .camps-wrap { grid-template-columns: 1fr; }
  .camps-vs > span { font-size: 40px; }
  .equip-grid { grid-template-columns: repeat(3, 1fr); }
  .dl-grid { grid-template-columns: repeat(2, 1fr); }
  .job-panel { grid-template-columns: 1fr; }
  .job-panel img { max-width: 320px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .equip-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-grid { grid-template-columns: 1fr; }
  .hero-btns .btn { min-width: 140px; padding: 11px 20px; font-size: 16px; }
  .section { padding: 52px 0; }
}
