.page-home {
  position: relative;
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 76px) 0 clamp(60px, 9vw, 128px);
  background:
    radial-gradient(90% 70% at 82% 12%, rgba(122, 85, 232, 0.22), transparent 68%),
    radial-gradient(60% 50% at 12% 88%, rgba(47, 243, 214, 0.08), transparent 70%),
    linear-gradient(180deg, var(--jx-night) 0%, var(--jx-void) 100%);
}

.page-home .home-hero__bg {
  position: absolute;
  top: -22%;
  right: -32%;
  width: min(96vw, 880px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0 7%,
    rgba(47, 243, 214, 0.26) 7% 10%,
    transparent 10% 24%,
    rgba(255, 193, 77, 0.22) 24% 27%,
    transparent 27% 45%,
    rgba(122, 85, 232, 0.34) 45% 51%,
    transparent 51% 70%,
    rgba(47, 243, 214, 0.18) 70% 74%,
    transparent 74% 100%
  );
  filter: blur(3px);
  opacity: 0.85;
  animation: home-spin 72s linear infinite;
  pointer-events: none;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(51, 32, 96, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 32, 96, 0.4) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(58% 52% at 80% 32%, #000 0%, transparent 76%);
  mask-image: radial-gradient(58% 52% at 80% 32%, #000 0%, transparent 76%);
  opacity: 0.55;
  pointer-events: none;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(32px, 6vw, 68px);
  align-items: center;
}

.page-home .home-hero__title {
  margin: 14px 0 22px;
  font-family: var(--jx-font-display);
  font-weight: 900;
  font-size: clamp(42px, 10vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--jx-star);
}

.page-home .home-hero__title-line {
  display: block;
}

.page-home .home-hero__title-neon {
  color: var(--jx-neon);
  text-shadow:
    0 0 22px rgba(47, 243, 214, 0.6),
    0 0 58px rgba(47, 243, 214, 0.3);
}

.page-home .home-hero__title-sub {
  display: block;
  margin-top: 0.36em;
  font-size: 0.36em;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: var(--jx-dusk);
}

.page-home .home-hero__lead {
  max-width: 46ch;
  color: var(--jx-star);
}

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

.page-home .home-hero__board {
  position: relative;
  display: flex;
  flex-direction: column;
}

.page-home .home-hero__media {
  margin: 0;
  border-radius: var(--jx-radius);
  overflow: hidden;
  border: 1px solid var(--jx-edge);
}

.page-home .home-hero__card {
  position: relative;
  z-index: 2;
  width: min(100%, 336px);
  margin: -32px 0 0 auto;
  padding: 18px 20px 16px;
  display: grid;
  gap: 12px;
  background: rgba(30, 18, 64, 0.94);
  border-color: rgba(47, 243, 214, 0.3);
  box-shadow: 0 30px 64px -34px rgba(47, 243, 214, 0.55);
}

.page-home .home-hero__card-title {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jx-neon);
}

.page-home .home-hero__stats {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.page-home .home-hero__stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--jx-edge);
}

.page-home .home-hero__stat:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-home .home-hero__stat dt {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--jx-dusk);
}

.page-home .home-hero__stat dd {
  margin: 0;
  font-family: var(--jx-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 24px;
  line-height: 1;
  color: var(--jx-gold);
}

.page-home .home-hero__hint {
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed var(--jx-edge);
  font-size: 13px;
  line-height: 1.6;
  color: var(--jx-dusk);
}

/* ---------- 十二大类索引 ---------- */
.page-home .home-cats {
  padding: clamp(58px, 9vw, 116px) 0;
  background: linear-gradient(180deg, var(--jx-void), var(--jx-night) 55%, var(--jx-void));
}

.page-home .home-cats__head {
  max-width: 66ch;
  margin-bottom: clamp(26px, 4vw, 42px);
}

.page-home .home-cats__lead {
  color: var(--jx-dusk);
}

.page-home .home-cats__banner {
  margin: 0 0 clamp(30px, 4.5vw, 52px);
  border-radius: var(--jx-radius);
  border: 1px solid var(--jx-edge);
}

.page-home .home-cats__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
}

