/* ===== 首页 page-home 专属样式 ===== */
.page-home {
  --home-glow-gold: rgba(212, 175, 55, 0.16);
  --home-glow-violet: rgba(42, 27, 61, 0.72);
  --home-glow-crimson: rgba(142, 42, 31, 0.32);
  --home-border-line: rgba(212, 175, 55, 0.28);
  --home-space-section: clamp(3.2rem, 7vw, 6.5rem);
}

/* ---------- 首屏导航区 ---------- */
.page-home .home-hero {
  position: relative;
  padding: 3.4rem 0 4.4rem;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(42, 27, 61, 0.9) 0%, rgba(10, 10, 10, 0.72) 46%, rgba(5, 5, 5, 0.96) 100%);
  border-bottom: 1px solid var(--color-line);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  right: -14%;
  top: -22%;
  width: 58%;
  height: 72%;
  background: radial-gradient(circle at center, var(--home-glow-crimson) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  left: 3%;
  bottom: -38%;
  width: 72%;
  height: 62%;
  background: radial-gradient(ellipse at center, var(--home-glow-gold) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  z-index: 0;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.6rem;
}

.page-home .home-hero__primary {
  max-width: 40rem;
}

.page-home .home-hero__eyebrow {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.page-home .home-hero__title {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.page-home .home-hero__subtitle {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-gold);
}

.page-home .home-hero__lead {
  margin: 0 0 1.6rem;
  max-width: 34rem;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--color-muted);
}

.page-home .version-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--home-border-line);
  background: linear-gradient(115deg, rgba(42, 27, 61, 0.8) 0%, rgba(10, 10, 10, 0.92) 100%);
}

.page-home .version-badge__label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

.page-home .version-badge__num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-gold);
}

.page-home .version-badge__status {
  margin-left: auto;
  padding: 0.28rem 0.68rem;
  border: 1px solid rgba(212, 175, 55, 0.42);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-gold);
  background: rgba(212, 175, 55, 0.08);
}

.page-home .hero-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.6rem;
  color: var(--color-muted);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.page-home .hero-scroll-hint:hover {
  color: var(--color-blue);
}

.page-home .hero-scroll-hint__line {
  display: inline-block;
  width: 2.2rem;
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
}

.page-home .hero-scroll-hint__text {
  letter-spacing: 0.08em;
}

/* 三大入口卡片 */
.page-home .home-hero__secondary {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.page-home .entry-card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.8rem;
  padding: 1.35rem 1.4rem 1.35rem 1.55rem;
  background: linear-gradient(150deg, rgba(46, 46, 46, 0.78) 0%, rgba(10, 10, 10, 0.9) 100%);
  border: 1px solid var(--home-border-line);
  border-left: 3px solid var(--color-gold);
  color: var(--color-text);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.page-home .entry-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.62);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(212, 175, 55, 0.2);
}

.page-home .entry-card:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 3px;
}

.page-home .entry-card__index {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-gold-dark);
}

.page-home .entry-card__title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-text);
}

.page-home .entry-card__desc {
  flex-basis: 100%;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--color-muted);
}

.page-home .entry-card__arrow {
  margin-left: auto;
  font-size: 1.1rem;
  color: var(--color-gold);
  transition: transform 0.15s ease;
}

.page-home .entry-card:hover .entry-card__arrow {
  transform: translateX(4px);
}

/* ---------- 01 版本信息 ---------- */
.page-home .home-version {
  padding: var(--home-space-section) 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, rgba(42, 27, 61, 0.28) 50%, var(--color-bg) 100%);
}

.page-home .home-version__layout {
  display: grid;
  gap: 2.2rem;
  align-items: start;
}

.page-home .home-version__desc {
  margin: 0 0 1.2rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-muted);
}

.page-home .text-link {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.page-home .text-link:hover,
.page-home .text-link:focus-visible {
  color: var(--color-blue);
}

.page-home .version-facts {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}

.page-home .version-facts__item {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-text);
}

.page-home .version-facts__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.64rem;
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid var(--color-gold);
  transform: rotate(45deg);
}

.page-home .version-facts__strong {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-weight: 800;
}

.page-home .home-version__accordion {
  margin-top: 0.2rem;
}

.page-home .version-steps {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.5rem;
}

.page-home .version-steps__item {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-muted);
}

.page-home .home-version__visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-home .home-version__frame {
  border-color: var(--home-border-line);
  background: linear-gradient(135deg, rgba(42, 27, 61, 0.5) 0%, rgba(10, 10, 10, 0.86) 100%);
}

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

.page-home .home-version__legend {
  justify-content: flex-start;
}

/* ---------- 02 产品线活动规则速览 ---------- */
.page-home .home-rules {
  position: relative;
  padding: var(--home-space-section) 0;
  overflow: hidden;
  background: linear-gradient(175deg, var(--color-bg) 0%, rgba(42, 27, 61, 0.38) 52%, var(--color-bg) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.page-home .home-rules__grid {
  display: grid;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.page-home .rule-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1.6rem 1.5rem;
  background:
    linear-gradient(145deg, rgba(46, 46, 46, 0.72) 0%, rgba(42, 27, 61, 0.52) 62%, rgba(5, 5, 5, 0.78) 100%);
  border: 1px solid var(--home-border-line);
  border-top: 3px solid var(--color-gold);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.page-home .rule-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.18);
}

.page-home .rule-card__head {
  display: flex;
  align-items: center;
  gap: 0.6rem 0.8rem;
  margin-bottom: 0.8rem;
}

.page-home .rule-card__coord {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding: 0.24rem 0.5rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--color-gold);
}

