.page-home {
  --home-deep: #060f27;
  --home-line: rgba(255, 255, 255, 0.14);
  --home-soft: rgba(255, 255, 255, 0.72);
  background: var(--paper);
}

/* ===== 首屏框景区 ===== */
.page-home .hero-frame {
  position: relative;
  background:
    radial-gradient(ellipse at 82% 18%, rgba(0, 232, 143, 0.14), transparent 58%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: var(--white);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
  padding: 32px 0 60px;
}

.page-home .hero-frame__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}

.page-home .hero-team-rail {
  position: relative;
  z-index: 3;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--home-line);
  border-left: 4px solid var(--accent);
  padding: 16px 12px 14px;
  backdrop-filter: blur(8px);
}

.page-home .hero-team-rail__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 12px;
}

.page-home .hero-team-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-home .hero-team-rail__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--time), transform var(--time);
}

.page-home .hero-team-rail__list a:hover {
  background: rgba(0, 232, 143, 0.1);
  transform: translateX(4px);
}

.page-home .hero-team-rail__list .rank {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 12px;
  color: var(--accent);
  background: rgba(0, 232, 143, 0.1);
  border-radius: 999px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.page-home .hero-team-rail__foot {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.page-home .hero-window {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--accent);
  outline: 1px solid rgba(255, 255, 255, 0.2);
  outline-offset: -8px;
  padding: 24px 22px 26px;
  overflow: hidden;
  min-height: 520px;
  background: var(--home-deep);
}

.page-home .hero-window__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-home .hero-window__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 15, 39, 0.5) 0%, rgba(6, 15, 39, 0.86) 78%);
  pointer-events: none;
}

.page-home .hero-window > *:not(.hero-window__bg):not(.hero-window__veil) {
  position: relative;
  z-index: 1;
}

.page-home .hero-window__topline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.page-home .hero-window__corner {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
}

.page-home .hero-window__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.7rem, 3.4vw + 1rem, 2.8rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 8px 0 10px;
  max-width: 18em;
  text-wrap: balance;
}

.page-home .hero-window__sep {
  color: var(--accent);
  margin: 0 0.1em;
}

.page-home .hero-window__lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.75;
  max-width: 56ch;
  margin-bottom: auto;
}

.page-home .hero-score {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 18px;
  background: linear-gradient(90deg, rgba(0, 232, 143, 0.16), rgba(0, 232, 143, 0.03));
  border: 1px solid rgba(0, 232, 143, 0.32);
  border-left: 6px solid var(--accent);
  padding: 14px 16px;
  max-width: 540px;
}

.page-home .hero-score__team {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.page-home .hero-score__team--away {
  align-items: flex-end;
  text-align: right;
}

.page-home .hero-score__name {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.page-home .hero-score__num {
  font-family: var(--font-num);
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  animation: home-flash 2.6s ease-in-out infinite;
}

.page-home .hero-score__mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

.page-home .hero-score__status {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--highlight);
  border: 1px solid rgba(255, 107, 0, 0.6);
  padding: 2px 8px;
  white-space: nowrap;
}

.page-home .hero-score__league {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  margin-top: 8px;
  white-space: nowrap;
}

.page-home .hero-window__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.page-home .hero-scale {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.page-home .hero-scale span {
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.page-home .hero-scale span:nth-child(1) { width: 16%; }
.page-home .hero-scale span:nth-child(2) { width: 28%; }
.page-home .hero-scale span:nth-child(3) { width: 34%; }
.page-home .hero-scale span:nth-child(4) { width: 22%; }
.page-home .hero-scale span:nth-child(5) { width: 40%; }

/* ===== 更新提示条 ===== */
.page-home .update-note {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid rgba(11, 27, 61, 0.1);
  border-left: 4px solid var(--highlight);
  box-shadow: var(--shadow);
  padding: 12px 16px;
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
}

.page-home .update-note__icon {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  background: var(--highlight);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 2px;
  flex-shrink: 0;
}

.page-home .update-note a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
  margin-left: auto;
  white-space: nowrap;
}

.page-home .update-note a:hover {
  text-decoration: underline;
}

/* ===== 战报时间线 ===== */
.page-home .report-timeline {
  position: relative;
  padding: 64px 0 36px;
}

.page-home .report-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15px;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), rgba(0, 232, 143, 0.06));
}

.page-home .section-heading-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.page-home .section-heading-row__title {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2vw + 1rem, 2rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 8px 0 0;
}

.page-home .section-heading-row__note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ash);
  max-width: 56ch;
}

