.page-home {
  --home-gap: 16px;
  --home-section-space-mobile: 72px;
  --home-section-space-desktop: 112px;
  overflow-x: clip;
  background: var(--space-blue);
  color: var(--cream-text);
}

/* 面包屑 */
.page-home .breadcrumb {
  padding-top: 28px;
}
.page-home .breadcrumb-list {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: 13px;
}
.page-home .breadcrumb-link {
  color: var(--mist-blue);
  text-decoration: none;
  border-bottom: 1px solid var(--line-blue);
}
.page-home .breadcrumb-current {
  color: var(--cream-text);
}

/* 01 首屏分屏 */
.page-home .home-hero {
  padding: 48px 0 32px;
}
.page-home .home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.page-home .home-hero__overline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--green-neon);
}
.page-home .home-hero__overline-index {
  color: var(--orange-race);
  font-family: var(--font-mono);
  font-size: 14px;
}
.page-home .home-hero__title {
  margin: 0 0 20px;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.page-home .home-hero__brand {
  display: block;
}
.page-home .home-hero__tagline {
  display: block;
  margin-top: 10px;
  color: var(--orange-race);
  font-size: 0.6em;
  letter-spacing: 0.04em;
}
.page-home .home-hero__lead {
  margin: 0;
  max-width: 32em;
  color: var(--mist-blue);
  font-size: 16px;
  line-height: 1.7;
}
.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.page-home .home-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.page-home .home-hero__stat {
  position: relative;
}
.page-home .home-hero__stat dt {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--mist-blue);
}
.page-home .home-hero__stat dd {
  margin: 4px 0 0;
  font-size: 30px;
  line-height: 1;
  color: var(--cream-text);
}
.page-home .home-hero__visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 7 / 6;
  background: var(--dark-void);
  border-left: 4px solid var(--orange-race);
  box-shadow: var(--shadow-card);
}
.page-home .home-hero__visual-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-home .home-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.page-home .home-hero__ring-group {
  transform-origin: center;
  animation: home-hero-spin 36s linear infinite;
}
.page-home .home-hero__scanline {
  animation: home-hero-pulse 2.6s ease-in-out infinite;
}
.page-home .home-hero__nodes circle {
  vector-effect: non-scaling-stroke;
}

@keyframes home-hero-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes home-hero-pulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 0.25; }
}

/* 02 改版指南 */
.page-home .home-guide {
  padding: var(--home-section-space-mobile) 0;
  background: var(--space-blue-light);
}
.page-home .home-guide__heading {
  align-items: flex-start;
}
.page-home .home-guide__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
  margin-top: 32px;
}
.page-home .home-guide__item {
  position: relative;
  padding: 32px 28px;
  background: var(--space-blue);
  box-shadow: var(--shadow-card);
}
.page-home .home-guide__key {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  color: var(--orange-race);
}
.page-home .home-guide__item h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 900;
  color: var(--cream-text);
}
.page-home .home-guide__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist-blue);
}

/* 03 积分榜战报专栏 */
.page-home .home-standings {
  padding: var(--home-section-space-mobile) 0;
  background: linear-gradient(135deg, var(--dark-void) 0%, var(--space-blue) 78%);
}
.page-home .home-standings__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
  align-items: center;
}
.page-home .home-standings__panel {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  background: var(--dark-void);
  box-shadow: var(--shadow-card);
}
.page-home .home-standings__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.page-home .home-standings__gloss {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 32px 28px;
  background: linear-gradient(180deg, rgba(5, 10, 24, 0) 0%, rgba(5, 10, 24, 0.86) 72%);
}
.page-home .home-standings__gloss-title {
  margin: 8px 0 8px;
  font-size: 30px;
  font-weight: 900;
  color: var(--cream-text);
}
.page-home .home-standings__gloss-text {
  margin: 0;
  max-width: 34em;
  color: var(--mist-blue);
  line-height: 1.7;
}
.page-home .home-standings__hover-note {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 12px;
  border-left: 3px solid var(--green-neon);
  background: rgba(57, 255, 20, 0.08);
  color: var(--green-neon);
  font-family: var(--font-mono);
  font-size: 13px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.page-home .home-standings__panel:hover .home-standings__hover-note,
.page-home .home-standings__panel:focus-within .home-standings__hover-note {
  opacity: 1;
  transform: translateY(0);
}
.page-home .home-standings__content .section-heading {
  align-items: flex-start;
}
.page-home .home-standings__features {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  counter-reset: home-feature;
}
.page-home .home-standings__features li {
  position: relative;
  padding: 12px 14px;
  border: 1px solid var(--line-blue);
  background: rgba(30, 58, 110, 0.5);
  color: var(--cream-text);
  font-size: 14px;
  font-weight: 700;
}
.page-home .home-standings__features li::before {
  content: counter(home-feature, decimal-leading-zero);
  counter-increment: home-feature;
  margin-right: 8px;
  font-family: var(--font-mono);
  color: var(--orange-race);
}
.page-home .home-standings__content .legend {
  margin: 0 0 24px;
}

/* 04 案例合集导航 */
.page-home .home-collections {
  padding: var(--home-section-space-mobile) 0;
}
.page-home .home-collections__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
  margin-top: 32px;
}
.page-home .home-collections__item {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--space-blue-light);
  box-shadow: var(--shadow-card);
}
.page-home .home-collections__media {
  overflow: hidden;
}
.page-home .home-collections__img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 160px;
  object-fit: cover;
}
.page-home .home-collections__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  gap: 6px;
  padding: 24px;
}
.page-home .home-collections__body h3 {
  margin: 2px 0 0;
  font-size: 22px;
  font-weight: 900;
  color: var(--cream-text);
}
.page-home .home-collections__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist-blue);
}
.page-home .home-collections__subscribe {
  margin-top: auto;
  width: 100%;
  padding-top: 18px;
}
@media (hover: hover) {
  .page-home .home-collections__subscribe {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .page-home .home-collections__item:hover .home-collections__subscribe,
  .page-home .home-collections__item:focus-within .home-collections__subscribe {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 05 开发者服务 */
.page-home .home-developer {
  padding: var(--home-section-space-mobile) 0;
  background: var(--space-blue-light);
}
.page-home .home-developer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.page-home .home-developer__list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.page-home .home-developer__list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-blue);
  color: var(--cream-text);
  font-size: 15px;
  line-height: 1.6;
}
.page-home .home-developer__list .data-mono {
  min-width: 2em;
  color: var(--orange-race);
}
.page-home .home-developer__code {
  margin: 24px 0;
  padding: 20px;
  background: var(--dark-void);
  border-left: 4px solid var(--orange-race);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  color: var(--cream-text);
  overflow-x: auto;
  white-space: pre;
}
.page-home .home-developer__code-dim {
  color: var(--mist-blue);
}
.page-home .home-developer__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-left: 4px solid var(--green-neon);
}

