/* ===================================================
   page-home — 猛犸体育首页专属样式
   =================================================== */

.page-home {
  --home-cut: 20px;
  --home-tilt: -1.6deg;
  --home-line: rgba(169, 182, 194, .28);
  background: var(--snow);
  color: var(--ink);
  overflow-x: clip;
}

.page-home .section {
  padding-block: clamp(56px, 8vw, 108px);
}

.page-home .section-title {
  font-size: clamp(26px, 4.4vw, 42px);
  line-height: 1.16;
  letter-spacing: -.01em;
  margin: 10px 0 0;
  font-weight: 800;
}

.page-home .section-title--light {
  color: var(--snow);
}

.page-home .section-title + .prose,
.page-home .section-title + .compare__lede,
.page-home .section-title + .flow__lede {
  margin-top: 18px;
}

/* ---------------- HERO ---------------- */
.page-home .hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 82% 12%, rgba(74, 159, 216, .22), transparent 58%),
    linear-gradient(168deg, var(--graphite) 0%, var(--night) 52%, var(--graphite) 100%);
  color: var(--snow);
  border-bottom: 1px solid var(--home-line);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(169, 182, 194, .12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(169, 182, 194, .08) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.2) 80%);
}

.page-home .hero__grid {
  position: relative;
  display: grid;
  gap: clamp(32px, 5vw, 60px);
  padding-block: clamp(48px, 7vw, 92px) clamp(28px, 4vw, 44px);
  align-items: start;
}

.page-home .hero__copy { max-width: 620px; }

.page-home .hero .eyebrow { color: var(--pulse); }

.page-home .hero__title {
  font-size: clamp(34px, 6.6vw, 68px);
  line-height: 1.04;
  letter-spacing: -.02em;
  font-weight: 900;
  margin: 14px 0 0;
  color: var(--snow);
}

.page-home .hero__title-mark {
  color: var(--lava);
  padding: 0 .06em;
}

.page-home .hero__lede {
  margin-top: 22px;
  font-size: clamp(15.5px, 1.9vw, 18px);
  line-height: 1.78;
  color: rgba(244, 247, 249, .82);
  max-width: 54ch;
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-home .hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: clamp(30px, 5vw, 46px) 0 0;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.page-home .hero__stat {
  padding: 16px 14px 16px 0;
  border-right: 1px dashed var(--home-line);
}

.page-home .hero__stat:last-child { border-right: 0; }

.page-home .hero__stat-label {
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--glacier);
  text-transform: uppercase;
}

.page-home .hero__stat-num {
  margin: 6px 0 0;
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 600;
  color: var(--pulse);
  line-height: 1;
}

.page-home .hero__stat-num span {
  font-size: .5em;
  margin-left: 2px;
  color: rgba(46, 211, 198, .72);
}

/* hero 右侧视觉 */
.page-home .hero__visual {
  position: relative;
  align-self: stretch;
}

.page-home .hero__frame {
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
  border: 1px solid rgba(74, 159, 216, .38);
  background: rgba(20, 35, 58, .55);
  overflow: hidden;
}

.page-home .hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(169, 182, 194, .10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(169, 182, 194, .10) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.page-home .hero__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-home .hero__pulse {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 14px;
}

/* hero 底部 ticker */
.page-home .hero__ticker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px var(--gutter) 16px;
  overflow-x: auto;
  border-top: 1px solid var(--home-line);
  scrollbar-width: none;
}

.page-home .hero__ticker::-webkit-scrollbar { display: none; }

.page-home .hero__ticker-item {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(244, 247, 249, .72);
}

.page-home .hero__ticker-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lava);
}

/* ---------------- 三个入口 ---------------- */
.page-home .entries__grid {
  display: grid;
  gap: 18px;
  margin-top: clamp(28px, 4vw, 40px);
}

.page-home .entry {
  position: relative;
  padding: 26px 24px 22px;
  background: #fff;
  border: 1px solid var(--line-dark);
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}

.page-home .entry:hover,
.page-home .entry:focus-within {
  transform: translateY(-5px);
  border-color: var(--lava);
  box-shadow: 0 18px 32px rgba(20, 35, 58, .14);
}

.page-home .entry:nth-child(2) { transform: rotate(var(--home-tilt)); }
.page-home .entry:nth-child(2):hover,
.page-home .entry:nth-child(2):focus-within { transform: rotate(0deg) translateY(-5px); }

.page-home .entry.panel--dark {
  background: linear-gradient(150deg, var(--night), var(--graphite));
  border-color: rgba(74, 159, 216, .34);
}

.page-home .entry.panel--dark .entry__title { color: var(--snow); }
.page-home .entry.panel--dark .entry__desc { color: rgba(244, 247, 249, .78); }
.page-home .entry.panel--dark .entry__idx { color: var(--lava); }

.page-home .entry__idx {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ice);
}

.page-home .entry__title {
  margin: 10px 0 0;
  font-size: clamp(19px, 2.4vw, 23px);
  font-weight: 800;
  letter-spacing: -.01em;
}

