.page-home {
  background: var(--light-bg);
  color: var(--dark-text);
}

/* ---------- 首屏英雄区 ---------- */
.page-home .home-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--deep-blue);
  color: var(--light-text);
  padding-top: var(--header-h);
  padding-bottom: 3.5rem;
}

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

.page-home .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(100deg, rgba(10, 26, 47, .94) 0%, rgba(10, 26, 47, .78) 40%, rgba(10, 26, 47, .35) 72%, rgba(10, 26, 47, .62) 100%);
}

.page-home .hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(212, 175, 55, .16) 58% 59%, transparent 59% 100%),
    linear-gradient(115deg, transparent 0 74%, rgba(0, 240, 255, .10) 74% 74.6%, transparent 74.6% 100%);
}

.page-home .hero-pitch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: .5;
  pointer-events: none;
  animation: page-home-pitch-drift 22s ease-in-out infinite;
}

.page-home .hero-pitch .pitch-line {
  fill: none;
  stroke: rgba(212, 175, 55, .28);
  stroke-width: 2;
}

.page-home .hero-pitch .pitch-neon {
  fill: none;
  stroke: rgba(0, 240, 255, .36);
  stroke-width: 2;
}

@keyframes page-home-pitch-drift {
  0% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.04) rotate(-.4deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

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

.page-home .hero-kicker {
  font-family: var(--font-mono);
  letter-spacing: .3em;
  color: var(--gold);
  font-size: .8125rem;
  text-transform: uppercase;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.page-home .hero-kicker::before {
  content: "";
  width: 2.2rem;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.page-home .home-hero h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(3rem, 11vw, 6.5rem);
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--white);
  margin: 0 0 .75rem;
}

.page-home .hero-badge {
  display: inline-block;
  font-size: .22em;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: .04em;
  margin-left: .3em;
  vertical-align: middle;
  white-space: nowrap;
}

.page-home .hero-lead {
  color: rgba(232, 236, 241, .82);
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: 38em;
  margin-bottom: 0;
}

.page-home .hero-entries {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: .875rem;
}

.page-home .hero-entry {
  position: relative;
  display: block;
  padding: 1.1rem 2.6rem .95rem 1.25rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--light-text);
  transition: transform .3s var(--transition-ease), background .3s ease, border-color .3s ease;
  overflow: hidden;
}

.page-home .hero-entry:hover,
.page-home .hero-entry:focus-visible {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .10);
  border-color: rgba(212, 175, 55, .55);
}

.page-home .hero-entry-gold {
  background: linear-gradient(135deg, rgba(212, 175, 55, .22), rgba(212, 175, 55, .05));
  border-color: rgba(212, 175, 55, .42);
}

.page-home .hero-entry-idx {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--gold);
  letter-spacing: .12em;
}

.page-home .hero-entry-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--white);
  margin-top: .3rem;
}

.page-home .hero-entry-note {
  display: block;
  font-size: .8125rem;
  color: rgba(232, 236, 241, .65);
  margin-top: .2rem;
}

.page-home .hero-entry::after {
  content: "→";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity .3s ease;
}

.page-home .hero-entry:hover::after,
.page-home .hero-entry:focus-visible::after {
  opacity: 1;
}

.page-home .hero-dashboard {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1.25rem;
  padding: 1.5rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 92%);
}

.page-home .dashboard-label {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .18em;
  color: var(--gold);
  border-bottom: 1px solid rgba(212, 175, 55, .25);
  padding-bottom: .875rem;
  margin-bottom: .75rem;
}

.page-home .dashboard-row {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  padding: .85rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .1);
}

.page-home .dashboard-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 2rem;
  color: var(--blue-neon);
  line-height: 1;
  min-width: 5.4rem;
}

.page-home .dashboard-cap {
  font-size: .875rem;
  color: var(--light-text);
  line-height: 1.5;
}

.page-home .dashboard-cap small {
  display: block;
  color: rgba(232, 236, 241, .6);
  font-size: .75rem;
  margin-top: .2rem;
}

