.page-home {
  overflow-x: hidden;
  background:
    linear-gradient(180deg, var(--primary-deep) 0%, var(--neutral) 38%, var(--primary-deep) 100%);
  color: var(--text);
  font-family: var(--font-body);
}

.page-home .container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  box-sizing: border-box;
}

.page-home section {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

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

.page-home .section-head {
  margin-bottom: 28px;
  border-left: 3px solid var(--accent-green);
  padding-left: 16px;
}

.page-home .section-index {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent-orange);
}

.page-home .section-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent-green);
  margin-top: 6px;
  text-transform: uppercase;
}

.page-home .section-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.75rem, 4.5vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 6px 0 4px;
  color: var(--text);
}

.page-home .section-sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.7;
}

.page-home .btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.page-home .btn-primary {
  background: var(--accent-orange);
  color: var(--primary-deep);
  border: 1px solid transparent;
}

.page-home .btn-primary:hover,
.page-home .btn-primary:focus-visible {
  background: var(--accent-green);
  color: var(--primary-deep);
  transform: translateY(-2px);
}

.page-home .btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--line);
}

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

.page-home .btn-sm {
  padding: 8px 12px;
  font-size: 12px;
}

.page-home .tag {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  background: rgba(10, 31, 68, 0.7);
  white-space: nowrap;
}

/* ===== 首屏品牌区 ===== */
.page-home .home-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 28px) 20px 56px;
  box-sizing: border-box;
  overflow: hidden;
  background: var(--primary-deep);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(6, 18, 48, 0.92) 0%, rgba(10, 31, 68, 0.62) 45%, rgba(255, 106, 0, 0.14) 100%);
  z-index: 1;
}

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

.page-home .home-blueprint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.page-home .home-hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.page-home .home-hero-copy,
.page-home .home-hero-quick {
  max-width: 640px;
}

.page-home .home-hero-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--accent-green);
  text-transform: uppercase;
  margin: 0 0 14px;
}

.page-home .home-hero-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(2rem, 7vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--text);
  margin: 0 0 22px;
  text-shadow: 0 0 24px rgba(57, 255, 20, 0.18);
}

.page-home .home-hero-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 0 26px;
  border-left: 2px solid var(--accent-orange);
  padding-left: 16px;
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 4px;
}

.page-home .home-hero-quick {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  padding: 16px;
  backdrop-filter: blur(4px);
}

.page-home .home-hero-quick-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent-green);
  margin: 0 0 10px;
}

.page-home .home-hero-quick-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
  padding: 14px 16px;
  background: rgba(10, 31, 68, 0.85);
  border: 1px solid var(--line);
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-home .home-hero-quick-btn:hover,
.page-home .home-hero-quick-btn:focus-visible {
  border-color: var(--accent-green);
  color: var(--text);
}

.page-home .home-hero-quick-btn .tag {
  margin-left: auto;
}

.page-home .home-hero-quick-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  margin: 10px 0 0;
}

.page-home .home-hero-meta {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  background: rgba(6, 18, 48, 0.68);
  padding: 6px 10px;
  border-right: 2px solid var(--accent-orange);
}

/* ===== 最新战报速览 ===== */
.page-home .home-match {
  background: linear-gradient(180deg, transparent 0%, rgba(57, 255, 20, 0.04) 100%);
}

.page-home .home-match-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-home .home-hex-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 12px;
  padding: 6px 0 34px;
}

.page-home .home-hex-card {
  position: relative;
  box-sizing: border-box;
  aspect-ratio: 1.35 / 1;
  clip-path: polygon(8% 0%, 92% 0%, 100% 50%, 92% 100%, 8% 100%, 0% 50%);
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.16), rgba(255, 255, 255, 0.03)), rgba(10, 31, 68, 0.92);
  border: 1px solid var(--line);
  padding: 30px 16px 16px;
  transform: translateY(0);
  transition: background 0.3s ease, transform 0.3s ease;
}

.page-home .home-hex-card:nth-child(even) {
  transform: translateY(24px);
}

.page-home .home-hex-card:hover,
.page-home .home-hex-card:focus-within {
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.28), rgba(10, 31, 68, 0.96));
}

.page-home .home-hex-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent-orange);
  margin-bottom: 6px;
}

