.page-home {
  --home-slant: 14px;
  --home-card-radius: 18px;
  --home-gap: clamp(20px, 3vw, 36px);
  background: var(--w-bg);
  color: var(--w-text);
  overflow-x: hidden;
}

.page-home .container {
  max-width: var(--w-content-width);
  margin-inline: auto;
  padding-inline: 20px;
}

.page-home .section {
  position: relative;
  padding: 56px 0;
}

.page-home .home-section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 32px;
}

.page-home .home-section-head__index {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1;
  color: var(--w-accent);
  opacity: 0.18;
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
  margin-top: -4px;
}

.page-home .home-section-head h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--w-white);
  line-height: 1.2;
}

.page-home .home-section-head p {
  margin: 8px 0 0;
  color: var(--w-text-dim);
  font-size: 14px;
  line-height: 1.7;
  max-width: 640px;
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: transform var(--w-transition), box-shadow var(--w-transition), background-color var(--w-transition);
  cursor: pointer;
}

.page-home .btn--primary {
  background: var(--w-accent);
  color: var(--w-white);
  box-shadow: 0 10px 26px rgba(255, 77, 46, 0.24);
}

.page-home .btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 77, 46, 0.32);
}

.page-home .btn--ghost {
  background: transparent;
  color: var(--w-white);
  border: 1px solid var(--w-line-soft);
}

.page-home .btn--ghost:hover {
  border-color: var(--w-accent);
  color: var(--w-accent);
  transform: translateY(-2px);
}

/* ===== 首屏 ===== */
.page-home .home-intro {
  padding-top: 44px;
  background:
    linear-gradient(135deg, rgba(11, 27, 43, 0.96) 0%, rgba(14, 36, 56, 0.9) 100%),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(255, 255, 255, 0.02) 12px 14px);
}

.page-home .home-intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

.page-home .home-intro__crumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--w-text-dim);
  letter-spacing: 0.04em;
  margin: 0 0 16px;
  padding: 6px 14px;
  border: 1px solid var(--w-line-soft);
  border-radius: 999px;
  background: rgba(18, 48, 71, 0.4);
}

.page-home .home-intro__crumb::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--w-accent);
  box-shadow: 0 0 10px var(--w-accent);
}

.page-home .home-intro h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 6vw, 48px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--w-white);
  max-width: 720px;
}

.page-home .home-intro__lead {
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--w-text);
  max-width: 620px;
}

.page-home .home-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .home-intro__media {
  margin: 0;
  position: relative;
  border-radius: var(--home-card-radius);
  overflow: hidden;
  background: var(--w-panel);
  box-shadow: var(--w-shadow);
}

.page-home .home-intro__media::before,
.page-home .home-intro__media::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.page-home .home-intro__media::before {
  inset: 0;
  background: linear-gradient(120deg, transparent 60%, rgba(255, 77, 46, 0.08) 100%);
}

.page-home .home-intro__media::after {
  top: 0;
  right: 0;
  width: 34px;
  height: 34px;
  background: var(--w-accent);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  opacity: 0.6;
}

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

.page-home .home-intro__toc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-top: 1px solid var(--w-line-soft);
  padding-top: 22px;
}

.page-home .home-intro__toc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(18, 48, 71, 0.45);
  border: 1px solid var(--w-line-soft);
  border-radius: 14px;
  text-decoration: none;
  color: var(--w-text);
  font-size: 14px;
  font-weight: 600;
  transition: border-color var(--w-transition), background-color var(--w-transition), transform var(--w-transition);
}

.page-home .home-intro__toc-item:hover {
  border-color: var(--w-accent);
  background: rgba(255, 77, 46, 0.08);
  color: var(--w-white);
  transform: translateY(-2px);
}

.page-home .home-intro__toc-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--w-accent);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

/* ===== 01 全新改版亮点 ===== */
.page-home .home-highlights {
  background: var(--w-bg-deep);
}

.page-home .home-highlights::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--w-accent) 0%, transparent 70%);
}

.page-home .home-highlights__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}

