/* ===== 首页专属样式 ===== */
.page-home {
  --home-gutter: clamp(1.25rem, 4vw, 3.25rem);
  --home-section-gap: clamp(3.5rem, 7vw, 6.5rem);
  background-color: var(--paper);
  color: var(--ink);
}

.page-home img {
  max-width: 100%;
  height: auto;
}

/* ---------- 首屏 ---------- */
.page-home .hero-split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: min(960px, calc(100vh - var(--header-h)));
  overflow: hidden;
  background-color: var(--paper);
}

.page-home .hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 2.5rem var(--home-gutter) 1.75rem;
  max-width: 52rem;
}

.page-home .breadcrumb {
  margin-bottom: 0.25rem;
}

.page-home .hero-kicker {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--deep);
}

.page-home .chip-live {
  display: inline-block;
  padding: 0.3rem 0.72rem 0.34rem;
  background: var(--volt);
  color: #111;
  font-family: var(--mono-font);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  transform: skewX(-8deg);
  box-shadow: 4px 4px 0 var(--torrent);
}

.page-home .hero-title {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(2.75rem, 8vw, 5.75rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  transform: skewX(-5deg);
  transform-origin: left center;
}

.page-home .hero-title-accent {
  color: var(--torrent);
}

.page-home .hero-sub {
  margin: 0;
  max-width: 34em;
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  line-height: 1.7;
  color: var(--slate);
}

.page-home .hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.page-home .hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 1.25rem 2rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .hero-metrics li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.8125rem;
  color: var(--slate);
}

.page-home .hero-metrics strong {
  font-family: var(--mono-font);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--river);
  line-height: 1.2;
}

.page-home .hero-visual {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

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

.page-home .hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, rgba(11, 59, 80, 0.18) 0%, rgba(14, 90, 138, 0.42) 62%, rgba(245, 240, 232, 0.06) 100%);
  z-index: 1;
}

.page-home .hero-wave-svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 30%;
  z-index: 2;
  pointer-events: none;
}

.page-home .hero-float-card {
  position: absolute;
  right: clamp(1rem, 4vw, 2.5rem);
  bottom: 4.5rem;
  z-index: 3;
  min-width: 190px;
  padding: 1rem 1.2rem;
  background: rgba(245, 240, 232, 0.92);
  border-left: 4px solid var(--torrent);
  box-shadow: 8px 10px 0 rgba(11, 59, 80, 0.45);
}

.page-home .float-tag {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.15rem 0.5rem;
  background: var(--volt);
  font-family: var(--mono-font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #111;
  transform: skewX(-6deg);
}

.page-home .float-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.page-home .float-row strong {
  font-family: var(--mono-font);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--river);
  line-height: 1.1;
}

.page-home .float-row span {
  font-size: 0.8125rem;
  color: var(--slate);
}

/* ---------- 快捷操作台 ---------- */
.page-home .quick-dock {
  padding: var(--home-section-gap) var(--home-gutter);
  background: var(--paper);
}

.page-home .dock-head {
  max-width: 48rem;
}

.page-home .section-kicker {
  margin: 0 0 0.5rem;
  font-family: var(--mono-font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--river);
  text-transform: uppercase;
}

.page-home .section-title {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  transform: skewX(-5deg);
  transform-origin: left center;
}

.page-home .section-note {
  margin: 0.75rem 0 0;
  color: var(--slate);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.page-home .dock-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.page-home .dock-query-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 0;
  margin: 0;
}

.page-home .query-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--mist);
  border: 1px solid rgba(14, 90, 138, 0.14);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.page-home .query-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 59, 80, 0.12);
}

.page-home .query-index {
  font-family: var(--mono-font);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--river-light);
  min-width: 1.8rem;
}

.page-home .query-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}

.page-home .query-info strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .query-info small {
  font-size: 0.7813rem;
  color: var(--slate);
}

.page-home .btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.8125rem;
}

.page-home .fav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
  background: var(--torrent);
  color: #111;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0;
  transition: transform 0.2s var(--ease-out), opacity 0.2s var(--ease-out);
}

