.page-home {
  --home-line: rgba(0, 229, 255, 0.16);
  --home-line-soft: rgba(107, 122, 153, 0.16);
}

/* ---------- 首屏分屏 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 68px) 0 clamp(32px, 5vw, 64px);
  border-bottom: 1px solid var(--home-line);
  background:
    radial-gradient(120% 90% at 84% 6%, rgba(0, 229, 255, 0.16), transparent 62%),
    radial-gradient(90% 80% at 2% 96%, rgba(123, 92, 255, 0.16), transparent 60%);
}

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 52px);
  align-items: start;
}

.page-home .home-hero__main {
  min-width: 0;
}

.page-home .home-hero__eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 5px 12px;
  border: 1px solid var(--edge-strong);
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.06);
}

.page-home .home-hero__title {
  margin: 0 0 18px;
  font-family: var(--font-cond);
  font-size: clamp(31px, 6.4vw, 60px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  text-shadow: 0 0 30px rgba(0, 229, 255, 0.22);
}

.page-home .home-hero__title em {
  font-style: normal;
  color: var(--cyan);
}

.page-home .home-hero__lead {
  margin: 0;
  max-width: 40em;
  color: rgba(230, 241, 255, 0.82);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.78;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 30px);
}

.page-home .home-hero__stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(122px, 1fr));
  gap: 16px;
  margin: clamp(24px, 3.4vw, 36px) 0 0;
  padding: clamp(16px, 2.4vw, 22px) 0 0;
  border-top: 1px solid var(--home-line);
}

.page-home .home-hero__stats .stat {
  padding-left: 12px;
  border-left: 2px solid rgba(123, 92, 255, 0.55);
  min-width: 0;
}

.page-home .home-hero__stats .stat__value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--orange);
}

.page-home .home-hero__stats .stat__label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

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

.page-home .home-hero__figure {
  margin: 0;
  aspect-ratio: 5 / 4;
  border: 1px solid var(--edge-strong);
  background: linear-gradient(160deg, rgba(16, 42, 76, 0.92), rgba(5, 11, 26, 0.94));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), calc(100% - 44px) 100%, 0 100%);
  overflow: hidden;
}

.page-home .home-hero__figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.page-home .home-hero__trace {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8%;
  width: 100%;
  height: 46%;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.45));
}

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

/* ---------- 章节索引 ---------- */
.page-home .home-index {
  padding: 14px 0;
  border-bottom: 1px solid var(--home-line);
  background: linear-gradient(90deg, rgba(16, 42, 76, 0.62), rgba(5, 11, 26, 0.72));
}

.page-home .home-index__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.page-home .home-index__inner .eyebrow {
  flex: 0 0 auto;
  color: var(--muted);
}

.page-home .home-index__list {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 2px 0 6px;
  overflow-x: auto;
  min-width: 0;
  scrollbar-width: none;
}

.page-home .home-index__list::-webkit-scrollbar {
  display: none;
}

.page-home .home-index__list a {
  display: inline-block;
  white-space: nowrap;
  padding: 7px 13px;
  border: 1px solid var(--edge);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.page-home .home-index__list a:hover,
.page-home .home-index__list a:focus-visible {
  color: var(--cyan);
  border-color: var(--edge-strong);
  background: rgba(0, 229, 255, 0.08);
}

.page-home .home-index__list a[aria-current="location"] {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}

/* ---------- 章节骨架 ---------- */
.page-home .home-section {
  position: relative;
  padding: clamp(40px, 6vw, 82px) 0;
  border-bottom: 1px solid var(--home-line-soft);
}

.page-home .home-section--tint {
  background: linear-gradient(180deg, rgba(11, 23, 48, 0.72), rgba(5, 11, 26, 0.9));
}

.page-home .home-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-bottom: clamp(24px, 4vw, 46px);
}

.page-home .home-section__head .index-num {
  font-family: var(--font-mono);
  font-size: clamp(34px, 5.4vw, 54px);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 229, 255, 0.55);
}

