/* ===================================================
   首页 · page-home
   =================================================== */

.page-home{
  --home-sec: clamp(3rem, 7.5vw, 6.5rem);
  --home-gap: clamp(1rem, 3vw, 1.7rem);
  background: var(--paper);
  color: var(--ink);
  position: relative;
}

.page-home .container{
  width: 100%;
}

/* ---------- 章节目录（宽屏才出现） ---------- */

.page-home .home-toc{
  display: none;
}

@media (min-width: 1440px){
  .page-home .home-toc{
    display: block;
    position: fixed;
    top: 50%;
    left: max(1rem, calc(50vw - 740px));
    transform: translateY(-50%);
    width: 108px;
    z-index: 20;
  }
  .page-home .home-toc__caption{
    margin: 0 0 .7rem;
    font-size: .7rem;
    letter-spacing: .3em;
    color: var(--grey-ink);
  }
  .page-home .home-toc__list{
    list-style: none;
    margin: 0;
    padding: 0 0 0 .85rem;
    border-left: 1px solid var(--line-strong);
    display: flex;
    flex-direction: column;
    gap: .6rem;
  }
  .page-home .home-toc__list a{
    display: block;
    font-size: .78rem;
    line-height: 1.4;
    color: var(--grey-ink);
    text-decoration: none;
    border-left: 2px solid transparent;
    margin-left: -0.95rem;
    padding: .1rem 0 .1rem .75rem;
    transition: color .25s var(--ease), border-color .25s var(--ease);
  }
  .page-home .home-toc__list a:hover,
  .page-home .home-toc__list a[aria-current="true"]{
    color: var(--crimson);
    border-left-color: var(--gold);
  }
}

/* ---------- 首屏 ---------- */

.page-home .hero{
  position: relative;
  padding: clamp(2.2rem, 6vw, 4.2rem) 0 clamp(2.6rem, 7vw, 5rem);
}

.page-home .hero::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 52%;
  background: linear-gradient(180deg, rgba(140, 28, 28, .09), rgba(140, 28, 28, 0));
  pointer-events: none;
}

.page-home .hero__grid{
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 5vw, 3.4rem);
  align-items: center;
}

@media (min-width: 960px){
  .page-home .hero__grid{
    grid-template-columns: 1.06fr .94fr;
    gap: clamp(2rem, 4vw, 4rem);
  }
}

.page-home .hero__title{
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 9vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: .35rem 0 .9rem;
  color: var(--ink);
}

.page-home .hero__lede{
  margin: 0 0 1.5rem;
  max-width: 30em;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.85;
  color: var(--ink-soft);
}

.page-home .hero__facts{
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.8rem;
}

.page-home .hero__facts li{
  display: flex;
  align-items: baseline;
  gap: .5rem;
  font-size: .86rem;
  color: var(--grey-ink);
}

.page-home .hero__facts strong{
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--gold-deep);
  line-height: 1;
}

.page-home .hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.page-home .hero__visual{
  position: relative;
}

.page-home .hero__figure{
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lift);
  background: linear-gradient(158deg, #7A1717 0%, #3A1414 46%, #211914 100%);
}

.page-home .hero__figure img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .hero__dragon{
  position: absolute;
  right: 0;
  bottom: 0;
  width: 82%;
  height: auto;
  pointer-events: none;
}

.page-home .hero__dragon-path{
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 620;
  stroke-dashoffset: 0;
}

.page-home .hero__dragon-branch{
  fill: none;
  stroke: var(--amber-gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  opacity: .78;
}

.page-home .hero__dragon-node{
  fill: #211914;
  stroke: var(--amber-gold);
  stroke-width: 2;
}

@media (prefers-reduced-motion: no-preference){
  .page-home .hero__dragon-path{
    animation: home-dragon-draw 1.6s var(--ease) .2s both;
  }
  .page-home .hero__dragon-branch{
    animation: home-dragon-fade .9s var(--ease) 1s both;
  }
}

@keyframes home-dragon-draw{
  from{ stroke-dashoffset: 620; }
  to{ stroke-dashoffset: 0; }
}

@keyframes home-dragon-fade{
  from{ opacity: 0; }
  to{ opacity: .78; }
}

/* ---------- 通用章节 ---------- */

.page-home .section{
  padding: var(--home-sec) 0;
}

.page-home .section-head{
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin-bottom: clamp(1.6rem, 4vw, 2.6rem);
}

@media (min-width: 720px){
  .page-home .section-head{
    flex-direction: row;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .page-home .section-head > div{
    flex: 1 1 auto;
    min-width: 0;
  }
}

.page-home .section-head__desc{
  margin: .55rem 0 0;
  max-width: 40em;
  color: var(--grey-ink);
  font-size: .96rem;
  line-height: 1.8;
}

.page-home .chapter-no{
  flex: 0 0 auto;
}

/* ---------- 01 三条内容线 ---------- */

.page-home .section--lines{
  background: var(--paper);
}

.page-home .lines{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}

@media (min-width: 820px){
  .page-home .lines{
    grid-template-columns: repeat(3, 1fr);
  }
}

.page-home .line{
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-raised);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.page-home .line::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--line-accent, var(--crimson));
  z-index: 2;
}

