.page-home {
  overflow-x: clip;
}

/* ---------- 首屏框景 ---------- */
.page-home__hero {
  background: var(--c-primary);
  color: var(--c-white);
}

.page-home__hero-frame {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border-bottom: 4px solid var(--c-accent);
}

.page-home__hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
  z-index: 1;
}

.page-home__hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(11, 29, 58, .28) 0%,
    rgba(11, 29, 58, .62) 45%,
    rgba(11, 29, 58, .94) 82%
  );
}

.page-home__hero-deco {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.page-home__deco-y {
  position: absolute;
  top: 72px;
  bottom: 160px;
  left: 16px;
  width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, .5) 0 1px,
    transparent 1px 7px
  );
  opacity: .7;
}

.page-home__deco-x {
  position: absolute;
  top: 24px;
  left: 48px;
  right: 64px;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    rgba(255, 255, 255, .5) 0 1px,
    transparent 1px 7px
  );
  opacity: .7;
}

.page-home__deco-tag {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .6);
}

.page-home__deco-tag--tl {
  top: 16px;
  left: 52px;
}

.page-home__deco-tag--tr {
  top: 30px;
  right: 68px;
}

.page-home__hero-content {
  position: relative;
  z-index: 4;
  width: 100%;
  padding-top: 96px;
  padding-bottom: 188px;
}

.page-home__breadcrumb {
  margin-bottom: 16px;
}

.page-home__hero .breadcrumb__current {
  color: rgba(255, 255, 255, .7);
}

.page-home__hero-kicker {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.page-home__hero-title {
  margin: 0 0 14px;
  font-family: var(--font-headline);
  font-size: 28px;
  line-height: 1.25;
  max-width: 780px;
  color: var(--c-white);
  border-left: 4px solid var(--c-accent);
  padding-left: 16px;
}

.page-home__hero-desc {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .82);
  max-width: 660px;
}

.page-home__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home__hero .btn--ghost {
  border-color: rgba(255, 255, 255, .6);
  color: var(--c-white);
}

/* 比分数据流 */
.page-home__ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  overflow-x: auto;
  background: rgba(11, 29, 58, .82);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, .18);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.page-home__ticker::-webkit-scrollbar {
  display: none;
}

.page-home__ticker-item {
  flex: 0 0 auto;
  width: 220px;
  padding: 12px 14px;
  border-left: 3px solid var(--c-accent);
  border-radius: 2px 12px 12px 2px;
  background: rgba(255, 255, 255, .06);
}

.page-home__ticker-meta {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-accent);
  white-space: nowrap;
}

.page-home__ticker-row {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .86);
}

.page-home__ticker-row b {
  flex: 1;
  font-weight: 400;
  color: rgba(255, 255, 255, .6);
}

.page-home__ticker-row i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 13px;
}

/* ---------- 通用章节头部 ---------- */
.page-home__section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 20px;
  margin-bottom: 32px;
}

.page-home__section-head-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.page-home .section-title__index {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--c-accent);
}

.page-home__section-desc {
  flex-basis: 100%;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text-2);
}

.page-home__section-more {
  margin-left: auto;
  color: var(--c-accent);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

/* ---------- 核心服务矩阵 ---------- */
.page-home__services {
  background: var(--c-surface);
  padding: 64px 0 56px;
}

.page-home__services-grid {
  display: grid;
  gap: 18px;
}

.page-home__service-card {
  position: relative;
  padding: 24px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(11, 29, 58, .05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.page-home__service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(11, 29, 58, .1);
}

.page-home__service-card--featured {
  background: linear-gradient(145deg, var(--c-primary) 0%, #152A52 70%, rgba(164, 77, 255, .65) 160%);
  border-color: transparent;
  color: var(--c-white);
  box-shadow: inset 4px 0 0 var(--c-accent), 0 8px 24px rgba(11, 29, 58, .16);
}

.page-home__service-card--featured:hover {
  box-shadow: inset 4px 0 0 var(--c-accent), 0 12px 34px rgba(11, 29, 58, .28);
}

.page-home__service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
  color: var(--c-white);
}

.page-home__service-card--featured .page-home__service-icon {
  background: var(--c-accent);
}

.page-home__service-title {
  margin: 0 0 8px;
  font-family: var(--font-headline);
  font-size: 17px;
  line-height: 1.4;
}

.page-home__service-summary {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-2);
}

.page-home__service-card--featured .page-home__service-summary {
  color: rgba(255, 255, 255, .74);
}

.page-home__service-details summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-accent);
  list-style: none;
}

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

.page-home__service-details summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-weight: 700;
  transition: transform .2s ease;
}

.page-home__service-details[open] summary::after {
  content: "−";
}

.page-home__service-card--featured .page-home__service-details summary {
  color: var(--c-warning);
}

.page-home__service-more {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--c-border);
}

.page-home__service-card--featured .page-home__service-more {
  border-top-color: rgba(255, 255, 255, .28);
}

