/* ========== 首页专属样式 ========== */
.page-home {
  --hud-shadow: 8px 8px 0 rgba(0, 0, 0, 0.3);
  background: var(--c-navy);
  color: var(--c-cream);
}

.page-home img {
  max-width: 100%;
  height: auto;
}

/* 框景首屏 */
.page-home .hero-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(rgba(138, 155, 168, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 155, 168, 0.09) 1px, transparent 1px),
    var(--c-navy);
  background-size: 44px 44px;
  border-bottom: 1px solid var(--c-gray);
}

.page-home .hero-frame::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 20, 0.07), transparent);
  z-index: 0;
  pointer-events: none;
  animation: page-home-scan 7s linear infinite;
}

@keyframes page-home-scan {
  from {
    transform: translateX(-30%);
  }
  to {
    transform: translateX(430%);
  }
}

.page-home .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  padding-top: 2.5rem;
  padding-bottom: 5.5rem;
  position: relative;
  z-index: 1;
}

.page-home .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
}

.page-home .breadcrumbs .meta-text + .meta-text {
  margin-left: 0.35rem;
}

.page-home .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gray);
  border-bottom: 2px solid var(--c-green);
  padding-bottom: 0.4rem;
  margin: 0;
}

.page-home .hero-copy .headline {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 8vw, 4.4rem);
  line-height: 1.04;
  color: var(--c-cream);
  text-transform: uppercase;
  transform: skewX(-3deg);
  margin: 0;
}

.page-home .hero-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-pale);
  max-width: 36em;
  margin: 0;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.page-home .hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.page-home .hero-trust .chip {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--c-cream);
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid var(--c-gray);
  padding: 0.4rem 0.7rem;
  text-decoration: none;
}

.page-home .hero-trust a.chip {
  color: var(--c-green);
}

.page-home .hero-stage {
  position: relative;
  min-width: 0;
}

.page-home .hud-panel {
  position: relative;
  background: var(--c-navy-deep);
  border: 2px solid var(--c-gray);
  box-shadow: var(--hud-shadow);
}

.page-home .hud-panel::before,
.page-home .hud-panel::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  pointer-events: none;
  z-index: 4;
  opacity: 0.85;
}

.page-home .hud-panel::before {
  top: -8px;
  left: -8px;
  border-top: 4px solid var(--c-green);
  border-left: 4px solid var(--c-green);
}

.page-home .hud-panel::after {
  bottom: -8px;
  right: -8px;
  border-bottom: 4px solid var(--c-green);
  border-right: 4px solid var(--c-green);
}

.page-home .hud-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--c-gray);
}

.page-home .hud-readout {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--c-cream);
}

.page-home .hud-view {
  position: relative;
  margin: 0.75rem;
  border: 1px solid rgba(138, 155, 168, 0.45);
  overflow: hidden;
}

.page-home .hud-view img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .hud-metric {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.6rem 0.8rem;
  background: rgba(10, 30, 61, 0.88);
  border: 1px solid var(--c-green);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.page-home .hud-metric--lt {
  top: 16px;
  left: 16px;
}

.page-home .hud-metric--rb {
  bottom: 16px;
  right: 16px;
}

.page-home .hud-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 1rem 1rem;
  border-top: 1px solid var(--c-gray);
}

.page-home .hud-spark {
  width: 88px;
  height: 28px;
  opacity: 0.8;
  flex: 0 0 auto;
}

.page-home .hud-scale {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

.page-home .hud-scale span {
  display: block;
  width: 3px;
  height: 9px;
  background: var(--c-green);
}

.page-home .hud-scale span:nth-child(2),
.page-home .hud-scale span:nth-child(4) {
  height: 14px;
}

.page-home .hero-band {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.6rem 1rem;
  background: rgba(13, 43, 80, 0.92);
  border-top: 1px solid var(--c-gray);
  z-index: 2;
}

.page-home .band-sep {
  width: 4px;
  height: 4px;
  background: var(--c-green);
  border-radius: 50%;
  flex: 0 0 auto;
}

/* 通用章节标题 */
.page-home .section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.page-home .section-heading .section-title,
.page-home .section-heading .subhead {
  margin: 0;
}

.page-home .section-heading .section-title {
  color: var(--c-navy);
}

.page-home .subhead {
  color: var(--c-gray);
}

/* 关键数据概览 */
.page-home .stat-section,
.page-home .report-section {
  border-top: 4px solid var(--c-green);
}

.page-home .stat-section {
  background: linear-gradient(180deg, var(--c-cream), var(--c-pale));
  color: var(--c-ink);
}

.page-home .stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.page-home .stat-card {
  position: relative;
  background: var(--c-navy);
  border: 2px solid var(--c-gray);
  box-shadow: 4px 4px 0 rgba(10, 30, 61, 0.25);
  padding: 1.75rem 1.5rem;
  color: var(--c-cream);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.page-home .stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 8px 8px 0 rgba(10, 30, 61, 0.28);
  border-color: var(--c-green);
}

.page-home .stat-card[open] {
  border-color: var(--c-green);
}

.page-home .stat-card summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.page-home .stat-card summary::-webkit-details-marker {
  display: none;
}

.page-home .stat-card .stat-num {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  font-family: var(--font-head);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--c-cream);
}

.page-home .stat-card .stat-unit {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--c-gray);
}

.page-home .stat-card .stat-label {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--c-gray);
  letter-spacing: 0.05em;
}

