.page-home {
  --home-corner: 12px;
  overflow-x: hidden;
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home a:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
}

/* ===== 首屏 ===== */
.page-home .home-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--c-night);
  isolation: isolate;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.page-home .home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.45) contrast(1.15);
}

.page-home .home-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, rgba(10, 27, 42, 0.94) 0%, rgba(10, 27, 42, 0.72) 56%, rgba(255, 77, 0, 0.34) 130%);
}

.page-home .home-hero__slash {
  position: absolute;
  right: -12%;
  bottom: -60px;
  width: 56%;
  height: 170px;
  background: var(--c-primary);
  transform: skewX(-18deg);
  z-index: 0;
  opacity: 0.88;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 74px;
  padding-bottom: 90px;
}

.page-home .home-hero__content {
  max-width: 740px;
}

.page-home .home-hero__kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-yellow);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-home .home-hero__dot {
  width: 8px;
  height: 8px;
  background: var(--c-primary);
  border-radius: 50%;
  display: block;
  flex: 0 0 auto;
}

.page-home .home-hero__title {
  font-family: var(--font-title);
  font-size: clamp(44px, 11vw, 88px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}

.page-home .home-hero__lead {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(245, 245, 245, 0.92);
  max-width: 600px;
  margin-bottom: 28px;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .home-her .btn {
  margin: 0;
}

.page-home .home-hero__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 40px;
  max-width: 440px;
}

.page-home .home-hero__fact {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 3px solid var(--c-primary);
  padding: 14px 16px;
  backdrop-filter: blur(6px);
}

.page-home .home-hero__factnum {
  display: block;
  font-family: var(--font-mono);
  font-size: 27px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.page-home .home-hero__factlabel {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(245, 245, 245, 0.72);
  margin-top: 4px;
}

/* ===== 章节快速索引 ===== */
.page-home .home-quicknav {
  background: var(--c-ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .home-quicknav__inner {
  display: flex;
  flex-wrap: wrap;
  padding-top: 0;
  padding-bottom: 0;
}

.page-home .home-quicknav__inner a {
  display: block;
  padding: 15px 22px;
  font-size: 14px;
  color: rgba(245, 245, 245, 0.85);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s ease, background 0.2s ease;
}

.page-home .home-quicknav__inner a:hover,
.page-home .home-quicknav__inner a:focus-visible {
  color: #fff;
  background: var(--c-primary);
}

/* ===== 01 今天的热闹 ===== */
.page-home .home-today {
  background: var(--c-paper);
  padding-top: 64px;
  padding-bottom: 72px;
}

.page-home .home-today__top {
  display: grid;
  gap: 36px;
}

.page-home .home-today__intro {
  max-width: 420px;
}

.page-home .home-today__intro .section-title {
  margin-bottom: 14px;
}

.page-home .home-today__intro .section-lead {
  margin-bottom: 18px;
}

.page-home .home-today__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--c-primary);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.page-home .home-today__more span {
  transition: transform 0.2s ease;
}

.page-home .home-today__more:hover,
.page-home .home-today__more:focus-visible {
  border-bottom-color: var(--c-primary);
}

.page-home .home-today__more:hover span,
.page-home .home-today__more:focus-visible span {
  transform: translateX(4px);
}

.page-home .home-today__matches {
  display: grid;
  gap: 12px;
}

.page-home .home-today__match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  gap: 4px 12px;
  align-items: center;
  padding: 18px 18px;
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: 0 2px 8px rgba(17, 17, 17, 0.04);
  text-decoration: none;
  color: var(--c-ink);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.page-home .home-today__match:hover,
.page-home .home-today__match:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(17, 17, 17, 0.12);
  border-color: rgba(255, 77, 0, 0.5);
}

.page-home .home-today__mtag {
  grid-column: 1 / 4;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--c-gray);
}

.page-home .home-today__mteams {
  grid-column: 1 / 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-home .home-today__mteam {
  font-size: 16px;
  font-weight: 600;
  flex: 1;
}

.page-home .home-today__mteam:last-of-type {
  text-align: right;
}

.page-home .home-today__mscore {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-primary);
  white-space: nowrap;
}

.page-home .home-today__mmeta {
  grid-column: 1 / 4;
  font-size: 12px;
  color: var(--c-gray);
}

.page-home .home-today__chart {
  margin-top: 56px;
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: 0 6px 24px rgba(17, 17, 17, 0.05);
  padding: 22px;
}

.page-home .home-today__charthead {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}

.page-home .home-today__charttitle {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.page-home .home-today__charttag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-home .home-today__chartimg img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* ===== 02 六月全量战绩 ===== */
.page-home .home-june {
  position: relative;
  padding-top: 84px;
  padding-bottom: 84px;
  overflow: hidden;
}

.page-home .home-june__stripes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--c-primary) 0 90px, var(--c-yellow) 90px 120px, rgba(255, 255, 255, 0.12) 120px 140px);
}

