.page-home {
  --home-line: rgba(240, 244, 248, .16);
  --home-card-bg: rgba(10, 26, 47, .72);
  background: var(--color-bg-primary);
  color: var(--color-text-on-dark);
  overflow-x: hidden;
}

/* ===== 首屏 ===== */
.page-home .hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(135deg, #071525 0%, var(--color-bg-primary) 48%, #0e2236 100%);
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .28;
  transform: scale(1.03);
}

.page-home .hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(10, 26, 47, .98) 0%, rgba(10, 26, 47, .82) 42%, rgba(10, 26, 47, .36) 100%),
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(29, 59, 92, .32) 72px 73px);
}

.page-home .hero__inner {
  position: relative;
  z-index: 3;
  padding-top: 112px;
  padding-bottom: 72px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.page-home .hero__crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--color-muted);
  margin: 0;
}

.page-home .hero__crumb a {
  color: var(--color-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--transition-speed), border-color var(--transition-speed);
}

.page-home .hero__crumb a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

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

.page-home .hero__copy {
  max-width: 620px;
}

.page-home .hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-data);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(0, 230, 118, .1);
  border: 1px solid rgba(0, 230, 118, .3);
  padding: 6px 10px;
  margin-bottom: 20px;
}

.page-home .hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 230, 118, .8);
}

.page-home .hero__title {
  font-family: var(--font-headline);
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.01em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.page-home .hero__title-bracket {
  display: block;
  font-size: .62em;
  color: var(--color-accent);
  letter-spacing: .02em;
  margin-top: 8px;
  text-transform: none;
}

.page-home .hero__slogan {
  font-family: var(--font-headline);
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--color-accent-alt);
  letter-spacing: .04em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.page-home .hero__desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-on-dark);
  max-width: 56ch;
  margin: 0 0 24px;
}

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

.page-home .hero__note {
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--color-muted);
  letter-spacing: .02em;
  margin: 0;
}

/* HUD 框景 */
.page-home .hero__hud {
  position: relative;
  background: rgba(10, 26, 47, .88);
  border: 1px solid rgba(0, 230, 118, .34);
  padding: 36px 22px 22px;
  max-width: 560px;
  width: 100%;
  justify-self: end;
}

.page-home .hero__hud-body {
  position: relative;
  z-index: 1;
}

.page-home .hero__hud-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--home-line);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.page-home .hero__hud-league {
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--color-muted);
  letter-spacing: .05em;
}

.page-home .hero__hud-live {
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-home .hero__hud-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: home-pulse 1.4s ease-in-out infinite;
}

@keyframes home-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 230, 118, .6); }
  50% { opacity: .55; box-shadow: 0 0 0 6px rgba(0, 230, 118, 0); }
}

.page-home .hero__hud-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 24px;
}

.page-home .hero__hud-team {
  font-family: var(--font-headline);
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  color: var(--color-text-on-dark);
  flex: 1;
}

.page-home .hero__hud-team:last-child {
  text-align: right;
}

.page-home .hero__hud-num {
  font-family: var(--font-data);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
}

.page-home .hero__hud-stats {
  display: grid;
  gap: 14px;
  padding-top: 4px;
}

.page-home .hero__hud-stat {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: center;
}

.page-home .hero__hud-label {
  font-family: var(--font-data);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-muted);
}

.page-home .hero__hud-value {
  font-family: var(--font-data);
  font-size: 14px;
  color: var(--color-text-on-dark);
}

.page-home .hero__hud-stat .data-bar {
  grid-column: 1 / -1;
}

.page-home .hero__hud-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--home-line);
  margin-top: 18px;
  padding-top: 14px;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--color-muted);
}

/* 实时数据条 */
.page-home .hero__ticker {
  position: relative;
  z-index: 3;
  background: rgba(10, 26, 47, .9);
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid rgba(0, 230, 118, .35);
  overflow: hidden;
  white-space: nowrap;
}

.page-home .ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  padding: 12px 0;
  animation: home-ticker 32s linear infinite;
  will-change: transform;
}

.page-home .hero__ticker:hover .ticker__track {
  animation-play-state: paused;
}

.page-home .ticker__item {
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--color-text-on-dark);
  letter-spacing: .04em;
  white-space: nowrap;
}

.page-home .ticker__item::before {
  content: '●';
  color: var(--color-accent);
  margin-right: 12px;
  font-size: 9px;
  vertical-align: middle;
}

@keyframes home-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== 章节通用头部 ===== */
.page-home .section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
  position: relative;
}

.page-home .section-head .chapter-number {
  color: var(--color-accent);
  opacity: .9;
  line-height: 1;
}

.page-home .section-head__kicker {
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-accent-alt);
  margin: 0 0 6px;
}

.page-home .section-head__text h2 {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.15;
  margin: 0;
  text-transform: uppercase;
}

.page-home .section-head__desc {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 60ch;
  margin: 10px 0 0;
}

.page-home .section-head__timer {
  border: 1px solid var(--home-line);
  background: rgba(0, 230, 118, .06);
  padding: 12px 16px;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  width: max-content;
}

