/* ===== 首页 · 风云体育官方登录入口·中国 ===== */
.page-home {
  background: var(--c-deep);
  overflow-x: hidden;
}

/* ---------- 框景首屏 ---------- */
.page-home .hero-frame {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: 48px 0 56px;
  background: var(--c-deep);
  overflow: hidden;
}
.page-home .hero-frame__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.4;
}
.page-home .hero-frame__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, rgba(10, 25, 47, 0.94) 25%, rgba(17, 34, 64, 0.72) 58%, rgba(10, 25, 47, 0.92) 100%);
}
.page-home .hero-frame__container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

/* 上下文提示 */
.page-home .context-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}
.page-home .context-line__sep {
  color: var(--c-orange);
}

/* 首屏主内容 */
.page-home .hero-frame__content {
  max-width: 720px;
}
.page-home .hero-frame__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.75);
}
.page-home .hero-frame__eyebrow-line {
  width: 34px;
  height: 3px;
  background: var(--c-orange);
  transform: skewX(-18deg);
}
.page-home .hero-frame__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  line-height: 0.95;
  color: var(--c-white);
  text-transform: uppercase;
}
.page-home .hero-frame__title-br {
  display: block;
  margin-top: 14px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.45rem);
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: var(--c-lime);
  text-transform: none;
}
.page-home .hero-frame__lead {
  margin: 24px 0 28px;
  max-width: 560px;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.76);
}
.page-home .hero-frame__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 首屏数据小面板 */
.page-home .hero-frame__rankcard {
  max-width: 460px;
  padding: 18px 20px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}
.page-home .hero-frame__rankcard-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.72);
}
.page-home .hero-frame__rankcard-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-lime);
}
.page-home .hero-frame__rankcard-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-lime);
  animation: homePulse 2.2s ease-out infinite;
}
.page-home .hero-frame__rankcard-svg {
  display: block;
  width: 100%;
  height: auto;
}
.page-home .hero-frame__rankcard-note {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.48);
}

/* 首屏快速入口 */
.page-home .hero-frame__quicknav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.page-home .hero-frame__quicklink {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  color: var(--c-white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.page-home .hero-frame__quicklink:hover {
  background: rgba(163, 230, 53, 0.12);
  border-color: rgba(163, 230, 53, 0.32);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.page-home .hero-frame__quickindex {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-lime);
}

/* 刻度边框 */
.page-home .hero-frame__corner {
  position: absolute;
  z-index: 2;
  width: 110px;
  height: 110px;
  pointer-events: none;
}
.page-home .hero-frame__corner--tl {
  top: 18px;
  left: 18px;
  border-top: 2px dashed rgba(255, 255, 255, 0.4);
  border-left: 2px dashed rgba(255, 255, 255, 0.4);
}
.page-home .hero-frame__corner--tr {
  top: 18px;
  right: 18px;
  border-top: 2px dashed rgba(255, 255, 255, 0.4);
  border-right: 2px dashed rgba(255, 255, 255, 0.4);
}
.page-home .hero-frame__corner--bl {
  bottom: 18px;
  left: 18px;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.4);
  border-left: 2px dashed rgba(255, 255, 255, 0.4);
}
.page-home .hero-frame__corner--br {
  bottom: 18px;
  right: 18px;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.4);
  border-right: 2px dashed rgba(255, 255, 255, 0.4);
}
.page-home .hero-frame__corner--tl::before,
.page-home .hero-frame__corner--tr::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -35%;
  width: 35%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-lime));
  animation: homeSweep 3.6s 0.8s var(--ease-out) infinite;
}
.page-home .hero-frame__corner--tr::before {
  background: linear-gradient(90deg, transparent, var(--c-orange));
  animation-delay: 1.6s;
}

/* ---------- 数据快照 ---------- */
.page-home .stats-strip {
  position: relative;
  background: var(--c-cream);
  padding: 48px 0 56px;
}
.page-home .stats-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(100deg, var(--c-orange) 0 30%, var(--c-lime) 30% 60%, var(--c-deep) 60% 100%);
}
.page-home .stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 20px;
}
.page-home .stats-strip__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  color: var(--c-deep);
}
.page-home .stats-strip__unit {
  margin-left: 2px;
  font-size: 0.45em;
  color: var(--c-orange);
}
.page-home .stats-strip__label {
  display: block;
  margin-top: 8px;
  font-size: 0.86rem;
  color: var(--c-stone);
}
.page-home .stats-strip__item--accent .stats-strip__num {
  color: var(--c-orange);
}

