/* ===== 首页 · 星空竞技场 ===== */
.page-home {
  --home-grid-line: rgba(198, 249, 31, 0.06);
  --home-panel-dark: rgba(10, 17, 40, 0.92);
  background: var(--color-cream);
}

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

.page-home [data-reveal] {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.page-home [data-reveal].is-inview {
  animation: home-reveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes home-reveal {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* ===== 首屏入口 ===== */
.page-home .home-hero {
  position: relative;
  background:
    radial-gradient(ellipse at 18% 20%, rgba(198, 249, 31, 0.10), transparent 32%),
    radial-gradient(ellipse at 82% 78%, rgba(255, 107, 0, 0.14), transparent 28%),
    linear-gradient(140deg, var(--color-primary) 0%, #0d1738 55%, var(--color-primary) 100%);
  color: var(--color-cream);
  padding: 136px 0 72px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), 0 100%);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--home-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
}

.page-home .home-hero__copy {
  padding-top: 4px;
}

.page-home .home-hero .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid rgba(244, 241, 234, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(10, 17, 40, 0.45);
  font-family: var(--font-data);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(244, 241, 234, 0.72);
  backdrop-filter: blur(8px);
}

.page-home .home-hero__copy .eyebrow {
  color: var(--color-accent);
}

.page-home .home-hero__lead {
  margin: 18px 0 28px;
  max-width: 34em;
  color: rgba(244, 241, 234, 0.86);
  font-size: 1.05rem;
  line-height: 1.78;
}

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

.page-home .home-hero__cta {
  position: relative;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: var(--radius-pill);
  padding: 15px 34px;
  font-weight: 900;
  box-shadow: 0 0 26px rgba(198, 249, 31, 0.42), 0 10px 30px rgba(10, 17, 40, 0.5);
  transition: transform var(--transition), box-shadow var(--transition);
}

.page-home .home-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 38px rgba(198, 249, 31, 0.6), 0 14px 36px rgba(10, 17, 40, 0.5);
}

.page-home .home-hero__outline {
  border: 1px solid rgba(244, 241, 234, 0.4);
  color: var(--color-cream);
  border-radius: var(--radius-pill);
  padding: 15px 26px;
  transition: border-color var(--transition), background var(--transition);
}

.page-home .home-hero__outline:hover {
  border-color: var(--color-accent);
  background: rgba(198, 249, 31, 0.08);
}

.page-home .home-hero__visual {
  position: relative;
}

.page-home .home-hero__imgcard {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--color-primary);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 0 100%);
  box-shadow: var(--shadow-pill);
}

.page-home .home-hero__imgcard img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.08);
}

.page-home .home-hero__live-tag {
  position: absolute;
  top: 16px;
  left: 16px;
}

.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.page-home .home-hero__stat {
  padding: 18px 14px;
  border-radius: 14px;
  background: rgba(244, 241, 234, 0.08);
  border: 1px solid rgba(244, 241, 234, 0.14);
  text-align: center;
  backdrop-filter: blur(10px);
}

.page-home .home-hero__num {
  display: block;
  font-family: var(--font-data);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1.1;
}

.page-home .home-hero__unit {
  display: block;
  margin-top: 5px;
  font-size: 0.78rem;
  color: rgba(244, 241, 234, 0.72);
}

/* ===== 实时战报摘要 ===== */
.page-home .home-report {
  padding: 64px 0 56px;
  background: var(--color-cream);
}

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

.page-home .home-report__more {
  flex-shrink: 0;
}

.page-home .home-report__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.page-home .home-report__filter .filter-btn {
  border: 1px solid var(--color-sand);
  background: transparent;
  color: var(--color-grey);
  border-radius: var(--radius-pill);
  padding: 9px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.page-home .home-report__filter .filter-btn.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-accent);
}

.page-home .home-report__scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 24px 24px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  margin: 0 calc(50% - 50vw) 0 calc(50% - 50vw);
}

.page-home .home-report__scroll::-webkit-scrollbar {
  height: 6px;
}

.page-home .home-report__scroll::-webkit-scrollbar-thumb {
  background: var(--color-sand);
  border-radius: 99px;
}

