.page-home {
  --home-hero-min: min(92vh, 820px);
  --home-cut-lg: 24px;
  --home-cut-sm: 14px;
  overflow-x: hidden;
}

/* ===== 首屏 Hero ===== */
.page-home .home-hero {
  position: relative;
  min-height: var(--home-hero-min);
  display: flex;
  flex-direction: column;
  background: var(--primary);
  color: var(--white);
  overflow: hidden;
}

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

.page-home .home-hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  gap: 2.5rem;
  align-content: center;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 3.5rem;
}

.page-home .home-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-data);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(0, 194, 168, 0.55);
  padding: 0.45rem 0.9rem;
  margin-bottom: 0.5rem;
  width: fit-content;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.page-home .home-hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 11vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}

.page-home .home-hero-desc {
  max-width: 34rem;
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2rem;
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.page-home .home-hero-visual {
  position: relative;
  min-height: 280px;
}

.page-home .home-hero-orbit {
  position: absolute;
  top: -10px;
  right: -6px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 194, 168, 0.7);
  opacity: 0.9;
}

.page-home .home-hero-orbit::before {
  content: "";
  position: absolute;
  inset: 32px;
  border-radius: 50%;
  border: 18px solid rgba(255, 111, 0, 0.1);
}

.page-home .home-hero-orbit::after {
  content: "";
  position: absolute;
  inset: -8px 64px;
  border: 1px solid rgba(255, 111, 0, 0.4);
  transform: rotate(45deg);
}

.page-home .home-orbit-marker {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 14px rgba(255, 111, 0, 0.7);
}

.page-home .home-orbit-marker--1 {
  top: 20px;
  right: 42px;
}

.page-home .home-orbit-marker--2 {
  bottom: 28px;
  left: 52px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(0, 194, 168, 0.7);
}

.page-home .home-hero-stats {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 0.7rem;
  max-width: 300px;
}

.page-home .home-stat-item {
  background: rgba(14, 31, 64, 0.78);
  border-left: 3px solid var(--secondary);
  padding: 0.9rem 1.1rem;
  backdrop-filter: blur(8px);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.page-home .home-stat-item:nth-child(2) {
  border-left-color: var(--accent);
}

.page-home .home-stat-item:nth-child(3) {
  border-left-color: var(--warning);
}

.page-home .home-stat-num {
  display: block;
  font-family: var(--font-data);
  font-size: 1.85rem;
  line-height: 1.1;
  color: var(--white);
}

.page-home .home-stat-caption {
  display: block;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.68);
  margin-top: 0.2rem;
}

.page-home .home-hero-strip {
  position: relative;
  z-index: 3;
  background: rgba(7, 20, 45, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.page-home .home-hero-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.4rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.78);
}

.page-home .home-strip-label {
  font-family: var(--font-data);
  color: var(--accent);
  letter-spacing: 0.1em;
}

.page-home .home-strip-link {
  margin-left: auto;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--secondary);
  padding-bottom: 0.1rem;
}

/* ===== 赛事分类标签群 ===== */
.page-home .home-leagues {
  background: var(--bg-soft);
  padding: var(--section-space) 0;
}

.page-home .home-section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.page-home .home-section-head .section-index {
  margin-top: 0.2rem;
}

.page-home .home-section-head-copy {
  display: grid;
  gap: 0.55rem;
}

.page-home .home-section-head-copy .section-title {
  margin: 0;
}

.page-home .home-section-head-copy .section-lead {
  margin: 0;
}

.page-home .home-league-grid {
  display: grid;
  gap: 1.8rem;
}

.page-home .home-league-col {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.4rem 1.2rem 1.6rem;
  clip-path: polygon(0 0, calc(100% - var(--home-cut-sm)) 0, 100% var(--home-cut-sm), 100% 100%, var(--home-cut-sm) 100%, 0 calc(100% - var(--home-cut-sm)));
}

.page-home .home-league-heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1rem;
}