/* ---------- PC端资料库 ---------- */
.page-home .archive-sec {
  position: relative;
  background: var(--c-deep);
  padding: 64px 0;
}
.page-home .archive-sec::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--c-orange) 0 60%, var(--c-lime) 60% 100%);
}
.page-home .archive-sec__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.page-home .archive-sec__chips {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.page-home .archive-sec__chips li {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(163, 230, 53, 0.08);
  border: 1px solid rgba(163, 230, 53, 0.3);
  color: var(--c-lime);
  font-family: var(--font-mono);
  font-size: 0.84rem;
}
.page-home .archive-sec__media {
  transform: rotate(-1.5deg);
  transition: transform 0.4s var(--ease-out);
}
.page-home .archive-sec__media:hover {
  transform: rotate(0deg) scale(1.01);
}
.page-home .archive-sec__caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.page-home .archive-sec__live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-lime);
  animation: homePulse 2.2s ease-out infinite;
}

/* ---------- 联赛对照数据 ---------- */
.page-home .compare-sec {
  background: var(--c-cream);
  padding: 64px 0;
}
.page-home .compare-sec__header {
  display: grid;
  gap: 16px;
  margin-bottom: 36px;
}
.page-home .compare-sec__intro {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-stone);
}
.page-home .compare-sec__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.page-home .compare-sec__chart {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-cream-2);
  border-radius: var(--radius-lg);
  padding: 22px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(10, 25, 47, 0.06);
}
.page-home .compare-sec__chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--c-stone);
}
.page-home .compare-sec__legend {
  display: inline-flex;
  align-items: center;
}
.page-home .compare-sec__legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin: 0 6px 0 14px;
}
.page-home .compare-sec__legend-dot--a {
  background: var(--c-terracotta);
}
.page-home .compare-sec__legend-dot--b {
  background: var(--c-blue);
}
.page-home .compare-sec__chart-svg {
  display: block;
  width: 100%;
  height: auto;
}
.page-home .compare-sec__line--a,
.page-home .compare-sec__line--b {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: homeLineDraw 1.6s var(--ease-out) forwards;
}
.page-home .compare-sec__line--b {
  animation-delay: 0.4s;
}
.page-home .compare-sec__node--a,
.page-home .compare-sec__node--b {
  opacity: 1;
}
.page-home .compare-sec__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.page-home .compare-sec__filter {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--c-cream);
  color: var(--c-stone);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.page-home .compare-sec__filter--on {
  background: var(--c-deep);
  color: var(--c-lime);
}
.page-home .compare-sec__tooltip {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  padding: 10px 14px;
  background: var(--c-deep);
  color: rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  pointer-events: none;
}
.page-home .compare-sec__chart:hover .compare-sec__tooltip {
  opacity: 1;
  transform: translateY(0);
}
.page-home .compare-sec__tip-a {
  color: var(--c-terracotta);
}
.page-home .compare-sec__tip-b {
  color: var(--c-blue);
}
.page-home .compare-sec__aside {
  position: relative;
  overflow: hidden;
  background: var(--c-deep);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.page-home .compare-sec__aside::after {
  content: "5W+";
  position: absolute;
  right: -10px;
  bottom: -26px;
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
}
.page-home .compare-sec__aside-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--c-white);
}
.page-home .compare-sec__list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  line-height: 2;
  color: rgba(255, 255, 255, 0.72);
}
.page-home .compare-sec__list li::before {
  content: "/";
  margin-right: 10px;
  font-family: var(--font-mono);
  color: var(--c-lime);
}

/* ---------- 中国区场馆信息筛选 ---------- */
.page-home .venue-sec {
  background: var(--c-deep-2);
  padding: 64px 0;
}
.page-home .venue-sec__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.page-home .venue-sec__mediawrap {
  position: relative;
}
.page-home .venue-sec__media {
  transform: rotate(1.5deg);
  transition: transform 0.4s var(--ease-out);
}
.page-home .venue-sec__media:hover {
  transform: rotate(0deg) scale(1.01);
}
.page-home .venue-sec__mediacaption {
  position: absolute;
  right: 16px;
  bottom: -14px;
  padding: 8px 16px;
  background: var(--c-orange);
  color: var(--c-white);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.page-home .venue-sec__content {
  max-width: 620px;
}
.page-home .venue-sec__filters {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.page-home .venue-sec__filters li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(99, 179, 237, 0.35);
  border-radius: var(--radius-md);
  background: rgba(99, 179, 237, 0.12);
  color: var(--c-blue);
  font-family: var(--font-mono);
  font-size: 0.84rem;
}
.page-home .venue-sec__filters li::before {
  content: "/";
  color: var(--c-lime);
}

/* ---------- 中心版下载 ---------- */
.page-home .download-sec {
  background: var(--c-cream);
  padding: 64px 0;
}
.page-home .download-sec__panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  background: var(--c-deep);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
}
.page-home .download-sec__panel::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--c-orange);
  opacity: 0.12;
}
.page-home .download-sec__content {
  position: relative;
  z-index: 1;
}
.page-home .download-sec__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}
.page-home .download-sec__version {
  padding: 4px 14px;
  background: var(--c-lime);
  color: var(--c-deep);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.86rem;
}
.page-home .download-sec__badge {
  padding: 4px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
}
.page-home .download-sec__btn {
  padding: 15px 34px;
  font-size: 1.05rem;
  border-radius: var(--radius-pill);
}
.page-home .download-sec__mediawrap {
  position: relative;
}
.page-home .download-sec__media {
  transform: rotate(-1deg);
}
.page-home .download-sec__mediacaption {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}