.page-home .section-head__timer-num {
  font-family: var(--font-data);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: .06em;
}

.page-home .section-head__timer-cap {
  font-family: var(--font-data);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-muted);
}

/* ===== 01 三分钟核对流程 ===== */
.page-home .flow {
  position: relative;
  background: #071525;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  overflow: hidden;
}

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

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

.page-home .flow__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #071525 28%, rgba(7, 21, 37, .8) 55%, rgba(7, 21, 37, .3) 100%);
}

.page-home .flow__inner {
  position: relative;
  z-index: 1;
  padding-top: 72px;
  padding-bottom: 72px;
}

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

.page-home .flow__card {
  position: relative;
  background: var(--home-card-bg);
  border: 1px solid var(--home-line);
  padding: 28px 22px 22px;
  transition: border-color var(--transition-speed), transform var(--transition-speed);
}

.page-home .flow__card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.page-home .flow__num {
  position: absolute;
  top: -22px;
  right: 14px;
  font-family: var(--font-headline);
  font-size: 64px;
  line-height: 1;
  font-weight: 900;
  color: rgba(0, 230, 118, .16);
  pointer-events: none;
}

.page-home .flow__title {
  font-family: var(--font-headline);
  font-size: 1.4rem;
  margin: 0 0 10px;
  color: var(--color-text-on-dark);
}

.page-home .flow__text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-muted);
  margin: 0 0 14px;
}

.page-home .flow__more {
  border-top: 1px dashed var(--home-line);
  padding-top: 12px;
  font-family: var(--font-body);
}

.page-home .flow__more summary {
  cursor: pointer;
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--color-accent);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-home .flow__more summary::-webkit-details-marker {
  display: none;
}

.page-home .flow__more summary::before {
  content: '+';
  font-size: 16px;
  font-family: var(--font-data);
  font-weight: 700;
}

.page-home .flow__more[open] summary::before {
  content: '–';
}

.page-home .flow__more p {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--color-text-on-dark);
  line-height: 1.7;
}

/* ===== 02 赛事订阅 ===== */
.page-home .subscribe {
  background: var(--color-bg-secondary);
  color: var(--color-text-on-light);
  position: relative;
  overflow: hidden;
}

.page-home .subscribe::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  background: rgba(255, 106, 0, .08);
  border: 1px solid rgba(255, 106, 0, .2);
  transform: rotate(-12deg);
}

.page-home .subscribe__inner {
  padding-top: 72px;
  padding-bottom: 72px;
}

.page-home .subscribe .section-head .chapter-number {
  color: var(--color-accent-alt);
}

.page-home .subscribe .section-head__desc {
  color: rgba(43, 30, 22, .7);
}

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

.page-home .subscribe__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.page-home .subscribe__visual img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  border: 8px solid var(--color-bg-primary);
  box-shadow: 18px 18px 0 rgba(10, 26, 47, .18);
}

.page-home .subscribe__content {
  max-width: 620px;
}

.page-home .subscribe__lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-on-light);
  margin: 0 0 20px;
}

.page-home .subscribe__list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .subscribe__list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(43, 30, 22, .86);
}

.page-home .subscribe__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .62em;
  width: 12px;
  height: 3px;
  background: var(--color-accent-alt);
}

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

.page-home .subscribe__meta .data-pill {
  background: rgba(255, 106, 0, .1);
  border-color: rgba(255, 106, 0, .3);
  color: #9e4a00;
}

.page-home .subscribe__note {
  font-size: 14px;
  color: rgba(43, 30, 22, .66);
  border-top: 1px solid rgba(43, 30, 22, .12);
  padding-top: 16px;
  margin-top: 28px;
  line-height: 1.7;
}

.page-home .subscribe__note a {
  color: var(--color-accent-alt);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 106, 0, .4);
  transition: border-color var(--transition-speed);
}

.page-home .subscribe__note a:hover {
  border-color: rgba(255, 106, 0, .9);
}

/* ===== 03 V3 数据面板 ===== */
.page-home .panel {
  background: var(--color-bg-primary);
  color: var(--color-text-on-dark);
  position: relative;
  overflow: hidden;
}

.page-home .panel::after {
  content: '';
  position: absolute;
  left: -80px;
  bottom: -80px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(30, 144, 255, .18);
  background: rgba(30, 144, 255, .04);
  transform: rotate(18deg);
  pointer-events: none;
}

.page-home .panel__inner {
  padding-top: 72px;
  padding-bottom: 72px;
}

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

.page-home .panel__viz {
  position: relative;
  border: 1px solid rgba(0, 230, 118, .3);
  padding: 10px;
  background: rgba(10, 26, 47, .55);
}

.page-home .panel__viz img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--home-line);
}

.page-home .panel__stats {
  display: grid;
  gap: 22px;
}

.page-home .panel__stat-item {
  border-left: 3px solid var(--color-accent);
  padding-left: 18px;
}

.page-home .panel__stat-item:nth-child(2) {
  border-left-color: var(--color-data-blue);
}

.page-home .panel__stat-item:nth-child(3) {
  border-left-color: var(--color-accent-alt);
}