.page-home__service-more ul {
  margin: 0;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--c-text-2);
}

.page-home__service-card--featured .page-home__service-more ul {
  color: rgba(255, 255, 255, .78);
}

.page-home__services-foot {
  margin: 24px 0 0;
  text-align: right;
  font-size: 15px;
}

.page-home__services-foot a {
  color: var(--c-accent);
  font-weight: 600;
  text-decoration: none;
}

/* ---------- 实时数据面板 ---------- */
.page-home__stats {
  position: relative;
  padding: 64px 0;
  background: radial-gradient(circle at 85% 15%, rgba(164, 77, 255, .28) 0, transparent 42%),
    linear-gradient(150deg, var(--c-primary) 0%, #102447 60%, #182C52 100%);
  color: var(--c-white);
  overflow: hidden;
}

.page-home__stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--c-accent) 0 55%, var(--c-accent-2) 55%);
  opacity: .9;
}

.page-home__stats .section-title {
  color: var(--c-white);
}

.page-home__stats .page-home__section-desc {
  color: rgba(255, 255, 255, .7);
}

.page-home__stats-layout {
  display: grid;
  gap: 28px;
}

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

.page-home__stats .stat {
  padding: 18px 16px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
}

.page-home__stats .stat__value {
  color: var(--c-white);
  text-shadow: 0 0 24px rgba(255, 106, 0, .35);
}

.page-home__stats .stat__label {
  color: rgba(255, 255, 255, .62);
}

.page-home__stats-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
}

.page-home__stats-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home__stats-trust {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  border-left: 4px solid var(--c-accent);
  background: rgba(255, 255, 255, .06);
  border-radius: 0 14px 14px 0;
}

.page-home__stats-trust p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .9);
}

.page-home__stats-trust a {
  color: var(--c-accent);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

/* ---------- 最新战报与视频集锦 ---------- */
.page-home__news {
  background: var(--c-white);
  padding: 64px 0;
}

.page-home__news-list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.page-home__news-list::-webkit-scrollbar {
  display: none;
}

.page-home__news-card {
  flex: 0 0 85%;
  scroll-snap-align: start;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 18px;
  overflow: hidden;
}

.page-home__news-thumb {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.page-home__news-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.page-home__news-card:hover .page-home__news-thumb img {
  transform: scale(1.04);
}

.page-home__news-body {
  padding: 16px 18px 20px;
}

.page-home__news-body h3 {
  margin: 10px 0 8px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--c-text);
}

.page-home__news-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-text-2);
}

/* ---------- 客户端下载引导 ---------- */
.page-home__download {
  background: var(--c-primary);
  padding: 64px 0;
  color: var(--c-white);
}

.page-home__download .section-title {
  color: var(--c-white);
}

.page-home__download .page-home__section-desc {
  color: rgba(255, 255, 255, .7);
}

.page-home__download-panel {
  display: grid;
  gap: 24px;
  padding: 28px 24px;
  background: var(--c-white);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
}

.page-home__download-panel::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(164, 77, 255, .28) 0%, transparent 70%);
  pointer-events: none;
}

.page-home__download-label {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 12px;
  background: var(--c-accent);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--c-white);
  text-transform: uppercase;
}

.page-home__download-desc {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text-2);
  max-width: 480px;
}

.page-home__download-list {
  margin: 0 0 22px;
  padding-left: 20px;
  font-size: 14px;
  line-height: 2;
  color: var(--c-text-2);
}

.page-home__download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home__download-badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  text-align: center;
  background: linear-gradient(135deg, var(--c-primary) 0%, #14294D 100%);
  border-radius: 18px;
  color: var(--c-white);
  min-height: 160px;
}

.page-home__download-version {
  font-family: var(--font-mono);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: var(--c-accent);
  letter-spacing: -.02em;
}

.page-home__download-stable {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .34em;
  color: rgba(255, 255, 255, .65);
  text-transform: uppercase;
}

.page-home__download-platform {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home__hero-title {
    font-size: 34px;
  }

  .page-home__services-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .page-home__news-card {
    flex-basis: 46%;
  }

  .page-home__download-panel {
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .page-home__hero-frame {
    min-height: 720px;
  }

  .page-home__hero-title {
    font-size: 44px;
  }

  .page-home__ticker-item {
    flex: 1 1 0;
  }

  .page-home__services,
  .page-home__stats,
  .page-home__news,
  .page-home__download {
    padding: 88px 0;
  }

  .page-home__section-desc {
    text-align: right;
    margin-left: auto;
  }

  .page-home__stats-layout {
    grid-template-columns: 1fr 1.2fr;
    align-items: stretch;
  }

  .page-home__stats-trust {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .page-home__news-list {
    overflow: visible;
  }

  .page-home__news-card {
    flex: 1 1 0;
  }

  .page-home__service-card {
    padding: 30px;
  }

  .page-home__download-panel {
    padding: 44px 52px;
  }
}
