.page-home{
  --home-hero-title-size: clamp(2.6rem, 7.2vw, 5.8rem);
  --home-batch-size: clamp(5rem, 12vw, 9.5rem);
  --home-sidebar-width: 280px;
  --home-radius: calc(var(--radius-xl) + 8px);
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 18% 8%, rgba(27, 107, 138, .14), transparent 38%),
    radial-gradient(ellipse at 86% 24%, rgba(201, 168, 106, .08), transparent 32%),
    var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}

.page-home .container{
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.page-home a{
  color: inherit;
  text-decoration: none;
}

.page-home img{
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* ===== 首屏封面 ===== */
.page-home .home-hero{
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: clamp(110px, 14vh, 160px) 0 80px;
  isolation: isolate;
  background: linear-gradient(135deg, #070A0F 0%, #0A0E14 55%, #0F2C33 135%);
}

.page-home .home-hero__backdrop{
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.page-home .home-hero__bg{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .26;
  transform: scale(1.06);
  filter: saturate(1.2) contrast(1.1);
}

.page-home .home-hero__glow{
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
}

.page-home .home-hero__glow--blue{
  width: 360px;
  height: 360px;
  right: 8%;
  top: 18%;
  background: rgba(27, 107, 138, .34);
}

.page-home .home-hero__glow--gold{
  width: 240px;
  height: 240px;
  left: 12%;
  bottom: 6%;
  background: rgba(201, 168, 106, .16);
}

.page-home .home-hero__glow--purple{
  width: 280px;
  height: 280px;
  left: 44%;
  top: -80px;
  background: rgba(74, 59, 119, .32);
}

.page-home .home-hero__inner{
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}

.page-home .home-hero__info{
  max-width: 840px;
}

.page-home .home-hero__eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 9px 20px;
  border: 1px solid rgba(201, 168, 106, .42);
  border-radius: var(--radius-pill);
  background: rgba(201, 168, 106, .08);
  color: var(--color-gold);
  font-size: .78rem;
  letter-spacing: .18em;
  font-weight: 500;
  width: fit-content;
}

.page-home .home-hero__title{
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: var(--home-hero-title-size);
  line-height: 1.06;
  letter-spacing: -.02em;
  transform: skewX(-3deg);
  text-shadow: 0 18px 44px rgba(7, 10, 15, .9);
  background: linear-gradient(112deg, #F1EBDD 8%, #FFFFFF 42%, #C9A86A 88%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-home .home-hero__intro{
  max-width: 600px;
  margin: 0 0 30px;
  font-size: clamp(.98rem, 2vw, 1.16rem);
  line-height: 1.85;
  color: var(--color-muted);
}

.page-home .home-hero__cover-index{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-hero__index-pill{
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(15, 44, 51, .72);
  border: 1px solid rgba(91, 192, 190, .24);
  backdrop-filter: blur(6px);
  color: var(--color-text);
  font-size: .88rem;
  font-weight: 500;
  transition: transform .28s var(--ease), border-color .28s var(--ease), background .28s var(--ease), color .28s var(--ease);
}

.page-home .home-hero__index-pill:hover{
  transform: translateY(-3px);
  border-color: rgba(91, 192, 190, .66);
  background: rgba(27, 107, 138, .46);
  color: #fff;
}

.page-home .home-hero__batch{
  justify-self: start;
  position: relative;
  padding: 14px 8px 10px 30px;
  border-left: 2px solid var(--color-gold);
  background: linear-gradient(90deg, rgba(201, 168, 106, .14), transparent 72%);
}

.page-home .home-hero__batch-label{
  display: block;
  font-family: var(--font-mono);
  font-size: .84rem;
  letter-spacing: .32em;
  color: var(--color-gold);
}

.page-home .home-hero__batch-number{
  display: block;
  font-family: var(--font-mono);
  font-size: var(--home-batch-size);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  background: linear-gradient(180deg, #C9A86A 6%, #F1EBDD 46%, #7A2E3A 96%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 6px 0 10px;
}

.page-home .home-hero__batch-status{
  font-size: .8rem;
}

.page-home .home-hero__scroll-hint{
  position: absolute;
  left: 50%;
  bottom: 24px;
  translate: -50% 0;
  font-size: .76rem;
  letter-spacing: .28em;
  color: var(--color-muted);
  text-transform: uppercase;
}

.page-home .home-hero__scroll-hint::before,
.page-home .home-hero__scroll-hint::after{
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--color-muted);
  border-bottom: 2px solid var(--color-muted);
  rotate: 45deg;
  transform: translateY(-2px);
}

.page-home .home-hero__scroll-hint::before{
  margin-right: 10px;
}

.page-home .home-hero__scroll-hint::after{
  margin-left: 10px;
}

/* ===== 首页章节导航 ===== */
.page-home .home-chapter{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 40px 0 20px;
  position: relative;
  z-index: 3;
  margin-top: -8px;
}

.page-home .home-chapter__link{
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: .84rem;
  font-weight: 500;
  color: var(--color-muted);
  border: 1px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}

.page-home .home-chapter__link:hover,
.page-home .home-chapter__link.is-active{
  color: var(--color-text);
  border-color: rgba(27, 107, 138, .6);
  background: rgba(27, 107, 138, .16);
}

/* ===== 通用布局骨架 ===== */
.page-home .home-layout{
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
}

.page-home .section__header{
  margin-bottom: 26px;
}

.page-home .section__eyebrow{
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.page-home .section__title{
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -.01em;
  background: linear-gradient(116deg, #F1EBDD, #fff 62%, #C9A86A);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-home .section__desc{
  margin: 0;
  max-width: 640px;
  line-height: 1.9;
  color: var(--color-muted);
}

.page-home .home-aside-label{
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .2em;
  color: var(--color-gold);
  margin: 0 0 16px;
}

/* ===== 最新批次章节 ===== */
.page-home .home-update{
  background: var(--color-panel);
  padding: clamp(54px, 8vw, 88px) 0;
  position: relative;
  rotate: 0deg;
  scroll-margin-top: 90px;
}

.page-home .home-update::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), transparent 48%, var(--color-primary));
}

.page-home .home-update .home-layout{
  grid-template-columns: 1fr;
}

.page-home .home-update .home-layout__side{
  border-top: 1px solid rgba(201, 168, 106, .22);
  padding-top: 24px;
}

.page-home .home-update__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 26px;
}

.page-home .home-update .archive-card{
  background: rgba(10, 14, 20, .4);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid rgba(91, 192, 190, .14);
  transition: border-color .3s var(--ease), translate .3s var(--ease), background .3s var(--ease);
}

.page-home .home-update .archive-card:hover{
  border-color: rgba(91, 192, 190, .48);
  background: rgba(10, 14, 20, .64);
  translate: 0 -3px;
}

.page-home .archive-card__meta{
  margin: 0 0 10px;
  font-size: .8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
}

.page-home .archive-card__title{
  margin: 0 0 8px;
  font-size: 1.06rem;
  line-height: 1.5;
}

.page-home .archive-card__desc{
  margin: 0;
  font-size: .9rem;
  line-height: 1.75;
  color: var(--color-muted);
}

.page-home .home-update__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.page-home .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .9rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}

.page-home .btn--primary{
  background: linear-gradient(120deg, var(--color-primary), #1E7C9E);
  border: 1px solid rgba(91, 192, 190, .5);
  color: #fff;
}

.page-home .btn--primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(27, 107, 138, .36);
}

.page-home .btn--ghost{
  background: transparent;
  border: 1px solid rgba(201, 168, 106, .44);
  color: var(--color-gold);
}

.page-home .btn--ghost:hover{
  background: rgba(201, 168, 106, .1);
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.page-home .timeline{
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .timeline__item{
  position: relative;
  padding: 0 0 20px 22px;
}

.page-home .timeline__item::before{
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 14px rgba(27, 107, 138, .7);
}

.page-home .timeline__item:not(:last-child)::after{
  content: "";
  position: absolute;
  left: 8px;
  top: 22px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(27, 107, 138, .62), rgba(201, 168, 106, .3));
}

.page-home .timeline__date{
  display: block;
  font-family: var(--font-mono);
  font-size: .84rem;
  color: var(--color-gold);
}

.page-home .timeline__content{
  display: block;
  margin-top: 3px;
  font-size: .92rem;
  color: var(--color-text);
}

/* ===== 额度说明章节 ===== */
.page-home .home-quota{
  scroll-margin-top: 90px;
  background: var(--color-bg);
  padding: clamp(54px, 8vw, 88px) 0;
  position: relative;
}

.page-home .home-quota::after{
  content: "";
  position: absolute;
  right: -140px;
  top: 18%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 59, 119, .22), transparent 70%);
  pointer-events: none;
}

.page-home .home-quota .home-layout--media{
  gap: 36px;
}

.page-home .home-quota__media{
  margin: 0;
  border-radius: var(--home-radius);
  overflow: hidden;
  border: 1px solid rgba(91, 192, 190, .2);
  position: relative;
}

.page-home .home-quota__media::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, transparent 42%, rgba(27, 107, 138, .24));
  z-index: 1;
  pointer-events: none;
}

