.page-home {
  --h-green-alpha: rgba(57, 255, 20, 0.1);
  --h-red-alpha: rgba(225, 6, 0, 0.12);
  --h-cyan-alpha: rgba(0, 229, 255, 0.08);
  --h-grid-line: rgba(255, 255, 255, 0.04);
  --h-clip-main: polygon(0 0, 100% 0, 96% 100%, 0 100%);
  --h-clip-alt: polygon(4% 0, 100% 0, 100% 100%, 0 100%);
  background: var(--bg-base);
  color: var(--fg-primary);
}

/* ========== 开屏导语 ========== */
.page-home .h-hero {
  position: relative;
  background: var(--overlay-dark);
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.page-home .h-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
}

.page-home .h-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(8, 13, 26, 0.97) 24%, rgba(22, 32, 68, 0.78) 62%, rgba(8, 13, 26, 0.9) 100%);
}

.page-home .h-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .h-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.25rem;
  grid-template-columns: 1fr;
}

.page-home .h-hero__content {
  max-width: 46rem;
}

.page-home .h-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  color: var(--accent-green);
  text-transform: uppercase;
}

.page-home .h-hero__eyebrow::before {
  content: "";
  display: inline-block;
  width: 2.5rem;
  height: 2px;
  background: var(--accent-green);
}

.page-home .h-hero__title {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 900;
}

.page-home .h-hero__title-mark {
  display: inline-block;
  color: var(--accent-green);
  background: var(--h-green-alpha);
  padding: 0.05em 0.3em 0.05em 0.18em;
  clip-path: var(--h-clip-main);
}

.page-home .h-hero__lead {
  margin: 0 0 2rem;
  font-size: var(--text-lead);
  line-height: 1.9;
  color: var(--fg-muted);
  max-width: 34em;
}

.page-home .h-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.page-home .h-hero__map {
  background: rgba(22, 32, 68, 0.55);
  border-left: 2px solid var(--accent-green);
  padding: 1rem 1.25rem 1.1rem;
  align-self: start;
}

.page-home .h-hero__map-title {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
}

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

.page-home .h-hero__map-list li {
  margin-bottom: 0.85rem;
}

.page-home .h-hero__map-list li:last-child {
  margin-bottom: 0;
}

.page-home .h-hero__map-list a {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  color: var(--fg-primary);
  text-decoration: none;
  font-weight: 600;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid transparent;
  transition: color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
}

.page-home .h-hero__map-list a:hover,
.page-home .h-hero__map-list a:focus-visible {
  color: var(--accent-green);
  border-bottom-color: var(--accent-green);
}

.page-home .h-hero__map-no {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
}

/* ========== 版本对照 ========== */
.page-home .h-compare {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-base) 100%);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.page-home .h-compare__header,
.page-home .h-matches__header,
.page-home .h-sync__header,
.page-home .h-contact__header {
  max-width: 52rem;
  margin-bottom: 2.5rem;
}

.page-home .h-compare__index,
.page-home .h-matches__index,
.page-home .h-sync__index,
.page-home .h-contact__index {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: var(--accent-cyan);
}

.page-home .h-compare__index::before,
.page-home .h-matches__index::before,
.page-home .h-sync__index::before,
.page-home .h-contact__index::before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 2px;
  background: var(--accent-red);
}

.page-home .h-compare__title,
.page-home .h-matches__title,
.page-home .h-sync__title,
.page-home .h-contact__title {
  margin: 0 0 1rem;
}

.page-home .h-compare__lead,
.page-home .h-matches__lead,
.page-home .h-sync__lead,
.page-home .h-contact__lead {
  margin: 0;
  line-height: 1.85;
  color: var(--fg-muted);
  max-width: 44em;
}

.page-home .h-compare__layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.page-home .h-compare__card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line-subtle);
  padding: 1.75rem 1.5rem;
  overflow: hidden;
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
}

.page-home .h-compare__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
}

.page-home .h-compare__card--android {
  border-left: 3px solid var(--accent-green);
}

.page-home .h-compare__card--android::before {
  background: linear-gradient(90deg, var(--accent-green), rgba(57, 255, 20, 0.08));
  clip-path: var(--h-clip-main);
}

.page-home .h-compare__card--pc {
  border-left: 3px solid var(--accent-red);
}

.page-home .h-compare__card--pc::before {
  background: linear-gradient(90deg, var(--accent-red), rgba(225, 6, 0, 0.08));
  clip-path: var(--h-clip-alt);
}

.page-home .h-compare__card--android:hover {
  border-color: rgba(57, 255, 20, 0.35);
  box-shadow: 0 0 24px rgba(57, 255, 20, 0.08);
  transform: translateY(-2px);
}

