/* ============================================================
   首页 page-home
   ============================================================ */
.page-home {
  --home-ink: #0F1B2D;
  --home-line-dark: rgba(247, 245, 239, .14);
  --home-gold-soft: rgba(242, 201, 76, .32);
  --home-green-soft: rgba(47, 158, 110, .22);
  display: block;
}

/* ---------- 封面首屏 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 52px 0 60px;
  background:
    radial-gradient(120% 90% at 88% 12%, rgba(47, 158, 110, .22) 0%, rgba(47, 158, 110, 0) 58%),
    linear-gradient(156deg, #0F1B2D 0%, #12293B 48%, #16362C 100%);
  color: var(--paper);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(247, 245, 239, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 245, 239, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .2));
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .2));
}

.page-home .hero__slash {
  position: absolute;
  z-index: 1;
  left: -8%;
  top: 62%;
  width: 76%;
  height: 1px;
  background: linear-gradient(90deg, rgba(242, 201, 76, 0) 0%, rgba(242, 201, 76, .7) 55%, rgba(242, 201, 76, 0) 100%);
  transform: rotate(-9deg);
  transform-origin: left center;
  pointer-events: none;
}

.page-home .hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

.page-home .hero__copy {
  max-width: 640px;
}

.page-home .hero__kicker {
  color: var(--green);
  letter-spacing: .18em;
}

.page-home .hero__title {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.16;
  letter-spacing: -.02em;
  color: var(--paper);
}

.page-home .hero__lede {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(247, 245, 239, .78);
}

.page-home .hero__index {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--home-line-dark);
  border: 1px solid var(--home-line-dark);
}

.page-home .hero__index-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-areas:
    "no label"
    "no note";
  align-items: center;
  gap: 2px 12px;
  padding: 14px 18px 14px 14px;
  background: rgba(15, 27, 45, .62);
  color: var(--paper);
  text-decoration: none;
  transition: background .22s var(--ease), color .22s var(--ease);
}

.page-home .hero__index-item:hover,
.page-home .hero__index-item:focus-visible {
  background: rgba(242, 201, 76, .1);
}

.page-home .hero__index-no {
  grid-area: no;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--green);
}

.page-home .hero__index-label {
  grid-area: label;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .01em;
  position: relative;
  padding-right: 24px;
}

.page-home .hero__index-label::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--gold);
  transition: transform .22s var(--ease);
}

.page-home .hero__index-item:hover .hero__index-label::after {
  transform: translateY(-50%) translateX(3px);
}

.page-home .hero__index-note {
  grid-area: note;
  font-size: 13px;
  color: var(--muted);
}

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

.page-home .hero__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--home-gold-soft);
  background: #0B1420;
}

.page-home .hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.75) contrast(1.05);
}

.page-home .hero__caption {
  margin: 12px 0 0;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
}

/* 悬浮下载徽章（移动端为静态横条） */
.page-home .hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 16px;
  padding: 14px 18px;
  border: 1px solid var(--gold-dim);
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  border-radius: 2px;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), background .24s var(--ease);
}

.page-home .hero-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-deep);
  flex: none;
  box-shadow: 0 0 0 4px rgba(31, 111, 78, .22);
}

.page-home .hero-badge__label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
}

.page-home .hero-badge__ver {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(15, 27, 45, .68);
}

/* ---------- 板块 bento ---------- */
.page-home .boards__head {
  max-width: 720px;
}

.page-home .boards__kicker {
  color: var(--green-deep);
  letter-spacing: .18em;
}

.page-home .boards__intro {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: #55595f;
}

.page-home .bento {
  margin-top: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.page-home .bento__figure {
  margin: 0;
}

.page-home .bento__figure .frame {
  border: 1px solid var(--line);
  background: #fff;
}

.page-home .bento__cap {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .06em;
  color: #8B8F96;
}

.page-home .bento__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 22px 22px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .24s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease);
}

.page-home .bento__card:hover,
.page-home .bento__card:focus-within {
  transform: translateY(-6px);
  border-color: var(--gold-dim);
  box-shadow: 0 16px 32px rgba(15, 27, 45, .09);
}

.page-home .bento__no {
  position: absolute;
  top: -11px;
  left: 20px;
  padding: 0 8px;
  background: var(--paper);
  color: var(--gold-dim);
  font-size: 12px;
  letter-spacing: .1em;
}