.page-home .home-quota__media img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-home .media-frame__caption{
  padding: 12px 16px;
  font-size: .8rem;
  color: var(--color-muted);
  background: rgba(10, 14, 20, .7);
  border-top: 1px solid rgba(91, 192, 190, .14);
  margin: 0;
  backdrop-filter: blur(4px);
}

.page-home .home-quota__list{
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.page-home .home-quota__list li{
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid rgba(138, 147, 163, .12);
  line-height: 1.7;
  font-size: .95rem;
}

.page-home .home-quota__list li::before{
  content: "";
  position: absolute;
  left: 4px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  rotate: 45deg;
  background: var(--color-gold);
}

.page-home .home-quota__list strong{
  color: var(--color-text);
  font-weight: 600;
  margin-right: 8px;
}

.page-home .home-quota__metrics{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.page-home .stat-card{
  background: rgba(15, 44, 51, .58);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  text-align: center;
  border: 1px solid rgba(91, 192, 190, .14);
}

.page-home .stat-card__value{
  display: block;
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(120deg, #fff, #5BC0BE);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-home .stat-card__label{
  display: block;
  margin-top: 6px;
  font-size: .78rem;
  color: var(--color-muted);
}

/* ===== 下载章节 ===== */
.page-home .home-download{
  scroll-margin-top: 90px;
  background: var(--color-panel);
  padding: clamp(54px, 8vw, 88px) 0;
  position: relative;
}

.page-home .home-download::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(10, 14, 20, .28), transparent 46%),
    repeating-linear-gradient(135deg, rgba(27, 107, 138, .06) 0 2px, transparent 2px 18px);
  pointer-events: none;
}

.page-home .home-download .container{
  position: relative;
}

.page-home .home-download .home-layout--media{
  gap: 36px;
}

.page-home .home-download__steps{
  list-style: none;
  counter-reset: step;
  margin: 0 0 28px;
  padding: 0;
}

.page-home .home-download__steps li{
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(138, 147, 163, .12);
  font-size: .94rem;
  line-height: 1.7;
}

.page-home .home-step-num{
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 700;
  color: var(--color-gold);
  border: 1px solid rgba(201, 168, 106, .36);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  background: rgba(201, 168, 106, .08);
}

.page-home .home-download__cta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.page-home .home-download__note{
  font-size: .82rem;
  color: var(--color-muted);
}

.page-home .home-download__media{
  margin: 0;
  border-radius: var(--home-radius);
  overflow: hidden;
  border: 1px solid rgba(201, 168, 106, .22);
  position: relative;
  max-width: 400px;
}

.page-home .home-download__media img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.page-home .home-download__media .media-frame__caption{
  background: rgba(7, 10, 15, .7);
  border-top: 1px solid rgba(201, 168, 106, .2);
}

/* ===== 客服入口章节 ===== */
.page-home .home-support{
  scroll-margin-top: 90px;
  background: var(--color-bg-deep);
  padding: clamp(54px, 8vw, 88px) 0;
  position: relative;
  overflow: hidden;
}

.page-home .home-support__bg{
  position: absolute;
  inset: 0;
}

.page-home .home-support__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
  filter: saturate(.9);
}