.page-home .home-hex-league {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 12px;
}

.page-home .home-hex-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  white-space: nowrap;
}

.page-home .home-hex-pair {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 12px;
}

.page-home .home-hex-team {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(12px, 2.6vw, 16px);
  line-height: 1.3;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .home-hex-score {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(20px, 5vw, 30px);
  color: var(--accent-green);
  white-space: nowrap;
  letter-spacing: -0.04em;
}

.page-home .home-hex-stats {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-dim);
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
  padding-top: 10px;
  margin-bottom: 10px;
}

.page-home .home-hex-more {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.page-home .home-hex-more a {
  margin-top: 2px;
}

.page-home .home-match-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .home-match-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  border-left: 3px solid var(--accent-green);
}

.page-home .home-match-visual-caption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid var(--accent-orange);
}

/* ===== 球队固定栏 ===== */
.page-home .home-teams {
  background: linear-gradient(100deg, rgba(255, 106, 0, 0.08) 0%, transparent 34%);
}

.page-home .home-teams-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.page-home .home-teams-photo {
  position: relative;
  min-height: 190px;
  overflow: hidden;
}

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

.page-home .home-teams-board {
  padding: 22px;
  box-sizing: border-box;
}

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

.page-home .home-team-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  background: rgba(10, 31, 68, 0.84);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.page-home .home-team-item:hover,
.page-home .home-team-item:focus-visible {
  border-color: var(--accent-orange);
  background: rgba(255, 106, 0, 0.14);
  transform: translateY(-2px);
}

.page-home .home-team-avatar {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-green);
  color: var(--primary-deep);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.page-home .home-team-name {
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .home-team-status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-green);
  white-space: nowrap;
}

.page-home .home-teams-tip {
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
  padding-top: 14px;
}

/* ===== 数据检索区 ===== */
.page-home .home-search {
  background: linear-gradient(170deg, transparent 0%, rgba(57, 255, 20, 0.06) 100%);
}

.page-home .home-search-panel {
  border: 1px solid var(--line);
  background: rgba(10, 31, 68, 0.72);
  padding: 18px;
}

.page-home .home-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  margin-bottom: 14px;
}

.page-home .home-search-bar input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
}

.page-home .home-search-bar input::placeholder {
  color: var(--text-dim);
}

.page-home .home-search-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-green);
  white-space: nowrap;
}

.page-home .home-filter-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .home-search-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px 10px;
  align-items: center;
  padding: 12px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page-home .home-search-row:hover,
.page-home .home-search-row:focus-within {
  border-left-color: var(--accent-green);
  background: rgba(57, 255, 20, 0.08);
}

.page-home .home-search-idx {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-orange);
}

.page-home .home-search-league {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

.page-home .home-search-match {
  grid-column: 2 / 3;
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
}

.page-home .home-search-match b {
  color: var(--accent-green);
}

.page-home .home-search-period {
  grid-column: 1 / 4;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.page-home .home-search-link {
  grid-column: 2 / 3;
  width: max-content;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--accent-orange);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-home .home-search-link:hover,
.page-home .home-search-link:focus-visible {
  border-bottom-color: var(--accent-orange);
}

.page-home .home-search-empty {
  display: none;
  margin: 18px 0 0;
  padding: 16px;
  border: 1px dashed var(--accent-orange);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: center;
}

.page-home .home-search-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.page-home .home-search-steps ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-home .home-search-steps li {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.03);
}

/* ===== 功能引导区 ===== */
.page-home .home-guide {
  background: linear-gradient(90deg, rgba(255, 106, 0, 0.07), transparent 42%);
}

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

.page-home .home-guide-mobile,
.page-home .home-guide-desktop {
  background: rgba(10, 31, 68, 0.86);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.page-home .home-guide-mobile:hover,
.page-home .home-guide-desktop:hover,
.page-home .home-guide-mobile:focus-within,
.page-home .home-guide-desktop:focus-within {
  transform: translateY(-4px);
  border-color: var(--accent-green);
}

.page-home .home-guide-mobile-img {
  position: relative;
  max-height: 340px;
  overflow: hidden;
}

.page-home .home-guide-mobile-img img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: cover;
  object-position: top 20%;
  display: block;
}

.page-home .home-guide-mobile-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 18, 48, 0.34), transparent 40%);
}