.page-home .bento__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ink);
}

.page-home .bento__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #4A4E55;
}

.page-home .bento__scene {
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid var(--green);
  font-size: 13px;
  line-height: 1.7;
  color: #6C7178;
}

.page-home .bento__link {
  margin-top: auto;
  padding-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green-deep);
  text-decoration: none;
  border-top: 1px solid var(--line);
  transition: color .2s var(--ease);
}

.page-home .bento__link:hover {
  color: var(--gold-dim);
}

/* ---------- 运营规模 ---------- */
.page-home .stats {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}

.page-home .stats__texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-home .stats__texture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .14;
  filter: grayscale(.6);
}

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

.page-home .stats__kicker {
  color: var(--gold);
  letter-spacing: .18em;
}

.page-home .stats__head {
  max-width: 620px;
}

.page-home .stats__grid {
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--home-line-dark);
  border: 1px solid var(--home-line-dark);
}

.page-home .stats__cell {
  background: #101E32;
  padding: 26px 20px 22px;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
}

.page-home .stats__key {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted);
  order: 2;
}

.page-home .stats__val {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 32px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--gold);
}

.page-home .stats__val span {
  margin-left: 6px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .04em;
  color: rgba(242, 201, 76, .72);
}

.page-home .stats__note {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(247, 245, 239, .62);
}

/* ---------- 更新索引 ---------- */
.page-home .updates__head {
  max-width: 760px;
}

.page-home .updates__kicker {
  color: var(--green-deep);
  letter-spacing: .18em;
}

.page-home .updates__intro {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: #55595f;
}

.page-home .updates__layout {
  margin-top: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

.page-home .updates__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .updates__item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 14px 20px 4px;
  background: var(--paper);
  transition: background .22s var(--ease), padding-left .22s var(--ease);
}

.page-home .updates__item:hover {
  background: #fff;
  padding-left: 12px;
}

.page-home .updates__tag {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--gold-dim);
  padding-top: 4px;
}

.page-home .updates__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
}

.page-home .updates__text {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: #5C6067;
}

.page-home .updates__figure {
  margin: 0;
}

.page-home .updates__figure .frame {
  border: 1px solid var(--line);
  background: #fff;
}

.page-home .updates__cap {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .06em;
  color: #8B8F96;
}

.page-home .updates__more {
  margin: 34px 0 0;
}

/* ---------- 会员等级 ---------- */
.page-home .tiers {
  background: var(--ink-2);
}

.page-home .tiers__kicker {
  color: var(--green);
  letter-spacing: .18em;
}

.page-home .tiers__head {
  max-width: 700px;
}

.page-home .tiers__intro {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(247, 245, 239, .66);
}

.page-home .tiers__rail {
  list-style: none;
  margin: 40px 0 0;
  padding: 4px 0 18px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .tiers__rail::-webkit-scrollbar {
  height: 5px;
}

.page-home .tiers__rail::-webkit-scrollbar-thumb {
  background: rgba(242, 201, 76, .42);
  border-radius: 99px;
}

.page-home .tier {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 20px;
  background: rgba(15, 27, 45, .72);
  border: 1px solid rgba(242, 201, 76, .18);
  transition: border-color .24s var(--ease), transform .24s var(--ease);
}

.page-home .tier:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
}

.page-home .tier__no {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--gold);
}

.page-home .tier__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--paper);
}

.page-home .tier__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(247, 245, 239, .74);
}

.page-home .tier__meta {
  margin: auto 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(247, 245, 239, .12);
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--green);
}

.page-home .tiers__foot {
  margin: 26px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(247, 245, 239, .66);
}

.page-home .tiers__foot a {
  margin-left: 6px;
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 201, 76, .4);
}

.page-home .tiers__foot a:hover {
  border-bottom-color: var(--gold);
}

/* ---------- 高频场景 ---------- */
.page-home .scenes__kicker {
  color: var(--green-deep);
  letter-spacing: .18em;
}

.page-home .scenes__head {
  max-width: 720px;
}

.page-home .scenes__grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-home .scene {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 22px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease);
}

.page-home .scene:hover,
.page-home .scene:focus-visible {
  transform: translateY(-6px);
  border-color: var(--gold-dim);
  background: #fff;
}

