.page-home {
  --ph-gap: 16px;
  --ph-gap-lg: 30px;
  --ph-glass: rgba(39, 245, 216, 0.07);
  --ph-panel: rgba(18, 58, 51, 0.6);
  --ph-dark: rgba(11, 43, 38, 0.45);
  --ph-shadow: 0 20px 48px rgba(3, 10, 16, 0.5);
  padding-bottom: 8px;
}

/* ---------- 首屏拼贴 ---------- */
.page-home .hero {
  position: relative;
  padding: 26px 0 56px;
  overflow: hidden;
  isolation: isolate;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  top: -90px;
  left: -14%;
  width: 152%;
  height: 280px;
  background: linear-gradient(
    108deg,
    transparent 0 44%,
    rgba(39, 245, 216, 0.13) 44% 44.5%,
    transparent 44.5% 60%,
    rgba(255, 122, 26, 0.11) 60% 60.4%,
    transparent 60.4% 100%
  );
  pointer-events: none;
  z-index: -1;
}

.page-home .hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -40px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 245, 216, 0.12), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

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

.page-home .hero__title {
  margin: 16px 0 0;
  font-family: var(--font-head);
  font-size: clamp(2rem, 7.4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-home .hero__desc {
  margin: 20px 0 0;
  max-width: 46ch;
  font-size: 1rem;
  line-height: 1.78;
  color: var(--ice);
}

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

.page-home .hero__steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.page-home .hero__steps li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ice);
}

.page-home .hero__step-idx {
  flex: 0 0 auto;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

/* 拼贴网格 */
.page-home .hero__collage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .collage__media {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 240px;
  background: linear-gradient(155deg, var(--green-900), var(--bg-800));
  border: 1px solid var(--line-soft);
}

.page-home .collage__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.page-home .collage__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 16px 14px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--mist);
  background: linear-gradient(180deg, transparent, rgba(3, 10, 16, 0.86));
}

.page-home .score-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(39, 245, 216, 0.28);
  background: linear-gradient(180deg, var(--ph-glass), rgba(39, 245, 216, 0.015));
  backdrop-filter: blur(10px);
  box-shadow: var(--ph-shadow);
}

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

.page-home .score-card__tag {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .score-card__match {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
}

.page-home .score-card__team {
  font-size: 0.86rem;
  color: var(--ice);
  letter-spacing: 0.04em;
}

.page-home .score-card__num {
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--mist);
}

.page-home .score-card__sep {
  font-size: 1.2rem;
  color: var(--cyan);
  padding: 0 2px;
}

.page-home .score-card__foot {
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--ice);
}

.page-home .countdown-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 122, 26, 0.28);
  background: linear-gradient(180deg, var(--orange-08), rgba(255, 122, 26, 0.015));
  box-shadow: var(--ph-shadow);
}

.page-home .countdown-card__tag {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--orange);
}

.page-home .countdown-card__time {
  margin: 0;
  font-size: clamp(1.7rem, 5.6vw, 2.3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-home .countdown-card__note {
  margin: 4px 0 0;
  font-size: 0.82rem;
  line-height: 1.62;
  color: var(--ice);
}

.page-home .device-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--ph-panel);
}

.page-home .device-card__label {
  flex: 0 0 auto;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(39, 245, 216, 0.3);
}

.page-home .device-card__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--mist);
}

/* ---------- 比分与阵容 ---------- */
.page-home .pulse {
  padding: 60px 0;
  border-top: 1px solid var(--line-soft);
}

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

.page-home .pulse__text h2 {
  margin: 14px 0 0;
  font-family: var(--font-head);
  font-size: clamp(1.55rem, 4.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-home .pulse__p {
  margin: 18px 0 0;
  font-size: 0.97rem;
  line-height: 1.78;
  color: var(--ice);
}

.page-home .pulse__facts {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.page-home .pulse__facts li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 14px 12px;
  border-radius: var(--radius-sm);
  background: var(--ph-dark);
  border: 1px solid var(--line-soft);
}

.page-home .pulse__num {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.page-home .pulse__cap {
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--ice);
}

.page-home .pulse__link {
  display: inline-block;
  margin-top: 24px;
  font-size: 0.86rem;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(39, 245, 216, 0.35);
  padding-bottom: 2px;
}

.page-home .pulse__visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, var(--green-900), var(--bg-800));
}

.page-home .pulse__visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  opacity: 0.86;
}

