/* ========== LEYU中国官网 首页专属样式 ========== */
.page-home {
  --home-green: #0B3D2E;
  --home-green-dark: #061F16;
  --home-gold: #D4AF37;
  --home-gold-light: #F1E5C3;
  --home-neon: #39FF14;
  --home-light: #E8F0EC;
  --home-white: #FFFFFF;
  background: var(--home-light);
  color: var(--home-gray-dark, #1A1A1A);
  font-family: var(--hf-font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

.page-home a {
  color: var(--hf-green);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.page-home .hf-section-head {
  margin-bottom: 32px;
  position: relative;
}

.page-home .hf-section-title {
  font-family: var(--hf-font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--hf-green);
  margin: 4px 0 12px;
}

.page-home .hf-section-sub {
  font-size: 16px;
  color: var(--hf-gray-mid);
  max-width: 640px;
  margin: 0;
}

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

/* ---------- 章节编号 ---------- */
.page-home .hf-home-index {
  font-family: var(--hf-font-heading);
  font-size: 72px;
  font-weight: 700;
  line-height: 0.9;
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--hf-gold);
  margin-bottom: 8px;
  user-select: none;
}

.page-home .hf-home-index--light {
  -webkit-text-stroke-color: var(--hf-white);
}

/* ---------- 00 首屏：欢迎回到主场 ---------- */
.page-home .hf-home-hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 18%, rgba(57, 255, 20, 0.10), transparent 34%),
    linear-gradient(135deg, var(--hf-green) 0%, var(--hf-green-dark) 62%, var(--hf-green) 100%);
  color: var(--hf-white);
  padding: 44px 0 56px;
  overflow: hidden;
}

.page-home .hf-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(180deg, rgba(232, 240, 236, 0.05) 0 1px, transparent 1px 10px),
    linear-gradient(112deg, transparent 0 72%, rgba(212, 175, 55, 0.28) 72% 100%);
  pointer-events: none;
}

.page-home .hf-home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--hf-gold) 0%, var(--hf-neon) 100%);
  z-index: 1;
}

.page-home .hf-home-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

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

.page-home .hf-home-breadcrumb {
  margin-bottom: 20px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(232, 240, 236, 0.7);
}

.page-home .hf-home-breadcrumb a {
  color: rgba(232, 240, 236, 0.85);
  text-decoration: none;
}

.page-home .hf-home-breadcrumb a:hover {
  color: var(--hf-gold-light);
}

.page-home .hf-home-kicker,
.page-home .hf-home-hero-kicker {
  font-family: var(--hf-font-heading);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hf-neon);
  margin: 0 0 10px;
}

.page-home .hf-home-hero-title {
  font-family: var(--hf-font-heading);
  font-size: clamp(30px, 6.4vw, 44px);
  line-height: 1.12;
  font-weight: 700;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.page-home .hf-home-hero-brand {
  display: table;
  font-size: 0.68em;
  letter-spacing: 0.14em;
  color: var(--hf-gold);
  margin-bottom: 2px;
}

.page-home .hf-home-hero-pipe {
  display: none;
}

.page-home .hf-home-hero-tagline {
  display: block;
  font-size: 1.28em;
  color: var(--hf-white);
}

.page-home .hf-home-hero-sub {
  font-size: 17px;
  color: rgba(232, 240, 236, 0.92);
  max-width: 54ch;
  margin: 0 0 28px;
}

.page-home .hf-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.page-home .hf-home-hero-meta {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(232, 240, 236, 0.62);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .hf-home-hero-meta a {
  color: var(--hf-gold-light);
  text-decoration: none;
}

.page-home .hf-home-hero-meta a:hover {
  color: var(--hf-neon);
}

.page-home .hf-home-hero-visual {
  position: relative;
}

.page-home .hf-home-hero-frame {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
}

.page-home .hf-home-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
  filter: saturate(1.05) contrast(1.04);
}

.page-home .hf-home-hero-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--hf-gold);
  opacity: 0.85;
  pointer-events: none;
}

.page-home .hf-home-hero-caption {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--hf-gold-light);
  margin-top: 14px;
}

/* ---------- 01 会员权益对照 ---------- */
.page-home .hf-home-section--membership {
  position: relative;
  overflow: hidden;
  background: var(--hf-light);
  border-top: 1px solid rgba(212, 175, 55, 0.32);
}