.page-home .home-section__title {
  margin: 0;
  font-family: var(--font-cond);
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.24;
  font-weight: 800;
  color: var(--text);
  text-shadow: 0 0 22px rgba(123, 92, 255, 0.22);
}

.page-home .home-section__note {
  margin: 0;
  max-width: 42em;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

/* ---------- 01 数据入口错落档案卡 ---------- */
.page-home .entry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-home .entry-card {
  position: relative;
  min-width: 0;
  padding: 22px 20px 20px;
  border: 1px solid var(--edge);
  background: linear-gradient(155deg, rgba(16, 42, 76, 0.8), rgba(11, 23, 48, 0.92));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.page-home .entry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(123, 92, 255, 0.32), transparent 58%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.page-home .entry-card:hover,
.page-home .entry-card:focus-within {
  border-color: rgba(123, 92, 255, 0.75);
  background: linear-gradient(155deg, rgba(24, 52, 92, 0.92), rgba(11, 23, 48, 0.96));
}

.page-home .entry-card:hover::after,
.page-home .entry-card:focus-within::after {
  opacity: 1;
}

.page-home .entry-card .tag {
  position: relative;
  z-index: 1;
}

.page-home .entry-card__title {
  position: relative;
  z-index: 1;
  margin: 12px 0 10px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  color: var(--text);
}

.page-home .entry-card__text {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(230, 241, 255, 0.74);
}

.page-home .entry-card__link {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 255, 0.4);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .entry-card__link:hover,
.page-home .entry-card__link:focus-visible {
  color: var(--violet);
  border-color: var(--violet);
}

.page-home .entry-card__stamp {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed rgba(107, 122, 153, 0.35);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--orange);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.page-home .entry-card:hover .entry-card__stamp,
.page-home .entry-card:focus-within .entry-card__stamp {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .page-home .entry-card__stamp {
    opacity: 1;
    transform: none;
  }
}

.page-home .entry-media {
  margin: 0;
  min-width: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--home-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  overflow: hidden;
}

.page-home .entry-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  opacity: 0.72;
}

/* ---------- 02 维护记录时间线 ---------- */
.page-home .timeline-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
}

.page-home .timeline {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 0 0 0 26px;
  min-width: 0;
}

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan), var(--violet) 55%, var(--orange));
  opacity: 0.55;
}

.page-home .timeline__item {
  position: relative;
  padding-bottom: 26px;
}

.page-home .timeline__item:last-child {
  padding-bottom: 0;
}

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 4px;
  width: 11px;
  height: 11px;
  background: var(--ink);
  border: 2px solid var(--cyan);
  transform: rotate(45deg);
}

.page-home .timeline__date {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  background: rgba(255, 107, 53, 0.12);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.page-home .timeline__body h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.page-home .timeline__body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .timeline-figure {
  margin: 0;
  min-width: 0;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--edge-strong);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
  overflow: hidden;
  align-self: start;
}

.page-home .timeline-figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  opacity: 0.8;
}

/* ---------- 03 赛区切换 ---------- */
.page-home .switch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-home .switch-panel {
  min-width: 0;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--edge);
  background: linear-gradient(160deg, rgba(16, 42, 76, 0.72), rgba(5, 11, 26, 0.88));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.page-home .switch-panel--path {
  background: linear-gradient(200deg, rgba(123, 92, 255, 0.16), rgba(5, 11, 26, 0.9));
  border-color: rgba(123, 92, 255, 0.42);
}

.page-home .switch-panel__title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.page-home .switch-panel__text {
  margin: 16px 0 20px;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(230, 241, 255, 0.76);
}

.page-home .region-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
}

.page-home .region-chip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--edge);
  border-left: 2px solid var(--cyan);
  background: rgba(5, 11, 26, 0.55);
  transition: border-color 0.22s ease, border-left-color 0.22s ease, background-color 0.22s ease;
}

