.page-home {
  --page-hero-deep: #141c26;
  --page-entry-shadow: 0 14px 32px rgba(20, 28, 38, 0.32);
  --page-card-shadow: 0 8px 30px rgba(30, 42, 54, 0.08);
  --page-update-card-bg: rgba(255, 255, 255, 0.05);
  --page-update-border: rgba(245, 239, 226, 0.14);
  --page-soft-white: rgba(245, 239, 226, 0.82);

  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ---------- 首屏 Hero ---------- */
.page-home .home-hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.page-home .home-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
  z-index: -2;
}

.page-home .home-hero-mask {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, var(--page-hero-deep) 0%, rgba(30, 42, 54, 0.58) 55%, rgba(45, 108, 223, 0.28) 100%);
}

.page-home .home-hero-mountains {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 200px;
  z-index: -1;
}

.page-home .home-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 96px;
  padding-bottom: 40px;
}

.page-home .home-hero-kicker {
  color: var(--orange);
  margin-bottom: 18px;
  letter-spacing: 0.22em;
}

.page-home .home-hero-title {
  color: var(--paper) !important;
  font-size: clamp(44px, 10vw, 92px);
  line-height: 1.1;
  max-width: 6em;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.page-home .home-hero-desc {
  color: var(--page-soft-white);
  font-size: 16px;
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 30px;
}

.page-home .home-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-hero-cta .btn--outline {
  color: var(--paper);
  border-color: rgba(245, 239, 226, 0.55);
}

.page-home .home-hero-cta .btn--outline:hover {
  background: rgba(245, 239, 226, 0.12);
  border-color: var(--paper);
}

.page-home .home-hero-side {
  position: absolute;
  right: 4%;
  bottom: 13%;
  display: none;
  align-items: baseline;
  gap: 10px;
  z-index: 1;
  pointer-events: none;
  color: var(--paper);
}

.page-home .home-hero-num {
  font-family: var(--font-mono);
  font-size: clamp(96px, 16vw, 220px);
  line-height: 1;
  font-weight: 700;
  color: rgba(245, 239, 226, 0.2);
  letter-spacing: -0.08em;
}

.page-home .home-hero-unit {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--orange);
}

.page-home .home-hero-bottom {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-bottom: 26px;
}

.page-home .home-hero-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: rgba(245, 239, 226, 0.6);
}

.page-home .home-hero-index .index-strip__num {
  color: var(--orange);
}

.page-home .home-hero-index-link {
  color: rgba(245, 239, 226, 0.82);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.page-home .home-hero-index-link:hover {
  color: var(--paper);
  border-bottom-color: var(--orange);
}

/* ---------- 通用模块 ---------- */
.page-home .home-section {
  position: relative;
  padding-top: 88px;
  padding-bottom: 88px;
}

.page-home .home-section-head {
  margin-bottom: 44px;
}

/* ---------- 01 赛况速递 ---------- */
.page-home .home-live {
  background: var(--paper);
}

.page-home .home-live::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 14px;
  background: linear-gradient(100deg, var(--blue) 0 38%, var(--ink) 38% 58%, var(--orange) 58% 100%);
}

.page-home .home-live-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.page-home .home-score-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--page-card-shadow);
}

.page-home .home-score-table caption {
  text-align: left;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--gray);
  padding: 12px 16px;
  background: var(--light-blue);
  border-bottom: 1px solid var(--border);
}

.page-home .home-score-table th {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--paper);
}

.page-home .home-score-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.page-home .home-score-table tr:last-child td {
  border-bottom: none;
}

.page-home .home-score-note {
  font-size: 12px;
  color: var(--gray);
  font-family: var(--font-mono);
  margin-top: 12px;
}

.page-home .home-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.page-home .home-tag--live {
  background: rgba(45, 108, 223, 0.14);
  color: var(--blue-deep);
}

.page-home .home-tag--hot {
  background: rgba(240, 123, 63, 0.16);
  color: #c95f2a;
}

.page-home .home-live-card {
  position: relative;
}

.page-home .home-live-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 12px 12px 0 rgba(45, 108, 223, 0.14);
}

.page-home .home-live-card-caption {
  margin-top: 12px;
  font-size: 12px;
  color: var(--gray);
  font-family: var(--font-mono);
  text-align: right;
}

.page-home .home-live-tags {
  margin-top: 28px;
  font-size: 14px;
  color: var(--gray);
  line-height: 2;
}

.page-home .home-live-tags .home-tag--hot {
  margin-right: 10px;
}

/* ---------- 02 手机直播 ---------- */
.page-home .home-mobile {
  background: var(--light-blue);
  overflow: hidden;
}

.page-home .home-mobile::after {
  content: "LIVE";
  position: absolute;
  right: -20px;
  top: 40px;
  font-family: var(--font-mono);
  font-size: 88px;
  font-weight: 700;
  color: rgba(45, 108, 223, 0.08);
  letter-spacing: 0.12em;
  pointer-events: none;
  line-height: 1;
}

.page-home .home-mobile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.page-home .home-mobile-visual {
  position: relative;
  max-width: 420px;
}

.page-home .home-mobile-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 14px 14px 0 rgba(45, 108, 223, 0.18);
}

.page-home .home-mobile-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
}

.page-home .home-mobile-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: start;
}

.page-home .home-mobile-list-num {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  background: var(--white);
  border-radius: 10px;
  text-align: center;
  padding: 10px 0;
  box-shadow: 0 4px 12px rgba(30, 42, 54, 0.06);
}

.page-home .home-mobile-list h3 {
  font-size: 17px;
  margin: 0 0 6px;
}

