/* ===== 黄豆魔改短剧 · 暖黑 + 黄豆黄 ===== */

.hd {
  --bg: #0c0b09;
  --card: #17140f;
  --card2: #12100b;
  --line: #2b251a;
  --yellow: #ffc61a;
  --orange: #ff8a3d;
  --text: #efeadf;
  --dim: #a1977f;
  --dim2: #7d7462;

  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.hd * {
  box-sizing: border-box;
}

.hd img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ---------- 导航 ---------- */
.hd-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 11, 9, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.hd-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.hd-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .3px;
  white-space: nowrap;
}

.hd-logo img {
  width: 40px;
  height: auto;
  border-radius: 9px;
}

.hd-logo span {
  color: var(--text);
}

.hd-nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 14px;
}

.hd-nav-links a {
  color: var(--dim);
  text-decoration: none;
  transition: color .2s;
}

.hd-nav-links a:hover {
  color: var(--yellow);
}

.hd-nav-dl {
  flex: none;
  display: inline-block;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--yellow);
  color: #1a1400;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(255, 198, 26, .22);
}

.hd-nav-dl:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255, 198, 26, .3);
}

/* ---------- 首屏 ---------- */
.hd-hero {
  position: relative;
  padding: 76px 0 64px;
  background:
    radial-gradient(900px 420px at 78% 8%, rgba(255, 198, 26, .11), transparent 62%),
    radial-gradient(700px 380px at 8% 92%, rgba(255, 138, 61, .09), transparent 66%);
}

.hd-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  gap: 56px;
  align-items: start;
}

.hd-hero-kicker {
  font-size: 12px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 700;
  margin-bottom: 18px;
}

.hd-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(32px, 4.1vw, 52px);
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -.5px;
  color: #fffdf6;
}

.hd-hero h1 em {
  font-style: normal;
  display: inline-block;
  color: var(--yellow);
  padding-bottom: 2px;
  border-bottom: 3px solid rgba(255, 198, 26, .28);
}

.hd-hero-lead {
  margin: 0 0 26px;
  color: var(--dim);
  font-size: 16px;
  line-height: 1.95;
  max-width: 620px;
}

.hd-hero-lead strong {
  color: #ded5bf;
  font-weight: 600;
}

.hd-hero-cta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hd-hero-btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffd23f, #ffb100);
  color: #1a1400;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(255, 179, 0, .26);
  transition: transform .15s, box-shadow .2s;
}

.hd-hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255, 179, 0, .34);
}

.hd-hero-link {
  color: var(--dim);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px dashed rgba(161, 151, 127, .5);
  padding-bottom: 2px;
}

.hd-hero-link:hover {
  color: var(--yellow);
  border-bottom-color: rgba(255, 198, 26, .6);
}

.hd-hero-note {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--dim2);
  letter-spacing: .3px;
}

.hd-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hd-hero-chips span {
  font-size: 12.5px;
  color: #cfc4a9;
  border: 1px solid var(--line);
  background: rgba(255, 198, 26, .05);
  padding: 5px 13px;
  border-radius: 999px;
}

.hd-hero-pics {
  position: relative;
  padding-top: 8px;
}

.hd-hero-main {
  margin: 0;
  width: 260px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #33291a;
  box-shadow: 0 26px 60px rgba(0, 0, 0, .55);
}

.hd-hero-sub {
  margin: 0;
  position: absolute;
  left: 246px;
  top: 132px;
  width: 220px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #33291a;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .5);
}

/* ---------- 数据条 ---------- */
.hd-facts {
  padding: 0 0 8px;
}

.hd-facts-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card2);
  overflow: hidden;
}

.hd-fact {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.hd-fact:last-child {
  border-right: 0;
}

.hd-fact b {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: -.3px;
  line-height: 1.4;
}

.hd-fact span {
  display: block;
  font-size: 13px;
  color: var(--dim2);
  line-height: 1.6;
  margin-top: 2px;
}

/* ---------- 正文 VOL ---------- */
.hd-vol {
  max-width: 940px;
  margin: 0 auto;
  padding: 72px 28px 8px;
}

.hd-vol-head {
  margin-bottom: 30px;
}

.hd-vol-no {
  font-size: 11.5px;
  letter-spacing: 2.4px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 12px;
}

.hd-vol h2 {
  margin: 0 0 12px;
  font-size: clamp(23px, 2.5vw, 31px);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -.3px;
  color: #fffdf6;
}

.hd-vol-head p {
  margin: 0;
  color: var(--dim2);
  font-size: 14.5px;
  line-height: 1.8;
}

.hd-vol-body p {
  margin: 0 0 18px;
  color: var(--dim);
  font-size: 15.5px;
  line-height: 1.95;
}

.hd-vol-body strong {
  color: #e9e0c9;
  font-weight: 600;
}

.hd-list {
  margin: 20px 0 22px;
  padding: 0;
  list-style: none;
}

.hd-list li {
  position: relative;
  padding: 11px 0 11px 24px;
  color: var(--dim);
  font-size: 15px;
  line-height: 1.8;
  border-top: 1px solid rgba(43, 37, 26, .8);
}

.hd-list li:last-child {
  border-bottom: 1px solid rgba(43, 37, 26, .8);
}

.hd-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 20px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--yellow);
}

.hd-list b {
  color: #e9e0c9;
  font-weight: 600;
}