.page-home .line--jade{ --line-accent: var(--jade); }
.page-home .line--orange{ --line-accent: var(--amber-orange); }
.page-home .line--gold{ --line-accent: var(--amber-gold); }

.page-home .line__inner{
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.page-home .line__media{
  display: block;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(33, 25, 20, .85), rgba(140, 28, 28, .55));
}

.page-home .line__media img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.page-home .line__body{
  padding: 1.15rem 1.2rem 1.3rem 1.35rem;
}

.page-home .line__title{
  margin: .6rem 0 .45rem;
  font-family: var(--font-display);
  font-size: 1.16rem;
  line-height: 1.45;
  color: var(--ink);
}

.page-home .line__text{
  margin: 0 0 .9rem;
  font-size: .9rem;
  line-height: 1.75;
  color: var(--grey-ink);
}

.page-home .line__cta{
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--vermilion);
}

.page-home .line__cta i{
  font-style: normal;
  transition: transform .28s var(--ease);
}

@media (hover: hover){
  .page-home .line:hover{
    transform: translateY(-4px) rotate(-.4deg);
    box-shadow: var(--shadow-lift);
  }
  .page-home .line:hover .line__media img{
    transform: scale(1.04);
  }
  .page-home .line:hover .line__cta i{
    transform: translateX(4px);
  }
}

/* ---------- 02 供应商带 ---------- */

.page-home .supplier-band{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: clamp(1.7rem, 4.6vw, 3.2rem);
  background: linear-gradient(135deg, #2C1B16 0%, #211914 52%, #4A1414 100%);
  color: var(--paper);
  box-shadow: var(--shadow-lift);
}

.page-home .supplier-band::after{
  content: "";
  position: absolute;
  right: -14%;
  bottom: -46%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, .3), rgba(201, 162, 39, 0) 66%);
  pointer-events: none;
}

.page-home .supplier-band__head{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin-bottom: clamp(1.6rem, 4vw, 2.4rem);
}

@media (min-width: 720px){
  .page-home .supplier-band__head{
    flex-direction: row;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .page-home .supplier-band__head > div{
    flex: 1 1 auto;
    min-width: 0;
  }
}

.page-home .chapter-no--light{
  background: rgba(201, 162, 39, .14);
  border-color: rgba(224, 184, 76, .55);
  color: var(--amber-gold);
}

.page-home .eyebrow--light{
  color: var(--amber-gold);
}

.page-home .supplier-band__title{
  margin: .35rem 0 .7rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  line-height: 1.35;
  color: #FBF6EB;
}

.page-home .supplier-band__desc{
  margin: 0;
  max-width: 38em;
  font-size: .95rem;
  line-height: 1.85;
  color: rgba(244, 236, 221, .78);
}

.page-home .supplier-band__stats{
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1rem;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(201, 162, 39, .3);
  border-bottom: 1px solid rgba(201, 162, 39, .3);
}

@media (min-width: 820px){
  .page-home .supplier-band__stats{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.page-home .stat--dark{
  display: flex;
  flex-direction: column;
  gap: .4rem;
  min-width: 0;
}

.page-home .stat--dark .stat__num{
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 2.35rem);
  font-weight: 700;
  line-height: 1;
  color: var(--amber-gold);
}

.page-home .stat--dark .stat__label{
  font-size: .82rem;
  letter-spacing: .04em;
  color: rgba(244, 236, 221, .7);
}

.page-home .supplier-points{
  position: relative;
  list-style: none;
  margin: clamp(1.4rem, 3.5vw, 2rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
}

@media (min-width: 820px){
  .page-home .supplier-points{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
  }
}

.page-home .supplier-points li{
  position: relative;
  padding-left: 1.15rem;
  font-size: .92rem;
  line-height: 1.8;
  color: rgba(244, 236, 221, .86);
}

.page-home .supplier-points li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--gold);
}

/* ---------- 03 派彩与结算 ---------- */

.page-home .settle-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}

@media (min-width: 820px){
  .page-home .settle-grid{
    grid-template-columns: 1fr 1fr;
  }
}