.page-home .dashboard-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

.page-home .hero-scroll {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  color: rgba(232, 236, 241, .75);
  font-size: .8125rem;
  text-decoration: none;
  letter-spacing: .14em;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  z-index: 2;
}

.page-home .hero-scroll::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

/* ---------- 数据跑马灯条 ---------- */
.page-home .home-ticker-bar {
  background: var(--deep-blue);
  border-top: 1px solid rgba(212, 175, 55, .35);
  border-bottom: 1px solid rgba(212, 175, 55, .2);
}

/* ---------- 关注球队状态栏 ---------- */
.page-home .home-teams {
  background: var(--light-bg);
  color: var(--dark-text);
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0;
}

.page-home .home-teams::before {
  content: "";
  position: absolute;
  top: -3rem;
  right: -4rem;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 240, 255, .14), transparent 70%);
  pointer-events: none;
}

.page-home .section-headline-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.75rem;
}

.page-home .section-headline-row .btn {
  justify-self: start;
}

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

.page-home .teams-visual {
  margin: 0;
  max-width: 480px;
}

.page-home .teams-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

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

.page-home .teams-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  box-shadow: 0 4px 20px rgba(10, 26, 47, .06);
  border-left: 3px solid var(--gold);
  position: relative;
  transition: transform .3s var(--transition-ease), box-shadow .3s var(--transition-ease);
}

.page-home .teams-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.page-home .teams-item.teams-live {
  border-left-color: var(--green-neon);
  box-shadow: 0 0 0 1px rgba(57, 255, 20, .35), 0 4px 20px rgba(10, 26, 47, .06);
}

.page-home .teams-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .1em;
  color: var(--muted-text);
}

.page-home .live-dot {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  color: var(--green-neon);
  font-weight: 700;
}

.page-home .live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-neon);
  box-shadow: 0 0 10px var(--green-neon);
}

.page-home .teams-item h3 {
  font-size: 1.05rem;
  margin: 0 0 .2rem;
  color: var(--deep-blue);
  padding-right: 4rem;
}

.page-home .teams-meta {
  font-size: .8rem;
  color: var(--muted-text);
  margin: 0 0 .55rem;
}

.page-home .teams-score {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--deep-blue);
}

.page-home .teams-next {
  font-size: .8125rem;
  color: var(--muted-text);
  margin: .25rem 0 0;
}

.page-home .follow-btn {
  margin-top: .7rem;
  border: 1px solid var(--deep-blue);
  background: transparent;
  color: var(--deep-blue);
  font-size: .8125rem;
  padding: .3rem .8rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background .3s var(--transition-ease), color .3s var(--transition-ease), border-color .3s ease;
}

.page-home .follow-btn:hover,
.page-home .follow-btn:focus-visible {
  background: var(--deep-blue);
  color: var(--gold-bright);
}

.page-home .follow-btn.is-following {
  background: var(--deep-blue);
  color: var(--gold-bright);
  border-color: var(--deep-blue);
}

/* ---------- 最新战报 ---------- */
.page-home .home-matches {
  background: var(--deep-blue);
  color: var(--light-text);
  padding: 4.5rem 0;
  position: relative;
}

.page-home .home-matches::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--gold), transparent 45%, var(--blue-neon) 80%);
}

.page-home .home-matches h2,
.page-home .home-downloads h2 {
  color: var(--white);
}

.page-home .btn-ghost-light {
  color: var(--light-text);
  border-color: rgba(232, 236, 241, .4);
}

.page-home .btn-ghost-light:hover,
.page-home .btn-ghost-light:focus-visible {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(212, 175, 55, .08);
}

.page-home .match-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.page-home .match-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem;
  transition: background .3s ease, border-color .3s ease;
}

.page-home .match-card:hover,
.page-home .match-card:focus-within {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(212, 175, 55, .45);
}

.page-home .match-time {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .16em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
}

.page-home .match-time::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(212, 175, 55, .25);
}

