.page-home {
  --c-gold-15: rgba(212, 175, 55, 0.15);
  --c-gold-25: rgba(212, 175, 55, 0.25);
  --c-gold-40: rgba(212, 175, 55, 0.4);
  --c-line: rgba(255, 255, 255, 0.08);
  --c-panel: #1b1b1b;
  overflow-x: hidden;
  background-color: var(--c-dark);
  color: var(--c-text);
}

.page-home .container {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.page-home .home-section {
  padding: 64px 0;
}

.page-home .eyebrow {
  width: fit-content;
  margin-bottom: 14px;
}

.page-home .section-heading {
  margin-bottom: 24px;
}

.page-home figure {
  margin: 0;
}

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

/* ===== Hero 首屏 ===== */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(118deg, var(--c-primary) 0%, var(--c-primary-light) 52%, transparent 52.2%),
    var(--c-dark);
  padding: 56px 0 72px;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(224, 224, 224, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 224, 224, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 70% 35%, black, transparent 72%);
}

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

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

.page-home .home-hero__eyebrow {
  color: var(--c-gold);
  font-family: var(--font-number);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.page-home .home-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 6vw, 56px);
  line-height: 1.1;
  color: var(--c-white);
  margin: 16px 0 20px;
}

.page-home .home-hero__title-mark {
  display: block;
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-gold);
  letter-spacing: 0.04em;
}

.page-home .home-hero__lead {
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-text);
  margin: 0 0 28px;
}

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

.page-home .home-hero__sync {
  margin-top: 22px;
  justify-content: flex-start;
}

.page-home .home-hero__stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  position: relative;
}

.page-home .home-hero__figure img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: -10px 10px 0 var(--c-gold-15);
}

.page-home .live-panel {
  border: 1px solid var(--c-gold-40);
  background: rgba(18, 18, 18, 0.88);
  padding: 20px;
}

.page-home .live-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--c-gold-25);
  padding-bottom: 12px;
  margin-bottom: 6px;
}

.page-home .live-panel__name {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--c-white);
}

.page-home .live-panel__state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-number);
  font-size: 12px;
  color: var(--c-gold);
}

.page-home .live-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .live-panel__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--c-line);
}

.page-home .live-panel__row:last-child {
  border-bottom: none;
}

.page-home .live-panel__time {
  font-family: var(--font-number);
  font-size: 15px;
  color: var(--c-gold);
  min-width: 50px;
}

.page-home .live-panel__league {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-white);
  flex: 1;
}

.page-home .live-panel__level {
  font-size: 13px;
  color: var(--c-muted);
}

/* ===== 速览 ===== */
.page-home .home-quick {
  background: var(--c-dark);
}

.page-home .home-quick__intro {
  max-width: 760px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-text);
  margin: 0 0 32px;
}

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

.page-home .home-quick__card {
  position: relative;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  padding: 28px 24px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-home .home-quick__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--c-gold);
}

.page-home .home-quick__card:hover {
  border-color: var(--c-gold);
  transform: translateY(-3px);
}

.page-home .home-quick__no {
  font-family: var(--font-number);
  font-size: 13px;
  color: var(--c-gold);
}

.page-home .home-quick__card-title {
  font-size: 18px;
  color: var(--c-white);
  margin: 14px 0 8px;
}

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

.page-home .home-quick__note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 18px 22px;
  border-left: 3px solid var(--c-orange);
  background: rgba(255, 107, 53, 0.06);
}

.page-home .home-quick__note p {
  margin: 0;
  font-size: 14px;
  color: var(--c-text);
}

/* ===== 场次面板 ===== */
.page-home .home-panel {
  background: linear-gradient(160deg, var(--c-primary-dark), var(--c-primary) 58%, var(--c-dark));
}

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

.page-home .home-panel__lead {
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-text);
  margin: 0 0 24px;
}