.page-home .settle-card{
  position: relative;
  padding: clamp(1.3rem, 3.4vw, 1.9rem);
  background: var(--paper-raised);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.page-home .settle-card--accent{
  background: linear-gradient(168deg, #FBF6EB 0%, #F6EBD6 100%);
  border-color: var(--line-strong);
}

.page-home .settle-card__mark{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .9rem;
}

.page-home .settle-card__title{
  margin: 0 0 .7rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  line-height: 1.45;
  color: var(--ink);
}

.page-home .settle-card__text{
  margin: 0 0 1.2rem;
  font-size: .94rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

.page-home .settle-card__link{
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--vermilion);
  text-decoration: none;
  border-bottom: 1px solid rgba(179, 58, 43, .35);
  padding-bottom: 2px;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}

.page-home .settle-card__link span{
  transition: transform .25s var(--ease);
}

@media (hover: hover){
  .page-home .settle-card__link:hover{
    color: var(--crimson);
    border-bottom-color: var(--crimson);
  }
  .page-home .settle-card__link:hover span{
    transform: translateX(4px);
  }
}

.page-home .faq-preview{
  margin-top: clamp(1.8rem, 4.5vw, 2.8rem);
}

.page-home .faq-preview__title{
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--grey-ink);
  letter-spacing: .04em;
}

/* ---------- 04 新访客三步 ---------- */

.page-home .section--start{
  background:
    linear-gradient(180deg, rgba(226, 215, 195, .5) 0%, rgba(226, 215, 195, 0) 70%);
}

.page-home .steps{
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}

@media (min-width: 820px){
  .page-home .steps{
    grid-template-columns: repeat(3, 1fr);
  }
}

.page-home .step{
  position: relative;
  padding: 1.5rem 1.3rem 1.4rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper-raised);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.page-home .step::after{
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 1.5rem;
  width: 26px;
  height: 1px;
  background: var(--line-strong);
}

@media (hover: hover){
  .page-home .step:hover{
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
  }
}

.page-home .step__no{
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--line-strong);
  letter-spacing: -.03em;
  margin-bottom: .8rem;
}

.page-home .step__title{
  margin: 0 0 .55rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ink);
}

.page-home .step__text{
  margin: 0 0 1.1rem;
  font-size: .91rem;
  line-height: 1.8;
  color: var(--grey-ink);
}

.page-home .step__link{
  margin-top: auto;
  align-self: flex-start;
  font-size: .87rem;
  font-weight: 600;
  color: var(--crimson);
  text-decoration: none;
  border-bottom: 1px solid rgba(140, 28, 28, .3);
  padding-bottom: 2px;
  transition: border-color .25s var(--ease);
}

@media (hover: hover){
  .page-home .step__link:hover{
    border-bottom-color: var(--crimson);
  }
}

/* ---------- 05 动态与客服 ---------- */

.page-home .updates-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 4vw, 2.4rem);
}

@media (min-width: 900px){
  .page-home .updates-grid{
    grid-template-columns: 1.62fr 1fr;
    align-items: start;
  }
}

.page-home .updates-main .section-head{
  margin-bottom: clamp(1.1rem, 3vw, 1.7rem);
}

.page-home .news-list{
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}

.page-home .news-item{
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .45rem .8rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line);
}

.page-home .news-item:first-child{
  border-top: 1px solid var(--line);
}

.page-home .news-item__title{
  flex: 1 1 15rem;
  min-width: 0;
  font-size: .96rem;
  line-height: 1.65;
  color: var(--ink);
  text-decoration: none;
  transition: color .25s var(--ease);
}

@media (hover: hover){
  .page-home .news-item__title:hover{
    color: var(--crimson);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

.page-home .news-item__time{
  flex: 0 0 auto;
  font-size: .8rem;
  color: var(--grey-ink);
  letter-spacing: .06em;
}

.page-home .updates-more{
  align-self: flex-start;
}

.page-home .contact-aside{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 1.9rem);
  background: linear-gradient(160deg, #8C1C1C 0%, #5E1111 100%);
  color: #FBF6EB;
  box-shadow: var(--shadow-lift);
}

.page-home .contact-aside::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 39, 0));
}

.page-home .contact-aside__title{
  margin: 0 0 .75rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.45;
  color: #FBF6EB;
}

.page-home .contact-aside__text{
  margin: 0 0 1.15rem;
  font-size: .9rem;
  line-height: 1.85;
  color: rgba(251, 246, 235, .82);
}

.page-home .contact-aside__list{
  margin: 0 0 1.3rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.page-home .contact-aside__list > div{
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.page-home .contact-aside__list dt{
  font-size: .74rem;
  letter-spacing: .18em;
  color: rgba(224, 184, 76, .9);
}

.page-home .contact-aside__list dd{
  margin: 0;
  font-size: .91rem;
  line-height: 1.6;
  color: #FBF6EB;
  word-break: break-all;
}

.page-home .contact-aside__btn{
  width: 100%;
  justify-content: center;
}

/* ---------- 返回顶部 ---------- */

.page-home .to-top{
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 40;
}

/* ---------- 小屏收尾 ---------- */

@media (max-width: 520px){
  .page-home .hero__facts{
    gap: .6rem 1.2rem;
  }
  .page-home .hero__facts strong{
    font-size: 1.3rem;
  }
  .page-home .hero__dragon{
    width: 96%;
  }
  .page-home .line__body{
    padding: 1rem 1rem 1.15rem 1.2rem;
  }
  .page-home .news-item__time{
    margin-left: auto;
  }
}
<<<END>>>
