.page-home {
  --home-gap: clamp(22px, 4vw, 40px);
  overflow-x: clip;
  color: var(--ink);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(46px, 8vw, 100px) clamp(34px, 5vw, 64px);
  background:
    radial-gradient(120% 90% at 78% 6%, rgba(91, 63, 214, 0.42), transparent 62%),
    radial-gradient(90% 70% at 10% 96%, rgba(53, 224, 214, 0.14), transparent 60%),
    var(--deep);
  overflow: hidden;
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  display: block;
}

.page-home .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(86% 76% at 46% 44%, rgba(7, 11, 31, 0.32), rgba(7, 11, 31, 0.94) 80%);
}

.page-home .hero-meteor {
  position: absolute;
  top: 14%;
  left: 56%;
  width: 170px;
  height: 1px;
  z-index: 1;
  background: linear-gradient(90deg, transparent, var(--cyan));
  transform: rotate(18deg);
  opacity: 0;
  animation: home-meteor 11s ease-in infinite;
  pointer-events: none;
}

@keyframes home-meteor {
  0%, 86% { opacity: 0; transform: translate3d(-50px, 0, 0) rotate(18deg); }
  89% { opacity: 0.85; }
  95% { opacity: 0; transform: translate3d(230px, 76px, 0) rotate(18deg); }
  100% { opacity: 0; transform: translate3d(230px, 76px, 0) rotate(18deg); }
}

.page-home .hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
  align-items: start;
}

.page-home .hero-context {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  font-size: var(--fs-note);
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 12px;
}

.page-home .hero-context .coord-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.page-home .hero-title {
  margin: 0 0 0.55em;
  max-width: 15ch;
  font-family: var(--font-display);
  font-size: var(--fs-display);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.page-home .hero-lede {
  margin: 0 0 1.2em;
  max-width: 46ch;
  font-size: var(--fs-body);
  line-height: 1.95;
  color: var(--muted);
}

.page-home .hero-meta {
  margin: 0 0 26px;
  font-family: var(--font-mono);
  font-size: var(--fs-note);
  letter-spacing: 0.04em;
  color: var(--muted);
}

.page-home .hero-meta .num {
  color: var(--gold);
}

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

.page-home .hero-anchor {
  position: relative;
  width: min(300px, 68vw);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.page-home .hero-anchor::before {
  content: "";
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  border: 1px dashed rgba(53, 224, 214, 0.45);
  animation: home-spin 30s linear infinite;
}

.page-home .orbit-planet {
  position: absolute;
  inset: 27%;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, var(--purple), var(--deep-2) 60%, var(--deep) 100%);
  box-shadow: 0 0 46px rgba(91, 63, 214, 0.6), inset 0 0 26px rgba(53, 224, 214, 0.24);
}

@keyframes home-spin {
  to { transform: rotate(360deg); }
}

.page-home .hero-anchor-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-align: center;
  line-height: 1.5;
  color: var(--ink);
}

/* ---------- 首屏数据带 ---------- */
.page-home .hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(30px, 5vw, 54px) 0 0;
  padding: 0;
  background: rgba(42, 58, 110, 0.7);
  border: 1px solid var(--line);
}

.page-home .stat {
  background: rgba(10, 17, 48, 0.86);
  padding: 18px 16px;
}

.page-home .stat-label {
  margin: 0;
  font-size: var(--fs-note);
  color: var(--muted);
  letter-spacing: 0.04em;
}

.page-home .stat-num {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* ---------- 章节骨架 ---------- */
.page-home .chapter-band {
  position: relative;
  padding-block: clamp(56px, 8vw, 112px);
  background: var(--deep);
}

.page-home .chapter-band:nth-of-type(even) {
  background: linear-gradient(180deg, var(--deep) 0%, var(--deep-3) 40%, var(--deep) 100%);
}

.page-home .band-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 14px;
  width: 3px;
  background: rgba(42, 58, 110, 0.6);
  border-radius: 2px;
  overflow: hidden;
}

