.page-home {
  --home-purple: #3D1E5C;
  --home-deep: #14102A;
  --home-gold-soft: #e8c790;
  --home-hero-min-h: min(92vh, 820px);
  --home-card-radius: 22px;
  background: var(--color-white);
  overflow-x: hidden;
}

/* ========== 首屏概览 ========== */
.home-hero {
  position: relative;
  min-height: var(--home-hero-min-h);
  display: flex;
  align-items: center;
  padding: 84px 0 56px;
  color: var(--color-white);
  background:
    radial-gradient(ellipse at 82% 18%, rgba(61, 30, 92, 0.6) 0%, transparent 54%),
    linear-gradient(118deg, var(--color-black) 0%, var(--color-blue) 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), 0 100%);
  isolation: isolate;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: -2;
  opacity: 0.58;
  filter: saturate(0.82) contrast(1.12);
}

.home-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(11, 11, 13, 0.94) 0%, rgba(26, 42, 108, 0.62) 52%, rgba(61, 30, 92, 0.48) 100%),
    linear-gradient(to top, rgba(11, 11, 13, 0.55) 0%, transparent 46%);
}

.home-hero-inner {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.home-hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.home-hero-update {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  color: var(--color-gold);
  border: 1px solid rgba(201, 168, 106, 0.45);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
}

.home-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin: 0 0 26px;
  max-width: 13em;
  text-wrap: balance;
}

.home-hero-title-gold {
  display: inline-block;
  color: var(--color-gold);
}

.home-hero-desc {
  max-width: 700px;
  margin: 0 0 32px;
  padding-left: 20px;
  border-left: 3px solid var(--color-gold);
  font-size: 0.98rem;
  line-height: 1.9;
  color: rgba(244, 244, 240, 0.88);
}

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

.home-hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(201, 168, 106, 0.3);
  max-width: 760px;
}

.home-hero-meta li {
  font-size: 0.85rem;
  color: rgba(244, 244, 240, 0.74);
  line-height: 1.4;
}

.home-hero-meta .num {
  font-family: var(--font-number);
  font-size: 1.35rem;
  color: var(--color-white);
  margin-right: 2px;
}

/* ========== 赛季进度 ========== */
.home-progress {
  padding: 68px 0 56px;
  background: var(--color-white);
}

.home-progress-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.home-progress-desc {
  margin: 18px 0 20px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-gray);
}

.home-progress-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.home-progress-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-progress-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
  margin-bottom: 22px;
}

.home-progress-block {
  background: var(--color-black);
  border-radius: var(--radius-medium);
  padding: 22px 24px 24px;
  color: var(--color-white);
  box-shadow: var(--shadow-card);
}

.home-progress-meta {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.home-progress-label {
  margin-right: 10px;
  color: rgba(244, 244, 240, 0.72);
}

.home-progress-meta .num {
  font-family: var(--font-number);
  font-size: 1.7rem;
  line-height: 1;
}

.home-progress-meta .num--red {
  color: var(--color-red);
}

.home-progress-slash {
  color: var(--color-gray);
}

.home-progress-percent {
  margin-left: auto;
  font-family: var(--font-number);
  font-size: 1.1rem;
  color: var(--color-gold);
}

.home-progress-bar {
  height: 10px;
  background: rgba(244, 244, 240, 0.16);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.home-progress-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--home-gold-soft) 100%);
}

/* ========== 今日赛事时间表 ========== */
.home-today {
  position: relative;
  padding: 72px 0;
  background:
    radial-gradient(ellipse at 15% 80%, rgba(61, 30, 92, 0.55) 0%, transparent 58%),
    linear-gradient(135deg, var(--color-black) 0%, var(--home-deep) 48%, var(--home-purple) 100%);
}

.home-today-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

.home-today-note {
  margin: 10px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--color-gold);
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(244, 244, 240, 0.72);
}

.home-today-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-large);
  box-shadow: 0 18px 50px rgba(11, 11, 13, 0.42);
}

.home-today-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.home-match-card {
  position: relative;
  padding: 24px;
  background: linear-gradient(160deg, rgba(244, 244, 240, 0.09) 0%, rgba(244, 244, 240, 0.03) 100%);
  border: 1px solid rgba(201, 168, 106, 0.24);
  border-radius: var(--home-card-radius);
  color: var(--color-white);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 0 100%);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.home-match-card:hover,
.home-match-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(201, 168, 106, 0.55);
  box-shadow: 0 16px 44px rgba(11, 11, 13, 0.46);
}

.home-match-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.home-match-period {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--color-gray);
}

.home-match-time-big {
  font-family: var(--font-number);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--color-gold);
  margin-bottom: 6px;
}

.home-match-sub {
  margin: 0 0 20px;
  font-size: 0.78rem;
  color: rgba(244, 244, 240, 0.5);
}

.home-match-data {
  display: grid;
  gap: 12px;
  border-top: 1px solid rgba(244, 244, 240, 0.12);
  padding-top: 16px;
}

.home-match-data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.home-match-data-label {
  font-size: 0.82rem;
  color: rgba(244, 244, 240, 0.64);
}

.home-match-data-value {
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--color-white);
}

.home-match-data-value.num {
  font-family: var(--font-number);
  letter-spacing: 0.02em;
}

