:root {
  --void: #050a14;
  --abyss: #0a1728;
  --holo-cyan: #00f2fe;
  --holo-teal: #4facfe;
  --spirit-jade: #1ae8af;
  --cinnabar: #ff4766;
  --amber-gold: #ffbe3b;
  --star-mist: #e2f1ff;
  --muted-rune: #8ca3ba;
  --line-holo: rgba(0, 242, 254, 0.22);
  --line-cinnabar: rgba(255, 71, 102, 0.26);
  --hud-glass: rgba(10, 23, 40, 0.76);
  --hud-card: rgba(14, 29, 52, 0.68);
  --shadow-neon: 0 20px 60px rgba(0, 242, 254, 0.16);
  --font-mythic: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  --font-rune: Consolas, "JetBrains Mono", Courier, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-mythic);
  color: var(--star-mist);
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 242, 254, 0.18), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(255, 71, 102, 0.14), transparent 32%),
    radial-gradient(circle at 50% 85%, rgba(26, 232, 175, 0.12), transparent 36%),
    linear-gradient(180deg, #040810 0%, #09172a 45%, #050c18 100%);
  line-height: 1.75;
  overflow-x: hidden;
  position: relative;
}

/* 全息山海经数字星轨与微粒异兽网格 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 242, 254, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 254, 0.05) 1px, transparent 1px),
    radial-gradient(circle, rgba(226, 241, 255, 0.6) 0 1px, transparent 1.6px);
  background-size: 54px 54px, 54px 54px, 160px 160px;
  opacity: 0.65;
}

/* 异兽流云全息光晕 */
body::after {
  content: "";
  position: fixed;
  top: -20vh;
  right: -15vw;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(0, 242, 254, 0.12), rgba(79, 172, 254, 0.06) 40%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.28s ease;
}

.container {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

/* 全息顶部导航台 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 12, 24, 0.82);
  border-bottom: 1px solid var(--line-holo);
  backdrop-filter: blur(20px);
}

.nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.brand img {
  width: 130px;
  filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.45));
}

.brand-badge {
  font-family: var(--font-rune);
  font-size: 11px;
  color: var(--spirit-jade);
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(26, 232, 175, 0.35);
  background: rgba(26, 232, 175, 0.08);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 10px;
  padding: 6px;
  border: 1px solid var(--line-holo);
  border-radius: 999px;
  background: rgba(8, 20, 36, 0.7);
  box-shadow: inset 0 0 14px rgba(0, 242, 254, 0.08);
}

.nav-links a {
  padding: 9px 18px;
  border-radius: 999px;
  color: var(--muted-rune);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-links a.active,
.nav-links a:hover {
  color: #030810;
  background: linear-gradient(135deg, var(--holo-cyan), var(--spirit-jade));
  box-shadow: 0 0 18px rgba(0, 242, 254, 0.5);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  border: 1px solid var(--holo-cyan);
  color: #030810;
  background: linear-gradient(135deg, var(--holo-cyan) 0%, #38bdf8 60%, var(--spirit-jade) 100%);
  box-shadow: 0 0 24px rgba(0, 242, 254, 0.35);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0, 242, 254, 0.55);
}

.btn.ghost {
  color: var(--holo-cyan);
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid var(--line-holo);
  box-shadow: none;
}

.btn.ghost:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--holo-cyan);
}

.btn.vermilion {
  color: #fff;
  background: linear-gradient(135deg, var(--cinnabar), #ff758c);
  border-color: rgba(255, 71, 102, 0.6);
  box-shadow: 0 0 22px rgba(255, 71, 102, 0.38);
}

/* 主屏 Hero 区域 */
.hero {
  padding: 86px 0 64px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 52px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--holo-cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-rune);
}

.eyebrow::before {
  content: "// SHANHAI CYBER RUNES";
  color: var(--spirit-jade);
  font-size: 11px;
  opacity: 0.9;
}

.eyebrow::after {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--holo-cyan), transparent);
}

h1, h2, h3 {
  margin: 0;
  color: #ffffff;
  line-height: 1.14;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(42px, 6.8vw, 80px);
  text-shadow: 0 0 30px rgba(0, 242, 254, 0.25);
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
}

h3 {
  font-size: 22px;
}

p {
  margin: 0;
  color: var(--muted-rune);
}

.lead {
  max-width: 660px;
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.82;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

/* 全息异兽卡片与控制台 HUD */
.hud-card {
  position: relative;
  border: 1px solid var(--line-holo);
  border-radius: 36px;
  background: linear-gradient(155deg, rgba(14, 29, 52, 0.85), rgba(7, 16, 30, 0.92));
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-neon);
  overflow: hidden;
}

/* 全息 HUD 四角标 */
.hud-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--holo-cyan);
  pointer-events: none;
  z-index: 5;
}
.hud-corner.tl { top: 14px; left: 14px; border-top: 2px solid var(--holo-cyan); border-left: 2px solid var(--holo-cyan); }
.hud-corner.tr { top: 14px; right: 14px; border-top: 2px solid var(--holo-cyan); border-right: 2px solid var(--holo-cyan); }
.hud-corner.bl { bottom: 14px; left: 14px; border-bottom: 2px solid var(--holo-cyan); border-left: 2px solid var(--holo-cyan); }
.hud-corner.br { bottom: 14px; right: 14px; border-bottom: 2px solid var(--holo-cyan); border-right: 2px solid var(--holo-cyan); }