/* ---------- 赛事规则与数据刷新机制 ---------- */
.page-home .rules-sec {
  background: var(--c-deep);
  padding: 64px 0;
}
.page-home .rules-sec__head {
  display: grid;
  gap: 16px;
  margin-bottom: 36px;
}
.page-home .rules-sec__trust {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--c-lime);
}
.page-home .rules-sec__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.page-home .rules-sec__card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--radius-md);
}
.page-home .rules-sec__card--cream {
  background: var(--c-cream);
}
.page-home .rules-sec__card--dark {
  background: var(--c-deep-2);
}
.page-home .rules-sec__card--outline {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
}
.page-home .rules-sec__card--accent {
  background: var(--c-orange);
}
.page-home .rules-sec__code {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--c-lime);
}
.page-home .rules-sec__card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--c-white);
}
.page-home .rules-sec__card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}
.page-home .rules-sec__card--cream .rules-sec__code {
  color: var(--c-orange);
}
.page-home .rules-sec__card--cream h3 {
  color: var(--c-ink);
}
.page-home .rules-sec__card--cream p {
  color: var(--c-stone);
}
.page-home .rules-sec__card--accent .rules-sec__code {
  color: var(--c-deep);
}
.page-home .rules-sec__card--accent p {
  color: rgba(255, 255, 255, 0.92);
}
.page-home .rules-sec__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}
.page-home .rules-sec__moretext {
  max-width: 480px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}

/* 深色区域按钮兜底 */
.page-home .hero-frame__actions .btn--ghost,
.page-home .archive-sec .btn--outline,
.page-home .compare-sec__aside .btn--ghost,
.page-home .rules-sec__more .btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--c-white);
}
.page-home .hero-frame__actions .btn--ghost:hover,
.page-home .archive-sec .btn--outline:hover,
.page-home .compare-sec__aside .btn--ghost:hover,
.page-home .rules-sec__more .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- 动画 ---------- */
@keyframes homePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.45);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(163, 230, 53, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(163, 230, 53, 0);
  }
}
@keyframes homeSweep {
  to {
    left: 100%;
  }
}
@keyframes homeLineDraw {
  to {
    stroke-dashoffset: 0;
  }
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .stats-strip__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .page-home .hero-frame__quicknav {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .hero-frame__quicklink:nth-child(odd) {
    transform: rotate(-1.5deg) translateY(-3px);
  }
  .page-home .hero-frame__quicklink:nth-child(even) {
    transform: rotate(1.5deg) translateY(4px);
  }
  .page-home .rules-sec__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .page-home .hero-frame__container {
    grid-template-columns: 1.1fr 0.9fr;
    column-gap: 48px;
    row-gap: 32px;
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .page-home .hero-frame__quicknav {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, 1fr);
  }
  .page-home .hero-frame__quicklink--1 {
    transform: rotate(-2deg) translateY(0);
  }
  .page-home .hero-frame__quicklink--2 {
    transform: rotate(-1deg) translateY(-8px);
  }
  .page-home .hero-frame__quicklink--3 {
    transform: rotate(1deg) translateY(-16px);
  }
  .page-home .hero-frame__quicklink--4 {
    transform: rotate(2deg) translateY(-22px);
  }
  .page-home .archive-sec,
  .page-home .compare-sec,
  .page-home .venue-sec,
  .page-home .download-sec,
  .page-home .rules-sec {
    padding-top: 88px;
    padding-bottom: 88px;
  }
  .page-home .archive-sec__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }
  .page-home .compare-sec__header {
    grid-template-columns: 1fr 0.85fr;
    align-items: end;
    margin-bottom: 40px;
  }
  .page-home .compare-sec__body {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
  }
  .page-home .venue-sec__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
  }
  .page-home .download-sec__panel {
    grid-template-columns: 1fr 0.7fr;
    gap: 40px;
    padding: 48px;
  }
}

@media (min-width: 1024px) {
  .page-home .rules-sec__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-home .rules-sec__head {
    grid-template-columns: 1fr 0.7fr;
    align-items: end;
  }
}
