/* ===== 首页 page-home 专属样式 ===== */
.page-home {
  --hero-left-w: 45%;
  --hero-right-w: 55%;
  --card-radius: 24px;
  --score-glow: #E63946;
  --grid-gap: 24px;
  display: block;
  width: 100%;
  overflow-x: hidden;
}

/* 阅读进度条 */
.page-home__progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-red, #E63946), var(--color-gold, #F4A261));
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ─── 英雄区 ─── */
.page-home__hero {
  display: flex;
  flex-direction: column;
  min-height: 90vh;
  position: relative;
  overflow: hidden;
}

.page-home__hero-left {
  background: var(--color-blue, #1D3557);
  color: var(--color-light, #F1FAEE);
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.page-home__hero-left-inner {
  max-width: 480px;
  width: 100%;
}

.page-home__hero-suptitle {
  font-family: var(--font-accent, 'Playfair Display', serif);
  font-weight: 700;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold, #F4A261);
  margin: 0 0 0.5rem;
  opacity: 0.9;
}

.page-home__hero-title {
  font-family: var(--font-heading, 'Oswald', sans-serif);
  font-weight: 700;
  font-size: clamp(2.8rem, 12vw, 5.5rem);
  line-height: 1;
  margin: 0 0 0.15em;
  color: var(--color-light, #F1FAEE);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.page-home__hero-tagline {
  font-family: var(--font-heading, 'Oswald', sans-serif);
  font-weight: 700;
  font-size: clamp(1.4rem, 5vw, 2.2rem);
  color: var(--color-gold, #F4A261);
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-home__hero-desc {
  font-family: var(--font-body, 'Roboto', sans-serif);
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(241, 250, 238, 0.85);
  margin: 0 0 1.5rem;
  max-width: 360px;
}

.page-home__hero-btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--color-red, #E63946);
  color: #fff;
  font-family: var(--font-heading, 'Oswald', sans-serif);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-lg, 50px);
  text-decoration: none;
  transition: transform var(--transition, 0.3s), box-shadow var(--transition, 0.3s);
  box-shadow: 0 8px 30px rgba(230, 57, 70, 0.35);
}

.page-home__hero-btn:hover,
.page-home__hero-btn:focus-visible {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(230, 57, 70, 0.5);
  outline: 2px solid var(--color-gold, #F4A261);
  outline-offset: 4px;
}

.page-home__hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* 英雄区右半部分 */
.page-home__hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  overflow: hidden;
  background: var(--color-dark, #0B1622);
}

.page-home__hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  pointer-events: none;
}

.page-home__hero-score {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  padding: 1.5rem;
}

.page-home__score-heading {
  font-family: var(--font-heading, 'Oswald', sans-serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--color-light, #F1FAEE);
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.page-home__score-heading::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--color-red, #E63946);
  opacity: 0.5;
}

.page-home__score-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-home__score-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  background: rgba(27, 48, 80, 0.7);
  backdrop-filter: blur(4px);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm, 8px);
  border-left: 4px solid var(--color-red, #E63946);
  transition: background var(--transition, 0.3s), transform var(--transition, 0.3s);
}

.page-home__score-item:hover {
  background: rgba(230, 57, 70, 0.15);
  transform: translateX(4px);
}

.page-home__score-league {
  font-family: var(--font-body, 'Roboto', sans-serif);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold, #F4A261);
  min-width: 2.4rem;
}

.page-home__score-team {
  font-family: var(--font-body, 'Roboto', sans-serif);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-light, #F1FAEE);
  white-space: nowrap;
}

.page-home__score-num {
  font-family: var(--font-numeric, 'Roboto Mono', monospace);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-gold, #F4A261);
  letter-spacing: 0.06em;
  padding: 0 0.2rem;
  animation: page-home-pulse-score 1.8s ease-in-out infinite;
}

@keyframes page-home-pulse-score {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.page-home__score-status {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  margin-left: auto;
  background: var(--color-red, #E63946);
  color: #fff;
  border-radius: 50px;
}

.page-home__score-more {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-body, 'Roboto', sans-serif);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-gold, #F4A261);
  text-decoration: none;
  transition: gap var(--transition, 0.3s);
  gap: 0.3rem;
}

.page-home__score-more:hover {
  text-decoration: underline;
}

/* ─── 联赛专题卡片网格 ─── */
.page-home__leagues {
  padding: 3rem 1.5rem;
  background: var(--color-light, #F1FAEE);
}

.page-home__section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.page-home__section-title {
  font-family: var(--font-heading, 'Oswald', sans-serif);
  font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--color-blue, #1D3557);
  margin: 0 0 0.3em;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-home__section-sub {
  font-family: var(--font-body, 'Roboto', sans-serif);
  font-size: 0.95rem;
  color: var(--color-text-secondary, #7F8C8D);
  margin: 0;
}

.page-home__league-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap, 24px);
  max-width: var(--max-width, 1280px);
  margin: 0 auto;
}

.page-home__league-card {
  background: #fff;
  border-radius: var(--card-radius, 24px);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition, 0.3s), box-shadow var(--transition, 0.3s);
  display: flex;
  flex-direction: column;
}

.page-home__league-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px rgba(29, 53, 87, 0.15);
}

.page-home__league-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.page-home__league-body {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-home__league-name {
  font-family: var(--font-heading, 'Oswald', sans-serif);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-blue, #1D3557);
  margin: 0 0 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-home__league-desc {
  font-family: var(--font-body, 'Roboto', sans-serif);
  font-size: 0.85rem;
  color: var(--color-text-secondary, #7F8C8D);
  margin: 0 0 0.75rem;
}

.page-home__league-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.page-home__league-link {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
  border-radius: 50px;
  background: transparent;
  border: 2px solid var(--color-red, #E63946);
  color: var(--color-red, #E63946);
  font-family: var(--font-heading, 'Oswald', sans-serif);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background var(--transition, 0.3s), color var(--transition, 0.3s);
}

.page-home__league-link:hover,
.page-home__league-link:focus-visible {
  background: var(--color-red, #E63946);
  color: #fff;
  outline: 2px solid var(--color-gold, #F4A261);
  outline-offset: 2px;
}

/* ─── 快速直达导航 ─── */
.page-home__quick-nav {
  padding: 3rem 1.5rem;
  background: var(--color-blue, #1D3557);
  color: var(--color-light, #F1FAEE);
}

.page-home__quick-nav .page-home__section-title {
  color: var(--color-light, #F1FAEE);
}

.page-home__quick-nav .page-home__section-sub {
  color: rgba(241, 250, 238, 0.7);
}

.page-home__quick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: var(--max-width, 1280px);
  margin: 0 auto;
}

.page-home__quick-card {
  background: rgba(241, 250, 238, 0.08);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-lg, 50px);
  padding: 1.5rem 1.75rem;
  text-decoration: none;
  color: var(--color-light, #F1FAEE);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border: 1px solid rgba(244, 162, 97, 0.2);
  transition: background var(--transition, 0.3s), transform var(--transition, 0.3s), border-color var(--transition, 0.3s);
}

.page-home__quick-card:hover,
.page-home__quick-card:focus-visible {
  background: rgba(230, 57, 70, 0.2);
  transform: scale(1.02);
  border-color: var(--color-gold, #F4A261);
  outline: none;
}

.page-home__quick-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.page-home__quick-label {
  font-family: var(--font-heading, 'Oswald', sans-serif);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-home__quick-desc {
  font-family: var(--font-body, 'Roboto', sans-serif);
  font-size: 0.85rem;
  color: rgba(241, 250, 238, 0.7);
}

/* ─── 品牌动态 ─── */
.page-home__updates {
  padding: 3rem 1.5rem;
  background: var(--color-light, #F1FAEE);
}

.page-home__updates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap, 24px);
  max-width: var(--max-width, 1280px);
  margin: 0 auto;
}

.page-home__update-card {
  background: #fff;
  border-radius: var(--card-radius, 24px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition, 0.3s), box-shadow var(--transition, 0.3s);
}

.page-home__update-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(29, 53, 87, 0.1);
}

.page-home__update-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-home__update-body {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-home__update-title {
  font-family: var(--font-heading, 'Oswald', sans-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-blue, #1D3557);
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-home__update-desc {
  font-family: var(--font-body, 'Roboto', sans-serif);
  font-size: 0.9rem;
  color: var(--color-text, #2C3E50);
  line-height: 1.6;
  margin: 0 0 0.75rem;
  flex: 1;
}

.page-home__update-link {
  font-family: var(--font-body, 'Roboto', sans-serif);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-red, #E63946);
  text-decoration: none;
  align-self: flex-start;
  transition: gap var(--transition, 0.3s);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.page-home__update-link:hover {
  text-decoration: underline;
  gap: 0.6rem;
}

/* ─── 信任声明 ─── */
.page-home__trust {
  padding: 3rem 1.5rem;
  background: var(--color-dark, #0B1622);
  color: var(--color-light, #F1FAEE);
}

.page-home__trust-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: var(--max-width, 1280px);
  margin: 0 auto;
  text-align: center;
}

.page-home__trust-icon {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--color-gold, #F4A261);
  opacity: 0.9;
  flex-shrink: 0;
}

.page-home__trust-content {
  max-width: 680px;
}

.page-home__trust-heading {
  font-family: var(--font-heading, 'Oswald', sans-serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--color-gold, #F4A261);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-home__trust-text {
  font-family: var(--font-body, 'Roboto', sans-serif);
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(241, 250, 238, 0.85);
  margin: 0 0 1.25rem;
}

.page-home__trust-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  font-family: var(--font-body, 'Roboto', sans-serif);
  font-size: 0.85rem;
  color: rgba(241, 250, 238, 0.7);
}

.page-home__trust-contacts span {
  display: inline-block;
  padding: 0.2rem 0;
}

/* ─── 桌面端 ≥768px ─── */
@media (min-width: 768px) {
  .page-home__hero {
    flex-direction: row;
    min-height: 80vh;
  }

  .page-home__hero-left {
    flex: 0 0 var(--hero-left-w, 45%);
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    padding: 3rem 3rem 4rem;
    min-height: 80vh;
  }

  .page-home__hero-right {
    flex: 0 0 var(--hero-right-w, 55%);
    min-height: 80vh;
  }

  .page-home__hero-bg {
    opacity: 0.3;
  }

  .page-home__hero-score {
    padding: 3rem 2.5rem;
  }

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

  .page-home__league-img {
    height: 160px;
  }

  .page-home__quick-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

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

  .page-home__update-img {
    height: 180px;
  }

  .page-home__trust-inner {
    flex-direction: row;
    text-align: left;
    align-items: center;
  }

  .page-home__trust-icon {
    width: 140px;
    height: 140px;
  }

  .page-home__trust-contacts {
    justify-content: flex-start;
  }
}

/* ─── 桌面端 ≥1024px ─── */
@media (min-width: 1024px) {
  .page-home__hero-left {
    padding: 4rem 4rem 5rem;
  }

  .page-home__hero-score {
    padding: 4rem 3.5rem;
  }

  .page-home__league-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
  }

  .page-home__league-card {
    border-radius: 28px;
  }

  .page-home__league-img {
    height: 140px;
  }

  .page-home__quick-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .page-home__updates-grid {
    gap: 1.5rem;
  }

  .page-home__update-img {
    height: 200px;
  }

  .page-home__trust {
    padding: 4rem 2rem;
  }

  .page-home__trust-icon {
    width: 160px;
    height: 160px;
  }
}

/* ─── 桌面端 ≥1280px ─── */
@media (min-width: 1280px) {
  .page-home__hero-left {
    padding: 5rem 6rem 6rem;
  }

  .page-home__hero-score {
    padding: 5rem 4rem;
  }

  .page-home__league-grid {
    gap: 1.5rem;
  }

  .page-home__league-img {
    height: 160px;
  }

  .page-home__quick-grid {
    gap: 2rem;
  }
}

/* ─── 滚动渐入动画（渐进增强） ─── */
@media (prefers-reduced-motion: no-preference) {
  .page-home__league-card,
  .page-home__update-card,
  .page-home__quick-card {
    opacity: 0;
    transform: translateY(30px);
    animation: page-home-fade-in 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  }

  .page-home__league-card:nth-child(1) { animation-delay: 0.05s; }
  .page-home__league-card:nth-child(2) { animation-delay: 0.12s; }
  .page-home__league-card:nth-child(3) { animation-delay: 0.19s; }
  .page-home__league-card:nth-child(4) { animation-delay: 0.26s; }
  .page-home__league-card:nth-child(5) { animation-delay: 0.33s; }

  .page-home__update-card:nth-child(1) { animation-delay: 0.1s; }
  .page-home__update-card:nth-child(2) { animation-delay: 0.2s; }
  .page-home__update-card:nth-child(3) { animation-delay: 0.3s; }

  .page-home__quick-card:nth-child(1) { animation-delay: 0.05s; }
  .page-home__quick-card:nth-child(2) { animation-delay: 0.12s; }
  .page-home__quick-card:nth-child(3) { animation-delay: 0.19s; }
  .page-home__quick-card:nth-child(4) { animation-delay: 0.26s; }

  @keyframes page-home-fade-in {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