.page-home .match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .6rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .10);
  font-size: .9rem;
}

.page-home .match-row:last-of-type {
  border-bottom: 0;
}

.page-home .match-row .mono-num {
  color: var(--white);
  font-weight: 700;
  background: rgba(0, 240, 255, .12);
  padding: .1rem .45rem;
  border-radius: 4px;
}

.page-home .match-more {
  display: block;
  margin-top: .6rem;
  font-size: .75rem;
  color: rgba(232, 236, 241, .6);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .35s var(--transition-ease), opacity .35s ease, margin-top .35s ease;
}

.page-home .match-card:hover .match-more,
.page-home .match-card:focus-within .match-more {
  max-height: 4rem;
  opacity: 1;
  margin-top: .8rem;
}

/* ---------- 球员资料库2026精选 ---------- */
.page-home .home-players {
  background: var(--light-bg);
  color: var(--dark-text);
  padding: 4.5rem 0;
}

.page-home .home-players h2 {
  color: var(--deep-blue);
}

.page-home .players-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  margin: 2rem 0 1.5rem;
}

.page-home .players-intro img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 10px 34px rgba(10, 26, 47, .14);
  display: block;
}

.page-home .players-intro-copy p {
  margin: 0 0 .85rem;
  line-height: 1.65;
  color: var(--dark-text);
}

.page-home .filter-bar {
  margin: 1.5rem 0 1.25rem;
}

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

.page-home .player-card {
  background: var(--white);
  border: 1px solid rgba(10, 26, 47, .08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(10, 26, 47, .05);
  transition: box-shadow .3s var(--transition-ease), transform .3s ease;
}

.page-home .player-card:hover,
.page-home .player-card[open] {
  box-shadow: 0 12px 32px rgba(10, 26, 47, .10);
}

.page-home .player-card summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.1rem;
  position: relative;
  transition: background .3s ease;
}

.page-home .player-card summary::-webkit-details-marker {
  display: none;
}

.page-home .player-card summary:hover {
  background: rgba(10, 26, 47, .03);
}

.page-home .player-card summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--gold);
  transition: transform .25s ease;
}

.page-home .player-card[open] summary::after {
  content: "–";
}

.page-home .player-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--deep-blue), var(--deep-blue-lighter));
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1rem;
  flex: 0 0 46px;
}

.page-home .player-meta {
  flex: 1;
  min-width: 0;
  display: block;
}

.page-home .player-pos {
  display: block;
  color: var(--purple);
  font-size: .7rem;
  letter-spacing: .14em;
  font-weight: 700;
  text-transform: uppercase;
}

.page-home .player-identity {
  display: block;
  font-weight: 800;
  color: var(--deep-blue);
  font-size: .95rem;
}

.page-home .player-team {
  display: block;
  font-size: .8rem;
  color: var(--muted-text);
}

.page-home .player-stats {
  margin: .5rem 1.1rem 1rem;
  padding-top: .85rem;
  border-top: 1px dashed rgba(10, 26, 47, .14);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
}

.page-home .player-stat {
  text-align: center;
}

.page-home .player-stat b {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--deep-blue);
  line-height: 1.3;
}

.page-home .player-stat span {
  font-size: .6875rem;
  color: var(--muted-text);
  letter-spacing: .08em;
  display: block;
}

/* ---------- 赛事日历与资料下载 ---------- */
.page-home .home-downloads {
  background: var(--deep-blue-light);
  color: var(--light-text);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.page-home .home-downloads::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, .14), transparent 65%);
  top: -140px;
  right: -120px;
  pointer-events: none;
}

.page-home .home-downloads .section-label {
  color: var(--gold);
}

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

.page-home .download-visual {
  margin: 0;
}

.page-home .download-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-float);
  display: block;
}

.page-home .download-list {
  display: grid;
  gap: .8rem;
}

.page-home .download-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  padding: .85rem 1rem;
  text-decoration: none;
  color: var(--light-text);
  transition: background .3s ease, border-color .3s ease, transform .3s var(--transition-ease);
}