.page-home .rule-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.page-home .rule-card__summary {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--color-muted);
}

.page-home .rule-card__list {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1.3rem;
  padding: 1rem 0 1rem 1.2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.14);
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}

.page-home .rule-card__item {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-text);
}

.page-home .rule-card__item::marker {
  color: var(--color-gold);
}

.page-home .rule-card__link {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-gold);
  text-decoration: none;
  transition: color 0.15s ease;
}

.page-home .rule-card__link:hover,
.page-home .rule-card__link:focus-visible {
  color: var(--color-blue);
}

.page-home .home-rules__deco {
  position: absolute;
  right: -6%;
  top: 12%;
  width: 200px;
  height: 160px;
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}

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

/* ---------- 03 下载与支持 ---------- */
.page-home .home-download {
  padding: var(--home-space-section) 0;
}

.page-home .home-download__inner {
  display: grid;
  gap: 2.2rem;
  align-items: center;
}

.page-home .home-download__media {
  order: -1;
}

.page-home .home-download__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 280px;
  margin: 0 auto;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.48));
}

.page-home .home-download__note {
  margin: 0 0 1.4rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-muted);
}

.page-home .platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.page-home .platform-list__item {
  padding: 0.42rem 0.8rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-gold);
  border: 1px solid rgba(212, 175, 55, 0.38);
  background: rgba(10, 10, 10, 0.55);
}

/* ---------- 04 最新动态 ---------- */
.page-home .home-updates {
  padding: var(--home-space-section) 0;
  background: linear-gradient(0deg, rgba(42, 27, 61, 0.24) 0%, var(--color-bg) 100%);
}

.page-home .update-list {
  border-top: 1px solid rgba(212, 175, 55, 0.16);
}

.page-home .update-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  transition: background 0.15s ease;
}

.page-home .update-item:hover {
  background: rgba(212, 175, 55, 0.04);
}

.page-home .update-item__date {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-gold-dark);
  white-space: nowrap;
}

.page-home .update-item__body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.page-home .update-item__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.page-home .update-item__desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--color-muted);
}

.page-home .update-item__link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-gold);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.page-home .update-item__link:hover,
.page-home .update-item__link:focus-visible {
  color: var(--color-blue);
}

/* ---------- 信任声明 ---------- */
.page-home .home-trust {
  padding: 3.6rem 0 4.4rem;
  background:
    linear-gradient(180deg, var(--color-bg) 0%, #0e0c09 50%, var(--color-bg) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.24);
  border-bottom: 1px solid rgba(212, 175, 55, 0.24);
}

.page-home .home-trust__quote {
  position: relative;
  margin: 0;
  padding: 2rem 1.6rem;
  border-left: 4px solid var(--color-gold);
  background: linear-gradient(145deg, rgba(42, 27, 61, 0.56) 0%, rgba(10, 10, 10, 0.9) 100%);
}

.page-home .home-trust__mark {
  position: absolute;
  top: -0.5rem;
  right: 0.6rem;
  font-family: var(--font-display);
  font-size: 4.2rem;
  line-height: 1;
  color: rgba(212, 175, 55, 0.14);
  pointer-events: none;
}

.page-home .home-trust__text {
  position: relative;
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.page-home .home-trust__link {
  position: relative;
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-gold);
  text-decoration: none;
  transition: color 0.15s ease;
}

.page-home .home-trust__link:hover,
.page-home .home-trust__link:focus-visible {
  color: var(--color-blue);
}

/* ---------- 桌面端布局增强 ---------- */
@media (min-width: 768px) {
  .page-home .home-hero {
    padding: 5rem 0 6.2rem;
  }

  .page-home .home-hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 3.2rem;
  }

  .page-home .home-hero__primary {
    padding-top: 1rem;
  }

  .page-home .home-hero__secondary {
    margin-top: 4.2rem;
  }

  .page-home .entry-card {
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.8rem;
  }

  .page-home .entry-card__desc {
    flex-basis: auto;
    margin-left: auto;
    max-width: 14.5rem;
    text-align: right;
  }

  .page-home .entry-card__arrow {
    flex-shrink: 0;
  }

  .page-home .home-version__layout {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 3.2rem;
  }

  .page-home .home-version__visual {
    margin-top: 3.2rem;
  }

  .page-home .home-rules__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
  }

  .page-home .rule-card--offset {
    margin-top: 2.2rem;
  }

  .page-home .home-download__inner {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
  }

  .page-home .home-download__media {
    order: initial;
  }

  .page-home .home-download__media img {
    max-width: 340px;
    margin: 0;
  }

  .page-home .update-item {
    flex-direction: row;
    align-items: center;
    gap: 1.3rem;
  }

  .page-home .update-item__body {
    flex: 1;
  }

  .page-home .home-trust__quote {
    padding: 2.4rem 2.6rem;
  }
}

@media (min-width: 1100px) {
  .page-home .hero-scroll-hint {
    margin-top: 2.2rem;
  }

  .page-home .home-rules__deco {
    width: 270px;
    height: 210px;
    right: -2%;
    top: 10%;
  }
}
