/* ===== 四虎视频 · 导航站（按 Figma 还原，PC + 移动端兼容） ===== */
:root {
  --dh-red: #fe163e;
  --dh-red2: #e40011;
  --dh-bg: #0f0f13;
  --dh-card: #444;
  --dh-glass: rgba(255, 255, 255, 0.04);
  --dh-border: rgba(255, 255, 255, 0.1);
  --dh-muted: #a0aec0;
  --dh-muted2: #94a3b8;
}

html {
  background-color: var(--dh-bg);
}
body {
  margin: 0;
  background-color: var(--dh-bg);
  color: #fff;
  font-family: "PingFang SC", "Noto Sans SC", -apple-system, BlinkMacSystemFont,
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.dh-nav *,
.dh-nav *::before,
.dh-nav *::after {
  box-sizing: border-box;
}
.dh-nav a,
.dh-nav a:link,
.dh-nav a:visited,
.dh-nav a:hover,
.dh-nav a:active {
  text-decoration: none;
  color: inherit;
}
.dh-nav img {
  display: block;
}

/* ---------- 布局容器 ---------- */
.dh-nav {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 36px 16px;
  overflow: hidden;
}
/* 顶部背景图（Figma「导航背景图」），内容半透明覆盖其上 */
.dh-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  line-height: 0;
  pointer-events: none;
}
.dh-bg img {
  width: 100%;
  height: auto;
  display: block;
}
.dh-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 15, 19, 0.35) 0%,
    rgba(15, 15, 19, 0.65) 55%,
    var(--dh-bg) 100%
  );
}
.dh-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 32px;
}
/* 商务合作 角标 */
.dh-biz {
  position: fixed;
  top: 16px;
  right: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 52px;
  text-align: center;
}
.dh-biz img {
  width: 52px;
  height: 72px;
  display: block;
}
.dh-biz span {
  font-size: 13px;
  color: #fff;
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.dh-hero {
  position: relative;
  border-radius: 28px;
  padding: 32px;
  overflow: hidden;
  /* background: linear-gradient(
      135deg,
      rgba(11, 16, 32, 0.35) 0%,
      rgba(30, 27, 75, 0.3) 55%,
      rgba(15, 23, 42, 0.35) 100%
    ),
    rgba(0, 0, 0, 0.4); */
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px -10px rgba(124, 58, 237, 0.2),
    0 18px 40px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.dh-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dh-eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--dh-red);
}
.dh-eyebrow__text {
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}
.dh-hero__logo img {
  width: 198px;
  max-width: 80%;
  height: auto;
}
.dh-hero__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- 线路入口 ---------- */
.dh-routes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dh-routes__title {
  display: none;
  font-weight: 800;
  font-size: 28px;
  color: #fff;
  margin: 0 0 4px;
}
.dh-route {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #1d1d1d;
  border: 1px solid var(--dh-red2);
  text-align: center;
}
.dh-route__name {
  font-size: 14px;
  line-height: 20px;
  color: #fff;
}
.dh-route__url {
  font-size: 12px;
  line-height: 18px;
  color: var(--dh-red2);
  word-break: break-all;
}
.dh-route__cta {
  display: none;
  flex: none;
  padding: 12px 24px;
  border-radius: 999px;
  background: rgba(254, 22, 62, 0.2);
  border: 1px solid var(--dh-red);
  color: var(--dh-red);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 12px 24px 0 rgba(254, 22, 62, 0.25);
}

/* ---------- 通用区块标题 ---------- */
.dh-section-title {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.28px;
  color: #fff;
}

/* ---------- 热门分类导航 ---------- */
.dh-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dh-cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.dh-cat {
  display: flex;
  flex-direction: column;
  background: var(--dh-card);
  border-radius: 16px;
  overflow: hidden;
}
.dh-cat__head {
  position: relative;
  height: 113px;
  width: 100%;
}
/* .dh-cat__head--1 {
  background: linear-gradient(90deg, #ff8a65, #7e57c2);
}
.dh-cat__head--2 {
  background: linear-gradient(90deg, #3f51b5, #1a237e);
}
.dh-cat__head--3 {
  background: linear-gradient(90deg, #4fc3f7, #006064);
}
.dh-cat__head--4 {
  background: linear-gradient(90deg, #ec407a, #4a148c);
} */
.dh-cat__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* opacity: 0.2; */
}
.dh-cat__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  text-align: center;
}
.dh-cat__name {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}
.dh-cat__desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--dh-muted);
}

/* ---------- 使用说明 ---------- */
.dh-tips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.dh-tip {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: 16px;
  background: var(--dh-glass);
  border: 1px solid var(--dh-border);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.dh-tip__title {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}
.dh-tip__text {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--dh-muted);
}

/* ---------- 社交按钮 ---------- */
.dh-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.dh-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.dh-social__icon {
  width: 42px;
  height: 42px;
}
.dh-social__icon img,
.dh-social__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.dh-social__label {
  font-size: 12px;
  line-height: 18px;
  color: #fff;
  white-space: nowrap;
}

/* ---------- FAQ ---------- */
.dh-faqs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.dh-faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: 16px;
  background: var(--dh-glass);
  border: 1px solid var(--dh-border);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.dh-faq__q {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}
