.page-home {
  --home-gap: clamp(20px, 3vw, 44px);
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-sans);
}

.page-home h1,
.page-home h2,
.page-home h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.page-home p {
  margin: 0;
}

/* ============ 首屏 ============ */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(24px, 4vw, 46px) clamp(42px, 6vw, 76px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(18, 59, 143, 0.55) 0%, rgba(7, 19, 38, 0) 62%),
    linear-gradient(160deg, var(--blue-ink) 0%, var(--ink) 58%, #050e1c 100%);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(243, 235, 221, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(243, 235, 221, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.15) 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.15) 78%, transparent 100%);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  top: -12%;
  right: -8%;
  z-index: 0;
  width: min(58vw, 760px);
  height: 78%;
  pointer-events: none;
  opacity: 0.45;
  background: linear-gradient(150deg, rgba(18, 59, 143, 0.9), rgba(11, 27, 51, 0.12));
  clip-path: polygon(18% 0, 100% 0, 100% 72%, 0 100%);
}

.page-home .hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

/* 面包屑 */
.page-home .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(243, 235, 221, 0.6);
}

.page-home .breadcrumb-list li + li::before {
  content: "/";
  margin-inline: 7px;
  color: rgba(243, 235, 221, 0.3);
}

.page-home .breadcrumb-list a {
  color: var(--cyan);
  text-decoration: none;
}

.page-home .breadcrumb-list a:hover {
  color: var(--lime);
}

.page-home .breadcrumb-list a:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

/* 左侧索引 */
.page-home .eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.page-home .hero-index h1 {
  margin: 0 0 18px;
  max-width: 12em;
  font-size: clamp(2rem, 6.2vw, 3.4rem);
  color: var(--cream);
}

.page-home .hero-lead {
  margin: 0 0 26px;
  max-width: 34em;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.78;
  color: rgba(243, 235, 221, 0.86);
}

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

.page-home .index-block {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.page-home .index-title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(243, 235, 221, 0.62);
}

.page-home .league-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .league-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--cream);
  text-decoration: none;
  border-left: 2px solid var(--cyan);
  background: linear-gradient(90deg, rgba(18, 59, 143, 0.62), rgba(11, 27, 51, 0.55));
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.page-home .league-item:hover {
  transform: translateY(-2px);
  border-left-color: var(--lime);
  background: linear-gradient(90deg, rgba(18, 59, 143, 0.92), rgba(11, 27, 51, 0.78));
}

.page-home .league-item:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}

.page-home .league-name {
  font-size: 14px;
  letter-spacing: 0.04em;
}

.page-home .league-count {
  font-size: 12px;
  color: var(--lime);
}

/* 右侧动态流 */
.page-home .hero-feed {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.page-home .feed-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--blue-ink);
}

.page-home .feed-photo {
  display: block;
  width: 100%;
  height: clamp(160px, 24vw, 262px);
  max-width: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.08) brightness(0.78);
}

.page-home .feed-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink);
  background: var(--lime);
}

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

.page-home .feed-card {
  min-width: 0;
  padding: 14px 16px 16px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--blue);
  background: linear-gradient(140deg, rgba(11, 27, 51, 0.96), rgba(7, 19, 38, 0.9));
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.page-home .feed-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  border-left-color: var(--lime);
}

.page-home .feed-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.page-home .tag--lime,
.page-home .tag--orange {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.page-home .tag--lime {
  color: var(--ink);
  background: var(--lime);
}

.page-home .tag--orange {
  color: var(--ink);
  background: var(--orange);
}

.page-home .feed-time {
  font-size: 11px;
  color: rgba(243, 235, 221, 0.55);
}

.page-home .feed-title {
  margin: 0 0 6px;
  font-size: 1.03rem;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.page-home .feed-text {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(243, 235, 221, 0.72);
}

/* ============ 数据带 ============ */
.page-home .metric-band {
  background: var(--blue);
  border-bottom: 1px solid var(--line);
}

.page-home .metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(243, 235, 221, 0.18);
}

.page-home .metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 20px clamp(14px, 2vw, 24px);
  background: var(--blue);
}

.page-home .metric-num {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
}

.page-home .metric-num em {
  margin-left: 2px;
  font-style: normal;
  font-size: 0.55em;
}

.page-home .metric-label {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(243, 235, 221, 0.82);
}

/* ============ 通用分区 ============ */
.page-home .band {
  position: relative;
  padding-block: clamp(48px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
}

.page-home .band--subscribe {
  background: var(--ink);
}

.page-home .band--replay {
  background: linear-gradient(180deg, var(--blue-ink), var(--ink));
}

.page-home .band--route {
  background: var(--blue);
}

.page-home .band--device {
  background: var(--ink);
}

.page-home .band--contact {
  background: linear-gradient(180deg, var(--blue-ink), #05101f);
  border-bottom: 0;
}

.page-home .section-head {
  max-width: 48em;
  margin-bottom: clamp(26px, 3.5vw, 42px);
}

.page-home .section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  color: var(--cream);
}

.page-home .section-lead {
  font-size: 15px;
  line-height: 1.78;
  color: rgba(243, 235, 221, 0.78);
}

/* ============ 订阅球队 ============ */
.page-home .band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.page-home .band-copy {
  min-width: 0;
}

.page-home .band-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--cream);
}