.home-match-detail {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.26s ease, margin 0.3s ease;
}

.home-match-card:hover .home-match-detail,
.home-match-card:focus-within .home-match-detail {
  max-height: 120px;
  opacity: 1;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(201, 168, 106, 0.28);
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(244, 244, 240, 0.72);
}

.home-today-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 32px;
}

.home-today-tip {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(244, 244, 240, 0.5);
}

/* ========== 联赛排名快查 ========== */
.home-rank {
  padding: 74px 0 64px;
  background: var(--color-white);
}

.home-rank-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.home-rank-desc {
  margin: 16px 0 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-gray);
}

.home-rank-features {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 24px 0 30px;
  padding: 0;
}

.home-rank-features li {
  position: relative;
  padding-left: 28px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-black);
}

.home-rank-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--color-gold), #f0d9a8);
  border-radius: 3px;
  transform: rotate(45deg);
}

.home-rank-panel {
  background: var(--color-white);
  border: 1px solid rgba(11, 11, 13, 0.08);
  border-top: 4px solid var(--color-gold);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.home-rank-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(11, 11, 13, 0.08);
}

.home-rank-panel-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-black);
}

.home-rank-zone-list {
  padding: 8px 24px;
}

.home-rank-zone {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(11, 11, 13, 0.1);
}

.home-rank-zone:last-child {
  border-bottom: none;
}

.home-rank-zone p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--color-gray);
}

.home-rank-details {
  margin: 0 24px 22px;
  border-top: 1px solid rgba(11, 11, 13, 0.08);
}

.home-rank-details summary {
  cursor: pointer;
  padding: 16px 0 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-blue);
}

.home-rank-details summary:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
  border-radius: var(--radius-small);
}

.home-rank-details-body p {
  margin: 8px 0 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--color-gray);
}

/* ========== 更新日志 ========== */
.home-log {
  padding: 74px 0 78px;
  background:
    radial-gradient(ellipse at 82% 12%, rgba(61, 30, 92, 0.62) 0%, transparent 56%),
    linear-gradient(125deg, var(--color-blue) 0%, var(--home-purple) 100%);
}

.home-log-head {
  margin-bottom: 36px;
}

.home-log-head .section-desc {
  margin: 10px 0 0;
  color: rgba(244, 244, 240, 0.68);
}

.home-log-head .section-title--light {
  color: var(--color-white);
}

.home-log-list {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 0;
}

.home-log-list::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-gold) 0%, rgba(201, 168, 106, 0.12) 100%);
}

.home-log-item {
  position: relative;
  margin-bottom: 16px;
  padding-left: 48px;
}

.home-log-item::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 18px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 0 6px rgba(201, 168, 106, 0.16);
}

.home-log-item details {
  background: rgba(244, 244, 240, 0.06);
  border: 1px solid rgba(244, 244, 240, 0.12);
  border-radius: var(--radius-medium);
  transition: background 0.22s ease, border-color 0.22s ease;
}

.home-log-item details[open] {
  background: rgba(244, 244, 240, 0.09);
  border-color: rgba(201, 168, 106, 0.36);
}

.home-log-item summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-white);
  list-style: none;
}

.home-log-item summary::-webkit-details-marker {
  display: none;
}

.home-log-item summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--color-gold);
  line-height: 1;
}

.home-log-item details[open] summary::after {
  content: "–";
}

.home-log-item summary:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: -2px;
  border-radius: var(--radius-medium);
}

.home-log-summary-tag {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(244, 244, 240, 0.6);
  border: 1px solid rgba(244, 244, 240, 0.2);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}

.home-log-detail {
  padding: 0 18px 16px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(244, 244, 240, 0.78);
}

.home-log-detail p {
  margin: 0;
}

/* ========== 历史归档 ========== */
.home-archive {
  padding: 78px 0 72px;
  background: var(--color-white);
}

.home-archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.home-archive-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
}

.home-archive-desc {
  margin: 16px 0 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-gray);
}

.home-archive-desc a {
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-archive-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 28px;
}

.home-archive-stat {
  padding: 8px 16px;
  background: var(--color-white);
  border: 1px solid rgba(11, 11, 13, 0.1);
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  color: var(--color-black);
}

.home-archive-stat .num {
  font-family: var(--font-number);
  font-size: 1rem;
  color: var(--color-red);
}

/* ========== 桌面端增强 ========== */
@media (min-width: 768px) {
  .home-progress-grid {
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
  }

  .home-today-head {
    grid-template-columns: 1fr 0.85fr;
    gap: 44px;
    align-items: center;
  }

  .home-today-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .home-rank-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
  }

  .home-rank-panel {
    margin-bottom: 0;
  }

  .home-archive-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  .home-archive-media {
    order: 1;
  }

  .home-archive-copy {
    order: 2;
  }
}

@media (min-width: 1024px) {
  .home-progress {
    padding: 88px 0 72px;
  }

  .home-today {
    padding: 88px 0;
  }

  .home-rank {
    padding: 88px 0 80px;
  }

  .home-log {
    padding: 88px 0 92px;
  }

  .home-archive {
    padding: 92px 0 84px;
  }

  .home-hero-title {
    font-size: clamp(3.2rem, 6vw, 5.8rem);
  }

  .home-hero-inner {
    padding: 0 32px;
  }
}
