.page-home {
  --home-panel-bg: rgba(18, 35, 61, 0.62);
  --home-panel-solid: rgba(10, 22, 40, 0.78);
  display: block;
  background: var(--arena);
  color: var(--silver);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
}

/* ============ HERO ============ */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(820px 540px at 88% 10%, rgba(0, 229, 255, 0.11), transparent 68%),
    radial-gradient(620px 460px at 3% 94%, rgba(255, 107, 26, 0.08), transparent 72%),
    var(--arena);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.45;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.28) 68%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.28) 68%, transparent 100%);
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(26px, 4vw, 46px);
  padding-block: clamp(34px, 6.5vw, 82px);
}

.page-home .home-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-width: 0;
}

.page-home .home-hero__copy .display {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.page-home .ink-cyan {
  color: var(--cyan);
}

.page-home .lede {
  margin: 0;
  max-width: 52ch;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.78;
  color: var(--silver);
}

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

.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: 1px;
  margin: 12px 0 0;
  padding: 1px;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.page-home .home-hero__stats .stat {
  margin: 0;
  padding: 14px 14px 16px;
  background: var(--home-panel-solid);
}

.page-home .home-hero__stats .stat__label {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--silver);
}

.page-home .home-hero__stats .stat__value {
  margin: 8px 0 0;
  font-family: var(--font-data);
  font-weight: 800;
  font-size: clamp(1.4rem, 4vw, 1.95rem);
  line-height: 1;
  color: var(--cyan);
}

.page-home .home-hero__visual {
  min-width: 0;
}

.page-home .hero-visual {
  position: relative;
  margin: 0;
  height: 100%;
  min-height: 300px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, rgba(18, 35, 61, 0.92), rgba(10, 22, 40, 0.62));
  overflow: hidden;
}

.page-home .hero-visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
}

.page-home .hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.12) 0%, rgba(10, 22, 40, 0.88) 100%);
  pointer-events: none;
}

.page-home .hero-visual__line {
  position: absolute;
  left: 0;
  bottom: 12%;
  z-index: 2;
  width: 100%;
  height: 44%;
  color: var(--cyan);
  opacity: 0.9;
}

.page-home .hero-visual__scan {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.72;
  animation: home-scan 6s linear infinite;
}

@keyframes home-scan {
  0% { top: 8%; }
  100% { top: 92%; }
}

.page-home .hero-visual__caption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 3;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--silver);
}

/* ============ 通用章节 ============ */
.page-home .home-section {
  position: relative;
  padding-block: clamp(46px, 7vw, 94px);
}

.page-home .home-section + .home-section {
  border-top: 1px solid var(--line-soft);
}

.page-home .home-head {
  max-width: 64ch;
  margin-bottom: clamp(24px, 3.4vw, 42px);
}

.page-home .section-head__title {
  margin: 10px 0 0;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 5vw, 2.7rem);
  line-height: 1.14;
}

.page-home .home-head__text {
  margin: 14px 0 0;
  font-size: clamp(0.9375rem, 1.4vw, 1rem);
  line-height: 1.78;
  color: var(--silver);
}

.page-home .media {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-soft);
  background: var(--console);
  overflow: hidden;
}

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

.page-home .media--wide img {
  aspect-ratio: 3 / 2;
}

.page-home .media--panel img {
  aspect-ratio: 14 / 9;
}

/* ============ 联赛导航 ============ */
.page-home .home-leagues {
  background: linear-gradient(180deg, rgba(18, 35, 61, 0.34), transparent 78%);
}

.page-home .league-grid {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
}

.page-home .league-tabs {
  min-width: 0;
}

.page-home .tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .tab {
  appearance: none;
  border: 1px solid var(--line-soft);
  background: var(--home-panel-bg);
  color: var(--silver);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.2;
  padding: 9px 18px;
  border-radius: 0;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.page-home .tab:hover {
  color: var(--cyan);
  border-color: rgba(0, 229, 255, 0.42);
}

.page-home .tab[aria-selected="true"] {
  color: var(--arena);
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 700;
}

.page-home .tab:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.page-home .tabpanel {
  padding-top: 18px;
  animation: home-fade 0.28s ease both;
}

.page-home .tabpanel[hidden] {
  display: none !important;
}

@keyframes home-fade {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: none; }
}

.page-home .league-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 1px;
  list-style: none;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.page-home .league-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  padding: 14px 16px;
  background: var(--home-panel-solid);
}

.page-home .league-list__name {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9375rem;
}

.page-home .league-list__meta {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--silver);
  opacity: 0.86;
}

/* ============ 数据面板 ============ */
.page-home .panel-grid {
  display: grid;
  gap: clamp(22px, 3.4vw, 40px);
}

.page-home .panel-grid__copy {
  min-width: 0;
}

.page-home .panel-points {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .panel-points li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--silver);
}

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

.page-home .panel-grid__cta {
  margin: 22px 0 0;
}

.page-home .stat-chips {
  margin-top: clamp(28px, 4vw, 46px);
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid var(--line-soft);
  background: var(--home-panel-bg);
}