.hero-hud {
  padding: 24px;
}

.hero-hud-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 26px;
  overflow: hidden;
  background: #0d2238;
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.hero-hud-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-hud-photo:hover img {
  transform: scale(1.04);
}

.beast-radar-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 242, 254, 0.12) 50%, transparent 100%);
  animation: radarScan 4s linear infinite;
}

@keyframes radarScan {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.beast-legend-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.beast-node {
  padding: 14px;
  border: 1px solid var(--line-holo);
  border-radius: 20px;
  background: rgba(5, 13, 26, 0.65);
}

.beast-node strong {
  display: block;
  font-family: var(--font-rune);
  font-size: 18px;
  color: var(--holo-cyan);
  line-height: 1.1;
}

.beast-node span {
  font-size: 12px;
  color: var(--muted-rune);
}

/* 标签列表 */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  color: var(--holo-cyan);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.28);
}

.tag::before {
  content: "◆";
  font-size: 9px;
  color: var(--spirit-jade);
}

/* 核心板块 Section */
.section {
  padding: 78px 0;
  position: relative;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}

.section-head p {
  max-width: 520px;
  font-size: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.mythic-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line-holo);
  border-radius: 30px;
  background: var(--hud-card);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.mythic-card:hover {
  transform: translateY(-4px);
  border-color: var(--holo-cyan);
}

.mythic-card img {
  margin-bottom: 20px;
  border-radius: 22px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #091728;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.mythic-card h3 {
  margin-bottom: 10px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mythic-card h3::before {
  content: "✦";
  color: var(--spirit-jade);
  font-size: 14px;
}

/* 探索未至之境全息罗盘区域 */
.shanhai-realm {
  position: relative;
  padding: 44px;
  border-radius: 40px;
  border: 1px solid var(--line-holo);
  background:
    radial-gradient(circle at 85% 15%, rgba(0, 242, 254, 0.16), transparent 35%),
    radial-gradient(circle at 15% 85%, rgba(255, 71, 102, 0.14), transparent 32%),
    linear-gradient(145deg, rgba(8, 20, 36, 0.95), rgba(4, 11, 22, 0.98));
  box-shadow: var(--shadow-neon);
  overflow: hidden;
}

.shanhai-realm::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 240px;
  height: 240px;
  border: 1px dashed rgba(0, 242, 254, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

/* 网页版入口页：山海全息舆图路线布局 */
.expedition-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 28px;
  align-items: start;
}

.expedition-aside {
  position: sticky;
  top: 104px;
  padding: 34px;
  border-radius: 36px;
  border: 1px solid var(--line-holo);
  background: linear-gradient(160deg, rgba(14, 29, 52, 0.95), rgba(7, 16, 30, 0.96));
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-neon);
}

.beacon-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid var(--line-holo);
  border-radius: 30px;
  background: var(--hud-card);
  backdrop-filter: blur(18px);
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.beacon-card:hover {
  transform: translateY(-3px);
  border-color: var(--holo-cyan);
}

.beacon-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 22px;
  background: #091728;
  border: 1px solid rgba(0, 242, 254, 0.22);
}

/* 帮助中心页：全息天工阁检索与问答布局 */
.help-hero {
  padding: 76px 0 34px;
  text-align: center;
}

.help-hero .lead {
  margin-left: auto;
  margin-right: auto;
}

.search-hud {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(780px, 100%);
  margin: 32px auto 0;
  padding: 10px;
  border: 1px solid var(--line-holo);
  border-radius: 999px;
  background: rgba(10, 23, 40, 0.88);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.16);
}

.search-hud span {
  flex: 1;
  padding-left: 20px;
  color: var(--muted-rune);
  text-align: left;
  font-size: 14px;
}

.faq-hud {
  border-top: 1px solid var(--line-holo);
}

.faq-hud-item {
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-holo);
}

.faq-hud-item h3 {
  color: var(--star-mist);
}

.faq-hud-item p {
  line-height: 1.8;
}

/* 底部全息铭刻栏 */
.footer {
  margin-top: 80px;
  padding: 42px 0;
  border-top: 1px solid var(--line-holo);
  background: rgba(3, 7, 15, 0.88);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted-rune);
  font-size: 14px;
}

.footer a {
  margin-left: 18px;
  color: var(--star-mist);
}

.footer a:hover {
  color: var(--holo-cyan);
}

@media (max-width: 940px) {
  .nav {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .hero-grid,
  .grid-2,
  .expedition-layout,
  .faq-hud-item {
    grid-template-columns: 1fr;
  }

  .expedition-aside {
    position: relative;
    top: auto;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .grid-3,
  .beast-legend-strip {
    grid-template-columns: 1fr;
  }

  .beacon-card {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 50px 0;
  }

  .footer-row,
  .section-head {
    display: block;
  }
}