.page-home .band-aside {
  min-width: 0;
}

.page-home .band-aside img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  filter: saturate(0.9);
}

.page-home .aside-note {
  margin-top: 12px;
  padding-left: 12px;
  border-left: 2px solid var(--clay);
  font-size: 13px;
  line-height: 1.68;
  color: rgba(243, 235, 221, 0.66);
}

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

.page-home .check-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(243, 235, 221, 0.84);
}

.page-home .check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 9px;
  height: 9px;
  background: var(--lime);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* ============ 战报时间轴 ============ */
.page-home .replay-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .replay-node {
  position: relative;
  min-width: 0;
  padding: 20px 18px;
  border-top: 2px solid var(--cyan);
  background: rgba(7, 19, 38, 0.74);
  transition: transform 0.18s ease, background 0.18s ease;
}

.page-home .replay-node:nth-child(2n) {
  border-top-color: var(--orange);
}

.page-home .replay-node:nth-child(3n) {
  border-top-color: var(--moss);
}

.page-home .replay-node:hover {
  transform: translateY(-2px);
  background: rgba(11, 27, 51, 0.92);
}

.page-home .replay-mark {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.page-home .replay-node h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--cream);
}

.page-home .replay-node p {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(243, 235, 221, 0.72);
}

.page-home .replay-visual {
  margin: clamp(26px, 4vw, 44px) 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
}

.page-home .replay-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

/* ============ 四步路线 ============ */
.page-home .route-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(243, 235, 221, 0.24);
}

.page-home .route-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 24px 20px 22px;
  background: var(--blue);
}

.page-home .route-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--lime);
}

.page-home .route-step h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--cream);
}

.page-home .route-step p {
  flex: 1;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(243, 235, 221, 0.82);
}

.page-home .route-link {
  align-self: flex-start;
  padding-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(183, 255, 60, 0.45);
}

.page-home .route-link:hover {
  color: var(--cream);
  border-bottom-color: var(--cream);
}

.page-home .route-link:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.page-home .route-note {
  margin-top: 24px;
  font-size: 13.5px;
  color: rgba(243, 235, 221, 0.8);
}

.page-home .route-note a {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(183, 255, 60, 0.45);
}

.page-home .route-note a:hover {
  color: var(--cream);
}

/* ============ 多设备 ============ */
.page-home .device-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}

.page-home .device-visual {
  justify-self: center;
  width: min(100%, 320px);
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line-strong);
  background: var(--blue-ink);
}

.page-home .device-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .device-copy {
  min-width: 0;
}

.page-home .device-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--cream);
}

/* ============ 联系 ============ */
.page-home .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: rgba(243, 235, 221, 0.18);
}

.page-home .contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 20px clamp(16px, 2vw, 22px);
  background: var(--blue-ink);
}

.page-home .contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.page-home .contact-value {
  font-size: 15px;
  line-height: 1.58;
  color: var(--cream);
  word-break: break-word;
}

.page-home .copy-button {
  align-self: flex-start;
  margin-top: 4px;
  padding: 7px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--lime);
  border: 0;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease;
}

.page-home .copy-button:hover {
  background: var(--cyan);
  transform: translateY(-1px);
}

.page-home .copy-button:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 2px;
}

.page-home .copy-status {
  min-height: 1em;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--lime);
}

.page-home .contact-more {
  margin-top: 22px;
  font-size: 14px;
}

.page-home .contact-more a {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(183, 255, 60, 0.45);
  padding-bottom: 2px;
}

.page-home .contact-more a:hover {
  color: var(--cream);
  border-bottom-color: var(--cream);
}

/* ============ 响应式 ============ */
@media (min-width: 720px) {
  .page-home .metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (min-width: 820px) {
  .page-home .replay-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (min-width: 900px) {
  .page-home .band-grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }

  .page-home .device-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  }
}

@media (min-width: 960px) {
  .page-home .hero-inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(28px, 4vw, 56px);
  }

  .page-home .hero-index {
    position: sticky;
    top: clamp(96px, 12vh, 132px);
  }
}

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

  .page-home .device-visual {
    width: min(100%, 360px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .league-item,
  .page-home .feed-card,
  .page-home .replay-node,
  .page-home .copy-button {
    transition: none;
  }

  .page-home .league-item:hover,
  .page-home .feed-card:hover,
  .page-home .replay-node:hover,
  .page-home .copy-button:hover {
    transform: none;
  }
}