.page-home .home-report__scroll::-webkit-scrollbar-track {
  background: transparent;
}

.page-home .home-report__card {
  flex: 0 0 272px;
  scroll-snap-align: start;
  position: relative;
  padding: 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--color-sand);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.page-home .home-report__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10, 17, 40, 0.12);
}

.page-home .home-report__card h3 {
  margin: 14px 0 6px;
  color: var(--color-primary);
  font-size: 1.05rem;
}

.page-home .home-report__score {
  font-family: var(--font-data);
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.page-home .home-report__meta {
  font-size: 0.82rem;
  color: var(--color-grey);
  line-height: 1.6;
  margin-bottom: 14px;
}

.page-home .home-report__link {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-terra);
  text-decoration: none;
  transition: color var(--transition);
}

.page-home .home-report__link:hover {
  color: var(--color-hot);
}

/* ===== 阵容锁定流程 ===== */
.page-home .home-lineup {
  background:
    radial-gradient(circle at 88% 12%, rgba(198, 249, 31, 0.10), transparent 24%),
    radial-gradient(circle at 12% 88%, rgba(255, 107, 0, 0.10), transparent 28%),
    var(--color-primary);
  color: var(--color-cream);
  padding: 68px 0;
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
}

.page-home .home-lineup__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}

.page-home .home-lineup__content .eyebrow {
  color: var(--color-accent);
}

.page-home .home-lineup__lead {
  color: rgba(244, 241, 234, 0.78);
  margin: 14px 0 30px;
  max-width: 36em;
  line-height: 1.8;
}

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

.page-home .home-lineup__step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 16px;
  background: rgba(244, 241, 234, 0.06);
  border: 1px solid rgba(244, 241, 234, 0.1);
}

.page-home .home-lineup__num {
  font-family: var(--font-data);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-hot);
  line-height: 1;
  min-width: 40px;
}

.page-home .home-lineup__step-body h3 {
  margin: 0 0 4px;
  color: var(--color-accent);
  font-size: 1rem;
}

.page-home .home-lineup__step-body p {
  margin: 0;
  color: rgba(244, 241, 234, 0.7);
  font-size: 0.88rem;
  line-height: 1.65;
}

.page-home .home-lineup__imgcard {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(198, 249, 31, 0.24);
  box-shadow: var(--shadow-pill);
  background: #0d1738;
}

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

.page-home .home-lineup__imgcard .image-frame__label {
  background: rgba(10, 17, 40, 0.82);
  color: var(--color-accent);
  backdrop-filter: blur(6px);
}

/* ===== 球队库速查 ===== */
.page-home .home-table {
  padding: 68px 0 72px;
  background: var(--color-cream);
}

.page-home .home-table__head {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
}

.page-home .home-table__lead {
  color: var(--color-grey);
  margin: 12px 0 0;
  max-width: 32em;
  line-height: 1.75;
}

.page-home .home-table__cta {
  flex-shrink: 0;
  border-radius: var(--radius-pill);
  padding: 12px 26px;
}

.page-home .home-table__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--color-sand);
  box-shadow: var(--shadow-card);
  padding: 20px;
}

.page-home .home-table__preview {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  max-height: 240px;
  background: var(--color-primary);
}

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

.page-home .home-table__preview .image-frame__label {
  background: rgba(10, 17, 40, 0.82);
  color: var(--color-accent);
}

.page-home .home-table__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid var(--color-sand);
}

.page-home .home-table__scroll::-webkit-scrollbar {
  height: 6px;
}

.page-home .home-table__scroll::-webkit-scrollbar-thumb {
  background: var(--color-sand);
  border-radius: 99px;
}

.page-home .home-table__grid {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-family: var(--font-body);
}

.page-home .home-table__grid th {
  background: var(--color-primary);
  color: var(--color-accent);
  text-align: left;
  padding: 14px 16px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.page-home .home-table__grid td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--color-sand);
  font-size: 0.9rem;
  color: var(--color-primary);
  white-space: nowrap;
}

.page-home .home-table__grid tbody tr:hover {
  background: rgba(198, 249, 31, 0.08);
}