.page-home .timeline-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 32px;
  padding-left: 30px;
  position: relative;
}

.page-home .timeline-item__rail {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-home .timeline-item__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 6px rgba(0, 232, 143, 0.12);
  flex-shrink: 0;
}

.page-home .timeline-item__time {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
}

.page-home .timeline-item__tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--highlight);
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.25);
  padding: 2px 6px;
}

.page-home .timeline-item__card {
  background: var(--white);
  border: 1px solid rgba(11, 27, 61, 0.08);
  border-top: 6px solid var(--primary);
  box-shadow: var(--shadow);
  padding: 18px;
  transform: rotate(-0.3deg);
  transition: transform var(--time), box-shadow var(--time);
}

.page-home .timeline-item__card:hover {
  transform: rotate(0deg) translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.page-home .timeline-item--alt .timeline-item__card {
  border-top-color: var(--highlight);
  transform: rotate(0.6deg);
}

.page-home .timeline-item--alt .timeline-item__card:hover {
  transform: rotate(0deg) translateY(-3px);
}

.page-home .timeline-item__score {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.page-home .timeline-item__team {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

.page-home .timeline-item__num {
  font-family: var(--font-num);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
}

.page-home .timeline-item__divider {
  color: var(--ash);
  font-weight: 700;
}

.page-home .timeline-item__title {
  font-size: 17px;
  font-weight: 800;
  margin: 12px 0 6px;
  line-height: 1.4;
}

.page-home .timeline-item__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ash);
  margin: 0 0 10px;
}

.page-home .timeline-item__link {
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
}

.page-home .timeline-item__link:hover {
  text-decoration: underline;
}

.page-home .timeline-item__img {
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
  transform: rotate(-0.6deg);
}

/* ===== 专家评述 ===== */
.page-home .analysis-section {
  position: relative;
  padding: 68px 0 88px;
  background:
    linear-gradient(160deg, rgba(11, 27, 61, 0.32) 0%, transparent 36%),
    var(--paper);
  clip-path: polygon(0 28px, 100% 0, 100% calc(100% - 28px), 0 100%);
}

.page-home .analysis-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(11, 27, 61, 0.05) 1px, transparent 1px);
  background-size: 100% 64px;
  pointer-events: none;
}

.page-home .analysis-matrix {
  display: grid;
  gap: 24px;
  position: relative;
}

.page-home .analysis-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--white);
  border: 1px solid rgba(11, 27, 61, 0.08);
  border-top: 6px solid var(--accent);
  box-shadow: var(--shadow);
  padding: 24px;
}

.page-home .analysis-card__num {
  font-family: var(--font-num);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(11, 27, 61, 0.3);
}

.page-home .analysis-card__tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--white);
  background: var(--primary);
  padding: 4px 10px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.page-home .analysis-card h3 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0;
}

.page-home .analysis-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ash);
  margin: 0;
}

.page-home .analysis-card__link {
  margin-top: auto;
  color: var(--highlight);
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
}

.page-home .analysis-card__link:hover {
  text-decoration: underline;
}

.page-home .analysis-card--img {
  padding: 0;
  border-top-color: var(--highlight);
}

.page-home .analysis-card__img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.page-home .analysis-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 24px 24px;
}

/* ===== 视频集锦特辑 ===== */
.page-home .video-feature {
  position: relative;
  padding: 68px 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 232, 143, 0.18), transparent 36%),
    linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: var(--white);
  overflow: hidden;
}

.page-home .video-feature__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-home .video-feature__media {
  position: relative;
  display: block;
}

.page-home .video-feature__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.4deg);
}

.page-home .video-feature__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 20px;
  box-shadow: 0 0 0 10px rgba(0, 232, 143, 0.18);
}

.page-home .video-feature__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--highlight);
  color: var(--white);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
}

.page-home .video-feature__content h2 {
  font-size: clamp(1.5rem, 2.6vw + 1rem, 2.2rem);
  font-weight: 900;
  margin: 12px 0;
  line-height: 1.25;
}

.page-home .video-feature__content p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.75;
  max-width: 54ch;
}

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

.page-home .video-feature__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
}

.page-home .video-feature__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  transform: rotate(45deg);
}

.page-home .video-feature__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== 信任数据条 ===== */
.page-home .trust-strip {
  background: var(--primary-deep);
  color: var(--white);
  padding: 36px 0 40px;
}

.page-home .trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.page-home .trust-strip__item strong {
  display: block;
  font-family: var(--font-num);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--accent);
}