.page-home .home-league-heading span {
  font-family: var(--font-data);
  font-size: 0.75rem;
  color: var(--secondary);
  border: 1px solid var(--secondary);
  padding: 0.1rem 0.35rem;
}

.page-home .home-league-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.page-home .home-league-tag {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-home .home-league-tag:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.page-home .home-league-tag--accent {
  background: rgba(0, 194, 168, 0.1);
  border-color: rgba(0, 194, 168, 0.4);
  color: var(--text);
}

.page-home .home-league-tag--accent:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

/* ===== 实时比分与战报速览 ===== */
.page-home .home-live {
  background: var(--white);
  padding: var(--section-space) 0;
  position: relative;
}

.page-home .home-live::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 55%, var(--accent) 100%);
}

.page-home .home-live-grid {
  display: grid;
  gap: 2rem;
}

.page-home .home-live-main {
  display: grid;
  gap: 1.2rem;
}

.page-home .home-live-figure {
  margin: 0;
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  clip-path: polygon(0 0, calc(100% - var(--home-cut-lg)) 0, 100% var(--home-cut-lg), 100% 100%, 0 100%);
  overflow: hidden;
}

.page-home .home-live-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
}

.page-home .home-match-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  clip-path: polygon(0 0, calc(100% - var(--home-cut-sm)) 0, 100% var(--home-cut-sm), 100% 100%, 0 100%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-home .home-match-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(10, 31, 68, 0.12);
}

.page-home .home-match-card--accent {
  border-left-color: var(--secondary);
}

.page-home .home-match-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
}

.page-home .home-match-competition {
  font-family: var(--font-data);
  color: var(--accent);
  background: rgba(0, 194, 168, 0.12);
  padding: 0.2rem 0.5rem;
  letter-spacing: 0.08em;
}

.page-home .home-match-state {
  color: var(--muted);
}

.page-home .home-match-score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
}

.page-home .home-match-team {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.page-home .home-match-team--away {
  text-align: right;
}

.page-home .home-match-result {
  font-family: var(--font-data);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary);
  background: rgba(255, 111, 0, 0.08);
  padding: 0.3rem 0.6rem;
}

.page-home .home-match-extra {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.page-home .home-match-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid var(--secondary);
  width: fit-content;
}

.page-home .home-live-aside {
  background: var(--primary);
  color: var(--white);
  padding: 1.6rem 1.4rem;
  clip-path: polygon(0 0, calc(100% - var(--home-cut-lg)) 0, 100% var(--home-cut-lg), 100% 100%, var(--home-cut-lg) 100%, 0 calc(100% - var(--home-cut-lg)));
}

.page-home .home-live-aside-title {
  font-size: 1rem;
  margin: 0 0 1.1rem;
  letter-spacing: 0.05em;
}