.page-home .entry__desc {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.72;
  color: #3d454f;
}

.page-home .entry__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ice);
  text-decoration: none;
  background-image: linear-gradient(var(--ice), var(--ice));
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 3px;
  transition: background-size .3s var(--ease), color .2s var(--ease);
}

.page-home .entry__link:hover,
.page-home .entry__link:focus-visible {
  background-size: 100% 2px;
  color: var(--lava);
}

.page-home .entry__link--lava { color: var(--lava); }
.page-home .entry__link--lava:hover,
.page-home .entry__link--lava:focus-visible { color: var(--pulse); }

/* ---------------- 重点场次 ---------------- */
.page-home .fixtures {
  background: var(--snow);
}

.page-home .fixtures__layout {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.page-home .fixtures__media .figure { margin: 0; }

.page-home .fixtures__body .prose {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.8;
  color: #39414b;
  max-width: 62ch;
}

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

.page-home .bullet-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  line-height: 1.72;
  color: #39414b;
}

.page-home .bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 10px;
  height: 2px;
  background: var(--lava);
}

.page-home .bullet-list strong { color: var(--ink); }

.page-home .data-strip--home {
  margin-top: 26px;
  border-color: var(--line-dark);
}

.page-home .data-strip--home .data-strip__cell {
  border-right-color: var(--line-dark);
}

.page-home .data-strip--home .data-strip__num { color: var(--night); }
.page-home .data-strip--home .data-strip__label { color: #5c6672; }

.page-home .data-strip--dark {
  border-color: rgba(169, 182, 194, .26);
}

.page-home .data-strip--dark .data-strip__cell {
  border-right-color: rgba(169, 182, 194, .22);
}

.page-home .data-strip--dark .data-strip__num { color: var(--pulse); }
.page-home .data-strip--dark .data-strip__label { color: var(--glacier); }

.page-home .fixtures__body .btn { margin-top: 26px; }

/* ---------------- 简体版升级 ---------------- */
.page-home .upgrade {
  background:
    radial-gradient(90% 70% at 12% 0%, rgba(74, 159, 216, .28), transparent 60%),
    linear-gradient(180deg, var(--night), var(--graphite));
  color: var(--snow);
}

.page-home .upgrade .eyebrow { color: var(--lava); }

.page-home .upgrade__head {
  display: grid;
  gap: 18px;
}

.page-home .upgrade__intro {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(244, 247, 249, .78);
  max-width: 62ch;
}

.page-home .upgrade__layout {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  margin-top: clamp(28px, 4vw, 42px);
}

.page-home .upgrade__cards {
  display: grid;
  gap: 14px;
}

.page-home .ucard {
  padding: 20px 20px 18px;
  background: rgba(244, 247, 249, .05);
  border: 1px solid rgba(169, 182, 194, .22);
  transition: border-color .28s var(--ease), background-color .28s var(--ease), transform .28s var(--ease);
}

.page-home .ucard:hover {
  border-color: var(--pulse);
  background: rgba(46, 211, 198, .08);
  transform: translateX(4px);
}

.page-home .ucard__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--snow);
  letter-spacing: -.005em;
}

.page-home .ucard__desc {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(244, 247, 249, .74);
}

.page-home .upgrade__media .figure { margin: 0; }

.page-home .upgrade__media .figure__caption { color: var(--glacier); }

.page-home .upgrade__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 40px);
}

/* ---------------- 赛事数据对照 ---------------- */
.page-home .compare { background: var(--snow); }

.page-home .compare__lede {
  font-size: 16px;
  line-height: 1.8;
  color: #39414b;
  max-width: 66ch;
}

.page-home .compare__board {
  margin-top: clamp(28px, 4vw, 40px);
  border: 1px solid var(--line-dark);
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
}

.page-home .compare__board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--night);
  color: var(--snow);
  font-size: 12px;
  letter-spacing: .06em;
}

.page-home .compare__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 20px;
  border-top: 1px solid var(--line-dark);
}

.page-home .compare__team {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-home .compare__team-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.page-home .compare__team-dot--a { background: var(--ice); }
.page-home .compare__team-dot--b { background: var(--lava); }

.page-home .compare__team-name {
  font-size: 15px;
  font-weight: 700;
}

.page-home .compare__bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 96px;
  padding-top: 6px;
  border-bottom: 1px solid var(--line-dark);
}

.page-home .compare__bar {
  flex: 1 1 0;
  min-width: 8px;
  height: var(--h);
  background: linear-gradient(180deg, var(--ice), rgba(74, 159, 216, .42));
  transition: filter .25s var(--ease);
}

.page-home .compare__bar--alt {
  background: linear-gradient(180deg, var(--lava), rgba(242, 106, 46, .42));
}

.page-home .compare__row:hover .compare__bar { filter: brightness(1.12); }

.page-home .compare__val {
  font-size: 11.5px;
  letter-spacing: .06em;
  color: #66707c;
}