.page-home .home-highlight-card {
  position: relative;
  padding: 28px 24px 26px;
  background: var(--w-panel);
  border: 1px solid var(--w-line-soft);
  border-radius: var(--home-card-radius);
  transition: background-color var(--w-transition), box-shadow var(--w-transition);
  overflow: hidden;
}

.page-home .home-highlight-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 22px;
  height: 22px;
  background: var(--w-accent);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  opacity: 0.25;
  transition: opacity var(--w-transition);
}

.page-home .home-highlight-card:hover {
  background: var(--w-panel-2);
  box-shadow: 0 0 0 1px rgba(255, 77, 46, 0.35), 0 18px 40px rgba(0, 0, 0, 0.25);
}

.page-home .home-highlight-card:hover::after {
  opacity: 0.8;
}

.page-home .home-highlight-card__index {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--w-accent);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.page-home .home-highlight-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--w-white);
  line-height: 1.3;
}

.page-home .home-highlight-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--w-text-dim);
}

/* ===== 02 十大赛事入口 ===== */
.page-home .home-leagues {
  background: var(--w-bg);
}

.page-home .home-leagues__banner {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: var(--home-card-radius);
  margin-bottom: 26px;
  border: 1px solid var(--w-line-soft);
}

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

.page-home .home-league-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px 12px 18px;
  background: var(--w-panel);
  border: 1px solid var(--w-line-soft);
  border-radius: var(--home-card-radius);
  text-decoration: none;
  transition: border-color var(--w-transition), background-color var(--w-transition), transform var(--w-transition), box-shadow var(--w-transition);
}

.page-home .home-league-card:hover {
  border-color: var(--w-accent);
  background: var(--w-panel-2);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.page-home .home-league-card__icon {
  width: 44px;
  height: 44px;
  color: var(--w-line);
  transition: color var(--w-transition), transform var(--w-transition);
}

.page-home .home-league-card:hover .home-league-card__icon {
  color: var(--w-accent);
  transform: scale(1.08);
}

.page-home .home-league-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--w-white);
  letter-spacing: 0.02em;
}

.page-home .home-league-card__count {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 77, 46, 0.12);
  border: 1px solid rgba(255, 77, 46, 0.24);
  color: var(--w-accent-light);
  white-space: nowrap;
}

.page-home .home-leagues__note {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--w-text-dim);
  text-align: center;
}

/* ===== 03 新版下载引导 ===== */
.page-home .home-download {
  background:
    linear-gradient(160deg, var(--w-bg-deep) 0%, var(--w-panel-2) 100%);
}

.page-home .home-download::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 2px;
  background: linear-gradient(270deg, var(--w-accent), transparent);
}

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

.page-home .home-download__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-download__list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--w-text);
}

.page-home .home-download__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 14px;
  height: 2px;
  background: var(--w-accent);
  border-radius: 2px;
  box-shadow: 0 4px 10px rgba(255, 77, 46, 0.4);
}

.page-home .home-download__media {
  margin: 0;
  border-radius: var(--home-card-radius);
  overflow: hidden;
  border: 1px solid var(--w-line-soft);
  box-shadow: var(--w-shadow);
  background: var(--w-panel);
}

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

/* ===== 04 实时数据看板 ===== */
.page-home .home-data {
  background: var(--w-bg);
}

.page-home .home-data__panel {
  position: relative;
  padding: 28px 20px;
  background: var(--w-panel);
  border: 1px solid var(--w-line-soft);
  border-radius: 20px;
  box-shadow: var(--w-shadow);
  overflow: hidden;
}

.page-home .home-data__panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--w-accent) 0%, var(--w-accent-light) 40%, transparent 90%);
}

.page-home .home-data__pulse {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 77, 46, 0.1);
  border: 1px solid rgba(255, 77, 46, 0.25);
  font-size: 13px;
  font-weight: 600;
  color: var(--w-accent-light);
  margin-bottom: 20px;
}

.page-home .home-data__pulse-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--w-accent);
}

