.page-home {
  --home-hero-shadow: 0 24px 64px rgba(4, 11, 24, 0.4);
  background: var(--c-dark);
  color: var(--c-cloud);
  overflow-x: hidden;
}

/* ===== Hero ===== */
.page-home__hero {
  position: relative;
  padding: 96px 0 80px;
  background:
    radial-gradient(120% 90% at 78% 24%, rgba(0, 229, 255, 0.14), transparent 46%),
    radial-gradient(90% 80% at 8% 88%, rgba(57, 255, 136, 0.08), transparent 42%),
    linear-gradient(140deg, #0D1B3E 0%, #0A1428 60%);
  overflow: hidden;
}
.page-home__hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: -10%;
  width: 52%;
  height: 100%;
  background: linear-gradient(150deg, rgba(13, 27, 62, 0.96), rgba(10, 20, 40, 0.4));
  transform: skewX(-14deg);
  clip-path: polygon(8% 0, 100% 0, 86% 100%, 0 100%);
  z-index: 0;
  border-left: 1px solid rgba(122, 139, 166, 0.18);
}
.page-home__hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
}
.page-home__crumbs {
  margin-bottom: 4px;
}
.page-home__eyebrow {
  margin: 20px 0 8px;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-slate);
  font-weight: 600;
}
.page-home__hero-title {
  margin: 0 0 20px;
  font-size: clamp(40px, 9vw, 84px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.page-home__hero-accent {
  color: var(--c-green);
  text-shadow: 0 0 36px rgba(57, 255, 136, 0.35);
}
.page-home__hero-desc {
  max-width: 44em;
  margin: 0 0 28px;
  color: var(--c-slate);
  font-size: 16px;
  line-height: 1.8;
}
.page-home__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.page-home__hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--c-slate);
  font-size: 14px;
}
.page-home__hero-points span {
  color: var(--c-cloud);
  font-weight: 700;
}
.page-home__hero-media {
  position: relative;
}
.page-home__hero-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(122, 139, 166, 0.22);
  box-shadow: var(--home-hero-shadow);
}
.page-home__hero-card {
  position: absolute;
  left: 20px;
  bottom: 28px;
  display: grid;
  gap: 2px;
  padding: 16px 20px;
  background: rgba(10, 20, 40, 0.9);
  border: 1px solid rgba(57, 255, 136, 0.42);
  border-radius: 10px;
  box-shadow: 0 0 32px rgba(57, 255, 136, 0.14);
}
.page-home__hero-card-label {
  color: var(--c-slate);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.page-home__hero-card-num {
  color: var(--c-green);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}
.page-home__hero-card-trend {
  color: var(--c-orange);
  font-size: 13px;
  font-weight: 700;
}

/* ===== Chapter ===== */
.page-home__chapter {
  position: relative;
  padding: 88px 0;
  border-top: var(--border-soft);
}
.page-home__chapter-row {
  display: grid;
  gap: 24px;
}
.page-home__chapter-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-home__chapter-no {
  font-family: var(--font-mono);
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--c-green);
  opacity: 0.16;
}
.page-home__chapter-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--c-orange);
  text-transform: uppercase;
  border-left: 2px solid var(--c-orange);
  padding-left: 10px;
}
.page-home__chapter-main {
  display: grid;
  gap: 40px;
}
.page-home__chapter-copy .section-no {
  display: inline-block;
  margin-bottom: 12px;
}
.page-home__chapter-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 4.4vw, 48px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.02em;
}
.page-home__chapter-title-no {
  font-family: var(--font-mono);
  font-size: 0.62em;
  color: var(--c-orange);
  margin-right: 12px;
}
.page-home__chapter-copy > p:not(.section-no) {
  max-width: 52ch;
  color: var(--c-slate);
  line-height: 1.8;
}
.page-home__chapter-list {
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.page-home__chapter-list li {
  position: relative;
  padding-left: 24px;
  color: var(--c-cloud);
  font-size: 15px;
}
.page-home__chapter-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 2px;
  background: var(--c-green);
  box-shadow: 0 0 12px rgba(57, 255, 136, 0.5);
}
.page-home__chapter-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-green);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid rgba(57, 255, 136, 0.35);
  padding-bottom: 2px;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.page-home__chapter-link:hover {
  gap: 10px;
  color: var(--c-cloud);
}
.page-home__chapter-media {
  position: relative;
}
.page-home__chapter-media img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(122, 139, 166, 0.2);
  border-radius: 12px;
  box-shadow: var(--home-hero-shadow);
}
.page-home__chapter--collect .page-home__chapter-media {
  max-width: 320px;
}
.page-home__chapter--collect .page-home__chapter-media img {
  max-height: 460px;
  object-fit: cover;
  object-position: center;
}
.page-home__chapter--sync .page-home__chapter-media {
  max-width: 420px;
}
.page-home__chapter--screen .page-home__chapter-media img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.page-home__collect-flag {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(10, 20, 40, 0.88);
  border: 1px solid rgba(57, 255, 136, 0.5);
  border-radius: 999px;
  color: var(--c-green);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(57, 255, 136, 0.2);
}
.page-home__collect-flag svg {
  display: block;
}