.page-home .home-panel__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.page-home .home-panel__radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.page-home .home-panel__tab {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: var(--c-text);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-home .home-panel__tab:hover {
  border-color: var(--c-gold);
  color: var(--c-gold);
}

.page-home .home-panel__radio:checked + .home-panel__tab {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: var(--c-dark);
}

.page-home .home-panel__tabpanel {
  display: none;
  padding: 20px 22px;
  border: 1px solid var(--c-line);
  background: rgba(18, 18, 18, 0.4);
}

.page-home #panel-tab-time:checked ~ .home-panel__tabpanels .home-panel__tabpanel--time,
.page-home #panel-tab-league:checked ~ .home-panel__tabpanels .home-panel__tabpanel--league,
.page-home #panel-tab-hot:checked ~ .home-panel__tabpanels .home-panel__tabpanel--hot {
  display: block;
}

.page-home .home-panel__tabpanel-title {
  font-size: 17px;
  color: var(--c-white);
  margin: 0 0 8px;
}

.page-home .home-panel__tabpanel p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text);
}

.page-home .home-panel__bookmark {
  margin: 20px 0 0;
  padding: 16px 18px;
  border: 1px dashed var(--c-gold-40);
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text);
  background: rgba(212, 175, 55, 0.05);
}

.page-home .home-panel__figure img {
  box-shadow: 12px 12px 0 var(--c-gold-15);
}

.page-home .home-panel__caption {
  margin-top: 10px;
  font-family: var(--font-number);
  font-size: 13px;
  color: var(--c-muted);
  text-align: right;
}

/* ===== 双端同步 ===== */
.page-home .home-sync {
  background: var(--c-dark);
  border-top: 1px solid rgba(42, 157, 143, 0.25);
  border-bottom: 1px solid rgba(42, 157, 143, 0.25);
}

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

.page-home .home-sync__lead {
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-text);
  margin: 0 0 24px;
}

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

.page-home .home-sync__points li {
  padding: 18px 20px;
  border-left: 3px solid var(--c-teal);
  background: rgba(42, 157, 143, 0.06);
}

.page-home .home-sync__point-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}

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

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

.page-home .home-sync__figure--wide img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid rgba(42, 157, 143, 0.35);
}

.page-home .home-sync__figure--mobile img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--c-gold-25);
}

/* ===== 季前数据 ===== */
.page-home .home-season {
  background:
    radial-gradient(circle at 85% 15%, rgba(212, 175, 55, 0.12), transparent 32%),
    var(--c-primary-dark);
}

.page-home .home-season__body {
  border: 1px solid var(--c-gold-25);
  background: rgba(255, 255, 255, 0.03);
  padding: 28px;
}

.page-home .home-season__lead {
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-text);
  margin: 0 0 28px;
}

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

.page-home .home-season__stats .stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-line);
  padding: 20px 16px;
  min-width: 0;
}

/* ===== 历史对赛记录 ===== */
.page-home .home-history {
  background: var(--c-dark-2);
}

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

.page-home .home-history__panel {
  display: grid;
  gap: 16px;
  align-content: center;
}

.page-home .home-history__search {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--c-white);
  padding: 14px 16px;
  border-radius: 0;
  box-shadow: 12px 12px 0 var(--c-gold-15);
}

.page-home .home-history__search-icon {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid var(--c-dark);
  border-radius: 50%;
  flex: 0 0 auto;
}

.page-home .home-history__search-icon::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 7px;
  height: 2px;
  background: var(--c-dark);
  transform: rotate(45deg);
}

.page-home .home-history__search-text {
  flex: 1;
  color: var(--c-dark);
  font-size: 15px;
}

.page-home .home-history__search-btn {
  background: var(--c-orange);
  color: var(--c-white);
  font-family: var(--font-heading);
  font-size: 13px;
  padding: 8px 18px;
  flex: 0 0 auto;
}

.page-home .home-history__hint {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text);
  margin: 0;
}

.page-home .home-history__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.page-home .home-history__step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line);
}

