.page-home {
  display: block;
  color: var(--star);
}

/* ===== HERO ===== */
.page-home .hero {
  position: relative;
  padding: 28px 0 52px;
  overflow: hidden;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -20%;
  right: -20%;
  height: 560px;
  background:
    radial-gradient(58% 70% at 22% 2%, rgba(76, 107, 255, 0.26), transparent 68%),
    radial-gradient(48% 64% at 86% 12%, rgba(47, 227, 214, 0.16), transparent 72%);
  pointer-events: none;
}

.page-home .hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
}

.page-home .hero__left {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-home .hero__left h1 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(32px, 8vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--star);
  text-wrap: balance;
}

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

/* 关注列表迷你轨道 */
.page-home .follow-mini {
  margin-top: 4px;
  padding: 16px;
  border-radius: var(--radius);
  background: linear-gradient(162deg, rgba(22, 34, 74, 0.92), rgba(11, 20, 40, 0.94));
  border: 1px solid var(--hair-strong);
}

.page-home .follow-mini__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hair);
}

.page-home .follow-mini__count {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--dim);
}

.page-home .follow-mini__list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .follow-mini__list li {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 4px;
  border-radius: 10px;
}

.page-home .follow-mini__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dim);
}

.page-home .follow-mini__dot--live {
  background: var(--live);
  box-shadow: 0 0 0 4px rgba(255, 95, 126, 0.18);
}

.page-home .follow-mini__dot--done {
  background: var(--grass);
  box-shadow: 0 0 0 4px rgba(31, 208, 138, 0.16);
}

.page-home .follow-mini__name {
  font-size: 15px;
  color: var(--star);
}

.page-home .follow-mini__meta {
  font-size: 12px;
  color: var(--gold);
}

/* Hero 右侧视觉 */
.page-home .hero__right {
  position: relative;
  min-height: 260px;
}

.page-home .pitch {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(47, 227, 214, 0.24);
  background: #071026;
}

.page-home .pitch__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.68;
  filter: saturate(0.92) contrast(1.06);
}

.page-home .pitch__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.page-home .float-card {
  position: absolute;
  width: min(214px, 62%);
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(9, 16, 34, 0.9);
  border: 1px solid rgba(47, 227, 214, 0.34);
  backdrop-filter: blur(8px);
}

.page-home .float-card--a {
  top: 12px;
  left: 12px;
}

.page-home .float-card--b {
  bottom: 12px;
  right: 12px;
  border-color: rgba(255, 196, 107, 0.36);
}

.page-home .float-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.page-home .float-card__time {
  font-size: 12px;
  color: var(--cyan);
}

.page-home .float-card--b .float-card__time {
  color: var(--gold);
}

.page-home .float-card__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--star);
}

.page-home .float-card__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--dim);
}

/* ===== 比赛夜横幅 ===== */
.page-home .night-band {
  padding: 8px 0 12px;
}

.page-home .night-band__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

.page-home .night-band__fig {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hair);
}

.page-home .night-band__fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .night-band__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .night-band__line {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.42;
  color: var(--star);
}

.page-home .night-band__text .muted {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
}

/* ===== 战报流 ===== */
.page-home .reports {
  position: relative;
}

.page-home .reports::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 227, 214, 0.4), transparent);
}

.page-home .reports__head {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
}

.page-home .reports__intro h2 {
  margin: 8px 0 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(24px, 5vw, 38px);
  line-height: 1.15;
  color: var(--star);
}

.page-home .report-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.page-home .report-filter__count {
  font-size: 12px;
  color: var(--dim);
  margin-left: 4px;
}

.page-home .reports__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-home .report-card {
  position: relative;
  padding: 18px;
  border-radius: var(--radius);
  background: linear-gradient(168deg, rgba(22, 34, 74, 0.86), rgba(11, 20, 40, 0.92));
  border: 1px solid var(--hair);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease);
}

.page-home .report-card::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  width: 30px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--cyan), var(--orbit));
}

.page-home .report-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 227, 214, 0.36);
}

.page-home .report-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.page-home .report-card__time {
  font-size: 12px;
  color: var(--gold);
}

.page-home .report-card__title {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
  color: var(--star);
}

.page-home .report-card__league {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--dim);
}

.page-home .report-card__events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .report-card__events li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--star);
}

.page-home .report-card__events li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.page-home .report-card__more {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--hair);
}

.page-home .report-card__more summary {
  cursor: pointer;
  font-size: 13px;
  color: var(--cyan);
  list-style: none;
}

.page-home .report-card__more summary::-webkit-details-marker {
  display: none;
}

.page-home .report-card__more summary::before {
  content: "＋ ";
  font-family: var(--font-mono);
}

.page-home .report-card__more[open] summary::before {
  content: "－ ";
}

.page-home .report-card__more ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .report-card__more li {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--dim);
  line-height: 1.6;
}

.page-home .report-card__more .mono {
  min-width: 48px;
  color: var(--gold);
}

/* ===== 登录引导条 ===== */
.page-home .guide-bar {
  padding: 12px 0;
}

.page-home .guide-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 16px;
  background:
    linear-gradient(102deg, rgba(255, 196, 107, 0.16), rgba(22, 34, 74, 0.72) 58%);
  border: 1px solid rgba(255, 196, 107, 0.34);
}

