/* ===== 首页 Homepage 专属样式 ===== */
.page-home {
  background: var(--color-primary);
  color: var(--color-text);
}

/* ---------- Hero / 首屏 ---------- */
.page-home .hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(100vh, 900px);
  overflow: hidden;
  padding: 7rem 0 4rem;
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

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

.page-home .hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(123, 47, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 47, 255, 0.12) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 32% 50%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 32% 50%, #000 20%, transparent 70%);
  opacity: 0.5;
}

/* 全站唯一动态粒子背景 */
.page-home .hero__particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(57, 255, 20, 0.9) 0 1px, transparent 1.5px),
    radial-gradient(circle at 32% 62%, rgba(123, 47, 255, 0.8) 0 1px, transparent 1.5px),
    radial-gradient(circle at 48% 40%, rgba(242, 239, 233, 0.7) 0 1px, transparent 1.5px),
    radial-gradient(circle at 68% 76%, rgba(57, 255, 20, 0.7) 0 1.5px, transparent 2px),
    radial-gradient(circle at 82% 18%, rgba(123, 47, 255, 0.9) 0 1.5px, transparent 2px),
    radial-gradient(circle at 90% 60%, rgba(242, 239, 233, 0.6) 0 1px, transparent 1.5px);
  background-size: 220px 220px;
  background-repeat: repeat;
  opacity: 0.7;
  animation: page-hero-particles 16s linear infinite alternate;
}

@keyframes page-hero-particles {
  from {
    background-position: 0 0;
    opacity: 0.55;
  }
  to {
    background-position: 80px 60px;
    opacity: 0.95;
  }
}

.page-home .hero__diag {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, transparent 0%, transparent 52%, rgba(123, 47, 255, 0.14) 52%, rgba(123, 47, 255, 0.18) 68%, transparent 68%),
    linear-gradient(160deg, transparent 0%, transparent 72%, rgba(57, 255, 20, 0.08) 72%, rgba(57, 255, 20, 0.12) 88%, transparent 88%);
}

.page-home .hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.page-home .hero__content {
  max-width: 44rem;
}

.page-home .hero__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  color: var(--color-muted);
  letter-spacing: 0.08em;
}

