.page-home {
  --home-cut: 22px;
  --home-line: rgba(138, 147, 163, 0.34);
  --home-line-dark: rgba(4, 16, 28, 0.22);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  padding-top: clamp(104px, 14vh, 152px);
}

.page-home .home-context {
  padding-bottom: clamp(14px, 2vw, 22px);
}

.page-home .home-context__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
}

.page-home .home-context__meta {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--rock);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(56px, 8vw, 104px);
  border-bottom: 3px solid var(--ink-2);
}

.page-home .hero__slash {
  position: absolute;
  top: -18%;
  left: -16%;
  width: 72%;
  height: 118%;
  background: linear-gradient(142deg, rgba(46, 216, 230, 0.22), rgba(6, 26, 46, 0) 64%);
  clip-path: polygon(0 0, 100% 0, 68% 100%, 0 100%);
  pointer-events: none;
  z-index: 0;
}

.page-home .hero__slash--flame {
  position: absolute;
  top: -8%;
  right: 4%;
  width: 30%;
  height: 34%;
  background: linear-gradient(200deg, rgba(255, 90, 31, 0.32), rgba(255, 90, 31, 0) 72%);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
  pointer-events: none;
  z-index: 0;
}

.page-home .hero__speed {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14%;
  width: 100%;
  height: 42%;
  opacity: 0.62;
  pointer-events: none;
  z-index: 1;
}

.page-home .hero__speed line {
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-dasharray: 14 12;
  vector-effect: non-scaling-stroke;
}

.page-home .hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(44px, 7vw, 64px);
  align-items: center;
  padding-top: clamp(20px, 3vw, 36px);
}

.page-home .hero__title {
  margin: 18px 0 0;
  font-size: clamp(40px, 9vw, 92px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.02em;
  transform: rotate(-1.6deg);
  transform-origin: left center;
}

.page-home .hero__title .tilt {
  display: inline-block;
}

.page-home .hero__copy .lead {
  margin: clamp(20px, 3vw, 30px) 0 0;
  color: rgba(245, 242, 234, 0.82);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(24px, 3.4vw, 34px);
}

.page-home .hero__facts {
  list-style: none;
  margin: clamp(30px, 4.4vw, 46px) 0 0;
  padding: 20px 0 0;
  border-top: 2px dashed var(--home-line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px 22px;
}

.page-home .hero__fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .hero__fact .stat {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--lime);
}

.page-home .hero__fact-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--rock);
}

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

.page-home .hero__window::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 3px solid var(--cyan);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 80% 100%, 0 100%);
  z-index: 0;
}

.page-home .hero__window .frame {
  position: relative;
  z-index: 1;
}

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

.page-home .hero__badge {
  position: absolute;
  left: 0;
  bottom: -20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 16px;
  background: var(--black);
  border: 2px solid var(--cyan);
  box-shadow: var(--hard-sm);
}

.page-home .hero__badge-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--rock);
}

.page-home .hero__badge-score {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 800;
  color: var(--lime);
}

/* ---------- 联赛专题 ---------- */
.page-home .home-league {
  background: var(--sand);
  color: var(--black);
  padding: clamp(52px, 9vw, 112px) 0;
}

.page-home .home-league .eyebrow {
  color: var(--black);
}

.page-home .section__title {
  margin: 14px 0 0;
  font-size: clamp(28px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.page-home .home-league .lead,
.page-home .league__intro {
  margin: clamp(16px, 2.4vw, 24px) 0 0;
  max-width: 680px;
  color: rgba(4, 16, 28, 0.78);
}

.page-home .project-list {
  list-style: none;
  margin: clamp(32px, 5vw, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 clamp(20px, 3vw, 40px);
}

.page-home .project {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 0 22px;
  border-top: 3px solid var(--black);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.page-home .project:hover {
  border-color: var(--cyan);
  transform: translateX(4px);
}

.page-home .project__index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: rgba(4, 16, 28, 0.62);
}

.page-home .project__name {
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 800;
  line-height: 1.2;
}

.page-home .project__desc {
  font-size: 14px;
  line-height: 1.72;
  color: rgba(4, 16, 28, 0.74);
}

.page-home .league__cta {
  margin: clamp(30px, 4.4vw, 48px) 0 0;
}

/* ---------- 场馆 + 数据面板 ---------- */
.page-home .home-venue {
  background: var(--ink);
  padding: clamp(52px, 9vw, 112px) 0;
}

.page-home .venue__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 5vw, 64px);
}

.page-home .venue__panel {
  background: var(--ink-2);
  border: 3px solid var(--cyan);
  box-shadow: var(--hard);
  padding: clamp(18px, 3vw, 28px);
  min-width: 0;
}

.page-home .venue__panel-title {
  margin: clamp(18px, 2.6vw, 24px) 0 0;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.page-home .venue__steps {
  list-style: none;
  margin: clamp(18px, 2.6vw, 26px) 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: none;
}

.page-home .venue__step {
  display: grid;
  gap: 4px;
  padding-left: 14px;
  border-left: 3px solid var(--flame);
}

.page-home .venue__step-no {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--flame);
}

.page-home .venue__step-text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 242, 234, 0.82);
}