.page-home .guide-bar__mark {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 196, 107, 0.5);
  color: var(--gold);
  font-size: 20px;
  line-height: 1;
}

.page-home .guide-bar__text {
  flex: 1 1 240px;
}

.page-home .guide-bar__text h2 {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
  color: var(--star);
}

.page-home .guide-bar__text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--dim);
}

/* ===== 关注列表区块 ===== */
.page-home .follow__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

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

.page-home .follow__text h2 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(23px, 4.6vw, 34px);
  line-height: 1.2;
  color: var(--star);
}

.page-home .follow__text .lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--dim);
}

.page-home .follow__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .follow__points li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--star);
}

.page-home .follow__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 2px;
  background: var(--cyan);
}

.page-home .follow__num {
  color: var(--gold);
  font-size: 17px;
}

.page-home .follow__fig {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(47, 227, 214, 0.24);
}

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

/* ===== 联赛专题 ===== */
.page-home .leagues__head {
  max-width: 780px;
  margin-bottom: 26px;
}

.page-home .leagues__head h2 {
  margin: 8px 0 12px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(24px, 5vw, 38px);
  line-height: 1.15;
  color: var(--star);
}

.page-home .leagues__head .lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--dim);
}

.page-home .leagues__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-home .league-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-height: 152px;
  padding: 20px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--star);
  transition: transform 180ms var(--ease);
}

.page-home .league-block:hover {
  transform: translateY(-3px);
}

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

.page-home .league-block__round {
  font-size: 12px;
  color: rgba(243, 247, 255, 0.72);
}

.page-home .league-block__state {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(5, 10, 24, 0.5);
  color: var(--star);
}

.page-home .league-block__state--live {
  color: var(--live);
}

.page-home .league-block__state--done {
  color: var(--grass);
}

.page-home .league-block__name {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 20px;
  line-height: 1.25;
  color: var(--star);
}

.page-home .league-block__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(243, 247, 255, 0.7);
}

.page-home .league-block--cyan {
  background: linear-gradient(158deg, rgba(47, 227, 214, 0.3), rgba(20, 32, 70, 0.94));
  border: 1px solid rgba(47, 227, 214, 0.42);
}

.page-home .league-block--gold {
  background: linear-gradient(158deg, rgba(255, 196, 107, 0.28), rgba(20, 32, 70, 0.94));
  border: 1px solid rgba(255, 196, 107, 0.42);
}

.page-home .league-block--orbit {
  background: linear-gradient(158deg, rgba(76, 107, 255, 0.34), rgba(20, 32, 70, 0.94));
  border: 1px solid rgba(76, 107, 255, 0.44);
}

.page-home .league-block--grass {
  background: linear-gradient(158deg, rgba(31, 208, 138, 0.28), rgba(20, 32, 70, 0.94));
  border: 1px solid rgba(31, 208, 138, 0.42);
}

.page-home .league-block--live {
  background: linear-gradient(158deg, rgba(255, 95, 126, 0.26), rgba(20, 32, 70, 0.94));
  border: 1px solid rgba(255, 95, 126, 0.4);
}

.page-home .leagues__cta {
  margin-top: 24px;
}

/* ===== 碎片时间与订阅 ===== */
.page-home .commute__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.page-home .commute__fig {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hair);
}

.page-home .commute__fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .commute__text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .commute__text h2 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(23px, 4.6vw, 34px);
  line-height: 1.2;
  color: var(--star);
}

.page-home .commute__text .lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--dim);
}

.page-home .commute__plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.page-home .commute__text .muted {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.page-home .commute__text .btn {
  align-self: flex-start;
}

/* ===== 响应式 ===== */
@media (min-width: 640px) {
  .page-home .hero {
    padding: 36px 0 64px;
  }

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

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

@media (min-width: 860px) {
  .page-home .night-band__inner {
    grid-template-columns: 7fr 5fr;
    gap: 36px;
  }

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

@media (min-width: 960px) {
  .page-home .hero__grid {
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: center;
  }

  .page-home .hero__left h1 {
    font-size: clamp(38px, 4.2vw, 58px);
  }

  .page-home .follow__grid {
    grid-template-columns: 6fr 5fr;
    gap: 52px;
  }

  .page-home .commute__grid {
    grid-template-columns: 5fr 7fr;
    gap: 48px;
  }

  .page-home .float-card--a {
    top: 22px;
    left: -22px;
  }

  .page-home .float-card--b {
    bottom: 22px;
    right: -22px;
  }
}

@media (min-width: 1080px) {
  .page-home .reports__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .page-home .report-card:first-child {
    grid-column: span 2;
  }

  .page-home .leagues__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .page-home .league-block:nth-child(1),
  .page-home .league-block:nth-child(6) {
    grid-column: span 2;
  }

  .page-home .league-block {
    min-height: 168px;
  }
}

@media (min-width: 1280px) {
  .page-home .hero {
    padding: 44px 0 76px;
  }

  .page-home .hero__grid {
    gap: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .report-card,
  .page-home .league-block {
    transition: none;
  }

  .page-home .report-card:hover,
  .page-home .league-block:hover {
    transform: none;
  }
}