/* ===== Stats ===== */
.page-home__stats {
  padding: 88px 0 96px;
  background:
    radial-gradient(70% 60% at 12% 16%, rgba(255, 107, 53, 0.12), transparent 46%),
    radial-gradient(60% 70% at 92% 84%, rgba(0, 229, 255, 0.1), transparent 48%),
    var(--c-navy);
  border-top: var(--border-soft);
  border-bottom: var(--border-soft);
  clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
}
.page-home__stats-head {
  display: grid;
  gap: 12px;
  max-width: 640px;
  margin-bottom: 44px;
}
.page-home__stats-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.page-home__stats-head p:not(.section-no) {
  color: var(--c-slate);
  line-height: 1.8;
  max-width: 56ch;
}
.page-home__stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(122, 139, 166, 0.16);
  border: 1px solid rgba(122, 139, 166, 0.16);
}
.page-home__stat {
  display: grid;
  gap: 6px;
  background: rgba(10, 20, 40, 0.92);
  padding: 28px 20px;
}
.page-home__stat-num {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--c-cloud);
}
.page-home__stat:nth-child(1) .page-home__stat-num,
.page-home__stat:nth-child(3) .page-home__stat-num {
  color: var(--c-green);
}
.page-home__stat:nth-child(2) .page-home__stat-num,
.page-home__stat:nth-child(4) .page-home__stat-num {
  color: var(--c-orange);
}
.page-home__stat-label {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--c-slate);
  text-transform: uppercase;
}

/* ===== Hot ===== */
.page-home__hot {
  padding: 88px 0;
}
.page-home__hot-head {
  display: grid;
  gap: 8px;
  margin-bottom: 30px;
}
.page-home__hot-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.page-home__hot-note {
  margin: 0;
  color: var(--c-slate);
  font-size: 14px;
}
.page-home__hot-board {
  border: 1px solid rgba(122, 139, 166, 0.16);
  border-radius: 12px;
  background: rgba(13, 27, 62, 0.58);
  overflow: hidden;
}
.page-home__hot-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(122, 139, 166, 0.16);
}
.page-home__hot-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.page-home__hot-input:checked + .btn--filter {
  background: var(--c-green);
  border-color: var(--c-green);
  color: var(--c-dark);
  box-shadow: 0 0 0 3px rgba(57, 255, 136, 0.18);
}
.page-home__hot-list {
  display: flex;
  flex-direction: column;
}
.page-home__hot-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 48px auto;
  align-items: center;
  gap: 8px;
  padding: 13px 12px;
  border-bottom: 1px solid rgba(122, 139, 166, 0.1);
  transition: background 0.25s var(--ease);
}
.page-home__hot-row:last-child {
  border-bottom: 0;
}
.page-home__hot-row:hover {
  background: rgba(57, 255, 136, 0.05);
}
.page-home__hot-row--head {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(10, 20, 40, 0.6);
}
.page-home__hot-league {
  color: var(--c-green);
  font-weight: 700;
  font-size: 14px;
}
.page-home__hot-name {
  color: var(--c-cloud);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-home__hot-time {
  color: var(--c-slate);
  font-size: 13px;
}
.page-home__hot-count {
  color: var(--c-orange);
  font-weight: 700;
  font-size: 14px;
}
.page-home__hot-count::after {
  content: " 收藏";
  color: var(--c-slate);
  font-size: 12px;
  font-weight: 400;
  font-family: var(--font-sans);
}
.page-home #hot-football:checked ~ .page-home__hot-list .page-home__hot-row:not([data-sport="football"]):not([data-sport="head"]),
.page-home #hot-basketball:checked ~ .page-home__hot-list .page-home__hot-row:not([data-sport="basketball"]):not([data-sport="head"]),
.page-home #hot-tennis:checked ~ .page-home__hot-list .page-home__hot-row:not([data-sport="tennis"]):not([data-sport="head"]) {
  display: none;
}