.page-home .hf-home-grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-home .hf-home-grain img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  filter: sepia(0.9) saturate(2.6) hue-rotate(28deg);
}

.page-home .hf-home-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.16) 0 2px, transparent 2px 40px),
    linear-gradient(0deg, rgba(212, 175, 55, 0.10) 0 2px, transparent 2px 40px);
}

.page-home .hf-home-membership-inner {
  position: relative;
  z-index: 2;
}

.page-home .hf-home-table-wrap {
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 14px 34px rgba(6, 31, 22, 0.08);
}

.page-home .hf-home-table-wrap:hover {
  box-shadow: 0 18px 44px rgba(6, 31, 22, 0.14);
}

.page-home .hf-home .hf-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 15px;
}

.page-home .hf-table th,
.page-home .hf-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(6, 31, 22, 0.08);
  vertical-align: middle;
}

.page-home .hf-table thead th {
  background: var(--hf-green);
  color: var(--hf-white);
  font-family: var(--hf-font-heading);
  font-size: 15px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.page-home .hf-table tbody th {
  background: rgba(232, 240, 236, 0.55);
  font-weight: 700;
  color: var(--hf-green);
  white-space: nowrap;
}

.page-home .hf-table tbody tr:hover td {
  background: rgba(212, 175, 55, 0.09);
}

.page-home .hf-table thead th:last-child,
.page-home .hf-table tbody td:last-child {
  background: rgba(11, 61, 46, 0.05);
  border-left: 1px solid rgba(212, 175, 55, 0.4);
}

.page-home .hf-home-table-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--hf-gray-mid);
  border-left: 3px solid var(--hf-gold);
  padding-left: 14px;
}

/* ---------- 02 赛事回看集锦与本地view ---------- */
.page-home .hf-home-section--media {
  background: var(--hf-white);
}

.page-home .hf-home-media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.page-home .hf-home-media-figure {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}

.page-home .hf-home-media-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  clip-path: polygon(5% 0, calc(100% - 28px) 0, 95% 100%, 28px 100%);
}

.page-home .hf-home-media-copy {
  max-width: 600px;
}

.page-home .hf-home-media-lead {
  font-size: 18px;
  color: var(--hf-gray-dark);
  margin: 0 0 22px;
}

.page-home .hf-home-feature-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}

.page-home .hf-home-feature-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 13px;
  color: var(--hf-gray-mid);
}

.page-home .hf-home-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 14px;
  height: 14px;
  border: 2px solid var(--hf-gold);
  transform: rotate(45deg);
}

.page-home .hf-home-feature-list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: calc(0.5em + 4px);
  width: 6px;
  height: 6px;
  background: var(--hf-neon);
  transform: rotate(45deg);
}

.page-home .hf-home-media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- 03 多联赛入口切换 ---------- */
.page-home .hf-home-section--leagues {
  background: linear-gradient(140deg, var(--hf-green) 0%, var(--hf-green-dark) 100%);
  color: var(--hf-white);
  border-top: 4px solid var(--hf-gold);
}

.page-home .hf-home-section--leagues .hf-section-title {
  color: var(--hf-white);
}

.page-home .hf-home-section--leagues .hf-section-sub {
  color: rgba(232, 240, 236, 0.82);
}

.page-home .hf-home-league-list {
  display: grid;
  gap: 12px;
}

.page-home .hf-home-league-item {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.page-home .hf-home-league-item:hover {
  border-color: rgba(212, 175, 55, 0.55);
  background: rgba(255, 255, 255, 0.07);
}

.page-home .hf-home-league-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--hf-white);
  font-family: var(--hf-font-heading);
  font-size: 17px;
  letter-spacing: 0.08em;
  padding: 14px 20px;
  cursor: pointer;
  position: relative;
  text-transform: uppercase;
}

.page-home .hf-home-league-btn.is-active,
.page-home .hf-home-league-btn:hover,
.page-home .hf-home-league-btn:focus-visible {
  color: var(--hf-gold-light);
  outline: none;
}