.page-home .home-data__pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--w-accent);
  opacity: 0.5;
  animation: home-pulse 2s ease-out infinite;
}

@keyframes home-pulse {
  0% {
    transform: scale(0.7);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.page-home .home-data__chart {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 14px;
  margin-bottom: 24px;
}

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

.page-home .home-data__stats .data-card {
  padding: 16px 14px;
  background: var(--w-bg-deep);
  border: 1px solid var(--w-line-soft);
  border-radius: 14px;
  text-align: center;
}

.page-home .home-data__stats .data-card__label {
  display: block;
  font-size: 12px;
  color: var(--w-text-dim);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.page-home .home-data__stats .data-card__value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--w-white);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.page-home .home-data__note {
  margin: 18px 0 0;
  font-size: 12px;
  color: var(--w-text-dim);
  text-align: center;
  line-height: 1.6;
}

/* ===== 05 站内检索体验 ===== */
.page-home .home-search {
  background: var(--w-bg-deep);
}

.page-home .home-search::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, var(--w-accent), transparent);
}

.page-home .home-search__demo {
  background: var(--w-panel);
  border: 1px solid var(--w-line-soft);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: var(--w-shadow-soft);
}

.page-home .home-search__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--w-bg-deep);
  border: 1px solid var(--w-line-soft);
  border-radius: 14px;
  color: var(--w-text-dim);
  font-size: 14px;
  margin-bottom: 18px;
}

.page-home .home-search__bar-icon {
  width: 20px;
  height: 20px;
  color: var(--w-accent);
  flex: 0 0 auto;
}

.page-home .home-search__results {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.page-home .home-search__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  background: var(--w-panel-2);
  border: 1px solid var(--w-line-soft);
  border-radius: 12px;
  font-size: 14px;
  color: var(--w-text);
  transition: border-color var(--w-transition), background-color var(--w-transition);
}

.page-home .home-search__row:hover {
  border-color: rgba(255, 77, 46, 0.4);
  background: rgba(255, 77, 46, 0.04);
}

.page-home .home-search__row .badge {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 77, 46, 0.12);
  border: 1px solid rgba(255, 77, 46, 0.2);
  color: var(--w-accent-light);
  white-space: nowrap;
}

.page-home .home-search__teams {
  font-weight: 600;
  color: var(--w-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .home-search__time {
  font-size: 13px;
  color: var(--w-text-dim);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.page-home .home-search__hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--w-text-dim);
}

.page-home .home-search__hint .text-link {
  color: var(--w-accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== 媒体查询：平板与桌面 ===== */
@media (min-width: 768px) {
  .page-home .section {
    padding: 88px 0;
  }

  .page-home .home-section-head {
    gap: 20px;
    margin-bottom: 44px;
  }

  .page-home .home-section-head p {
    font-size: 15px;
  }

  .page-home .home-intro {
    padding-top: 64px;
  }

  .page-home .home-intro__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 48px;
  }

  .page-home .home-intro__toc {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }

  .page-home .home-intro__toc-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 18px 16px;
  }

  .page-home .home-intro__toc-num {
    font-size: 22px;
  }

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

  .page-home .home-leagues__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }

  .page-home .home-league-card {
    padding: 26px 14px 22px;
  }

  .page-home .home-download__inner {
    grid-template-columns: 1fr 0.9fr;
    gap: 48px;
  }

  .page-home .home-data__panel {
    padding: 36px 32px;
  }

  .page-home .home-data__stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .page-home .home-data__stats .data-card__value {
    font-size: 32px;
  }

  .page-home .home-search__demo {
    padding: 32px;
  }
}

@media (min-width: 1200px) {
  .page-home .home-intro__grid {
    gap: 64px;
  }

  .page-home .home-highlights__grid {
    gap: 28px;
  }

  .page-home .home-leagues__grid {
    grid-template-columns: repeat(10, 1fr);
    gap: 12px;
  }

  .page-home .home-league-card {
    padding: 20px 10px 18px;
  }

  .page-home .home-league-card__icon {
    width: 40px;
    height: 40px;
  }
}