.page-home .home-live-aside .route-list {
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.page-home .home-live-aside .route-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 0.2rem;
  font-size: 0.88rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .home-live-aside .route-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.page-home .home-live-aside-note {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.8rem 0.9rem;
}

.page-home .home-live-note-num {
  font-family: var(--font-data);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.page-home .home-live-aside-note p {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== 历史交锋查询 ===== */
.page-home .home-history {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, #081F44 100%);
  color: var(--white);
  padding: var(--section-space) 0;
  overflow: hidden;
}

.page-home .home-history::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -30%;
  width: 400px;
  height: 400px;
  border: 60px solid rgba(0, 194, 168, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.page-home .home-history .section-index {
  color: var(--accent);
}

.page-home .home-history .section-title {
  color: var(--white);
  margin: 0.3rem 0 1rem;
}

.page-home .home-history-grid {
  display: grid;
  gap: 2.8rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.page-home .home-history-desc {
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.6rem;
}

.page-home .home-history-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.page-home .home-history-metric {
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0.9rem 1.3rem;
  min-width: 110px;
}

.page-home .home-history-metric-num {
  display: block;
  font-family: var(--font-data);
  font-size: 2rem;
  line-height: 1.1;
  color: var(--accent);
}

.page-home .home-history-metric-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.page-home .home-history-visual {
  position: relative;
  min-height: 280px;
}

.page-home .home-history-figure {
  margin: 0;
  position: relative;
  z-index: 2;
  clip-path: polygon(0 0, calc(100% - var(--home-cut-lg)) 0, 100% var(--home-cut-lg), 100% 100%, var(--home-cut-lg) 100%, 0 calc(100% - var(--home-cut-lg)));
}

.page-home .home-history-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.page-home .home-history-orbit {
  position: absolute;
  right: -15px;
  bottom: -15px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 111, 0, 0.6);
  z-index: 1;
}

.page-home .home-orbit-ring {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(0, 194, 168, 0.4);
  border-radius: 50%;
}

.page-home .home-orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
}

.page-home .home-orbit-dot--1 {
  top: 18px;
  left: 40px;
}

.page-home .home-orbit-dot--2 {
  right: 12px;
  bottom: 40px;
  background: var(--accent);
}

.page-home .home-orbit-dot--3 {
  left: 10px;
  bottom: 20px;
  background: var(--warning);
}

/* ===== 品牌信任数据条 ===== */
.page-home .home-trust {
  background: #07152E;
  border-top: 3px solid var(--secondary);
  border-bottom: 3px solid var(--secondary);
  color: var(--white);
}

.page-home .home-trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 2rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.page-home .home-trust-item {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

.page-home .home-trust-item b {
  font-family: var(--font-data);
  font-size: 1.35rem;
  color: var(--accent);
  margin-right: 0.25rem;
}

.page-home .home-trust-link {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--secondary);
  padding-bottom: 0.1rem;
}

/* ===== 订阅帮助中心 ===== */
.page-home .home-support {
  background: var(--bg-soft);
  padding: var(--section-space) 0;
}

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

.page-home .home-support-visual {
  position: relative;
}

.page-home .home-support-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 24px 48px rgba(10, 31, 68, 0.18);
}

.page-home .home-support-visual::before {
  content: "";
  position: absolute;
  left: -18px;
  top: -18px;
  width: 90px;
  height: 90px;
  border: 4px solid var(--secondary);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
  z-index: 0;
}

.page-home .home-support-copy {
  display: grid;
  gap: 0.6rem;
}

.page-home .home-support-copy .section-title {
  margin: 0;
}

.page-home .home-support-lead {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.page-home .home-support-faq {
  margin: 0.8rem 0 1.4rem;
  display: grid;
  gap: 0.7rem;
}

.page-home .home-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ===== 桌面端增强 ===== */
@media (min-width: 768px) {
  .page-home .home-hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
    align-content: center;
  }

  .page-home .home-hero-visual {
    min-height: 360px;
  }

  .page-home .home-hero-orbit {
    width: 300px;
    height: 300px;
    top: -20px;
    right: 0;
  }

  .page-home .home-hero-orbit::before {
    inset: 44px;
    border-width: 24px;
  }

  .page-home .home-hero-orbit::after {
    inset: -12px 88px;
  }

  .page-home .home-hero-stats {
    max-width: 340px;
  }

  .page-home .home-stat-num {
    font-size: 2.2rem;
  }

  .page-home .home-league-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    transform: rotate(-1deg);
  }

  .page-home .home-league-col {
    padding: 1.6rem 1.5rem 1.8rem;
  }

  .page-home .home-live-grid {
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .home-live-main {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.2rem;
  }

  .page-home .home-live-figure {
    grid-row: span 2;
    min-height: 100%;
  }

  .page-home .home-history-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
  }

  .page-home .home-history-visual {
    min-height: 320px;
  }

  .page-home .home-support-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
  }

  .page-home .home-support-visual {
    order: -1;
  }
}

@media (min-width: 1200px) {
  .page-home .home-hero-strip-inner {
    font-size: 0.9rem;
  }

  .page-home .home-hero-desc {
    font-size: 1.05rem;
  }

  .page-home .home-live-main {
    gap: 1.5rem;
  }

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