.page-home .hf-home-league-btn.is-active::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: var(--hf-neon);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.page-home .hf-home-league-detail {
  padding: 4px 20px 18px;
  border-left: 3px solid var(--hf-gold);
  margin-left: 20px;
  color: rgba(232, 240, 236, 0.88);
  font-size: 15px;
}

.page-home .hf-home-league-detail p {
  margin: 0;
}

.page-home .hf-home-league-stable {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  color: rgba(232, 240, 236, 0.85);
  font-size: 15px;
  flex-wrap: wrap;
}

/* ---------- 04 赛程中心与伤停资料库 ---------- */
.page-home .hf-home-section--status {
  background: var(--hf-light);
}

.page-home .hf-home-status-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}

.page-home .hf-home-status-card {
  border-top: 4px solid var(--hf-gold);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.page-home .hf-home-status-lead {
  font-family: var(--hf-font-heading);
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--hf-gold-light);
  margin: 0 0 20px;
  text-transform: uppercase;
}

.page-home .hf-home-metric-grid {
  margin-bottom: 18px;
  gap: 12px;
}

.page-home .hf-home-metric-block {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 16px;
}

.page-home .hf-home-metric-block .hf-metric {
  font-family: var(--hf-font-heading);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.page-home .hf-home-metric-label {
  display: block;
  font-size: 13px;
  color: rgba(232, 240, 236, 0.75);
  margin-top: 6px;
}

.page-home .hf-home-status-text {
  font-size: 15px;
  color: rgba(232, 240, 236, 0.88);
  margin: 0 0 24px;
  flex-grow: 1;
}

.page-home .hf-home-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .hf-home-status-figure {
  position: relative;
  overflow: hidden;
}

.page-home .hf-home-status-img {
  width: 100%;
  height: auto;
  display: block;
  clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
}

/* ---------- 05 最新动态 ---------- */
.page-home .hf-home-section--news {
  background: var(--hf-white);
  border-top: 1px solid rgba(11, 61, 46, 0.1);
}

.page-home .hf-home-section--news .hf-section-sub a {
  color: var(--hf-green);
  font-weight: 700;
}

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

.page-home .hf-home-news-card {
  position: relative;
  padding: 24px;
  border-top: 3px solid var(--hf-gold);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-home .hf-home-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(6, 31, 22, 0.12);
}

.page-home .hf-home-news-title {
  font-family: var(--hf-font-heading);
  font-size: 22px;
  color: var(--hf-green);
  line-height: 1.25;
  margin: 12px 0 10px;
}

.page-home .hf-home-news-card p {
  font-size: 15px;
  color: var(--hf-gray-mid);
  margin: 0 0 16px;
}

.page-home .hf-home-news-link {
  font-family: var(--hf-font-heading);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hf-green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-home .hf-home-news-link:hover {
  color: var(--hf-gold);
}

/* ---------- 06 服务与联系 ---------- */
.page-home .hf-home-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--hf-green) 0%, var(--hf-green-dark) 100%);
  color: var(--hf-white);
  padding: 64px 0;
  text-align: center;
}

.page-home .hf-home-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--hf-gold), var(--hf-neon));
}

.page-home .hf-home-cta .hf-home-index {
  -webkit-text-stroke-color: rgba(212, 175, 55, 0.9);
}

.page-home .hf-home-cta-title {
  color: var(--hf-white);
  font-size: clamp(28px, 4vw, 40px);
  margin-top: 8px;
}

.page-home .hf-home-cta-text {
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 16px;
  color: rgba(232, 240, 236, 0.9);
}

.page-home .hf-home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- 平板与桌面 ---------- */
@media (min-width: 768px) {
  .page-home .hf-home-section {
    padding: 72px 0;
  }

  .page-home .hf-home-hero {
    padding: 56px 0 72px;
  }

  .page-home .hf-home-index {
    font-size: 96px;
  }

  .page-home .hf-home-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .hf-home-league-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .page-home .hf-home-cta {
    padding: 80px 0;
  }
}

@media (min-width: 1024px) {
  .page-home .hf-home-hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
  }

  .page-home .hf-home-media-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
  }

  .page-home .hf-home-status-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
    align-items: center;
  }

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

  .page-home .hf-home-metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .hf-home-section {
    padding: 88px 0;
  }
}

.page-home {
  --home-gray-dark: currentColor;
}