.page-home .band-line > i {
  display: block;
  width: 100%;
  height: calc(var(--band-progress, 0) * 100%);
  background: linear-gradient(180deg, var(--purple), var(--cyan));
  transition: height 240ms ease;
}

.page-home .chapter-band > .shell {
  padding-left: calc(var(--gutter) + 16px);
}

.page-home .chapter-head {
  max-width: 64ch;
  margin-bottom: clamp(26px, 4vw, 46px);
}

.page-home .chapter-number {
  display: inline-block;
  margin-bottom: 18px;
  padding: 4px 11px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  color: var(--cyan);
  border: 1px solid rgba(53, 224, 214, 0.42);
  border-radius: var(--radius);
}

.page-home .chapter-head h2 {
  margin: 0 0 0.5em;
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  line-height: 1.22;
  color: var(--ink);
}

.page-home .chapter-lede {
  margin: 0;
  max-width: 62ch;
  font-size: var(--fs-body);
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 01 环绕索引 ---------- */
.page-home .orbit-index {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
  align-items: start;
}

.page-home .orbit-core {
  margin: 0;
  text-align: center;
}

.page-home .orbit-core img {
  display: block;
  width: min(300px, 70vw);
  height: auto;
  margin-inline: auto;
  border-radius: 50%;
  box-shadow: 0 0 64px rgba(91, 63, 214, 0.42);
}

.page-home .orbit-core figcaption {
  margin-top: 14px;
  font-size: var(--fs-note);
  color: var(--muted);
}

.page-home .orbit-group {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 26, 61, 0.72);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.page-home .orbit-group:hover {
  border-color: rgba(53, 224, 214, 0.55);
  box-shadow: var(--shadow-paper-sm);
}

.page-home .orbit-group[data-open] {
  border-color: rgba(91, 63, 214, 0.85);
}

.page-home .orbit-group-head {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.page-home .orbit-group-title {
  flex: 1 1 auto;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.page-home .orbit-dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 10px rgba(91, 63, 214, 0.9);
}

.page-home .orbit-group[data-open] .orbit-dot {
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.page-home .orbit-list {
  list-style: none;
  margin: 0;
  padding: 0 0 10px;
}

.page-home .orbit-item {
  padding: 9px 18px 9px 40px;
  border-top: 1px dashed rgba(42, 58, 110, 0.75);
}

.page-home .orbit-item a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.98rem;
  line-height: 1.7;
}

.page-home .orbit-item a:hover,
.page-home .orbit-item a:focus-visible {
  color: var(--cyan);
}

/* ---------- 02 服务六类 ---------- */
.page-home .service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .service-item {
  display: flex;
  gap: 14px;
  padding: 22px 20px;
  background: var(--paper);
  color: var(--paper-ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-paper-sm);
}

.page-home .service-num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--purple);
  letter-spacing: 0.04em;
}

.page-home .service-item h3 {
  margin: 0 0 0.4em;
  font-size: var(--fs-h3);
  color: var(--paper-ink);
}

.page-home .service-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.78;
  color: #3A4260;
}

/* ---------- 03 当季收藏 ---------- */
.page-home .tier-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-home .tier {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--purple);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(16, 26, 61, 0.92), rgba(10, 17, 48, 0.92));
}

.page-home .tier:nth-child(2) { border-top-color: var(--cyan); }
.page-home .tier:nth-child(3) { border-top-color: var(--pink); }

.page-home .tier-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.page-home .tier-head h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--ink);
}

.page-home .tier-note {
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .tier-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .tier-list li {
  padding-left: 14px;
  border-left: 2px solid rgba(42, 58, 110, 0.9);
}

.page-home .tier-list a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.96rem;
  line-height: 1.7;
}

.page-home .tier-list a:hover,
.page-home .tier-list a:focus-visible {
  color: var(--cyan);
}

/* ---------- 04 安卓资料更新 ---------- */
.page-home .update-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
  align-items: center;
}

.page-home .update-media {
  margin: 0;
}

.page-home .update-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
}

.page-home .update-media figcaption {
  margin-top: 12px;
  font-size: var(--fs-note);
  color: var(--muted);
}