/* 06 更新记录 */
.page-home .home-updates {
  padding: var(--home-section-space-mobile) 0;
}
.page-home .home-updates__timeline {
  margin-top: 40px;
}
.page-home .home-updates__item {
  position: relative;
  margin: 0 0 4px;
  padding: 0 0 0 28px;
  border-left: 2px solid var(--line-blue);
}
.page-home .home-updates__summary {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 16px 0;
  cursor: pointer;
}
.page-home .home-updates__summary::-webkit-details-marker {
  display: none;
}
.page-home .home-updates__marker {
  position: absolute;
  left: -6px;
  top: 24px;
  width: 10px;
  height: 10px;
  background: var(--orange-race);
  transform: rotate(45deg);
}
.page-home .home-updates__tag {
  color: var(--green-neon);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.page-home .home-updates__title {
  width: 100%;
  margin: 2px 0 0;
  font-size: 21px;
  font-weight: 900;
  color: var(--cream-text);
}
.page-home .home-updates__detail {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-left: 3px solid var(--orange-race);
  background: var(--space-blue-light);
  color: var(--mist-blue);
  font-size: 14px;
  line-height: 1.7;
}
.page-home .home-updates__more {
  margin-top: 28px;
}

/* 07 品牌档案 */
.page-home .home-trust {
  padding: var(--home-section-space-mobile) 0;
  background: linear-gradient(180deg, var(--space-blue) 0%, var(--dark-void) 100%);
}
.page-home .home-trust__inner {
  display: grid;
  gap: 14px;
  justify-items: start;
}
.page-home .home-trust__overline {
  color: var(--orange-race);
}
.page-home .home-trust__copy {
  margin: 0;
  max-width: 720px;
  color: var(--mist-blue);
  font-size: 18px;
  line-height: 1.8;
  font-weight: 700;
}

/* 桌面断点 */
@media (min-width: 760px) {
  .page-home .home-guide__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .home-standings__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .page-home .home-collections__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-auto-rows: auto;
  }
  .page-home .home-collections__item--wide {
    grid-row: span 2;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero {
    padding: 72px 0 64px;
  }
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 64px;
  }
  .page-home .home-hero__title {
    font-size: 56px;
  }
  .page-home .home-hero__lead {
    font-size: 18px;
  }
  .page-home .home-hero__stats {
    gap: 56px;
  }

  .page-home .home-guide,
  .page-home .home-standings,
  .page-home .home-collections,
  .page-home .home-developer,
  .page-home .home-updates,
  .page-home .home-trust {
    padding-top: var(--home-section-space-desktop);
    padding-bottom: var(--home-section-space-desktop);
  }

  .page-home .home-standings__layout {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 48px;
  }

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

  .page-home .home-trust__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero__ring-group,
  .page-home .home-hero__scanline {
    animation: none;
  }
  .page-home .home-standings__hover-note,
  .page-home .home-collections__subscribe {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-collections__subscribe {
    opacity: 1;
    transform: none;
  }
}