/* ===== Download ===== */
.page-home__download {
  padding: 80px 0 96px;
  background:
    linear-gradient(130deg, rgba(57, 255, 136, 0.08), transparent 42%),
    var(--c-navy);
  border-top: var(--border-soft);
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 96%);
}
.page-home__download-inner {
  display: grid;
  gap: 44px;
  align-items: center;
}
.page-home__download-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.page-home__download-copy p:not(.section-no) {
  color: var(--c-slate);
  line-height: 1.8;
  max-width: 48ch;
}
.page-home__download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.page-home__download-qr {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: fit-content;
  padding: 18px;
  background: var(--c-cloud);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(4, 11, 24, 0.4);
}
.page-home__qr-svg {
  display: block;
  width: 168px;
  height: 168px;
  border-radius: 4px;
}
.page-home__qr-text {
  color: var(--c-dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* ===== Desktop ===== */
@media (min-width: 640px) {
  .page-home__hot-row {
    grid-template-columns: 80px minmax(0, 1fr) 90px 120px;
    padding: 14px 16px;
  }
}

@media (min-width: 992px) {
  .page-home__hero {
    padding-top: calc(var(--header-h) + 72px);
    padding-bottom: 96px;
  }
  .page-home__hero-inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    min-height: calc(100vh - var(--header-h));
  }
  .page-home__hero-media {
    margin-right: -96px;
  }
  .page-home__hero-img {
    height: 540px;
    object-fit: cover;
  }
  .page-home__hero-card {
    left: -42px;
    bottom: 36px;
  }
  .page-home__chapter {
    padding: 112px 0;
  }
  .page-home__chapter-row {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 64px;
  }
  .page-home__chapter-no {
    font-size: 120px;
  }
  .page-home__chapter-meta {
    align-items: flex-start;
    justify-content: space-between;
  }
  .page-home__chapter-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 56px;
  }
  .page-home__chapter-main--reverse .page-home__chapter-media {
    order: -1;
  }
  .page-home__chapter--collect .page-home__chapter-media {
    max-width: 360px;
    justify-self: end;
  }
  .page-home__chapter--sync .page-home__chapter-media {
    max-width: 440px;
    margin: 0 auto;
  }
  .page-home__chapter-media--wide {
    max-width: 560px;
    justify-self: end;
  }
  .page-home__stats {
    padding: 120px 0 128px;
  }
  .page-home__stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-home__stat {
    padding: 36px 28px;
  }
  .page-home__hot {
    padding: 112px 0;
  }
  .page-home__hot-board {
    max-width: 960px;
  }
  .page-home__hot-row {
    grid-template-columns: 100px minmax(0, 1fr) 120px 140px;
    padding: 15px 22px;
  }
  .page-home__download {
    padding: 104px 0 128px;
  }
  .page-home__download-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 64px;
  }
  .page-home__download-qr {
    margin: 0 auto;
  }
}