.page-home .h-compare__card--pc:hover {
  border-color: rgba(225, 6, 0, 0.35);
  box-shadow: 0 0 24px rgba(225, 6, 0, 0.08);
  transform: translateY(-2px);
}

.page-home .h-compare__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.page-home .h-compare__card-sub {
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.page-home .h-compare__list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.page-home .h-compare__list li {
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.6;
  font-size: 0.95rem;
  color: var(--fg-primary);
}

.page-home .h-compare__list li::before {
  content: "›";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--accent-green);
}

.page-home .h-compare__card--pc .h-compare__list li::before {
  color: var(--accent-red);
}

.page-home .h-compare__card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem 0.9rem;
  font-size: 0.8125rem;
}

.page-home .h-compare__card-meta span {
  color: var(--fg-muted);
}

.page-home .h-compare__card-meta strong {
  color: var(--fg-primary);
}

.page-home .h-compare__flow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0;
}

.page-home .h-compare__flow svg {
  width: 68px;
  height: auto;
  display: block;
}

.page-home .h-flow__line {
  stroke: var(--accent-cyan);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  opacity: 0.7;
}

.page-home .h-flow__arrow {
  stroke: var(--accent-green);
  fill: none;
  stroke-width: 2;
}

.page-home .h-flow__node {
  fill: rgba(57, 255, 20, 0.12);
  stroke: var(--accent-green);
  stroke-width: 1.5;
}

.page-home .h-flow__text {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  fill: var(--fg-primary);
}

.page-home .h-compare__spec-wrap {
  margin: 0 0 2.5rem;
  overflow-x: auto;
  background: rgba(8, 13, 26, 0.35);
  border: 1px solid var(--line-subtle);
}

.page-home .h-compare__spec {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
}

.page-home .h-compare__spec th,
.page-home .h-compare__spec td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line-subtle);
  font-size: 0.9rem;
}

.page-home .h-compare__spec thead th {
  background: rgba(57, 255, 20, 0.06);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--accent-green);
}

.page-home .h-compare__spec tbody tr:last-child th,
.page-home .h-compare__spec tbody tr:last-child td {
  border-bottom: 0;
}

.page-home .h-compare__spec tbody th {
  color: var(--fg-muted);
  font-weight: 500;
}

.page-home .h-compare__spec tbody td {
  color: var(--fg-primary);
}

.page-home .h-compare__spec tbody td:first-of-type {
  color: var(--accent-cyan);
  font-weight: 600;
}

.page-home .h-compare__media {
  margin: 0;
  max-width: 52rem;
}

.page-home .h-compare__media img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line-subtle);
  filter: saturate(0.85) brightness(1.05);
}

.page-home .h-compare__media figcaption {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent-green);
  font-size: 0.875rem;
  color: var(--fg-muted);
}

/* ========== 重点场次速览 ========== */
.page-home .h-matches {
  background: var(--bg-base);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.page-home .h-matches__media {
  margin: 0 0 2.5rem;
  max-width: 400px;
}

.page-home .h-matches__media img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line-subtle);
}

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

.page-home .h-matches__item {
  position: relative;
  padding-left: 1.75rem;
  padding-bottom: 2.5rem;
}

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

.page-home .h-matches__item::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.4rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(57, 255, 20, 0.5), rgba(57, 255, 20, 0.05));
}

.page-home .h-matches__item:last-child::before {
  bottom: 0.6rem;
}

.page-home .h-matches__item::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  background: var(--accent-green);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.5);
}

.page-home .h-matches__time {
  margin-bottom: 0.6rem;
}

.page-home .h-matches__stage {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  background: var(--h-cyan-alpha);
  padding: 0.25rem 0.6rem;
  clip-path: var(--h-clip-main);
}

.page-home .h-matches__body {
  background: rgba(22, 32, 68, 0.45);
  border-left: 2px solid var(--accent-green);
  padding: 1.25rem 1.25rem 1.1rem;
}

.page-home .h-matches__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.page-home .h-matches__head h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.page-home .h-matches__score {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-green);
}

.page-home .h-matches__desc {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--fg-muted);
}

.page-home .h-matches__details {
  border-top: 1px solid var(--line-subtle);
  padding-top: 0.75rem;
}

.page-home .h-matches__details summary {
  position: relative;
  padding-left: 1.1rem;
  list-style: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.page-home .h-matches__details summary::-webkit-details-marker {
  display: none;
}

.page-home .h-matches__details summary::before {
  content: "+";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--accent-green);
  transition: transform var(--duration-fast) var(--ease-out);
}

.page-home .h-matches__details[open] summary::before {
  transform: rotate(45deg);
}