.page-home .stat-card .stat-toggle {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--c-green);
  border: 1px solid var(--c-green);
  padding: 0.25rem 0.5rem;
  margin-top: 0.3rem;
}

.page-home .stat-card[open] .stat-toggle {
  background: var(--c-green);
  color: var(--c-navy);
}

.page-home .stat-card .stat-more {
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(138, 155, 168, 0.4);
  color: var(--c-pale);
  font-size: 0.82rem;
  line-height: 1.7;
  animation: page-home-fade-in 0.3s ease;
}

@keyframes page-home-fade-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-home .stat-card .num-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

/* 最新版本动态 */
.page-home .version-section {
  background: var(--c-navy);
  color: var(--c-cream);
  border-top: 1px solid var(--c-gray);
}

.page-home .version-section .section-title {
  color: var(--c-cream);
}

.page-home .version-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.page-home .version-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
}

.page-home .version-intro {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-pale);
  max-width: 40em;
  margin: 0;
}

.page-home .feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.page-home .feature-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--c-cream);
  padding: 0.25rem 0 0.25rem 1rem;
  border-left: 3px solid var(--c-gray);
}

.page-home .feature-list li .data-text {
  font-size: 0.82rem;
}

.page-home .version-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.page-home .version-media {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.page-home .version-shot {
  border: 2px solid var(--c-gray);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
}

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

.page-home .version-track {
  border: 1px solid var(--c-gray);
  background: rgba(13, 43, 80, 0.7);
  padding: 1.25rem 1.25rem 0.4rem;
}

.page-home .version-track-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--c-cream);
  margin: 0 0 1rem;
}

.page-home .timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .timeline-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px dashed rgba(138, 155, 168, 0.35);
}

.page-home .timeline-list li:last-child {
  border-bottom: 0;
}

/* 每周战报专栏 */
.page-home .report-section {
  background: linear-gradient(180deg, var(--c-cream), var(--c-pale));
  color: var(--c-ink);
}

.page-home .report-section .section-title {
  color: var(--c-navy);
}

.page-home .report-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

.page-home .report-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.page-home .report-item {
  border: 2px solid var(--c-navy);
  background: var(--c-cream);
  padding: 1.4rem 1.4rem 1.2rem;
  margin: 0;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.page-home .report-item:hover {
  border-color: var(--c-green);
  transform: translateX(4px);
}

.page-home .report-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.page-home .report-item h3 {
  font-family: var(--font-head);
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--c-navy);
  margin: 0 0 0.6rem;
}

.page-home .report-item p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.7;
}

.page-home .report-more {
  margin-top: 0.25rem;
}

.page-home .report-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.page-home .price-panel {
  background: var(--c-navy);
  border: 2px solid var(--c-gray);
  box-shadow: var(--hud-shadow);
  padding: 1.75rem 1.5rem;
  color: var(--c-cream);
}

.page-home .price-panel .panel-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--c-cream);
  margin: 0 0 0.3rem;
}

.page-home .price-panel .price-sub {
  margin: 0 0 1.25rem;
}

.page-home .price-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.page-home .price-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  border-bottom: 1px dashed rgba(138, 155, 168, 0.4);
  padding-bottom: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.page-home .price-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .report-img {
  border: 2px solid var(--c-navy);
  background: var(--c-cream);
  padding: 0.4rem;
}

.page-home .report-img img {
  display: block;
  width: 100%;
  height: auto;
}

/* 赛事规则说明入口 */
.page-home .rule-section {
  background:
    linear-gradient(rgba(138, 155, 168, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 155, 168, 0.06) 1px, transparent 1px),
    var(--c-navy-deep);
  background-size: 40px 40px;
  color: var(--c-cream);
  border-top: 1px solid var(--c-gray);
}

.page-home .rule-section .section-title {
  color: var(--c-cream);
}

.page-home .rule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.page-home .rule-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
}

.page-home .rule-intro {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-pale);
  max-width: 40em;
  margin: 0;
}

.page-home .rule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  gap: 1rem;
}

.page-home .rule-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(10, 30, 61, 0.55);
  border: 1px solid rgba(138, 155, 168, 0.35);
  padding: 1.1rem 1.2rem;
  transition: border-color 0.3s ease;
}

.page-home .rule-list li:hover {
  border-color: var(--c-green);
}

.page-home .rule-no {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1;
  color: var(--c-green);
  border: 1px solid var(--c-green);
  padding: 0.3rem 0.42rem;
  flex: 0 0 auto;
  margin-top: 0.15rem;
}

.page-home .rule-list h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: var(--c-cream);
  margin: 0 0 0.35rem;
}

.page-home .rule-list p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--c-gray);
}

.page-home .rule-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.25rem;
}

.page-home .rule-media {
  display: flex;
  justify-content: center;
}

.page-home .rule-media .frame {
  border: 2px solid var(--c-gray);
  box-shadow: var(--hud-shadow);
  padding: 0.5rem;
}

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

/* 桌面端布局 */
@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 3.5rem;
    padding-top: 3.5rem;
    padding-bottom: 6rem;
  }

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

  .page-home .version-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3.5rem;
  }

  .page-home .report-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 3rem;
  }

  .page-home .rule-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3.5rem;
  }

  .page-home .rule-media {
    justify-content: flex-end;
  }

  .page-home .rule-media .frame {
    max-width: 420px;
  }
}