.page-home .home-support__bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #070A0F 20%, rgba(7, 10, 15, .6) 58%, rgba(74, 59, 119, .3));
}

.page-home .home-support__inner{
  position: relative;
  z-index: 2;
}

.page-home .home-support__cards{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 26px;
}

.page-home .home-support .archive-card{
  background: rgba(10, 14, 20, .62);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 20px;
  transition: border-color .3s var(--ease), translate .3s var(--ease);
}

.page-home .home-support .archive-card:hover{
  border-color: rgba(201, 168, 106, .4);
  translate: 0 -3px;
}

.page-home .home-support__footnote{
  margin: 22px 0 0;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--color-muted);
  padding: 14px 18px;
  border-left: 2px solid var(--color-gold);
  background: rgba(10, 14, 20, .44);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

/* ===== 近30天明细章节 ===== */
.page-home .home-recent{
  scroll-margin-top: 90px;
  background:
    radial-gradient(ellipse at 78% 30%, rgba(27, 107, 138, .2), transparent 40%),
    linear-gradient(115deg, #101828, #0A0E14 58%);
  padding: clamp(54px, 8vw, 88px) 0;
}

.page-home .home-recent__panel{
  border-radius: var(--home-radius);
  padding: clamp(26px, 5vw, 48px);
  background: linear-gradient(135deg, rgba(15, 44, 51, .72), rgba(10, 14, 20, .8));
  border: 1px solid rgba(91, 192, 190, .22);
  box-shadow: 0 30px 80px rgba(7, 10, 15, .42);
}

.page-home .home-recent__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 20px 0 28px;
}

