* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", sans-serif;
  background: #060c1a;
  color: #e8eefc;
  overflow-x: hidden;
}
::selection { background: #d9a13b; color: #060c1a; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

.page {
  width: 100%;
  margin: 0 auto;
  background: #060c1a;
}
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 首屏 ---------- */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #050a16;
}
#hero .hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: opacity .9s ease;
}
#hero .hero-poster.is-hidden { opacity: 0; }
#hero .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}
#hero .hero-video.show { opacity: 1; }
/* 底部压暗，保证按钮与画面过渡自然 */
#hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  z-index: 3;
  background: linear-gradient(180deg, rgba(6,12,26,0) 0%, rgba(6,12,26,.85) 78%, #060c1a 100%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 70px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 0 24px;
}

.btn {
  display: inline-block;
  min-width: 280px;
  padding: 20px 52px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 8px;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-4px); }
.btn-gold {
  color: #3a2600;
  background: linear-gradient(180deg, #ffe9a8 0%, #f6b93b 45%, #c9841a 100%);
  border: 2px solid #ffd977;
  box-shadow: 0 0 24px rgba(246,185,59,.5), inset 0 0 12px rgba(255,255,255,.35);
}
.btn-gold:hover { box-shadow: 0 0 40px rgba(246,185,59,.8); }
.btn-blue {
  color: #eaf4ff;
  background: linear-gradient(180deg, #7cc0ff 0%, #2f6fe0 50%, #143f96 100%);
  border: 2px solid #7cc0ff;
  box-shadow: 0 0 24px rgba(47,111,224,.5), inset 0 0 12px rgba(255,255,255,.25);
}
.btn-blue:hover { box-shadow: 0 0 40px rgba(124,192,255,.75); }

/* ---------- 通用区块 ---------- */
.section { padding: 100px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-title {
  display: block;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: 8px;
  line-height: 1.3;
  /* 不加 background-clip:text，避免部分环境（含截图/打印）文字整段消失 */
  color: #ffd977;
  text-shadow: 0 0 26px rgba(255,217,119,.45), 0 2px 0 rgba(0,0,0,.6);
  font-family: "STKaiti","KaiTi","楷体",serif;
  white-space: nowrap;
}
.section-sub {
  margin-top: 12px;
  color: #7fa8e6;
  letter-spacing: 3px;
  font-size: 15px;
}
/* 用 flex 排列装饰菱形，避免 ::before/::after 把标题挤成竖排 */
.section-head .section-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.section-title::before,
.section-title::after {
  content: "◆";
  flex: none;
  color: #d9a13b;
  font-size: 18px;
  text-shadow: none;
}

/* ---------- 游戏介绍 ---------- */
#intro {
  background: linear-gradient(180deg, #081022 0%, #0a1430 100%);
}
.intro-panel {
  max-width: 1160px;
  margin: 0 auto;
  padding: 44px 54px;
  background: rgba(18,32,64,.45);
  border: 1px solid rgba(255,217,119,.22);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.6), inset 0 0 80px rgba(0,0,0,.35);
}
.intro-block {
  padding: 22px 4px;
  border-bottom: 1px dashed rgba(255,217,119,.18);
}
.intro-block:last-child { border-bottom: none; }
.intro-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
}
.intro-num {
  font-family: "STKaiti","KaiTi","楷体",serif;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 18px currentColor;
}
.intro-name {
  font-family: "STKaiti","KaiTi","楷体",serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 3px;
  color: #ffd977;
  text-shadow: 0 0 24px rgba(255,217,119,.35);
}
.intro-block:nth-child(1) .intro-num,
.intro-block:nth-child(4) .intro-num { color: #ffd977; }
.intro-block:nth-child(2) .intro-num,
.intro-block:nth-child(5) .intro-num { color: #ff9f43; }
.intro-block:nth-child(3) .intro-num,
.intro-block:nth-child(6) .intro-num { color: #7ee081; }
.intro-block p {
  font-size: 17px;
  line-height: 2.1;
  color: #b8e6a6;
  letter-spacing: .5px;
}
.intro-block p .em {
  color: #ffc46b;
  font-weight: 700;
  font-style: normal;
  text-shadow: 0 0 12px rgba(255,196,107,.3);
}
.intro-block p strong { color: #ffd977; }

/* ---------- 装备展示 ---------- */
#equip { background: linear-gradient(180deg, #0a1430 0%, #060c1a 100%); }
.equip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}
.equip-item {
  background: rgba(18,32,64,.55);
  border: 1px solid rgba(124,192,255,.22);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  max-width: 100%;
  transition: border-color .25s ease, transform .25s ease;
}
.equip-item:hover { border-color: #d9a13b; transform: translateY(-6px); }
.equip-item img {
  display: block;
  height: auto;
  width: auto;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(47,111,224,.35);
}
.equip-item .equip-name {
  margin-top: 14px;
  font-size: 18px;
  color: #ffd977;
  letter-spacing: 3px;
  font-weight: 700;
}

/* ---------- 页脚 ---------- */
footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(124,192,255,.15);
  background: #050a16;
  color: #5f7db0;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1.9;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .section { padding: 76px 0; }
  .section-title { font-size: 38px; letter-spacing: 4px; }
  .intro-panel { padding: 32px 26px; }
}
@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .section-title { font-size: 28px; letter-spacing: 2px; gap: 10px; }
  .section-title::before, .section-title::after { font-size: 13px; }
  .section-sub { font-size: 13px; letter-spacing: 2px; }
  .hero-content { bottom: 48px; gap: 16px; }
  .btn { min-width: 0; flex: 1 1 0; max-width: 220px; padding: 15px 18px; font-size: 19px; letter-spacing: 4px; }
  .intro-panel { padding: 24px 18px; border-radius: 12px; }
  .intro-block { padding: 18px 0; }
  .intro-name { font-size: 22px; }
  .intro-num { font-size: 28px; }
  .intro-block p { font-size: 15px; line-height: 1.95; }
  .equip-list { gap: 22px; }
  .equip-item { padding: 12px; }
  footer { font-size: 12px; }
}