.page-home .trust-strip__item strong em {
  font-style: normal;
  font-size: 15px;
}

.page-home .trust-strip__item span {
  display: block;
  font-size: 13px;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.7);
}

.page-home .trust-strip__more {
  margin: 24px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.page-home .trust-strip__more a {
  color: var(--accent);
  text-decoration: none;
  margin-right: 14px;
}

.page-home .trust-strip__more a:hover {
  text-decoration: underline;
}

/* ===== 比分对比工具 ===== */
.page-home .compare-tool {
  padding: 68px 0;
  background:
    linear-gradient(180deg, var(--paper), #f0eadf) var(--paper);
}

.page-home .compare-stage {
  display: grid;
  gap: 10px;
  margin-top: 32px;
}

.page-home .compare-stage__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 18px;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  align-self: center;
  justify-self: center;
  white-space: nowrap;
}

.page-home .compare-card {
  background: var(--white);
  border: 1px solid rgba(11, 27, 61, 0.1);
  border-top: 6px solid var(--primary);
  box-shadow: var(--shadow);
  padding: 20px;
}

.page-home .compare-card--alt {
  border-top-color: var(--highlight);
}

.page-home .compare-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.page-home .compare-card__tag {
  background: var(--accent);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  padding: 3px 8px;
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}

.page-home .compare-card--alt .compare-card__tag {
  background: var(--highlight);
  color: var(--white);
}

.page-home .compare-card__league {
  font-size: 12px;
  color: var(--ash);
}

.page-home .compare-card__teams {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.page-home .compare-card__team {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.page-home .compare-card__team:last-child {
  align-items: flex-end;
  text-align: right;
}

.page-home .compare-card__score {
  font-family: var(--font-num);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  animation: home-score-pulse 3s ease-in-out infinite;
}

.page-home .compare-card--alt .compare-card__score {
  color: var(--highlight);
}

.page-home .compare-card__vs {
  font-size: 14px;
  font-weight: 800;
  color: var(--ash);
}

.page-home .compare-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-top: 1px solid rgba(11, 27, 61, 0.08);
  padding-top: 12px;
  margin: 0;
}

.page-home .compare-card__stats div {
  text-align: center;
}

.page-home .compare-card__stats dt {
  font-size: 12px;
  color: var(--ash);
}

.page-home .compare-card__stats dd {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 16px;
  margin: 2px 0 0;
  color: var(--ink);
}

.page-home .compare-tool__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ===== 比分动效 ===== */
@keyframes home-flash {
  0%, 100% {
    text-shadow: 0 0 10px rgba(0, 232, 143, 0.35), 0 0 22px rgba(0, 232, 143, 0.1);
  }
  50% {
    text-shadow: 0 0 20px rgba(0, 232, 143, 0.75), 0 0 42px rgba(0, 232, 143, 0.28);
  }
}

@keyframes home-score-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* ===== 桌面端布局 ===== */
@media (min-width: 768px) {
  .page-home .section-heading-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .page-home .section-heading-row__note {
    text-align: right;
  }

  .page-home .timeline-item {
    grid-template-columns: 110px minmax(0, 560px);
    gap: 24px;
    padding-left: 0;
  }

  .page-home .timeline-item__rail {
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    position: relative;
  }

  .page-home .timeline-item__rail::after {
    content: "";
    position: absolute;
    top: 8px;
    right: -26px;
    width: 26px;
    height: 2px;
    background: var(--accent);
  }

  .page-home .timeline-item__img {
    grid-column: 2;
  }

  .page-home .report-timeline::before {
    display: none;
  }

  .page-home .trust-strip__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .trust-strip__item strong {
    font-size: 34px;
  }

  .page-home .compare-stage__divider {
    justify-self: stretch;
  }
}

@media (min-width: 900px) {
  .page-home .video-feature__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 44px;
  }

  .page-home .compare-stage {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 24px;
  }

  .page-home .compare-stage__divider {
    writing-mode: vertical-rl;
    letter-spacing: 0.3em;
  }
}

@media (min-width: 1024px) {
  .page-home .hero-frame__inner {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 24px;
    padding-top: 8px;
  }

  .page-home .hero-team-rail__list .team-hint {
    opacity: 0;
    visibility: hidden;
  }

  .page-home .analysis-matrix {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding-bottom: 48px;
  }

  .page-home .analysis-card--offset {
    transform: translateY(42px);
  }

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

  .page-home .hero-window__corner {
    align-self: auto;
  }

  .page-home .hero-score__num {
    font-size: 56px;
  }
}