.page-home .pulse__cap-line {
  padding: 12px 16px 14px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ice);
  border-top: 1px solid var(--line-soft);
}

/* ---------- 三步看赛 ---------- */
.page-home .steps {
  padding: 60px 0;
  background: linear-gradient(180deg, rgba(11, 43, 38, 0.45), transparent 60%);
  border-top: 1px solid var(--line-soft);
}

.page-home .steps h2 {
  margin: 14px 0 0;
  font-family: var(--font-head);
  font-size: clamp(1.55rem, 4.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-home .steps__lead {
  margin: 16px 0 0;
  max-width: 62ch;
  font-size: 0.96rem;
  line-height: 1.78;
  color: var(--ice);
}

.page-home .steps__tree {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.page-home .steps__node {
  position: relative;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.page-home .steps__node::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 6px;
  width: 5px;
  height: 22px;
  border-radius: 3px;
  background: var(--cyan);
}

.page-home .steps__idx {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--orange);
}

.page-home .steps__h {
  margin: 8px 0 0;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--mist);
}

.page-home .steps__p {
  margin: 8px 0 0;
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--ice);
}

.page-home .steps__media {
  margin: 40px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, var(--green-900), var(--bg-800));
}

.page-home .steps__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  opacity: 0.84;
}

.page-home .steps__cap {
  padding: 12px 16px 14px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ice);
  border-top: 1px solid var(--line-soft);
}

/* ---------- 设备与资源下载 ---------- */
.page-home .devices {
  padding: 60px 0;
  border-top: 1px solid var(--line-soft);
}

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

.page-home .devices__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: linear-gradient(150deg, var(--green-800), var(--bg-800));
}

.page-home .devices__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 0.85;
}

.page-home .devices__text h2 {
  margin: 14px 0 0;
  font-family: var(--font-head);
  font-size: clamp(1.55rem, 4.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-home .devices__p {
  margin: 18px 0 0;
  font-size: 0.96rem;
  line-height: 1.78;
  color: var(--ice);
}

.page-home .devices__list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: var(--line-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.page-home .devices__list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 14px;
  background: var(--bg-800);
}

.page-home .devices__num {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.page-home .devices__cap {
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--ice);
}

.page-home .devices__cta {
  margin-top: 26px;
}

/* ---------- 站点与服务 ---------- */
.page-home .trust {
  padding: 60px 0 72px;
  border-top: 1px solid var(--line-soft);
}

.page-home .trust h2 {
  margin: 14px 0 0;
  font-family: var(--font-head);
  font-size: clamp(1.55rem, 4.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-home .trust__lead {
  margin: 18px 0 0;
  max-width: 74ch;
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--ice);
}

.page-home .trust__stats {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: var(--line-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .trust__stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 18px;
  background: var(--bg-800);
}

.page-home .trust__num {
  font-size: clamp(1.4rem, 4vw, 1.75rem);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.page-home .trust__cap {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ice);
}

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

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .hero__collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .collage__media {
    grid-column: 1 / -1;
    min-height: 300px;
  }
  .page-home .device-card {
    grid-column: 1 / -1;
  }
  .page-home .trust__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .pulse__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 48px;
  }
  .page-home .pulse__visual {
    margin-top: 12px;
  }

  .page-home .steps__tree {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }
  .page-home .steps__node {
    padding: 26px 26px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .page-home .steps__node::before {
    left: 0;
    top: -4px;
    width: 36px;
    height: 7px;
    border-radius: 4px;
  }
  .page-home .steps__node:not(:first-child) {
    padding-left: 26px;
  }

  .page-home .devices__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 48px;
  }
}

@media (min-width: 1024px) {
  .page-home .hero {
    padding: 34px 0 72px;
  }
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 38px;
    align-items: start;
  }
  .page-home .hero__collage {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
  }
  .page-home .collage__media {
    grid-column: 1 / 8;
    grid-row: 1 / 3;
    min-height: 400px;
  }
  .page-home .score-card {
    grid-column: 8 / 13;
    grid-row: 1 / 2;
  }
  .page-home .countdown-card {
    grid-column: 8 / 13;
    grid-row: 2 / 3;
  }
  .page-home .device-card {
    grid-column: 1 / 13;
    grid-row: 3 / 4;
  }
}

@media (max-width: 420px) {
  .page-home .pulse__facts,
  .page-home .devices__list {
    grid-template-columns: 1fr;
  }
  .page-home .trust__stats {
    grid-template-columns: 1fr;
  }
}