.page-home .scene__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--green-deep);
  border: 1px solid var(--line);
  background: #fff;
  transition: color .24s var(--ease), border-color .24s var(--ease);
}

.page-home .scene:hover .scene__icon {
  color: var(--gold-dim);
  border-color: var(--gold-dim);
}

.page-home .scene__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.page-home .scene__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #5C6067;
}

.page-home .scene__go {
  margin-top: auto;
  padding-top: 12px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--green-deep);
}

.page-home .scenes__note {
  margin: 28px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--gold);
  background: rgba(242, 201, 76, .1);
  font-size: 14px;
  line-height: 1.8;
  color: #4A4E55;
}

/* ---------- 合作与联系 ---------- */
.page-home .coop {
  background:
    radial-gradient(90% 80% at 12% 8%, rgba(47, 158, 110, .18) 0%, rgba(47, 158, 110, 0) 60%),
    var(--ink);
}

.page-home .coop__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

.page-home .coop__kicker {
  color: var(--gold);
  letter-spacing: .18em;
}

.page-home .coop__lede {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(247, 245, 239, .68);
}

.page-home .coop__list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--home-line-dark);
  border: 1px solid var(--home-line-dark);
}

.page-home .coop__item {
  padding: 20px 18px;
  background: #101E32;
}

.page-home .coop__item-no {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--green);
}

.page-home .coop__item-title {
  margin: 6px 0 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--paper);
}

.page-home .coop__item-text {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(247, 245, 239, .62);
}

.page-home .coop__cta {
  margin: 30px 0 0;
}

.page-home .coop__card {
  align-self: start;
  padding: 28px 24px;
  background: var(--ink-2);
  border: 1px solid var(--home-gold-soft);
}

.page-home .coop__card-tag {
  margin: 0;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--gold);
}

.page-home .coop__card-title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--paper);
}

.page-home .coop__contact {
  margin: 22px 0 0;
  display: grid;
  gap: 16px;
}

.page-home .coop__row dt {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
}

.page-home .coop__row dd {
  margin: 5px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(247, 245, 239, .88);
  word-break: break-word;
}

.page-home .coop__row dd a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 201, 76, .45);
}

.page-home .coop__row dd a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.page-home .coop__hint {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(247, 245, 239, .12);
  font-size: 13px;
  line-height: 1.8;
  color: rgba(247, 245, 239, .58);
}

.page-home .coop__icp {
  margin: 16px 0 0;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}

/* ============================================================
   响应式
   ============================================================ */
@media (min-width: 620px) {
  .page-home .scenes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .coop__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .stats__val {
    font-size: 38px;
  }
}

@media (min-width: 900px) {
  .page-home .hero {
    padding: 88px 0 104px;
  }

  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
    gap: 56px;
    align-items: center;
  }

  .page-home .hero__title {
    font-size: 52px;
  }

  .page-home .hero__lede {
    font-size: 17px;
    max-width: 540px;
  }

  .page-home .hero__index {
    max-width: 520px;
  }

  .page-home .hero-badge {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 70;
    margin: 0;
    width: 104px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    text-align: center;
    box-shadow: 0 16px 36px rgba(15, 27, 45, .38);
  }

  .page-home .hero-badge:hover {
    transform: translateY(-50%) translateX(-5px);
    background: #F6D465;
    box-shadow: 0 20px 44px rgba(242, 201, 76, .3);
  }

  .page-home .hero-badge__label {
    font-size: 14px;
    line-height: 1.4;
  }

  .page-home .hero-badge__ver {
    margin-left: 0;
  }

  .page-home .stats__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .updates__layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }

  .page-home .tiers__rail {
    grid-auto-columns: minmax(0, 1fr);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: row;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-home .coop__inner {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }
}

@media (min-width: 1080px) {
  .page-home .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }

  .page-home .bento__figure {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
  }

  .page-home .bento__figure .frame {
    flex: 1;
    height: 100%;
  }

  .page-home .bento__figure .frame img {
    height: 100%;
    object-fit: cover;
  }

  .page-home .hero__title {
    font-size: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .bento__card,
  .page-home .scene,
  .page-home .tier,
  .page-home .hero-badge,
  .page-home .hero__index-label::after {
    transition: none;
  }

  .page-home .bento__card:hover,
  .page-home .scene:hover,
  .page-home .tier:hover {
    transform: none;
  }
}