.page-home .h-matches__breakdown {
  margin-top: 0.85rem;
  background: rgba(8, 13, 26, 0.4);
  border-left: 2px solid var(--accent-cyan);
  padding: 0.9rem 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--fg-muted);
}

.page-home .h-matches__breakdown p {
  margin: 0;
}

.page-home .h-matches__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.5rem;
}

/* ========== 数据同步与收藏 ========== */
.page-home .h-sync {
  position: relative;
  background: var(--overlay-dark);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  overflow: hidden;
}

.page-home .h-sync::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-red) 0%, var(--accent-green) 34%, transparent 100%);
}

.page-home .h-sync__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2.5rem 0;
}

.page-home .h-sync__stat {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.07), rgba(22, 32, 68, 0.5));
  border: 1px solid var(--line-subtle);
  padding: 1.5rem 1.25rem;
}

.page-home .h-sync__stat::after {
  content: "";
  position: absolute;
  right: -0.5rem;
  bottom: -0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid rgba(57, 255, 20, 0.15);
  transform: rotate(45deg);
}

.page-home .h-sync__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--accent-green);
}

.page-home .h-sync__stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--fg-muted);
}

.page-home .h-sync__content {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-home .h-sync__text h3 {
  margin: 1.4rem 0 0.6rem;
  font-size: 1.35rem;
  color: var(--fg-primary);
}

.page-home .h-sync__text h3:first-child {
  margin-top: 0;
}

.page-home .h-sync__text h3::before {
  content: "// ";
  color: var(--accent-green);
}

.page-home .h-sync__text p {
  margin: 0 0 1rem;
  line-height: 1.8;
  color: var(--fg-muted);
}

.page-home .h-sync__pipeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0;
}

.page-home .h-sync__pipeline li {
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid var(--accent-cyan);
  padding: 0.7rem 0.9rem;
  font-size: 0.875rem;
  color: var(--fg-primary);
}

.page-home .h-sync__pipeline li span {
  display: inline-block;
  margin-right: 0.5rem;
  font-family: var(--font-display);
  color: var(--accent-green);
}

.page-home .h-sync__media {
  margin: 0;
  position: relative;
}

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

.page-home .h-sync__media figcaption {
  margin-top: 0.6rem;
  text-align: right;
  font-size: 0.8125rem;
  color: var(--fg-muted);
}

/* ========== 联系入口 ========== */
.page-home .h-contact {
  background: var(--bg-base);
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.page-home .h-contact__grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.page-home .h-contact__item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--line-subtle);
  border-left: 3px solid var(--accent-green);
  padding: 1.4rem 1.25rem;
}

.page-home .h-contact__item-label {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
}

.page-home .h-contact__item-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg-primary);
  text-decoration: none;
  word-break: break-all;
}

.page-home .h-contact__item-value:hover,
.page-home .h-contact__item-value:focus-visible {
  color: var(--accent-green);
}

.page-home .h-contact__item-value--plain {
  word-break: normal;
}

.page-home .h-contact__foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  border-top: 1px solid var(--line-subtle);
  padding-top: 1.75rem;
}

.page-home .h-contact__foot p {
  margin: 0;
  max-width: 42em;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--fg-muted);
}

.page-home .h-contact__foot p a {
  color: var(--accent-green);
}

.page-home .h-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ========== 响应式增强 ========== */
@media (min-width: 680px) {
  .page-home .h-contact__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .h-contact__foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 720px) {
  .page-home .h-matches__item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1.5rem;
    padding-left: 0;
    padding-bottom: 2.5rem;
  }

  .page-home .h-matches__item::before {
    left: 104px;
  }

  .page-home .h-matches__item::after {
    left: 99px;
  }

  .page-home .h-matches__time {
    margin-bottom: 0;
    padding-top: 0.3rem;
    text-align: right;
  }

  .page-home .h-matches__cta {
    padding-left: calc(110px + 1.5rem);
  }
}

@media (min-width: 760px) {
  .page-home .h-sync__stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 820px) {
  .page-home .h-sync__content {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .page-home .h-sync__media {
    margin-left: 1.5rem;
  }
}

@media (min-width: 860px) {
  .page-home .h-hero__inner {
    grid-template-columns: 7fr 3fr;
    align-items: center;
    gap: 3rem;
  }

  .page-home .h-compare__layout {
    display: grid;
    grid-template-columns: 1fr 110px 1fr;
    align-items: center;
    gap: 0;
  }

  .page-home .h-compare__flow svg {
    width: 110px;
  }

  .page-home .h-compare__card {
    padding: 2rem 1.75rem;
  }
}

@media (min-width: 1024px) {
  .page-home .h-matches__body {
    padding: 1.5rem 1.75rem 1.3rem;
  }

  .page-home .h-contact__item {
    padding: 1.6rem 1.5rem;
  }
}