.page-home .home-mobile-list p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  margin: 0;
}

.page-home .home-mobile-note {
  margin-top: 40px;
}

/* ---------- 03 收藏详情 ---------- */
.page-home .home-fav {
  background: var(--white);
}

.page-home .home-fav-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.page-home .home-fav-step {
  background: var(--paper);
  border-radius: 14px;
  padding: 24px;
}

.page-home .home-fav-step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange);
  font-weight: 700;
}

.page-home .home-fav-step h3 {
  font-size: 18px;
  margin: 12px 0 6px;
}

.page-home .home-fav-step p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
  margin: 0;
}

.page-home .home-fav-note {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  background: var(--ink);
  border-radius: 20px;
  padding: 24px;
  color: var(--paper);
}

.page-home .home-fav-img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: 12px;
}

.page-home .home-fav-note-text .mono-tag {
  color: var(--orange);
}

.page-home .home-fav-note-text h3 {
  font-size: 22px;
  color: var(--paper);
  margin: 12px 0 12px;
}

.page-home .home-fav-note-text p:not(.mono-tag) {
  font-size: 14px;
  color: rgba(245, 239, 226, 0.72);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ---------- 04 每周三更新 ---------- */
.page-home .home-update {
  background: var(--ink);
  color: var(--paper);
}

.page-home .home-update .section-head .section-title {
  color: var(--paper);
}

.page-home .home-update .section-head .section-desc {
  color: rgba(245, 239, 226, 0.72);
}

.page-home .home-update .section-head .mono-tag {
  color: var(--orange);
}

.page-home .home-update-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .home-update-card {
  background: var(--page-update-card-bg);
  border: 1px solid var(--page-update-border);
  border-radius: 14px;
}

.page-home .home-update-card .exhibit-card__index {
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 13px;
}

.page-home .home-update-card .exhibit-card__title {
  color: var(--paper);
}

.page-home .home-update-card .exhibit-card__text {
  color: rgba(245, 239, 226, 0.72);
  font-size: 14px;
  line-height: 1.65;
}

.page-home .home-update-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.page-home .home-stat {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
}

.page-home .home-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--paper);
  line-height: 1.2;
}

.page-home .home-stat span {
  font-size: 12px;
  color: rgba(245, 239, 226, 0.62);
}

.page-home .home-update-links {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .home-update-links .btn--outline {
  color: var(--paper);
  border-color: rgba(245, 239, 226, 0.5);
}

.page-home .home-update-links .btn--outline:hover {
  background: rgba(245, 239, 226, 0.12);
}

.page-home .home-update-credential {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 239, 226, 0.16);
}

.page-home .home-update-credential span {
  font-size: 12px;
  color: rgba(245, 239, 226, 0.6);
  font-family: var(--font-mono);
}

/* ---------- 05 常用入口 ---------- */
.page-home .home-entry {
  background: var(--paper);
}

.page-home .home-entry-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  background: linear-gradient(115deg, var(--blue) 0%, var(--blue-deep) 100%);
  border-radius: 20px;
  padding: 32px 28px;
  color: var(--white);
}

.page-home .home-entry-icon {
  font-size: 36px;
  animation: home-pulse 2s infinite alternate;
}

.page-home .home-entry-strip p {
  flex: 1 1 280px;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.page-home .home-entry-btn {
  background: var(--white);
  color: var(--blue-deep);
  border: none;
}

.page-home .home-entry-btn:hover {
  background: var(--light-blue);
  color: var(--blue-deep);
}

/* ---------- 内容地图 ---------- */
.page-home .home-map {
  background: var(--light-blue);
}

.page-home .home-map-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .home-map-item {
  background: var(--white);
  border-radius: 14px;
  padding: 24px;
  text-decoration: none;
  color: var(--ink);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  align-items: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.page-home .home-map-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(30, 42, 54, 0.12);
}

.page-home .home-map-index {
  grid-row: span 2;
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
  background: var(--light-blue);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.page-home .home-map-item strong {
  font-size: 18px;
}

.page-home .home-map-item > span:last-child {
  font-size: 13px;
  color: var(--gray);
}

/* ---------- 右下角固定悬浮按钮 ---------- */
.page-home .home-quick-entry {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  background: var(--orange);
  color: var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--page-entry-shadow);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.page-home .home-quick-entry:hover {
  background: #ff8a50;
  transform: translateY(-3px);
}

/* ---------- 收藏按钮微动效 ---------- */
.page-home .favorite-btn {
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  color: var(--gray);
  padding: 4px;
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

.page-home .favorite-btn:hover {
  color: var(--orange);
  transform: scale(1.2);
}

.page-home .favorite-btn[data-faved="true"] {
  color: var(--orange);
  animation: home-fav-beat 0.6s ease;
}

/* ---------- 动画 ---------- */
@keyframes home-fav-beat {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

@keyframes home-pulse {
  from { transform: scale(1); }
  to { transform: scale(1.15); }
}

/* ---------- 响应式 ---------- */
@media (min-width: 768px) {
  .page-home .home-hero-side {
    display: flex;
  }

  .page-home .home-section {
    padding-top: 104px;
    padding-bottom: 104px;
  }

  .page-home .home-live-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .page-home .home-mobile-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

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

  .page-home .home-fav-note {
    grid-template-columns: 0.9fr 1.1fr;
    padding: 32px;
  }

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

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

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

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

  .page-home .home-map-item:last-child {
    grid-column: span 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-quick-entry,
  .page-home .home-entry-icon,
  .page-home .home-map-item,
  .page-home .favorite-btn {
    animation: none !important;
    transition: none !important;
  }
}