.page-home .channel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .channel {
  display: grid;
  gap: 4px;
  padding: 13px 16px;
  border-left: 3px solid var(--purple);
  background: rgba(16, 26, 61, 0.72);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.page-home .channel:nth-child(2) { border-left-color: var(--cyan); }
.page-home .channel:nth-child(3) { border-left-color: var(--gold); }

.page-home .channel strong {
  font-size: 1rem;
  color: var(--ink);
}

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

.page-home .update-note {
  margin: 18px 0 22px;
  font-size: 0.96rem;
  line-height: 1.85;
  color: var(--muted);
}

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

/* ---------- 05 品牌动态 ---------- */
.page-home .news-wrap {
  padding: clamp(22px, 4vw, 46px);
  background: var(--paper);
  color: var(--paper-ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-paper);
}

.page-home .news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
  align-items: start;
}

.page-home .news-wrap .chapter-head {
  margin-bottom: 22px;
}

.page-home .news-wrap .chapter-number {
  color: #4A34B8;
  border-color: rgba(74, 52, 184, 0.4);
}

.page-home .news-wrap h2 {
  color: var(--paper-ink);
}

.page-home .news-wrap .chapter-lede {
  color: #3A4260;
}

.page-home .series-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-home .series {
  padding-top: 12px;
  border-top: 2px solid var(--purple);
}

.page-home .series:nth-child(2) { border-top-color: var(--cyan); }
.page-home .series:nth-child(3) { border-top-color: var(--pink); }
.page-home .series:nth-child(4) { border-top-color: var(--gold); }

.page-home .series h3 {
  margin: 0 0 0.35em;
  font-size: 1.05rem;
  color: var(--paper-ink);
}

.page-home .series p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.72;
  color: #3A4260;
}

.page-home .news-media {
  margin: 0 0 20px;
}

.page-home .news-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
}

.page-home .recent-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .recent-list li {
  display: grid;
  gap: 3px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(42, 58, 110, 0.35);
}

.page-home .recent-when {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: #4A34B8;
}

.page-home .recent-what {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--paper-ink);
}

/* ---------- 06 继续探索 ---------- */
.page-home .explore-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-home .explore-card {
  padding: clamp(22px, 3.4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(16, 26, 61, 0.9), rgba(7, 11, 31, 0.94));
}

.page-home .explore-card--accent {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(91, 63, 214, 0.38), rgba(7, 11, 31, 0.94) 68%);
}

.page-home .explore-card h3 {
  margin: 0 0 0.5em;
  font-size: var(--fs-h3);
  color: var(--ink);
}

.page-home .explore-card p {
  margin: 0 0 1.4em;
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--muted);
}

.page-home .link-arrow {
  display: inline-block;
  padding-bottom: 3px;
  color: var(--cyan);
  text-decoration: none;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(53, 224, 214, 0.5);
  transition: border-color 180ms ease, color 180ms ease;
}

.page-home .link-arrow:hover,
.page-home .link-arrow:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ---------- 断点 ---------- */
@media (min-width: 760px) {
  .page-home .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

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

  .page-home .explore-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }
}

@media (min-width: 900px) {
  .page-home .band-line {
    left: max(12px, calc((100% - var(--shell)) / 2 - 28px));
  }

  .page-home .chapter-band > .shell {
    padding-left: var(--gutter);
  }

  .page-home .hero-inner {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: center;
    gap: clamp(28px, 4vw, 56px);
  }

  .page-home .hero-anchor {
    margin-inline: 0 12px;
  }

  .page-home .orbit-index {
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 52px);
  }

  .page-home .update-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(28px, 4vw, 56px);
  }

  .page-home .news-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(28px, 4vw, 48px);
  }
}

@media (min-width: 1100px) {
  .page-home .service-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-meteor,
  .page-home .hero-anchor::before {
    display: none;
    animation: none;
  }

  .page-home .orbit-group,
  .page-home .link-arrow {
    transition: none;
  }

  .page-home .band-line > i {
    transition: none;
  }
}

.page-home {
  --band-progress: 1rem;
}
