/* ================================================================
   黄果短剧 · 单页样式
   前缀 hg-，全部作用域限定在 .hg 容器内
   主色：近黑紫 #08070f / 橙 #ff6a2b / 紫 #7b6ae8 / 冷白 #efeaf8
   配色取自应用图标（橙紫渐变星球）与剧集海报那套霓虹紫
   ================================================================ */

.hg {
  --hg-bg: #08070f;
  --hg-bg-2: #0f0d1a;
  --hg-card: #141122;
  --hg-line: #241f38;
  --hg-ink: #efeaf8;
  --hg-dim: #a29bb8;
  --hg-orange: #ff6a2b;
  --hg-purple: #7b6ae8;
  --hg-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;

  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 70px;
  color: var(--hg-ink);
  background: var(--hg-bg);
  box-shadow: 0 0 0 100vmax var(--hg-bg);
  clip-path: inset(0 -100vmax);
  font-family: var(--hg-sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
.hg * { box-sizing: border-box; }
.hg img { max-width: 100%; height: auto; display: block; }
.hg a { text-decoration: none; }

/* ---------------- 页头 ---------------- */
.hg-nav { border-bottom: 1px solid var(--hg-line); }
.hg-nav-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 74px;
  padding: 12px 0;
}
.hg-logo { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; color: var(--hg-ink); }
.hg-logo-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid #2c2544;
}
.hg-logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.hg-logo-txt { font-size: 16.5px; font-weight: 800; letter-spacing: .01em; }
.hg-nav-links {
  display: flex; gap: 24px;
  margin-left: auto;
  font-size: 14.5px;
  color: var(--hg-dim);
}
.hg-nav-links a { padding: 4px 0; border-bottom: 2px solid transparent; transition: .18s; }
.hg-nav-links a:hover { color: #fff; border-bottom-color: var(--hg-orange); }
.hg-nav-dl {
  flex: 0 0 auto;
  display: inline-flex; align-items: center;
  height: 40px; padding: 0 22px;
  border-radius: 9px;
  background: linear-gradient(135deg, #ff6a2b, #d1457f);
  color: #fff;
  font-size: 14.5px; font-weight: 700;
  box-shadow: 0 6px 20px rgba(255,106,43,.28);
  transition: .18s;
}
.hg-nav-dl:hover { transform: translateY(-1px); box-shadow: 0 9px 24px rgba(255,106,43,.38); }

/* ---------------- 首屏 ---------------- */
.hg-hero { padding: 72px 0 64px; }
.hg-hero-inner {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 46px;
  align-items: start;
}
.hg-hero-kicker {
  font-size: 12.5px;
  letter-spacing: .19em;
  color: #6a6288;
  font-weight: 700;
  margin-bottom: 18px;
}
.hg-hero h1 {
  font-size: clamp(30px, 4.4vw, 49px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.hg-hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, #ff6a2b 8%, #a06bf0 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hg-hero-lead {
  font-size: 16.5px;
  line-height: 1.95;
  color: #b4adc9;
  max-width: 620px;
  margin-bottom: 28px;
}
.hg-hero-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 16px; }
.hg-hero-btn {
  display: inline-flex; align-items: center;
  height: 50px; padding: 0 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff6a2b, #d1457f 60%, #7b6ae8);
  color: #fff;
  font-size: 16px; font-weight: 800;
  box-shadow: 0 8px 26px rgba(255,106,43,.3);
  transition: .18s;
}
.hg-hero-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,106,43,.42); }
.hg-hero-link { font-size: 14.5px; color: var(--hg-dim); border-bottom: 1px dashed #3a3354; padding-bottom: 2px; }
.hg-hero-link:hover { color: #fff; border-bottom-color: #6b6188; }
.hg-hero-note { font-size: 13.5px; color: #837c99; margin-bottom: 20px; }
.hg-hero-chips { display: flex; gap: 9px; flex-wrap: wrap; }
.hg-hero-chips span {
  font-size: 12.5px; color: #948cae;
  border: 1px solid #2a2440;
  border-radius: 999px;
  padding: 5px 13px;
}

/* 首屏海报：主图大、副图矮，底部靠齐 */
.hg-hero-pics {
  display: grid;
  grid-template-columns: 1.28fr .86fr;
  gap: 15px;
  align-items: start;
}
.hg-hero-main {
  width: 100%;
  border-radius: 15px;
  border: 1px solid #2c2544;
  box-shadow: 0 24px 56px rgba(0,0,0,.6);
}
.hg-hero-sub {
  width: 100%;
  margin-top: 172px;
  border-radius: 14px;
  border: 1px solid #2c2544;
  box-shadow: 0 18px 44px rgba(0,0,0,.55);
}

/* ---------------- 数据条 ---------------- */
.hg-facts {
  border-top: 1px solid var(--hg-line);
  border-bottom: 1px solid var(--hg-line);
  padding: 34px 0;
}
.hg-facts-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hg-fact b {
  display: block;
  font-size: 27px; font-weight: 800;
  color: #fff; letter-spacing: -.01em;
  line-height: 1.3;
}
.hg-fact span { display: block; font-size: 12.5px; color: #837c99; margin-top: 4px; line-height: 1.6; }

/* ---------------- 内容节 ---------------- */
.hg-vol { padding: 74px 0; }
.hg-vol-alt {
  background: var(--hg-bg-2);
  box-shadow: 0 0 0 100vmax var(--hg-bg-2);
  clip-path: inset(-1px -100vmax);
}
.hg-vol-no {
  display: inline-block;
  font-size: 11.5px; font-weight: 800;
  letter-spacing: .18em;
  color: var(--hg-orange);
  margin-bottom: 12px;
}
.hg-vol-head { max-width: 760px; margin-bottom: 32px; }
.hg-vol-head h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.3; font-weight: 800;
  letter-spacing: -.015em;
  margin-bottom: 12px;
}
.hg-vol-head p { font-size: 15px; color: #948cae; line-height: 1.85; }
.hg-vol-body { max-width: 860px; }
.hg-vol-body p { margin-bottom: 18px; color: #bab3cd; font-size: 15.5px; }
.hg-vol-body p strong { color: #fff; font-weight: 700; }

/* 表格 */
.hg-table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0 24px;
  font-size: 14px;
}
.hg-table th, .hg-table td {
  border: 1px solid var(--hg-line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.hg-table th { background: #17132a; color: #fff; font-weight: 700; }
.hg-table td { color: #b4adc9; }

/* 列表 */
.hg-list { list-style: none; margin: 6px 0 22px; padding: 0; }
.hg-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 11px;
  font-size: 15.5px;
  color: #bab3cd;
  line-height: 1.8;
}
.hg-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--hg-orange);
}
.hg-list li b { color: #fff; }

/* 有序步骤 */
.hg-ordered { margin: 0 0 24px; padding-left: 0; list-style: none; counter-reset: hgstep; }
.hg-ordered li {
  counter-increment: hgstep;
  position: relative;
  padding-left: 42px;
  font-size: 15.5px;
  color: #bab3cd;
  line-height: 1.85;
  margin-bottom: 16px;
}
.hg-ordered li::before {
  content: counter(hgstep);
  position: absolute;
  left: 0; top: 3px;
  width: 27px; height: 27px;
  border-radius: 8px;
  background: rgba(255,106,43,.14);
  border: 1px solid rgba(255,106,43,.4);
  color: #ff9a63;
  font-size: 13px; font-weight: 800;
  line-height: 25px;
  text-align: center;
}
.hg-ordered li b { color: #fff; }

/* 提示块 */
.hg-tip {
  border-left: 3px solid var(--hg-orange);
  background: #14101f;
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  font-size: 14.5px !important;
  color: #bab3cd !important;
}
.hg-tip b { color: #fff; }

/* 双海报 */
.hg-pics2 {
  display: flex;
  gap: 22px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hg-pics2 figure { margin: 0; width: 240px; }
.hg-pics2 img {
  width: 240px;
  border-radius: 13px;
  border: 1px solid #2c2544;
  box-shadow: 0 16px 38px rgba(0,0,0,.5);
}
.hg-pics2 figcaption {
  font-size: 12.5px;
  color: #837c99;
  margin-top: 10px;
  line-height: 1.6;
}

/* ---------------- FAQ ---------------- */
.hg-faq { padding: 70px 0 40px; }
.hg-faq-inner { max-width: 1080px; }
.hg-faq h2 {
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -.015em;
  margin-bottom: 28px;
}
.hg-q { border-top: 1px solid var(--hg-line); padding: 20px 0 18px; }
.hg-q h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 7px; }
.hg-q p { font-size: 14.5px; color: #948cae; line-height: 1.85; }

/* ---------------- 页脚 ---------------- */
.hg-foot {
  margin-top: 40px;
  border-top: 1px solid var(--hg-line);
  padding-top: 46px;
}
.hg-foot-cta {
  text-align: center;
  background: linear-gradient(155deg, #1b1230, #0c0916);
  border: 1px solid #2b2444;
  border-radius: 16px;
  padding: 44px 26px;
  margin-bottom: 30px;
}
.hg-foot-cta h2 {
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 800; color: #fff;
  margin-bottom: 10px;
}
.hg-foot-cta p { font-size: 14px; color: #948cae; margin-bottom: 22px; }
.hg-foot-btn {
  display: inline-flex; align-items: center;
  height: 48px; padding: 0 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff6a2b, #d1457f);
  color: #fff;
  font-size: 15px; font-weight: 800;
  box-shadow: 0 10px 28px rgba(255,106,43,.3);
}
.hg-foot-btn:hover { transform: translateY(-1px); }
.hg-foot-note {
  font-size: 12.5px;
  color: #6f6885;
  line-height: 1.9;
  max-width: 880px;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 960px) {
  .hg-hero-inner { grid-template-columns: 1fr; gap: 38px; }
  .hg-hero-pics { max-width: 600px; }
  .hg-hero-sub { margin-top: 130px; }
  .hg-facts-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 640px) {
  .hg { padding: 0 18px 56px; font-size: 15.5px; }
  .hg-nav-inner { gap: 16px; min-height: 64px; }
  .hg-nav-links { display: none; }
  .hg-logo-txt { font-size: 15px; }
  .hg-nav-dl { height: 36px; padding: 0 15px; font-size: 13.5px; margin-left: auto; }
  .hg-hero { padding: 46px 0 44px; }
  .hg-hero h1 { font-size: 30px; line-height: 1.28; }
  .hg-hero-lead { font-size: 15px; line-height: 1.9; }
  .hg-hero-btn { height: 46px; padding: 0 26px; font-size: 15px; }
  .hg-hero-pics { grid-template-columns: 1.22fr .84fr; gap: 10px; }
  .hg-hero-sub { margin-top: 96px; }
  .hg-hero-chips span { font-size: 11.5px; padding: 4px 11px; }
  .hg-facts { padding: 26px 0; }
  .hg-fact b { font-size: 22px; }
  .hg-vol { padding: 50px 0; }
  .hg-vol-head h2 { font-size: 23px; }
  .hg-vol-head p, .hg-vol-body p { font-size: 14.5px; }
  .hg-table { font-size: 12.5px; }
  .hg-table th, .hg-table td { padding: 9px 10px; }
  .hg-pics2 { gap: 12px; }
  .hg-pics2 figure { width: calc(50% - 6px); }
  .hg-pics2 img { width: 100%; }
  .hg-ordered li { font-size: 14.5px; }
  .hg-faq { padding: 48px 0 30px; }
  .hg-foot-cta { padding: 34px 18px; }
  .hg-foot-btn { width: 100%; justify-content: center; }
}