.dh-faq__a {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--dh-muted2);
}

/* ---------- 说明条目 ---------- */
.dh-notes {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--dh-muted2);
}
.dh-notes p {
  margin: 0;
}

/* ---------- 邮箱 / CTA ---------- */
.dh-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: 24px;
  background: var(--dh-red);
  overflow: hidden;
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.25);
}
.dh-cta__title {
  margin: 0;
  font-weight: 900;
  font-size: 24px;
  line-height: 1.25;
  color: #fff;
  word-break: break-word;
}
.dh-cta__title a {
  color: #fff;
  text-decoration: underline;
}
.dh-cta__btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dh-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 14px;
}
.dh-cta__btn--app {
  background: #fff;
  color: #111827 !important;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.15);
}
.dh-cta__btn--alt {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ---------- 页脚 ---------- */
.dh-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.dh-foot__logo img {
  width: 140px;
  height: auto;
}
.dh-foot__warn {
  margin: 0;
  font-weight: 700;
  font-size: 12px;
  color: var(--dh-red);
}
.dh-foot__copy {
  margin: 0;
  font-size: 12px;
  color: var(--dh-muted2);
  word-break: break-all;
}

/* ============================================================
   PC 端（≥ 820px）：按 Figma PC 稿尺寸还原
   ============================================================ */
@media (min-width: 820px) {
  .dh-nav {
    padding: 110px 25.6px;
  }
  .dh-content {
    max-width: 774px;
    gap: 40px;
  }
  .dh-biz {
    top: 84px;
    right: 40px;
    width: 71px;
    gap: 6px;
  }
  .dh-biz img {
    width: 71px;
    height: 99px;
  }
  .dh-biz span {
    font-size: 15px;
  }

  /* Hero */
  .dh-hero {
    padding: 56px;
    gap: 18px;
  }
  .dh-eyebrow__text {
    font-size: 13px;
    letter-spacing: 0.52px;
  }
  .dh-hero__logo img {
    width: 444px;
    max-width: 90%;
  }
  .dh-hero__desc {
    font-size: 16px;
  }

  /* 线路入口 */
  .dh-routes {
    gap: 16px;
  }
  .dh-routes__title {
    display: block;
  }
  .dh-route {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 50px;
    border-radius: 20px;
    text-align: left;
    background: linear-gradient(
      90deg,
      rgba(75, 27, 28, 0.25),
      rgba(15, 23, 42, 0.2)
    );
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid var(--dh-border);
    box-shadow: 0 10px 22px 0 rgba(124, 58, 237, 0.15),
      0 14px 28px 0 rgba(0, 0, 0, 0.25);
  }
  .dh-route__info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .dh-route__name {
    font-size: 24px;
    line-height: normal;
    font-weight: 900;
  }
  .dh-route__url {
    font-size: 20px;
    line-height: normal;
    font-weight: 700;
    color: var(--dh-red);
  }
  .dh-route__cta {
    display: flex;
  }

  /* 区块标题 */
  .dh-section-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0;
  }
  .dh-block {
    gap: 32px;
  }

  /* 分类卡片：4 列 */
  .dh-cats {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .dh-cat__head {
    height: 120px;
  }
  .dh-cat__body {
    gap: 12px;
    padding: 24px;
  }
  .dh-cat__name {
    font-size: 20px;
  }
  .dh-cat__desc {
    font-size: 14px;
  }

  /* 使用说明：2 列 */
  .dh-tips {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .dh-tip {
    min-height: 155px;
    padding: 27.6px;
    border-radius: 16.6px;
  }
  .dh-tip__title {
    font-size: 22px;
  }
  .dh-tip__text {
    font-size: 15px;
    line-height: 1.6;
  }

  /* 社交按钮 */
  .dh-socials {
    gap: 16px;
  }
  .dh-social {
    gap: 22px;
  }
  .dh-social__icon {
    width: 94px;
    height: 94px;
  }
  .dh-social__label {
    font-size: 24px;
    line-height: 40px;
  }

  /* FAQ：2 列 */
  .dh-faqs {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .dh-faq {
    padding: 27.6px;
    border-radius: 16.6px;
  }
  .dh-faq__q {
    font-size: 20px;
  }
  .dh-faq__a {
    font-size: 14px;
  }

  /* 说明条目 */
  .dh-notes {
    font-size: 15px;
  }

  /* CTA */
  .dh-cta {
    gap: 16px;
    padding: 32px;
    align-items: center;
    text-align: center;
  }
  .dh-cta__title {
    font-size: 32px;
    line-height: 1.3;
    text-align: center;
  }
  .dh-cta__btns {
    flex-direction: row;
    width: 100%;
    gap: 12px;
  }
  .dh-cta__btn {
    flex: 1;
    height: 56px;
    border-radius: 16px;
    font-size: 16px;
  }

  /* 页脚 */
  .dh-foot {
    gap: 18px;
  }
  .dh-foot__logo img {
    width: 280px;
  }
  .dh-foot__warn {
    font-size: 20px;
  }
  .dh-foot__copy {
    font-size: 24px;
  }
}