.page-home .compare__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 14px 20px 18px;
  font-size: 11.5px;
  color: #66707c;
}

.page-home .compare__notes {
  display: grid;
  gap: 18px;
  margin-top: clamp(26px, 4vw, 38px);
}

.page-home .note {
  padding-top: 16px;
  border-top: 2px solid var(--ink);
}

.page-home .note__title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}

.page-home .note p {
  margin: 10px 0 0;
  font-size: 14.8px;
  line-height: 1.75;
  color: #3d454f;
}

.page-home .compare__cta { margin-top: clamp(26px, 4vw, 36px); }

/* ---------------- 交替查看 ---------------- */
.page-home .flow {
  background: linear-gradient(180deg, var(--frost), var(--snow));
}

.page-home .flow__lede {
  font-size: 16px;
  line-height: 1.8;
  color: #39414b;
  max-width: 64ch;
}

.page-home .flow__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(22px, 3vw, 30px);
}

.page-home .flow__tab {
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: .05em;
  border: 1px solid var(--line-dark);
  background: #fff;
  color: #4c565f;
  transition: background-color .24s var(--ease), color .24s var(--ease), border-color .24s var(--ease);
}

.page-home .flow__tab--active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--snow);
}

.page-home .flow__tab:hover {
  border-color: var(--ice);
  color: var(--ice);
}

.page-home .flow__tab--active:hover {
  color: var(--snow);
  border-color: var(--ink);
}

.page-home .flow__grid {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.page-home .flow__item {
  padding: 22px 20px 20px;
  background: #fff;
  border: 1px solid var(--line-dark);
  transition: transform .26s var(--ease), border-color .26s var(--ease);
}

.page-home .flow__item:nth-child(odd) { border-left: 3px solid var(--ice); }
.page-home .flow__item:nth-child(even) { border-left: 3px solid var(--lava); }

.page-home .flow__item:hover {
  transform: translateY(-4px);
  border-color: var(--lava);
}

.page-home .flow__item-title {
  margin: 14px 0 0;
  font-size: 17.5px;
  font-weight: 800;
}

.page-home .flow__item-desc {
  margin: 10px 0 0;
  font-size: 14.6px;
  line-height: 1.74;
  color: #3d454f;
}

.page-home .flow .btn { margin-top: clamp(26px, 4vw, 36px); }

/* ---------------- 内蒙古主场 ---------------- */
.page-home .home-ground {
  background: var(--ink);
  color: var(--snow);
}

.page-home .home-ground .eyebrow { color: var(--grass); }

.page-home .home-ground__layout {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
}

.page-home .home-ground .prose {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.82;
  color: rgba(244, 247, 249, .8);
  max-width: 60ch;
}

.page-home .home-ground__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 4vw, 36px);
}

.page-home .home-ground__media .figure { margin: 0; }

.page-home .home-ground__media .figure__caption { color: var(--glacier); }

.page-home .honor-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(169, 182, 194, .24);
}

.page-home .honor-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(169, 182, 194, .18);
}

.page-home .honor-list__year {
  flex: 0 0 auto;
  font-size: 13px;
  color: var(--grass);
  letter-spacing: .05em;
}

.page-home .honor-list__text {
  font-size: 14.6px;
  color: rgba(244, 247, 249, .82);
  line-height: 1.6;
}

/* ---------------- 浅色/深色按钮微调 ---------------- */
.page-home .home-ground .btn--ghost,
.page-home .upgrade .btn--ghost,
.page-home .hero .btn--ghost {
  color: var(--snow);
}

/* ---------------- 中屏 ---------------- */
@media (min-width: 720px) {
  .page-home .entries__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home .compare__notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home .flow__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .page-home .compare__row {
    grid-template-columns: 180px 1fr 88px;
    align-items: end;
    gap: 18px;
  }

  .page-home .compare__val { text-align: right; }
}

/* ---------------- 桌面 ---------------- */
@media (min-width: 1000px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
  }

  .page-home .entries__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .page-home .fixtures__layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
  }

  .page-home .fixtures__media { order: 0; }

  .page-home .upgrade__head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 40px;
  }

  .page-home .upgrade__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: start;
  }

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

  .page-home .compare__notes { grid-template-columns: repeat(3, minmax(0, 1fr)); }

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

  .page-home .home-ground__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
  }
}

/* ---------------- 大屏 ---------------- */
@media (min-width: 1240px) {
  .page-home .hero__grid { gap: 72px; }
  .page-home .hero__stat { padding-right: 22px; }
}

/* ---------------- 减少动态偏好 ---------------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .entry,
  .page-home .ucard,
  .page-home .flow__item,
  .page-home .entry__link,
  .page-home .compare__bar {
    transition: none;
  }

  .page-home .entry:nth-child(2) { transform: none; }
  .page-home .entry:hover,
  .page-home .entry:focus-within,
  .page-home .ucard:hover,
  .page-home .flow__item:hover { transform: none; }
}
</main>

.page-home {
  --h: 1rem;
}