.page-home .panel__stat-label {
  font-family: var(--font-data);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-muted);
  display: block;
  margin-bottom: 10px;
}

.page-home .panel__stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-data);
  font-size: 14px;
  color: var(--color-text-on-dark);
  margin-bottom: 8px;
}

.page-home .panel__stat-row .data-bar {
  flex: 1;
  max-width: 200px;
  margin-top: 4px;
}

.page-home .panel__footer {
  margin-top: 40px;
  border-top: 1px solid var(--home-line);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--color-muted);
}

.page-home .panel__footer a {
  color: var(--color-accent);
  text-decoration: none;
  font-family: var(--font-data);
  font-size: 14px;
  border-bottom: 1px solid rgba(0, 230, 118, .35);
  padding-bottom: 2px;
  transition: border-color var(--transition-speed);
}

.page-home .panel__footer a:hover {
  border-color: var(--color-accent);
}

/* ===== 04 会员中心 ===== */
.page-home .member {
  background: var(--color-bg-secondary);
  color: var(--color-text-on-light);
  border-top: 6px solid var(--color-bg-primary);
}

.page-home .member__inner {
  padding-top: 72px;
  padding-bottom: 88px;
}

.page-home .member .section-head .chapter-number {
  color: var(--color-accent-alt);
}

.page-home .member .section-head__desc {
  color: rgba(43, 30, 22, .7);
}

.page-home .member__table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(43, 30, 22, .14);
  background: #fff;
  box-shadow: 0 12px 32px rgba(10, 26, 47, .08);
}

.page-home .member__table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-family: var(--font-data);
}

.page-home .member__table th {
  text-align: left;
  padding: 14px 16px;
  background: var(--color-bg-primary);
  color: var(--color-accent);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.page-home .member__table td {
  padding: 12px 16px;
  font-size: 14px;
  border-top: 1px solid rgba(43, 30, 22, .08);
  color: var(--color-text-on-light);
  white-space: nowrap;
}

.page-home .member__table tbody tr:hover {
  background: rgba(0, 230, 118, .08);
}

.page-home .member__state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 3px 8px;
  border: 1px solid rgba(43, 30, 22, .2);
  border-radius: 2px;
}

.page-home .member__state--live {
  color: #00804a;
  border-color: rgba(0, 128, 74, .35);
  background: rgba(0, 230, 118, .1);
}

.page-home .member__state--done {
  color: rgba(43, 30, 22, .6);
}

.page-home .member__pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  font-family: var(--font-data);
  font-size: 13px;
}

.page-home .member__page-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid rgba(43, 30, 22, .22);
  background: transparent;
  color: var(--color-text-on-light);
  font-family: var(--font-data);
  font-size: 13px;
}

.page-home .member__page-btn.is-disabled {
  opacity: .4;
}

.page-home .member__page-info {
  color: rgba(43, 30, 22, .6);
}

.page-home .member__tip {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(43, 30, 22, .66);
  line-height: 1.7;
  max-width: 72ch;
}

/* ===== 帮助中心悬浮入口 ===== */
.page-home .help-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #00c868 100%);
  color: #06200f;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: none;
  box-shadow: 0 10px 24px rgba(0, 230, 118, .4);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.page-home .help-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 230, 118, .5);
}

.page-home .help-fab__icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: rgba(6, 32, 15, .14);
  border-radius: 2px;
  font-family: var(--font-headline);
  font-size: 18px;
}

/* ===== 响应式 ===== */
@media (min-width: 768px) {
  .page-home .section-head {
    grid-template-columns: auto 1fr;
    gap: 22px;
    align-items: start;
  }

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

  .page-home .section-head__timer {
    align-self: start;
    margin-top: 4px;
  }

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

  .page-home .member__table th,
  .page-home .member__table td {
    padding: 14px 18px;
  }
}

@media (min-width: 900px) {
  .page-home .subscribe__layout {
    grid-template-columns: minmax(0, 380px) 1fr;
    gap: 56px;
  }
}

@media (min-width: 1024px) {
  .page-home .hero__inner {
    padding-bottom: 88px;
  }

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

  .page-home .panel__layout {
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
  }

  .page-home .flow__inner {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .page-home .subscribe__inner,
  .page-home .panel__inner,
  .page-home .member__inner {
    padding-top: 88px;
    padding-bottom: 88px;
  }
}

@media (max-width: 767px) {
  .page-home .hero__inner {
    padding-top: 72px;
    padding-bottom: 48px;
  }

  .page-home .hero__title {
    font-size: 2.4rem;
  }

  .page-home .hero__hud {
    padding: 28px 18px 18px;
  }

  .page-home .hero__hud-score {
    gap: 6px;
  }

  .page-home .flow__num {
    font-size: 56px;
    top: -18px;
  }

  .page-home .help-fab {
    right: 12px;
    bottom: 12px;
    padding: 10px 14px 10px 10px;
  }

  .page-home .help-fab__text {
    font-size: 13px;
  }

  .page-home .help-fab__icon {
    width: 26px;
    height: 26px;
  }
}