.page-home .download-row:hover,
.page-home .download-row:focus-visible {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(212, 175, 55, .55);
  transform: translateY(-2px);
}

.page-home .download-year {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--gold);
  font-size: .9rem;
  min-width: 4.4em;
}

.page-home .download-desc {
  font-size: .875rem;
  flex: 1;
  min-width: 12rem;
}

.page-home .download-format {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .12em;
  border: 1px solid rgba(0, 240, 255, .5);
  color: var(--blue-neon);
  border-radius: 999px;
  padding: .18em .7em;
}

.page-home .download-go {
  color: var(--gold);
  font-size: 1.1rem;
}

.page-home .download-list .btn {
  margin-top: .75rem;
  justify-self: start;
}

.page-home .btn-download-pulse {
  position: relative;
  overflow: hidden;
}

.page-home .btn-download-pulse::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent);
  transform: skewX(-18deg);
  animation: page-home-sweep 2.8s infinite;
}

@keyframes page-home-sweep {
  0% {
    left: -150%;
  }
  55%,
  100% {
    left: 160%;
  }
}

/* ---------- 合作伙伴与荣誉 ---------- */
.page-home .home-honors {
  background: var(--light-bg);
  color: var(--dark-text);
  padding: 4.5rem 0;
}

.page-home .home-honors h2 {
  color: var(--deep-blue);
}

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

.page-home .honor-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  border-top: 3px solid var(--gold);
  box-shadow: 0 4px 20px rgba(10, 26, 47, .05);
}

.page-home .honor-num {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 2rem;
  color: var(--deep-blue);
  line-height: 1;
  margin-bottom: .4rem;
}

.page-home .honor-num span {
  color: var(--gold);
  font-size: .75em;
}

.page-home .honor-cap {
  font-size: .9rem;
  color: var(--muted-text);
  line-height: 1.55;
  margin: 0;
}

.page-home .honor-extra {
  margin-top: 2.5rem;
  padding: 2rem;
  background: linear-gradient(120deg, rgba(212, 175, 55, .12), rgba(0, 240, 255, .08));
  border-radius: var(--radius);
  border-left: 4px solid var(--orange);
  display: grid;
  gap: 1rem;
}

.page-home .honor-extra p {
  margin: 0;
  line-height: 1.65;
}

.page-home .honor-extra .btn {
  justify-self: start;
}

/* ---------- 返回顶部 ---------- */
.page-home .back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  background: var(--deep-blue);
  color: var(--gold-bright);
  border: 1px solid rgba(212, 175, 55, .5);
  border-radius: 999px;
  padding: .6rem 1rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .1em;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--transition-ease), background .3s ease;
}

.page-home .back-top:hover,
.page-home .back-top:focus-visible {
  transform: translateY(-4px);
  background: var(--deep-blue-light);
}

/* ---------- 桌面端增强 ---------- */
@media (min-width: 640px) {
  .page-home .hero-entries {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

@media (min-width: 760px) {
  .page-home .section-headline-row {
    grid-template-columns: 1fr auto;
  }

  .page-home .hero-inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    align-items: center;
    gap: 3rem;
  }

  .page-home .honor-extra {
    grid-template-columns: 1fr auto auto;
    align-items: center;
  }

  .page-home .honor-extra .btn {
    justify-self: auto;
  }
}

@media (min-width: 840px) {
  .page-home .match-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .page-home .teams-layout {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
  }

  .page-home .download-layout {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  }
}

@media (min-width: 1024px) {
  .page-home .players-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .honor-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 480px) {
  .page-home .hero-badge {
    display: block;
    margin-left: 0;
    margin-top: .35em;
  }

  .page-home .hero-scroll {
    display: none;
  }

  .page-home .players-intro,
  .page-home .download-layout {
    gap: 1rem;
  }

  .page-home .honor-extra {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-pitch,
  .page-home .btn-download-pulse::after {
    animation: none;
  }
}