.page-home .fav-btn:hover {
  transform: scale(1.08);
  opacity: 0.88;
}

.page-home .dock-login {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.75rem;
  background: var(--deep);
  color: var(--paper);
}

.page-home .login-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  background: var(--volt);
  color: #111;
  font-family: var(--mono-font);
  font-size: 0.75rem;
  font-weight: 700;
  transform: skewX(-8deg);
}

.page-home .dock-login h3 {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home .dock-login p {
  margin: 0;
  font-size: 0.9063rem;
  line-height: 1.65;
  color: rgba(245, 240, 232, 0.75);
}

/* ---------- 第35轮数据板 ---------- */
.page-home .data-board {
  position: relative;
  background: linear-gradient(132deg, var(--deep) 0%, var(--river) 58%, var(--river-light) 100%);
  clip-path: polygon(0 clamp(1rem, 2vw, 2.5rem), 100% 0, 100% calc(100% - clamp(1rem, 2vw, 2.5rem)), 0 100%);
  padding: calc(var(--home-section-gap) + clamp(1rem, 2vw, 2.5rem)) var(--home-gutter) var(--home-section-gap);
}

.page-home .board-inner {
  max-width: var(--content-max);
  margin-inline: auto;
}

.page-home .board-heading {
  margin-bottom: 2.5rem;
}

.page-home .board-kicker {
  color: rgba(245, 240, 232, 0.7);
}

.page-home .board-title {
  color: var(--paper);
}

.page-home .board-desc {
  margin: 0.6rem 0 0;
  color: rgba(245, 240, 232, 0.72);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.page-home .board-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.page-home .board-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.page-home .stat-total {
  grid-column: 1 / -1;
}

.page-home .home-stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0.875rem;
  background: rgba(245, 240, 232, 0.1);
  border: 1px solid rgba(245, 240, 232, 0.2);
  border-top: 3px solid var(--volt);
}

.page-home .stat-label {
  font-size: 0.7813rem;
  color: rgba(245, 240, 232, 0.72);
}

.page-home .stat-figure {
  font-family: var(--mono-font);
  font-size: clamp(1.625rem, 5vw, 2.125rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.page-home .stat-unit {
  font-size: 0.7813rem;
  color: var(--volt);
}

.page-home .board-chart {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(245, 240, 232, 0.1);
  border: 1px solid rgba(245, 240, 232, 0.18);
}

.page-home .chart-block h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--paper);
  letter-spacing: 0.01em;
}

.page-home .chip-strip {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.page-home .chip-home,
.page-home .chip-away {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  font-family: var(--mono-font);
  font-size: 0.7813rem;
  font-weight: 700;
  color: #111;
}

.page-home .chip-home {
  background: var(--volt);
}

.page-home .chip-away {
  background: var(--torrent);
}

.page-home .split-bar {
  display: flex;
  height: 2rem;
  overflow: hidden;
  gap: 2px;
}

.page-home .split-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono-font);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #111;
}

.page-home .split-one {
  background: var(--volt);
}

.page-home .split-two {
  background: var(--torrent);
}

.page-home .h2h-bars {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.page-home .h2h-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.page-home .h2h-city {
  width: 3rem;
  font-size: 0.8125rem;
  color: rgba(245, 240, 232, 0.8);
}

.page-home .h2h-meter {
  flex: 1;
  height: 1.5rem;
  background: rgba(245, 240, 232, 0.15);
  overflow: hidden;
}

.page-home .h2h-fill {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.45rem;
  height: 100%;
  font-family: var(--mono-font);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
}

.page-home .fill-home {
  background: var(--volt);
}

.page-home .fill-away {
  background: var(--torrent);
}

.page-home .board-aside {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.page-home .board-aside img {
  width: 100%;
  height: auto;
  display: block;
  outline: 1px solid rgba(245, 240, 232, 0.25);
  outline-offset: 0.4rem;
}

.page-home .aside-caption {
  margin: 0;
  font-size: 0.8438rem;
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.72);
}

/* ---------- 近期更新 ---------- */
.page-home .updates {
  padding: var(--home-section-gap) var(--home-gutter);
  background: var(--paper);
}

.page-home .updates-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.page-home .updates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.page-home .update-feature {
  margin: 0;
  position: relative;
  overflow: hidden;
}

.page-home .update-feature img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}