.page-home .home-recent__feature{
  background: rgba(10, 14, 20, .4);
  border-radius: var(--radius-lg);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .06);
}

.page-home .home-recent__feature-title{
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--color-gold);
}

.page-home .home-recent__feature p{
  margin: 0;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--color-muted);
}

.page-home .home-recent__links{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== 标签组件 ===== */
.page-home .tag{
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .05em;
}

.page-home .tag--gold{
  background: rgba(201, 168, 106, .16);
  color: var(--color-gold);
  border: 1px solid rgba(201, 168, 106, .4);
}

.page-home .tag--blue{
  background: rgba(27, 107, 138, .2);
  color: #5BC0BE;
  border: 1px solid rgba(27, 107, 138, .4);
}

.page-home .tag--purple{
  background: rgba(74, 59, 119, .24);
  color: #9A84E8;
  border: 1px solid rgba(74, 59, 119, .5);
}

.page-home .tag--success{
  background: rgba(91, 192, 190, .16);
  color: var(--color-success);
  border: 1px solid rgba(91, 192, 190, .4);
}

/* ===== 无障碍 ===== */
.page-home .u-visually-hidden{
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ===== 桌面端增强 ===== */
@media (min-width: 860px){

  .page-home .home-hero{
    min-height: 88vh;
  }

  .page-home .home-hero__inner{
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
    gap: 40px;
  }

  .page-home .home-hero__batch{
    justify-self: end;
    text-align: right;
    padding: 14px 24px 10px 8px;
    border-left: none;
    border-right: 2px solid var(--color-gold);
    background: linear-gradient(270deg, rgba(201, 168, 106, .14), transparent 72%);
  }

  .page-home .home-hero__batch-status{
    justify-content: flex-end;
  }

  .page-home .home-layout{
    grid-template-columns: minmax(0, 1fr) var(--home-sidebar-width);
    gap: 56px;
  }

  .page-home .home-layout--media{
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
  }

  .page-home .home-layout--flip{
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  }

  .page-home .home-layout--flip > :first-child{
    order: 2;
  }

  .page-home .home-layout--flip > :last-child{
    order: 1;
  }

  .page-home .home-update__grid{
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .page-home .home-update .home-layout__side{
    border-top: none;
    border-left: 1px solid rgba(201, 168, 106, .22);
    padding-top: 0;
    padding-left: 30px;
    margin-top: 10px;
  }

  .page-home .home-quota__media{
    position: sticky;
    top: 108px;
  }

  .page-home .home-support__cards{
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .page-home .home-recent__grid{
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .page-home .home-recent__panel{
    padding: 52px 56px;
  }

  .page-home .container{
    width: min(var(--container), calc(100% - 72px));
  }

  .page-home .home-chapter{
    justify-content: flex-start;
    padding: 44px 0 24px;
    gap: 6px;
  }

  .page-home .home-chapter__link{
    padding: 10px 16px;
  }
}

@media (min-width: 1200px){

  .page-home .home-hero__info{
    padding-left: 4vw;
  }

  .page-home .home-update,
  .page-home .home-quota,
  .page-home .home-download,
  .page-home .home-support,
  .page-home .home-recent{
    padding: clamp(72px, 9vw, 120px) 0;
  }
}