.hd-tip {
  margin: 22px 0 0;
  padding: 16px 20px;
  border-left: 3px solid var(--yellow);
  background: rgba(255, 198, 26, .07);
  border-radius: 0 10px 10px 0;
  color: #cfc4a9;
  font-size: 14.5px;
  line-height: 1.85;
}

.hd-tip b {
  color: var(--yellow);
}

.hd-ordered {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  counter-reset: hdstep;
}

.hd-ordered li {
  counter-increment: hdstep;
  position: relative;
  padding: 12px 0 12px 50px;
  color: var(--dim);
  font-size: 15.5px;
  line-height: 1.85;
  border-bottom: 1px solid rgba(43, 37, 26, .75);
}

.hd-ordered li::before {
  content: counter(hdstep);
  position: absolute;
  left: 0;
  top: 13px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 198, 26, .12);
  border: 1px solid rgba(255, 198, 26, .35);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 28px;
}

.hd-ordered b {
  color: #e9e0c9;
  font-weight: 600;
}

.hd-figure {
  margin: 34px 0 0;
}

.hd-figure img {
  width: 260px;
  border-radius: 14px;
  border: 1px solid #33291a;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5);
}

.hd-figure figcaption {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--dim2);
  line-height: 1.7;
}

/* 交替区块 */
.hd-vol-alt .hd-vol-head,
.hd-vol-alt .hd-vol-body {
  padding: 0;
}

.hd-vol-alt {
  max-width: 1000px;
  padding: 52px 40px 40px;
  margin-top: 62px;
  margin-bottom: 6px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 198, 26, .05), transparent 40%),
    var(--card);
}

/* ---------- FAQ ---------- */
.hd-faq {
  max-width: 940px;
  margin: 0 auto;
  padding: 76px 28px 24px;
}

.hd-faq h2 {
  font-size: clamp(23px, 2.5vw, 30px);
  font-weight: 800;
  margin: 0 0 26px;
  color: #fffdf6;
}

.hd-q {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.hd-q h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #f4ecdb;
  line-height: 1.6;
}

.hd-q p {
  margin: 0;
  color: var(--dim);
  font-size: 14.5px;
  line-height: 1.9;
}

/* ---------- 页脚 ---------- */
.hd-foot {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 28px 72px;
}

.hd-foot-cta {
  text-align: center;
  padding: 46px 32px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(255, 198, 26, .13), transparent 70%),
    var(--card);
}

.hd-foot-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 800;
  color: #fffdf6;
}

.hd-foot-cta p {
  margin: 0 0 22px;
  color: var(--dim2);
  font-size: 14px;
}

.hd-foot-btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffd23f, #ffb100);
  color: #1a1400;
  font-weight: 800;
  font-size: 15.5px;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(255, 179, 0, .24);
}

.hd-foot-btn:hover {
  filter: brightness(1.05);
}

.hd-foot-note {
  margin: 26px 0 0;
  font-size: 12px;
  line-height: 1.9;
  color: var(--dim2);
}

/* ---------- 平板 ---------- */
@media (max-width: 1080px) {
  .hd-hero-inner {
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 36px;
  }

  .hd-hero-sub {
    left: 206px;
    top: 118px;
    width: 180px;
  }
}

/* ---------- 手机 ---------- */
@media (max-width: 900px) {
  .hd-nav-links {
    display: none;
  }

  .hd-nav-inner {
    padding: 12px 18px;
    gap: 14px;
  }

  .hd-logo {
    font-size: 15.5px;
  }

  .hd-hero {
    padding: 40px 0 44px;
  }

  .hd-hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }

  .hd-hero-pics {
    display: block;
    padding-top: 0;
  }

  .hd-hero-main {
    width: 72%;
    margin: 0 auto;
  }

  .hd-hero-sub {
    display: none;
  }

  .hd-hero h1 {
    font-size: 30px;
  }

  .hd-hero-lead {
    font-size: 15px;
    line-height: 1.9;
  }

  .hd-facts-inner {
    grid-template-columns: 1fr 1fr;
    padding: 0;
    margin: 0 20px;
  }

  .hd-fact {
    padding: 16px 18px;
  }

  .hd-fact:nth-child(2) {
    border-right: 0;
  }

  .hd-fact:nth-child(1),
  .hd-fact:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .hd-fact b {
    font-size: 20px;
  }

  .hd-fact span {
    font-size: 12.5px;
  }

  .hd-vol {
    padding: 52px 20px 8px;
  }

  .hd-vol-alt {
    margin: 36px 16px 6px;
    padding: 30px 22px 28px;
    border-radius: 16px;
  }

  .hd-vol h2 {
    font-size: 22px;
  }

  .hd-vol-body p,
  .hd-list li,
  .hd-ordered li {
    font-size: 15px;
  }

  .hd-figure img {
    width: 68%;
  }

  .hd-faq {
    padding: 54px 20px 18px;
  }

  .hd-foot {
    padding: 30px 20px 56px;
  }

  .hd-foot-cta {
    padding: 34px 22px;
  }
}

@media (max-width: 480px) {
  .hd-hero h1 {
    font-size: 26px;
  }

  .hd-hero-main {
    width: 58%;
  }

  .hd-hero-sub {
    width: 38%;
    margin-top: 40px;
  }

  .hd-hero-btn {
    padding: 13px 26px;
    font-size: 15px;
  }

  .hd-figure img {
    width: 78%;
  }
}