.page-home .hero__title {
  font-family: var(--font-headline);
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.page-home .hero__title span {
  display: block;
  background: linear-gradient(120deg, #7B2FFF 0%, #39FF14 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 0.56em;
  letter-spacing: 0;
}

.page-home .hero__lead {
  margin-top: 1.5rem;
  max-width: 38rem;
  border-left: 2px solid var(--color-accent);
  padding-left: 1.25rem;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.9;
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.page-home .hero__actions .btn {
  min-width: 10rem;
}

.page-home .hero__live {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
  color: var(--color-muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

/* 功能索引面板 */
.page-home .hero__panel {
  position: relative;
  padding: 1.25rem;
  background: rgba(18, 21, 28, 0.88);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.page-home .hero__panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 72px;
  height: 72px;
  border-top: 2px solid var(--color-accent);
  border-left: 2px solid var(--color-accent);
  border-radius: var(--radius-lg) 0 0 0;
  pointer-events: none;
}

.page-home .index-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  padding: 0.25rem 0.25rem 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.page-home .index-panel__head > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-home .index-panel__status {
  color: var(--color-muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

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

.page-home .index-panel__item + .index-panel__item {
  border-top: 1px dashed var(--color-border);
}

.page-home .index-panel__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 0.25rem;
  text-decoration: none;
  color: var(--color-text);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.page-home .index-panel__link:hover {
  background: rgba(123, 47, 255, 0.14);
  transform: translateX(4px);
}

.page-home .index-panel__num {
  color: var(--color-accent);
  font-size: 0.75rem;
  min-width: 1.6rem;
}

.page-home .index-panel__name {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 600;
}

.page-home .index-panel__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding: 0.75rem 0.25rem 0;
  border-top: 1px dashed var(--color-border);
  color: var(--color-muted);
  font-size: 0.72rem;
}

/* ---------- 章节标题通用结构 ---------- */
.page-home .section-head {
  margin-bottom: 2.5rem;
}

.page-home .section-head__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.page-home .section-head__num {
  color: var(--color-accent);
  font-size: 0.8rem;
}

.page-home .section-title {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.page-home .section-sub {
  margin-top: 0.75rem;
  max-width: 42rem;
  color: var(--color-muted);
  line-height: 1.8;
}

/* ---------- 本季架构升级 ---------- */
.page-home .upgrade {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--color-primary) 0%, #050B1D 100%);
}

.page-home .upgrade__cards {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.page-home .upgrade__card {
  padding: 1.75rem;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.page-home .upgrade__card:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 47, 255, 0.5);
}

.page-home .upgrade__card.card--accent {
  background: linear-gradient(135deg, rgba(123, 47, 255, 0.22), rgba(18, 21, 28, 0.9) 70%);
  border-color: rgba(123, 47, 255, 0.45);
}

.page-home .upgrade__num {
  display: inline-block;
  color: var(--color-neon);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.page-home .upgrade__card h3 {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.page-home .upgrade__card p {
  color: var(--color-muted);
  line-height: 1.7;
  font-size: 0.9rem;
}

.page-home .upgrade__visual {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

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

.page-home .upgrade__visual figcaption {
  padding: 0.9rem 1rem;
  color: var(--color-muted);
  font-size: 0.78rem;
  text-align: center;
  background: rgba(10, 17, 40, 0.6);
}

/* ---------- PHANTOM 内地版登录 ---------- */
.page-home .login-feature {
  padding: 5rem 0;
}

.page-home .login-feature__inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.page-home .login-feature__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.page-home .login-feature__visual img {
  width: 100%;
  height: auto;
  min-height: 220px;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.page-home .login-feature__body h2 {
  margin-top: 0.5rem;
}

.page-home .login-feature__body p {
  color: var(--color-muted);
  line-height: 1.85;
  margin-top: 1rem;
}

.page-home .login-feature__list {
  list-style: none;
  margin: 1.25rem 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.page-home .login-feature__list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--color-text);
  font-size: 0.9rem;
  line-height: 1.6;
}

.page-home .login-feature__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--color-neon);
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.6);
  border-radius: 2px;
}

/* ---------- 当季赛程订阅 ---------- */
.page-home .subscribe {
  padding: 5rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(123, 47, 255, 0.06) 60%, transparent 100%);
}

.page-home .subscribe__tabs {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(18, 21, 28, 0.75);
  overflow: hidden;
}

.page-home .tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
  background: rgba(10, 17, 40, 0.5);
}

.page-home .tab-btn {
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  color: var(--color-muted);
  font: 600 0.88rem var(--font-body);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.page-home .tab-btn:hover {
  color: var(--color-text);
  border-color: rgba(123, 47, 255, 0.4);
}

.page-home .tab-btn.is-active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.page-home .tab-panel {
  padding: 1.75rem;
}

.page-home .subscribe__panel-body p {
  color: var(--color-muted);
  line-height: 1.8;
}

.page-home .subscribe__note {
  margin-top: 1rem;
  color: var(--color-neon);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

/* ---------- 数据周期 ---------- */
.page-home .cycle {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.page-home .cycle__inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.page-home .cycle__content h2 {
  margin-top: 0.5rem;
}

.page-home .cycle__desc {
  margin-top: 1rem;
  color: var(--color-muted);
  line-height: 1.85;
}

.page-home .cycle__monitor {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-border);
  margin: 2rem 0 1.5rem;
}

.page-home .cycle__metric {
  background: var(--color-surface);
  padding: 1.1rem 0.75rem;
  text-align: center;
}

.page-home .cycle__metric .metric__label {
  display: block;
  color: var(--color-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.page-home .cycle__metric .metric__value {
  color: var(--color-neon);
  font-family: var(--font-data);
  font-size: 1.5rem;
  font-weight: 400;
}

.page-home .cycle__strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(123, 47, 255, 0.18) 0%, rgba(10, 17, 40, 0.9) 100%);
}

.page-home .cycle__strip-num {
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--color-accent);
  font-weight: 900;
  font-family: var(--font-data);
}

.page-home .cycle__strip-label {
  color: var(--color-neon);
  letter-spacing: 0.35em;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* ---------- 平台数据足迹 ---------- */
.page-home .footprint {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--color-primary), #050B1D);
}

.page-home .footprint__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.page-home .footprint__item {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 1.4rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.page-home .footprint__item:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 255, 20, 0.45);
}

.page-home .footprint__num {
  display: block;
  color: var(--color-neon);
  font-family: var(--font-data);
  font-size: 1.7rem;
  min-height: 2.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.page-home .footprint__item h3 {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.page-home .footprint__item p {
  color: var(--color-muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* ---------- 行动号召 ---------- */
.page-home .cta {
  padding: 5rem 0 6rem;
}

.page-home .cta__inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.page-home .cta__content h2 {
  margin: 0.5rem 0 1rem;
}

.page-home .cta__content p {
  color: var(--color-muted);
  line-height: 1.85;
  max-width: 40rem;
}

.page-home .cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.page-home .cta__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transform: rotate(1.5deg);
}

.page-home .cta__visual img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}

.page-home .cta__trust {
  margin-top: 2rem;
  color: var(--color-muted);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  border-top: 1px dashed var(--color-border);
  padding-top: 1.25rem;
}

/* ---------- 响应式布局 ---------- */
@media (min-width: 640px) {
  .page-home .footprint__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 960px) {
  .page-home .hero {
    padding: 8rem 0 5rem;
  }

  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 440px);
    gap: 4rem;
  }

  .page-home .login-feature__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3.5rem;
  }

  .page-home .cycle__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 3.5rem;
  }

  .page-home .cta__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
    gap: 4rem;
  }

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

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

@media (min-width: 1200px) {
  .page-home .hero__inner {
    column-gap: 6rem;
  }

  .page-home .login-feature__inner {
    gap: 5rem;
  }

  .page-home .cta__inner {
    gap: 5rem;
  }
}