.page-home .home-table__grid tbody tr:last-child td {
  border-bottom: 0;
}

/* ===== 规则说明置顶 ===== */
.page-home .home-rules {
  position: relative;
  background:
    radial-gradient(circle at 85% 20%, rgba(198, 249, 31, 0.10), transparent 30%),
    radial-gradient(circle at 10% 90%, rgba(255, 107, 0, 0.14), transparent 34%),
    var(--color-primary);
  color: var(--color-cream);
  padding: 72px 0 80px;
  overflow: hidden;
}

.page-home .home-rules::after {
  content: "";
  position: absolute;
  right: -80px;
  top: 40%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(198, 249, 31, 0.16);
  box-shadow: 0 0 0 30px rgba(198, 249, 31, 0.04), 0 0 0 70px rgba(198, 249, 31, 0.02);
  pointer-events: none;
}

.page-home .home-rules__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}

.page-home .home-rules__copy .eyebrow {
  color: var(--color-hot);
}

.page-home .home-rules__lead {
  margin: 14px 0 22px;
  color: rgba(244, 241, 234, 0.8);
  max-width: 32em;
  line-height: 1.8;
}

.page-home .home-rules__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-rules__list li {
  position: relative;
  padding-left: 22px;
  color: rgba(244, 241, 234, 0.88);
  font-size: 0.92rem;
  line-height: 1.6;
}

.page-home .home-rules__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 10px rgba(198, 249, 31, 0.5);
}

.page-home .home-rules__cta {
  border-radius: var(--radius-pill);
  padding: 14px 30px;
  box-shadow: 0 0 22px rgba(198, 249, 31, 0.35);
}

.page-home .home-rules__imgcard {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 107, 0, 0.3);
  box-shadow: var(--shadow-pill);
  background: #0d1738;
}

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

.page-home .home-rules__imgcard .image-frame__label {
  background: rgba(10, 17, 40, 0.82);
  color: var(--color-hot);
}

/* ===== 移动端增强 ===== */
@media (max-width: 600px) {
  .page-home .home-hero__stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .page-home .home-hero__stat {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    text-align: left;
    padding: 14px 18px;
  }

  .page-home .home-hero__num {
    font-size: 1.35rem;
  }

  .page-home .home-lineup {
    clip-path: polygon(0 20px, 100% 0, 100% 100%, 0 100%);
    padding-top: 54px;
  }
}

/* ===== 桌面端 ===== */
@media (min-width: 900px) {
  .page-home .home-hero {
    padding: 180px 0 96px;
  }

  .page-home .home-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-areas:
      "copy visual"
      "stats visual";
    gap: 40px 56px;
    align-items: stretch;
  }

  .page-home .home-hero__copy {
    grid-area: copy;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .page-home .home-hero__visual {
    grid-area: visual;
    display: flex;
    align-items: stretch;
  }

  .page-home .home-hero__imgcard {
    width: 100%;
    margin: auto 0;
  }

  .page-home .home-hero__stats {
    grid-area: stats;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .page-home .home-hero__stat {
    padding: 20px 16px;
  }

  .page-home .home-hero__num {
    font-size: 1.9rem;
  }

  .page-home .home-report {
    padding: 84px 0 72px;
  }

  .page-home .home-report__scroll {
    padding-left: max(24px, calc(50vw - 620px));
    padding-right: max(24px, calc(50vw - 620px));
    margin: 0;
  }

  .page-home .home-report__card {
    flex-basis: 300px;
  }

  .page-home .home-lineup {
    padding: 96px 0;
    clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%);
  }

  .page-home .home-lineup__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
  }

  .page-home .home-lineup__steps {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .page-home .home-lineup__imgcard {
    margin-bottom: -14px;
  }

  .page-home .home-table {
    padding: 96px 0;
  }

  .page-home .home-table__panel {
    grid-template-columns: 0.9fr 1.6fr;
    align-items: center;
    padding: 26px;
  }

  .page-home .home-table__preview {
    height: 100%;
    min-height: 260px;
    max-height: none;
  }

  .page-home .home-rules {
    padding: 96px 0 108px;
  }

  .page-home .home-rules__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
  }
}