.page-home .home-guide-body {
  padding: 20px;
}

.page-home .home-guide-body h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--text);
}

.page-home .home-guide-body p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dim);
  margin: 0 0 16px;
}

.page-home .home-guide-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.page-home .home-guide-list span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  padding-left: 12px;
  border-left: 2px solid var(--accent-green);
}

.page-home .home-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== 数据可信度声明 ===== */
.page-home .home-trust {
  background:
    linear-gradient(105deg, transparent 0%, rgba(57, 255, 20, 0.1) 50%, rgba(255, 106, 0, 0.16) 100%);
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 96%);
  padding-top: 74px;
  padding-bottom: 84px;
}

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

.page-home .home-trust-num {
  border: 1px solid var(--line);
  background: rgba(6, 18, 48, 0.72);
  padding: 18px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .stat-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.5rem, 5vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent-green);
}

.page-home .home-trust-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

.page-home .home-trust-note {
  margin: 22px 0 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-dim);
  border-left: 3px solid var(--accent-orange);
  padding-left: 14px;
  max-width: 820px;
}

/* ===== 桌面端增强 ===== */
@media (min-width: 720px) {
  .page-home .section {
    padding: 88px 20px;
  }

  .page-home .home-hero {
    padding-left: 48px;
    padding-right: 48px;
  }

  .page-home .home-hero-inner {
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
    gap: 40px;
  }

  .page-home .home-hero-meta {
    right: 48px;
  }

  .page-home .home-match-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.8fr);
    gap: 36px;
    align-items: start;
  }

  .page-home .home-hex-card {
    padding: 34px 18px 18px;
  }

  .page-home .home-match-visual img {
    aspect-ratio: 3 / 2;
    max-height: 280px;
    object-position: center;
  }

  .page-home .home-teams-panel {
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  }

  .page-home .home-teams-photo {
    min-height: 260px;
  }

  .page-home .home-teams-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .page-home .home-teams-board {
    padding: 26px;
  }

  .page-home .home-guide-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 26px;
  }

  .page-home .home-guide-mobile-img {
    max-height: 420px;
  }

  .page-home .home-guide-mobile-img img {
    max-height: 420px;
  }

  .page-home .home-guide-body {
    padding: 26px;
  }

  .page-home .home-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1080px) {
  .page-home .section {
    padding: 100px 20px;
  }

  .page-home .home-hero-inner {
    gap: 60px;
  }

  .page-home .home-hero-title {
    margin-bottom: 28px;
  }

  .page-home .home-hero-desc {
    font-size: 16px;
    max-width: 560px;
  }

  .page-home .home-hex-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px 14px;
  }

  .page-home .home-hex-card:nth-child(even) {
    transform: translateY(28px);
  }

  .page-home .home-hex-card:nth-child(even):hover,
  .page-home .home-hex-card:nth-child(even):focus-within {
    transform: translateY(26px) scale(1.01);
  }

  .page-home .home-search-row {
    grid-template-columns: auto 1fr 1.6fr 1fr auto;
    align-items: center;
  }

  .page-home .home-search-league {
    grid-column: 2 / 3;
  }

  .page-home .home-search-match {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }

  .page-home .home-search-period {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
  }

  .page-home .home-search-link {
    grid-column: 5 / 6;
    grid-row: 1 / 2;
  }

  .page-home .home-trust-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .page-home .home-trust-note {
    font-size: 14px;
  }

  .page-home .home-hex-more {
    justify-content: center;
  }
}

/* ===== 悬停揭示详细数据 ===== */
@media (hover: hover) and (min-width: 1080px) {
  .page-home .home-hex-more {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 14px;
    box-sizing: border-box;
    background: rgba(6, 18, 48, 0.96);
    opacity: 0;
    transition: opacity 0.24s ease;
    pointer-events: none;
  }

  .page-home .home-hex-card .home-hex-more a {
    pointer-events: auto;
  }

  .page-home .home-hex-card:hover .home-hex-more,
  .page-home .home-hex-card:focus-within .home-hex-more {
    opacity: 1;
    pointer-events: auto;
  }
}

/* ===== 减弱动态效果 ===== */
@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
