.page-home {
  --hp-laliga: #D94A3D;
  --hp-bundesliga: #C8102E;
  --hp-deep: #0D2A20;
  background: var(--paper-white);
}

/* ========== 主题声明 ========== */
.hp-thesis {
  position: relative;
  overflow: hidden;
  background: var(--pitch-green);
  color: var(--paper-white);
}
.hp-thesis-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hp-thesis-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .24;
  transform: scale(1.04);
}
.hp-thesis::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(125deg, rgba(27,77,62,.96) 0%, rgba(27,77,62,.86) 42%, rgba(13,42,32,.66) 100%);
}
.hp-thesis::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -2rem;
  width: calc(100% + 4rem);
  height: 5rem;
  z-index: 2;
  background: var(--paper-white);
  clip-path: polygon(0 2rem, 100% 0, 100% 100%, 0 100%);
}
.hp-thesis-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 4.5rem;
  padding-bottom: 6rem;
}
.hp-crumb {
  margin-bottom: 2.25rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  color: rgba(247,247,245,.72);
}
.hp-kicker {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--vital-orange);
  margin: 0 0 1rem;
}
.hp-thesis-head h1 {
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  line-height: 1.02;
  margin: 0;
  color: #fff;
  letter-spacing: -.01em;
}
.hp-thesis-aside {
  border-left: 2px solid var(--vital-orange);
  padding-left: 1.25rem;
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(247,247,245,.86);
  max-width: 21rem;
}
.hp-thesis-aside p {
  margin: 0 0 .75rem;
}
.hp-thesis-meta {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: rgba(245,166,35,.9);
}
.hp-thesis-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 1rem;
  grid-column: 1 / -1;
}
.hp-thesis-stat {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  border-right: 1px solid rgba(247,247,245,.2);
  padding-right: 1.25rem;
}
.hp-thesis-stat:last-child {
  border-right: 0;
}
.hp-thesis-num {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--vital-orange);
}
.hp-thesis-label {
  font-size: .75rem;
  color: rgba(247,247,245,.75);
}

/* ========== 内容目录 ========== */
.hp-toc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.hp-toc-label {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--text-gray);
  margin: 0;
}
.hp-toc-note {
  font-size: .875rem;
  color: var(--text-gray);
  margin: .5rem 0 0;
  line-height: 1.6;
}
.hp-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hp-toc-item {
  border-top: 1px solid var(--line-gray);
}
.hp-toc-item:last-child {
  border-bottom: 1px solid var(--line-gray);
}
.hp-toc-link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .2rem 1.25rem;
  padding: 1.1rem .5rem;
  text-decoration: none;
  color: var(--ink-black);
  transition: background-color .25s, padding-left .25s;
}
.hp-toc-link:hover {
  background: rgba(245,166,35,.07);
  padding-left: 1rem;
}
.hp-toc-num {
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--vital-orange);
}
.hp-toc-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.2;
}
.hp-toc-desc {
  grid-column: 2;
  font-size: .85rem;
  color: var(--text-gray);
}