.page-home .venue__note {
  margin: clamp(18px, 2.4vw, 24px) 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--rock);
}

.page-home .venue__cta {
  margin: 18px 0 0;
}

.page-home .data-panel {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 30px);
  min-width: 0;
}

.page-home .data-panel__title {
  margin: 12px 0 0;
  font-size: clamp(24px, 3.6vw, 38px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-home .data-panel__lead {
  margin: 0;
  max-width: 660px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(245, 242, 234, 0.8);
}

.page-home .data-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px 20px;
}

.page-home .data-metric {
  padding-left: 14px;
  border-left: 3px solid var(--cyan);
}

.page-home .data-metric__num {
  display: block;
  font-family: var(--mono);
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 800;
  line-height: 1;
  color: var(--lime);
}

.page-home .data-metric__label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--rock);
}

.page-home .meters {
  display: grid;
  gap: 14px;
}

.page-home .meter__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--rock);
}

.page-home .meter__val {
  color: var(--cyan);
}

.page-home .meter__track {
  display: block;
  height: 8px;
  margin-top: 7px;
  background: rgba(138, 147, 163, 0.2);
  border: 1px solid var(--home-line);
  overflow: hidden;
}

.page-home .meter__fill {
  display: block;
  height: 100%;
  width: 40%;
}

.page-home .meter__fill--a {
  background: var(--cyan);
  animation: home-meter-a 5.4s ease-in-out infinite;
}

.page-home .meter__fill--b {
  background: var(--lime);
  animation: home-meter-b 6.8s ease-in-out infinite;
}

.page-home .meter__fill--c {
  background: var(--flame);
  animation: home-meter-c 6s ease-in-out infinite;
}

@keyframes home-meter-a {
  0%, 100% { width: 26%; }
  50% { width: 94%; }
}

@keyframes home-meter-b {
  0%, 100% { width: 92%; }
  50% { width: 32%; }
}

@keyframes home-meter-c {
  0%, 100% { width: 48%; }
  50% { width: 88%; }
}

.page-home .scoreline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--home-line);
}

.page-home .scoreline__row {
  border-bottom: 1px solid var(--home-line);
}

.page-home .scoreline__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 4px;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.22s ease, padding-left 0.22s ease;
}

.page-home .scoreline__link:hover {
  background: rgba(46, 216, 230, 0.1);
  padding-left: 12px;
}

.page-home .scoreline__league {
  font-size: 14px;
  color: rgba(245, 242, 234, 0.86);
}

.page-home .scoreline__score {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 800;
  color: var(--lime);
  white-space: nowrap;
}

.page-home .data-panel__figure {
  margin: 0;
}

/* ---------- 重点场次合集 ---------- */
.page-home .home-highlights {
  background: var(--ink-2);
  padding: clamp(52px, 9vw, 112px) 0;
}

.page-home .highlights__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 56px);
}

.page-home .highlights__lead {
  margin: clamp(16px, 2.4vw, 24px) 0 0;
  max-width: 660px;
  font-size: 16px;
  line-height: 1.76;
  color: rgba(245, 242, 234, 0.8);
}

.page-home .highlights__list {
  display: grid;
  margin-top: clamp(26px, 4vw, 40px);
}

.page-home .hl-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-areas:
    "no name"
    "no tags"
    "no score";
  gap: 4px 14px;
  align-items: center;
  min-height: 56px;
  padding: 13px 12px;
  color: inherit;
  text-decoration: none;
  border: 2px solid transparent;
  border-bottom: 2px solid rgba(46, 216, 230, 0.2);
  transition: border-color 0.22s ease, background-color 0.22s ease,
    transform 0.22s ease, box-shadow 0.22s ease;
}