.page-home .home-history__step:last-child {
  border-bottom: none;
}

.page-home .home-history__step-no {
  width: 46px;
  height: 46px;
  border: 1px solid var(--c-gold);
  color: var(--c-gold);
  font-family: var(--font-number);
  font-size: 14px;
  display: grid;
  place-content: center;
  transform: rotate(8deg);
}

.page-home .home-history__step p {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text);
}

.page-home .home-history__note {
  margin: 28px 0 0;
  padding: 18px 22px;
  border-left: 3px solid var(--c-gold);
  background: rgba(212, 175, 55, 0.06);
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text);
}

/* ===== 版本与信任 ===== */
.page-home .home-trust {
  background: var(--c-dark);
}

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

.page-home .home-trust__timeline {
  padding-left: 8px;
}

.page-home .home-trust__item {
  position: relative;
  padding: 0 0 28px 28px;
  border-left: 2px solid var(--c-gold-40);
  margin-left: 6px;
}

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

.page-home .home-trust__item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--c-gold);
  transform: rotate(45deg);
}

.page-home .home-trust__ver {
  font-family: var(--font-number);
  font-size: 13px;
  color: var(--c-gold);
  display: block;
  margin-bottom: 6px;
}

.page-home .home-trust__item-title {
  font-size: 17px;
  color: var(--c-white);
  margin: 0 0 6px;
}

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

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

.page-home .home-trust__badge {
  border: 1px solid var(--c-gold-25);
  background: rgba(255, 255, 255, 0.03);
  padding: 20px 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-home .home-trust__badge:hover {
  border-color: var(--c-gold);
  transform: translateX(4px);
}

.page-home .home-trust__badge-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--c-gold);
  margin-bottom: 8px;
}

.page-home .home-trust__badge p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-text);
}

.page-home .home-trust__services {
  margin-top: 36px;
  padding: 18px 24px;
  border: 1px solid rgba(42, 157, 143, 0.45);
  background: rgba(42, 157, 143, 0.08);
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-teal);
}

/* ===== 探索区 ===== */
.page-home .home-explore {
  background: linear-gradient(180deg, var(--c-dark), var(--c-primary-dark));
}

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

.page-home .home-explore__grid .card {
  display: block;
  text-decoration: none;
  color: inherit;
  margin: 0;
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.page-home .home-explore__grid .card:hover {
  border-color: var(--c-gold);
  transform: translateY(-3px);
  background-color: rgba(212, 175, 55, 0.05);
}

/* ===== 桌面端 ===== */
@media (min-width: 720px) {
  .page-home .home-section {
    padding: 80px 0;
  }

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

  .page-home .home-season__body {
    padding: 40px;
  }

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

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

  .page-home .home-sync__visual {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .page-home .home-sync__figure--mobile {
    transform: translateY(24px);
    max-width: 88%;
    justify-self: end;
  }

  .page-home .home-history__layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 56px;
  }

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

@media (min-width: 900px) {
  .page-home .home-hero__stage {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 0;
  }

  .page-home .home-hero__figure {
    margin-top: 36px;
  }

  .page-home .home-hero__panel {
    margin-left: -48px;
    margin-top: 0;
    position: relative;
    z-index: 1;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    background:
      linear-gradient(112deg, var(--c-primary) 0%, var(--c-primary-light) 38%, transparent 38.2%),
      var(--c-dark);
    padding: 88px 0 100px;
  }

  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 64px;
  }

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

  .page-home .home-panel__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 56px;
  }

  .page-home .home-sync__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
  }

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

  .page-home .home-trust__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }

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

  .page-home .home-explore__grid .card:nth-child(1),
  .page-home .home-explore__grid .card:nth-child(2),
  .page-home .home-explore__grid .card:nth-child(3) {
    grid-column: span 2;
  }

  .page-home .home-explore__grid .card:nth-child(4),
  .page-home .home-explore__grid .card:nth-child(5) {
    grid-column: span 3;
  }
}