/* ========== 实时数据滚动条 ========== */
.hp-ticker-zone {
  background: var(--pitch-green);
  color: var(--paper-white);
  padding: 4rem 0 4.5rem;
}
.hp-ticker-head {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 2rem;
}
.hp-ticker-head .hp-section-label {
  margin-bottom: 0;
}
.hp-ticker-tip {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: rgba(247,247,245,.7);
  margin: 0;
}
.hp-ticker-band {
  background: var(--ink-black);
  overflow: hidden;
  padding: .9rem 0;
  border-top: 1px solid rgba(245,166,35,.35);
  border-bottom: 1px solid rgba(245,166,35,.35);
}
.hp-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: hp-ticker-move 36s linear infinite;
}
.hp-ticker-band:hover .hp-ticker-track {
  animation-play-state: paused;
}
.hp-ticker-item {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  font-family: var(--font-mono);
  font-size: .85rem;
  white-space: nowrap;
  color: var(--paper-white);
  padding-right: 2.5rem;
}
.hp-ticker-item::after {
  content: "●";
  color: var(--vital-orange);
  font-size: .45rem;
  transform: translateY(-2px);
}
.hp-ticker-chart {
  max-width: 760px;
  margin: 2.5rem auto 0;
  padding: 0 1.25rem;
}
.hp-ticker-chart img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(247,247,245,.2);
}
.hp-ticker-chart figcaption {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: rgba(247,247,245,.65);
  margin-top: .6rem;
}
@keyframes hp-ticker-move {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========== 联赛分区 ========== */
.hp-leagues {
  padding: 4.5rem 0 1rem;
}
.hp-section-head {
  margin-bottom: 2rem;
}
.hp-section-head .hp-section-desc {
  font-size: .875rem;
  color: var(--text-gray);
  margin: .35rem 0 0 2.2rem;
  max-width: 34rem;
}
.hp-section-label {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.hp-section-num {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--vital-orange);
  background: rgba(245,166,35,.12);
  padding: .22rem .55rem;
}
.hp-section-label p {
  font-family: var(--font-heading);
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0;
}
.hp-league-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.hp-league-card {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid var(--line-gray);
  padding: 1.75rem 1.5rem 1.4rem;
  text-decoration: none;
  color: var(--ink-black);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.hp-league-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--league);
}
.hp-league-card::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 90px;
  height: 90px;
  background: var(--league);
  opacity: .07;
  clip-path: polygon(0 0, 100% 100%, 100% 0);
}
.hp-league-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(17,17,17,.12);
  border-color: var(--league);
}
.hp-league-card--csl { --league: var(--wine-red); }
.hp-league-card--epl { --league: var(--royal-purple); }
.hp-league-card--laliga { --league: var(--hp-laliga); }
.hp-league-card--bundesliga { --league: var(--hp-bundesliga); }
.hp-league-card--seriea { --league: var(--data-blue); }
.hp-league-card--ligue1 { --league: var(--success-green); }
.hp-league-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--league);
  border: 1px solid var(--league);
  padding: .15rem .5rem;
  margin-bottom: 1.1rem;
}
.hp-league-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  line-height: 1.15;
  margin: 0 0 .4rem;
}
.hp-league-card p {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--text-gray);
  margin: 0 0 1.25rem;
}
.hp-league-more {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--league);
}

/* ========== 球队跟踪 ========== */
.hp-team {
  padding: 4rem 0;
  border-top: 1px solid var(--line-gray);
}
.hp-team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hp-team-copy h2 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  line-height: 1.15;
  margin: .6rem 0 1rem;
}
.hp-team-copy > p {
  font-size: .925rem;
  line-height: 1.7;
  color: var(--text-gray);
  max-width: 38rem;
  margin: 0 0 1.5rem;
}
.hp-team-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}
.hp-team-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: .9rem;
  line-height: 1.6;
}
.hp-team-list li::before {
  content: "▲";
  position: absolute;
  left: 0;
  top: .08rem;
  font-size: .55rem;
  color: var(--vital-orange);
}
.hp-team-figure {
  margin: 0;
}
.hp-team-figure img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line-gray);
}
.hp-team-figure figcaption {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--text-gray);
  margin-top: .5rem;
}

/* ========== 历史查询 ========== */
.hp-history {
  background: linear-gradient(135deg, var(--pitch-green), var(--hp-deep));
  color: var(--paper-white);
  padding: 4.5rem 0;
}
.hp-history-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hp-history-copy h2 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  line-height: 1.15;
  margin: .6rem 0 1rem;
}
.hp-history-copy p {
  font-size: .925rem;
  line-height: 1.7;
  color: rgba(247,247,245,.8);
  margin: 0 0 1.75rem;
  max-width: 36rem;
}
.hp-history-media {
  margin: 0;
}
.hp-history-media img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(247,247,245,.22);
}
.hp-history-media figcaption {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: rgba(247,247,245,.65);
  margin-top: .5rem;
}
.page-home .hp-history .btn {
  border-color: var(--vital-orange);
  color: var(--paper-white);
}
.page-home .hp-history .btn:hover {
  background: var(--vital-orange);
  color: var(--ink-black);
}

/* ========== 快速入口 ========== */
.hp-quicklinks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
}
.hp-quicklink {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  border: 1px solid var(--line-gray);
  padding: 1.4rem 1.5rem;
  text-decoration: none;
  color: var(--ink-black);
  background: #fff;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.hp-quicklink:hover {
  border-color: var(--vital-orange);
  box-shadow: 0 10px 24px rgba(17,17,17,.08);
  transform: translateY(-3px);
}
.hp-quicklink-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
}
.hp-quicklink-desc {
  font-size: .85rem;
  color: var(--text-gray);
  line-height: 1.5;
}

/* ========== 响应式 ========== */
@media (min-width: 600px) {
  .hp-league-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hp-quicklinks {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 680px) {
  .hp-toc {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  }
}
@media (min-width: 720px) {
  .hp-team-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  }
}
@media (min-width: 820px) {
  .hp-history-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
}
@media (min-width: 920px) {
  .hp-thesis-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 3rem;
    padding-top: 7rem;
    padding-bottom: 8rem;
  }
  .hp-league-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