.page-home .hl-row:hover,
.page-home .hl-row:focus-visible {
  border-color: var(--cyan);
  background: rgba(6, 26, 46, 0.72);
  transform: translate(-2px, -2px);
  box-shadow: var(--hard-sm);
}

.page-home .hl-row__no {
  grid-area: no;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--rock);
}

.page-home .hl-row__name {
  grid-area: name;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.page-home .hl-row__tags {
  grid-area: tags;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--rock);
}

.page-home .hl-row__score {
  grid-area: score;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 800;
  color: var(--lime);
}

.page-home .highlights__cta {
  margin: clamp(28px, 4vw, 42px) 0 0;
}

.page-home .highlights__media {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-home .highlights__media-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--rock);
}

/* ---------- 换设备提示 ---------- */
.page-home .home-switch {
  background: var(--ink);
  border-top: 3px solid var(--ink-2);
  padding: clamp(48px, 7vw, 92px) 0;
}

.page-home .switch__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3.6vw, 40px);
}

.page-home .switch__head .section__title {
  font-size: clamp(26px, 4vw, 44px);
}

.page-home .switch__copy p {
  margin: 0 0 12px;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.76;
  color: rgba(245, 242, 234, 0.82);
}

.page-home .switch__cta {
  margin: 20px 0 0;
}

/* ---------- 联系 ---------- */
.page-home .home-contact {
  background: var(--paper);
  color: var(--black);
  padding: clamp(52px, 8vw, 104px) 0;
}

.page-home .home-contact .eyebrow {
  color: var(--black);
}

.page-home .contact-title {
  color: var(--black);
}

.page-home .contact-grid {
  list-style: none;
  margin: clamp(28px, 4.4vw, 48px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 3px solid var(--black);
}

.page-home .contact-grid__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--home-line-dark);
  min-width: 0;
}

.page-home .contact-grid__key {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: rgba(4, 16, 28, 0.66);
}

.page-home .contact-grid__val {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 700;
  line-height: 1.55;
  word-break: break-word;
}

.page-home .contact-note {
  margin: clamp(22px, 3vw, 30px) 0 0;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(4, 16, 28, 0.76);
}

.page-home .contact-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin: clamp(26px, 4vw, 40px) 0 0;
  padding-top: 18px;
  border-top: 2px solid var(--black);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(4, 16, 28, 0.7);
}

.page-home .contact-meta__link {
  color: var(--black);
  text-decoration: none;
  border-bottom: 2px solid var(--black);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .contact-meta__link:hover {
  color: var(--flame);
  border-color: var(--flame);
}

/* ---------- 响应式 ---------- */
@media (max-width: 479px) {
  .page-home .hero__badge {
    position: static;
    margin-top: 18px;
  }

  .page-home .hero__window::before {
    inset: 12px -10px -12px 10px;
  }
}

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

  .page-home .hl-row {
    grid-template-columns: 44px minmax(0, 1fr) auto auto;
    grid-template-areas: "no name tags score";
    align-items: center;
    padding: 15px 14px;
  }

  .page-home .hl-row__score {
    justify-self: end;
    padding-left: 16px;
  }

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

  .page-home .contact-grid__item {
    border-bottom: none;
    border-right: 1px solid var(--home-line-dark);
    padding: 24px 24px 24px 0;
  }

  .page-home .contact-grid__item:last-child {
    border-right: none;
    padding-right: 0;
  }
}

@media (min-width: 900px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  }
}

@media (min-width: 980px) {
  .page-home .venue__grid {
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
  }

  .page-home .venue__panel {
    position: sticky;
    top: calc(var(--header-h) + 28px);
  }

  .page-home .highlights__grid {
    grid-template-columns: minmax(0, 1.34fr) minmax(0, 0.66fr);
    align-items: start;
  }

  .page-home .switch__grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(36px, 6vw, 80px);
    align-items: start;
  }
}

@media (min-width: 1280px) {
  .page-home .highlights__media {
    margin-top: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .meter__fill {
    animation: none;
  }

  .page-home .meter__fill--a { width: 78%; }
  .page-home .meter__fill--b { width: 62%; }
  .page-home .meter__fill--c { width: 70%; }

  .page-home .hl-row,
  .page-home .project,
  .page-home .scoreline__link {
    transition: none;
  }

  .page-home .hero__title {
    transform: none;
  }
}