.page-home .home-june__head {
  max-width: 640px;
  margin-bottom: 40px;
}

.page-home .home-june__head .section-index {
  color: var(--c-primary);
}

.page-home .home-june__head .section-title {
  color: #fff;
  margin-bottom: 14px;
}

.page-home .home-june__head .section-lead {
  color: rgba(245, 245, 245, 0.85);
  margin-bottom: 22px;
}

.page-home .home-june__body {
  display: grid;
  gap: 40px;
}

.page-home .home-june .stat-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--c-primary);
  padding: 20px 18px;
  color: #fff;
}

.page-home .home-june .stat-card__value {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  display: block;
  color: var(--c-yellow);
  line-height: 1.15;
}

.page-home .home-june .stat-card__label {
  display: block;
  font-size: 13px;
  color: rgba(245, 245, 245, 0.75);
  margin-top: 6px;
}

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

.page-home .home-june__heat {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
}

.page-home .home-june__cell {
  aspect-ratio: 1.65;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(245, 245, 245, 0.82);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.page-home .home-june__cell:nth-child(5),
.page-home .home-june__cell:nth-child(12),
.page-home .home-june__cell:nth-child(19),
.page-home .home-june__cell:nth-child(26) {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
  font-weight: 700;
}

/* ===== 03 V4核心能力 ===== */
.page-home .home-v4 {
  background: #fff;
  padding-top: 72px;
  padding-bottom: 80px;
}

.page-home .home-v4__head {
  max-width: 680px;
  margin-bottom: 40px;
}

.page-home .home-v4__head .section-title {
  margin-bottom: 14px;
}

.page-home .home-v4__head .section-lead {
  margin-bottom: 22px;
}

.page-home .home-v4__grid {
  display: grid;
  gap: 24px;
}

.page-home .home-v4__block {
  border: 1px solid var(--c-line);
  box-shadow: 0 6px 24px rgba(17, 17, 17, 0.05);
  padding: 24px;
}

.page-home .home-v4__block--archive {
  background: var(--c-night);
  color: rgba(245, 245, 245, 0.88);
  display: grid;
  gap: 24px;
}

.page-home .home-v4__block--archive .home-v4__title {
  color: #fff;
}

.page-home .home-v4__block--archive .home-v4__text {
  color: rgba(245, 245, 245, 0.82);
}

.page-home .home-v4__title {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--c-ink);
}

.page-home .home-v4__text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-gray);
  margin-bottom: 0;
}

.page-home .home-v4__list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
}

.page-home .home-v4__list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.page-home .home-v4__list dt {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(245, 245, 245, 0.6);
}

.page-home .home-v4__list dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-yellow);
}

.page-home .home-v4__block--lineup,
.page-home .home-v4__block--leagues {
  display: grid;
  gap: 20px;
  background: var(--c-paper);
}

.page-home .home-v4__img {
  margin: 0;
}

.page-home .home-v4__img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* ===== 04 收藏本站 ===== */
.page-home .home-favorite {
  position: relative;
  background: var(--c-paper);
  padding-top: 68px;
  padding-bottom: 76px;
  overflow: hidden;
}

.page-home .home-favorite__slash {
  position: absolute;
  top: 0;
  right: 0;
  width: 260px;
  height: 260px;
  background: repeating-linear-gradient(135deg, var(--c-primary) 0 12px, transparent 12px 24px);
  opacity: 0.14;
  z-index: 0;
}