.page-home .home-cats__link {
  display: grid;
  gap: 7px;
  height: 100%;
  padding: 20px 18px 18px;
  border-radius: var(--jx-radius-sm);
  border: 1px solid var(--jx-edge);
  background: linear-gradient(158deg, rgba(30, 18, 64, 0.92), rgba(20, 11, 41, 0.92));
  text-decoration: none;
  color: var(--jx-star);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.page-home .home-cats__link:hover,
.page-home .home-cats__link:focus-visible {
  border-color: var(--jx-neon);
  transform: translateY(-4px);
  box-shadow: 0 22px 46px -26px rgba(47, 243, 214, 0.6);
}

.page-home .home-cats__idx {
  font-family: var(--jx-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--jx-gold);
}

.page-home .home-cats__name {
  font-family: var(--jx-font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.page-home .home-cats__meta {
  font-size: 13px;
  color: var(--jx-dusk);
}

.page-home .home-cats__meta strong {
  font-family: var(--jx-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 16px;
  font-weight: 600;
  color: var(--jx-neon);
}

.page-home .home-cats__pick {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(180, 155, 255, 0.78);
}

/* ---------- 桌况仪表板 ---------- */
.page-home .home-live {
  padding: clamp(54px, 8vw, 104px) 0;
}

.page-home .home-live__inner {
  display: grid;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}

.page-home .home-live__text {
  max-width: 56ch;
  margin: 0 0 1em;
  color: var(--jx-dusk);
  font-size: 16px;
  line-height: 1.8;
}

.page-home .home-live__text:last-child {
  margin-bottom: 0;
}

.page-home .home-live__panel {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  padding: clamp(24px, 3.4vw, 40px);
  background: linear-gradient(200deg, rgba(30, 18, 64, 0.95), rgba(8, 5, 15, 0.9));
}

.page-home .home-live__ring-wrap {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 0 auto;
}

.page-home .home-live__ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.page-home .home-live__ring-track {
  fill: none;
  stroke: var(--jx-edge);
  stroke-width: 9;
}

.page-home .home-live__ring-fill {
  fill: none;
  stroke: var(--jx-neon);
  stroke-width: 9;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(47, 243, 214, 0.7));
}

.page-home .home-live__ring-num {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  font-family: var(--jx-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 30px;
  color: var(--jx-star);
}

.page-home .home-live__metrics {
  display: grid;
  gap: 16px;
}

.page-home .home-live__metric {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--jx-edge);
}

.page-home .home-live__metric:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-home .home-live__metric-num {
  font-family: var(--jx-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 30px;
  line-height: 1;
  color: var(--jx-gold);
}

.page-home .home-live__metric-label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--jx-dusk);
}

/* ---------- 赛季焦点 ---------- */
.page-home .home-season {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(66px, 11vw, 156px) 0;
}

.page-home .home-season__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-home .home-season__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.page-home .home-season__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    104deg,
    rgba(8, 5, 15, 0.96) 0%,
    rgba(20, 11, 41, 0.78) 52%,
    rgba(8, 5, 15, 0.9) 100%
  );
}

.page-home .home-season__inner {
  position: relative;
  max-width: 640px;
}

.page-home .home-season__text {
  max-width: 56ch;
  margin: 0 0 1.2em;
  font-size: 16px;
  line-height: 1.8;
  color: var(--jx-star);
}

.page-home .home-season__facts {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 11px;
}

.page-home .home-season__facts li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--jx-dusk);
}

.page-home .home-season__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--jx-neon);
  box-shadow: 0 0 12px rgba(47, 243, 214, 0.85);
}

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

/* ---------- 积分 ---------- */
.page-home .home-points {
  padding: clamp(58px, 9vw, 118px) 0;
  background:
    radial-gradient(70% 60% at 88% 30%, rgba(255, 193, 77, 0.09), transparent 70%),
    var(--jx-void);
}

.page-home .home-points__inner {
  display: grid;
  gap: clamp(30px, 5vw, 62px);
  align-items: center;
}

.page-home .home-points__text {
  max-width: 52ch;
  margin: 0 0 1.3em;
  font-size: 16px;
  line-height: 1.8;
  color: var(--jx-dusk);
}

.page-home .home-points__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 11px;
}

.page-home .home-points__list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--jx-star);
}

.page-home .home-points__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--jx-gold);
  transform: translateY(-2px);
}

.page-home .home-points__media {
  margin: 0;
  border-radius: var(--jx-radius);
  border: 1px solid var(--jx-edge);
}

/* ---------- 帮助 ---------- */
.page-home .home-help {
  padding: clamp(56px, 8vw, 110px) 0 clamp(60px, 9vw, 128px);
  border-top: 1px solid var(--jx-edge);
  background: var(--jx-night);
}

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

.page-home .home-help__subtitle {
  margin: 0 0 6px;
  font-family: var(--jx-font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--jx-star);
}

.page-home .home-help__tags {
  list-style: none;
  margin: 16px 0 20px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .home-help__tags li {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--jx-edge);
  background: rgba(30, 18, 64, 0.7);
  font-size: 13px;
  color: var(--jx-dusk);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-home .home-help__tags li:hover {
  border-color: var(--jx-crown);
  color: var(--jx-star);
}

.page-home .home-help__text {
  margin: 0 0 18px;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--jx-dusk);
}

.page-home .home-help__more {
  display: inline-block;
  font-size: 14px;
  color: var(--jx-neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 243, 214, 0.4);
  padding-bottom: 2px;
}

.page-home .home-help__more:hover,
.page-home .home-help__more:focus-visible {
  border-bottom-color: var(--jx-neon);
}

.page-home .home-help__human {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: clamp(24px, 3vw, 34px);
  background: linear-gradient(200deg, rgba(30, 18, 64, 0.96), rgba(20, 11, 41, 0.9));
  border-color: rgba(255, 193, 77, 0.3);
}

.page-home .home-help__human .jx-btn {
  justify-self: start;
  margin-top: 8px;
}

/* ---------- 动效 ---------- */
@keyframes home-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-home .home-cats__grid > li:nth-child(3n + 2) {
    margin-top: 24px;
  }

  .page-home .home-cats__grid > li:nth-child(3n) {
    margin-top: 10px;
  }
}

@media (min-width: 760px) {
  .page-home .home-live__panel {
    grid-template-columns: 200px minmax(0, 1fr);
    align-items: center;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }

  .page-home .home-hero__card {
    width: min(100%, 320px);
    margin-top: -44px;
    margin-right: -12px;
  }

  .page-home .home-live__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }

  .page-home .home-points__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }

  .page-home .home-help__grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .page-home .home-hero__card {
    width: 100%;
    margin-top: -20px;
  }

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

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

  .page-home .home-cats__link,
  .page-home .home-help__tags li,
  .page-home .home-help__more {
    transition: none;
  }
}