.page-home .region-chip:hover,
.page-home .region-chip:focus-within {
  border-color: rgba(123, 92, 255, 0.6);
  border-left-color: var(--violet);
  background: rgba(16, 42, 76, 0.8);
}

.page-home .region-chip__code {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
}

.page-home .region-chip__note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.page-home .switch-path {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 14px 16px;
  border: 1px dashed rgba(0, 229, 255, 0.34);
  background: rgba(0, 229, 255, 0.05);
}

.page-home .switch-path li {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
}

.page-home .switch-path li:not(:last-child)::after {
  content: "→";
  margin: 0 8px;
  color: var(--cyan);
}

/* ---------- 04 适用场景 ---------- */
.page-home .scene-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-home .scene-card {
  position: relative;
  min-width: 0;
  padding: 24px 20px 22px;
  border: 1px solid var(--edge);
  border-top: 2px solid var(--violet);
  background: linear-gradient(170deg, rgba(11, 23, 48, 0.9), rgba(5, 11, 26, 0.94));
  transition: border-top-color 0.24s ease, background 0.24s ease;
}

.page-home .scene-card:nth-child(2) {
  border-top-color: var(--cyan);
}

.page-home .scene-card:nth-child(3) {
  border-top-color: var(--orange);
}

.page-home .scene-card:hover {
  background: linear-gradient(170deg, rgba(16, 42, 76, 0.92), rgba(5, 11, 26, 0.96));
}

.page-home .scene-card .eyebrow {
  color: var(--mint);
}

.page-home .scene-card__title {
  margin: 10px 0 12px;
  font-size: clamp(18px, 2.2vw, 21px);
  font-weight: 700;
  color: var(--text);
}

.page-home .scene-card p {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(230, 241, 255, 0.74);
}

.page-home .scene-card__list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px dashed rgba(107, 122, 153, 0.3);
}

.page-home .scene-card__list li {
  position: relative;
  padding-left: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .scene-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--orange);
}

/* ---------- 05 品牌与联络 ---------- */
.page-home .trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.page-home .trust-figure {
  margin: 0;
  min-width: 0;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--edge-strong);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, rgba(0, 229, 255, 0.16), rgba(5, 11, 26, 0.94));
}

.page-home .trust-figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.page-home .trust-body {
  min-width: 0;
}

.page-home .trust-body__num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 107, 53, 0.6);
}

.page-home .trust-body__lead {
  margin: 14px 0 20px;
  max-width: 44em;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(230, 241, 255, 0.8);
}

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

.page-home .trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text);
}

.page-home .trust-list .status-dot {
  margin-top: 7px;
  flex: 0 0 auto;
  background: var(--mint);
  box-shadow: 0 0 8px rgba(94, 242, 194, 0.7);
}

.page-home .trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 30px);
}

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

  .page-home .entry-media {
    grid-column: span 2;
  }

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

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(32px, 4.5vw, 64px);
  }

  .page-home .home-hero__figure {
    aspect-ratio: 6 / 7;
  }

  .page-home .home-section__head {
    grid-template-columns: 104px minmax(0, 1fr) minmax(0, 0.92fr);
    gap: clamp(16px, 2.4vw, 32px);
    align-items: start;
  }

  .page-home .home-section__head .index-num {
    padding-top: 2px;
  }

  .page-home .timeline-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: start;
  }

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

  .page-home .trust-layout {
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  }

  .page-home .trust-figure {
    max-width: none;
  }
}

@media (min-width: 1120px) {
  .page-home .entry-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
  }

  .page-home .entry-card {
    grid-column: span 2;
  }

  .page-home .entry-card--wide {
    grid-column: span 3;
  }

  .page-home .entry-media {
    grid-column: span 2;
    aspect-ratio: auto;
  }

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

  .page-home .scene-card:nth-child(2) {
    transform: translateY(18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-card,
  .page-home .entry-card::after,
  .page-home .entry-card__stamp,
  .page-home .region-chip,
  .page-home .scene-card {
    transition: none;
  }
}