.page-home .stat-chips__title {
  margin: 0 0 16px;
  font-family: var(--font-data);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

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

.page-home .stat-chips__list li {
  padding: 7px 13px;
  border: 1px solid var(--line-soft);
  background: var(--home-panel-solid);
  color: var(--silver);
  font-size: 0.875rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .stat-chips__list li:hover {
  color: var(--cyan);
  border-color: rgba(0, 229, 255, 0.45);
}

/* ============ 会员与存档 ============ */
.page-home .home-member {
  background: linear-gradient(180deg, rgba(18, 35, 61, 0.28), transparent 82%);
}

.page-home .member-tiers {
  display: grid;
  gap: 14px;
}

.page-home .tier {
  position: relative;
  padding: 20px 18px 22px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(18, 35, 61, 0.85), rgba(10, 22, 40, 0.7));
}

.page-home .tier--top {
  border-color: rgba(255, 107, 26, 0.5);
  background: linear-gradient(180deg, rgba(255, 107, 26, 0.14), rgba(10, 22, 40, 0.74));
}

.page-home .tier__index {
  margin: 0;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-home .tier--top .tier__index {
  color: var(--orange);
}

.page-home .tier__name {
  margin: 10px 0 0;
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
}

.page-home .tier__text {
  margin: 8px 0 0;
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--silver);
}

.page-home .season-track {
  display: grid;
  gap: 22px;
  margin: clamp(26px, 3.6vw, 42px) 0 0;
  padding: clamp(22px, 3vw, 32px) 0 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}

.page-home .season-track__item {
  position: relative;
  padding-top: 22px;
}

.page-home .season-track__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background: var(--steel);
}

.page-home .season-track__item::after {
  content: "";
  position: absolute;
  left: 0;
  top: -4px;
  width: 9px;
  height: 9px;
  background: var(--cyan);
  transform: rotate(45deg);
}

.page-home .season-track__index {
  margin: 0;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--silver);
  opacity: 0.8;
}

.page-home .season-track__title {
  margin: 8px 0 0;
  color: var(--white);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
}

.page-home .season-track__text {
  margin: 8px 0 0;
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--silver);
}

.page-home .member-cta {
  margin: clamp(24px, 3vw, 34px) 0 0;
}

/* ============ 下载中心 ============ */
.page-home .download-grid {
  display: grid;
  gap: clamp(22px, 3.4vw, 40px);
}

.page-home .download-grid__copy {
  min-width: 0;
}

.page-home .download-list {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}

.page-home .download-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .download-list__k {
  flex: 0 0 auto;
  min-width: 6.5em;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--silver);
  opacity: 0.82;
}

.page-home .download-list__v {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--white);
}

.page-home .download-grid__cta {
  margin: 24px 0 0;
}

/* ============ 更新节奏与信任 ============ */
.page-home .home-trust {
  background: linear-gradient(180deg, rgba(30, 58, 95, 0.22), transparent 70%);
}

.page-home .trust-grid {
  display: grid;
  gap: clamp(22px, 3.4vw, 38px);
}

.page-home .trust-grid__main,
.page-home .trust-grid__side {
  min-width: 0;
}

.page-home .trust-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.page-home .trust-stats__item {
  margin: 0;
  padding: 16px 16px 18px;
  background: var(--home-panel-solid);
}

.page-home .trust-stats__label {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--silver);
}

.page-home .trust-stats__value {
  margin: 10px 0 0;
  font-family: var(--font-data);
  font-weight: 800;
  font-size: clamp(1.25rem, 3.2vw, 1.6rem);
  line-height: 1;
  color: var(--orange);
}

.page-home .trust-note {
  margin: 20px 0 0;
  font-size: 0.9375rem;
  line-height: 1.78;
  color: var(--silver);
}

.page-home .trust-cta {
  margin: 20px 0 0;
}

.page-home .trust-grid__side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .contact-list,
.page-home .site-facts {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .contact-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
}

.page-home .contact-key {
  flex: 0 0 auto;
  min-width: 5em;
  font-size: 12.5px;
  color: var(--silver);
  opacity: 0.84;
}

.page-home .contact-val {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-data);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--white);
  word-break: break-word;
}

.page-home .contact-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.68;
  color: var(--silver);
  opacity: 0.88;
}

.page-home .site-facts li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
}

.page-home .site-facts__k {
  flex: 0 0 auto;
  min-width: 5em;
  font-size: 12.5px;
  color: var(--silver);
  opacity: 0.84;
}

.page-home .site-facts__v {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-data);
  font-size: 0.875rem;
  color: var(--white);
  word-break: break-word;
}

.page-home .site-facts__cta {
  margin: 16px 0 0;
}

/* ============ 响应式 ============ */
@media (min-width: 620px) {
  .page-home .member-tiers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .page-home .season-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.82fr);
    align-items: stretch;
  }

  .page-home .hero-visual {
    min-height: 470px;
  }

  .page-home .league-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: start;
  }

  .page-home .panel-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
  }

  .page-home .download-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }

  .page-home .trust-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: start;
  }
}

@media (min-width: 1200px) {
  .page-home .home-hero__inner {
    gap: clamp(40px, 5vw, 72px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-visual__scan {
    animation: none;
    top: 50%;
  }

  .page-home .tabpanel {
    animation: none;
  }

  .page-home .tab,
  .page-home .stat-chips__list li {
    transition: none;
  }
}
</main>