.page-home .update-feature figcaption {
  margin-top: 0.75rem;
  font-size: 0.8438rem;
  line-height: 1.6;
  color: var(--slate);
}

.page-home .updates-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--river);
}

.page-home .update-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(14, 90, 138, 0.18);
}

.page-home .update-tag {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.55rem;
  font-family: var(--mono-font);
  font-size: 0.7188rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--river);
  background: rgba(14, 90, 138, 0.1);
}

.page-home .tag-export {
  color: var(--torrent);
  background: rgba(255, 107, 53, 0.12);
}

.page-home .tag-fav {
  color: #111;
  background: var(--volt);
}

.page-home .update-link {
  text-decoration: none;
}

.page-home .update-link h3 {
  margin: 0 0 0.4rem;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color 0.2s var(--ease-out);
}

.page-home .update-link:hover h3 {
  color: var(--river);
}

.page-home .update-item p {
  margin: 0;
  font-size: 0.9063rem;
  line-height: 1.65;
  color: var(--slate);
}

/* ---------- 品牌信任 ---------- */
.page-home .trust {
  position: relative;
  background: var(--deep);
  color: var(--paper);
  overflow: hidden;
  padding: var(--home-section-gap) var(--home-gutter);
}

.page-home .trust-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
}

.page-home .trust-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin-inline: auto;
}

.page-home .trust-head {
  margin-bottom: 1.75rem;
}

.page-home .trust-kicker {
  color: var(--volt);
}

.page-home .trust-title {
  color: var(--paper);
}

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

.page-home .trust-copy {
  max-width: 46rem;
}

.page-home .trust-lead {
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.9);
}

.page-home .trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.page-home .trust-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.85);
}

.page-home .trust-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.625rem;
  height: 0.25rem;
  background: var(--torrent);
  transform: skewX(-20deg);
}

.page-home .trust-list strong {
  font-family: var(--mono-font);
  color: var(--volt);
}

.page-home .trust-proof {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.5rem;
  background: rgba(245, 240, 232, 0.08);
  border-left: 4px solid var(--torrent);
}

.page-home .proof-icp {
  font-family: var(--mono-font);
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
}

.page-home .trust-proof p {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(245, 240, 232, 0.7);
}

/* ---------- 平板增强 ---------- */
@media (min-width: 48em) {
  .page-home .hero-copy {
    padding-top: 3.5rem;
    padding-bottom: 2.5rem;
  }

  .page-home .board-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .page-home .board-aside {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 1.5rem;
  }

  .page-home .updates-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2.5rem;
  }

  .page-home .trust-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 3rem;
  }
}

/* ---------- 桌面增强 ---------- */
@media (min-width: 64em) {
  .page-home .hero-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .page-home .hero-copy {
    padding: 4.5rem 3rem 3.5rem clamp(3rem, 6vw, 6.5rem);
    gap: 1.5rem;
  }

  .page-home .hero-visual {
    min-height: 100%;
  }

  .page-home .hero-wave-svg {
    height: 38%;
  }

  .page-home .hero-float-card {
    bottom: 7rem;
  }

  .page-home .dock-panel {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr);
    gap: 2.5rem;
  }

  .page-home .query-item {
    padding: 1.25rem;
  }

  .page-home .board-layout {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.2fr) minmax(240px, 0.9fr);
    align-items: center;
  }

  .page-home .board-aside {
    grid-column: auto;
    display: flex;
    flex-direction: column;
  }

  .page-home .board-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .page-home .stat-total {
    grid-column: auto;
  }

  .page-home .home-stat-card {
    padding: 1.5rem;
  }

  .page-home .updates-grid {
    gap: 3rem;
  }

  .page-home .trust-grid {
    gap: 4rem;
  }
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .query-item,
  .page-home .fav-btn,
  .page-home .update-link h3 {
    transition: none;
  }
}