.page-home .home-favorite .container {
  position: relative;
  z-index: 1;
}

.page-home .home-favorite .section-lead {
  margin-bottom: 36px;
}

.page-home .home-favorite__wrap {
  display: grid;
  gap: 28px;
}

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

.page-home .home-favorite__step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--c-line);
  padding: 20px;
  box-shadow: 0 2px 10px rgba(17, 17, 17, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.page-home .home-favorite__step:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.08);
}

.page-home .home-favorite__stepnum {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-primary);
  background: rgba(255, 77, 0, 0.1);
  min-width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.page-home .home-favorite__steptitle {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--c-ink);
}

.page-home .home-favorite__step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-gray);
}

.page-home .home-favorite__tip {
  padding: 26px;
  background: var(--c-night);
  color: rgba(245, 245, 245, 0.9);
  border: 0;
  box-shadow: 0 12px 32px rgba(10, 27, 42, 0.28);
  align-self: start;
}

.page-home .home-favorite__tiptitle {
  color: #fff;
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
}

.page-home .home-favorite__tip p {
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
}

.page-home .home-favorite__tip a {
  color: var(--c-yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .home-favorite__tip a:hover,
.page-home .home-favorite__tip a:focus-visible {
  color: #fff;
}

/* ===== 信任声明 ===== */
.page-home .home-trust {
  background: var(--c-ink);
  color: #aaa;
  padding: 24px 0;
}

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

.page-home .home-trust p {
  margin: 0;
  max-width: 800px;
  font-size: 14px;
  line-height: 1.7;
}

.page-home .home-trust strong {
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
}

.page-home .home-trust__link {
  color: var(--c-primary);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 77, 0, 0.4);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-home .home-trust__link:hover,
.page-home .home-trust__link:focus-visible {
  color: var(--c-yellow);
  border-bottom-color: var(--c-yellow);
}

/* ===== 平板以上 ===== */
@media (min-width: 720px) {
  .page-home .home-hero__inner {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 56px;
    align-items: end;
  }

  .page-home .home-hero__facts {
    margin-top: 0;
  }

  .page-home .home-today__top {
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: start;
  }

  .page-home .home-today__matches {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .page-home .home-june__body {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .page-home .home-june__heat {
    grid-column: 1 / -1;
  }

  .page-home .home-v4__block--archive {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .page-home .home-v4__block--lineup,
  .page-home .home-v4__block--leagues {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .page-home .home-favorite__wrap {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

/* ===== 桌面 ===== */
@media (min-width: 1024px) {
  .page-home .home-hero {
    min-height: 680px;
  }

  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 760px) 440px;
    gap: 80px;
  }

  .page-home .home-hero__title {
    font-size: 86px;
  }

  .page-home .home-quicknav__inner a {
    padding: 16px 28px;
    font-size: 15px;
  }

  .page-home .home-today__top {
    grid-template-columns: 340px 1fr;
    gap: 72px;
  }

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

  .page-home .home-june__head {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: end;
    max-width: 100%;
  }

  .page-home .home-june__head .section-lead {
    margin-bottom: 0;
  }

  .page-home .home-june__head .btn {
    grid-column: 2;
    justify-self: start;
  }

  .page-home .home-june__body {
    grid-template-columns: 340px 1fr;
    gap: 48px;
  }

  .page-home .home-june__metrics {
    grid-template-columns: 1fr;
  }

  .page-home .home-june__heat {
    grid-column: 2;
    grid-template-columns: repeat(10, 1fr);
  }

  .page-home .home-v4__grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .page-home .home-v4__block--archive {
    grid-column: span 12;
  }

  .page-home .home-v4__block--lineup {
    grid-column: span 7;
  }

  .page-home .home-v4__block--leagues {
    grid-column: span 5;
  }

  .page-home .home-v4__block--lineup,
  .page-home .home-v4__block--leagues {
    grid-template-columns: 1fr;
  }

  .page-home .home-favorite__step {
    padding: 24px 26px;
  }
}
