/* ============================================
   页面：home · YOBO体育官网登录流程
   作用域：.page-home
   ============================================ */

.page-home {
  --home-glow: radial-gradient(560px 360px at 74% 22%, rgba(245, 183, 0, 0.16), transparent 68%);
  --home-line: rgba(245, 183, 0, 0.28);
  --home-soft: rgba(11, 22, 18, 0.72);
  --home-slice: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
  background: var(--c-ink);
  color: var(--c-bone);
  overflow-x: clip;
}

.page-home [data-reveal] {
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

/* ---------- 面包屑 ---------- */
.page-home .breadcrumb {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 28px 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-data);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-slate);
}

.page-home .breadcrumb a {
  color: var(--c-gold);
  text-decoration: none;
}

.page-home .breadcrumb a:hover {
  color: var(--c-gold-light);
}

.page-home .breadcrumb span[aria-current="page"] {
  color: var(--c-bone);
}

/* ---------- 首屏 hero ---------- */
.page-home .login-hero {
  position: relative;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(820px 420px at 78% 8%, rgba(245, 183, 0, 0.14), transparent 64%),
    linear-gradient(180deg, var(--c-ink) 0%, rgba(15, 51, 36, 0.35) 100%);
}

.page-home .login-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 20px;
  align-items: start;
}

.page-home .login-hero__copy {
  position: relative;
  z-index: 2;
}

.page-home .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-data);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 14px;
}

.page-home .section-kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--c-gold);
}

.page-home .display-title {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(2.8rem, 9.5vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--c-bone);
}

.page-home .display-title__sub {
  display: block;
  margin-top: 12px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(0.95rem, 2vw, 1.3rem);
  letter-spacing: 0.08em;
  color: var(--c-gold);
}

.page-home .login-hero__lead {
  max-width: 32em;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--c-slate);
  margin: 0 0 26px;
}

.page-home .login-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.page-home .hero-mini-stats {
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(244, 241, 225, 0.12);
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--font-data);
  font-size: 0.8rem;
  color: var(--c-slate);
}

.page-home .hero-mini-stats strong {
  color: var(--c-gold);
  font-weight: 600;
  margin-left: 2px;
}

/* ---------- 登录面板 ---------- */
.page-home .login-panel {
  position: relative;
  z-index: 3;
  background: linear-gradient(145deg, rgba(15, 51, 36, 0.96), rgba(11, 22, 18, 0.92));
  border: 1px solid rgba(245, 183, 0, 0.36);
  border-top: 3px solid var(--c-gold);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 0 60px rgba(11, 22, 18, 0.3);
  padding: 26px 22px;
}

.page-home .login-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(244, 241, 225, 0.12);
  font-family: var(--font-data);
  font-size: 0.76rem;
  color: var(--c-slate);
}

.page-home .login-panel__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-gold);
}

.page-home .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(245, 183, 0, 0.22);
}

.page-home .login-panel__title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  margin: 20px 0 6px;
  color: var(--c-bone);
}

.page-home .login-panel__hint {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--c-slate);
  margin: 0 0 18px;
  padding: 10px 12px;
  background: rgba(245, 183, 0, 0.08);
  border-left: 2px solid var(--c-gold);
}

.page-home .login-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-home .login-step {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 14px 0;
}

.page-home .login-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 52px;
  bottom: -2px;
  width: 1px;
  background: linear-gradient(180deg, var(--c-gold), rgba(245, 183, 0, 0.12));
}

.page-home .login-step__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-data);
  font-size: 0.9rem;
  color: var(--c-ink);
  background: var(--c-gold);
  box-shadow: 0 0 0 5px rgba(245, 183, 0, 0.14);
}

.page-home .login-step__body h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 2px 0 4px;
  color: var(--c-bone);
}

.page-home .login-step__body p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--c-slate);
  margin: 0;
}

.page-home .login-panel__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(244, 241, 225, 0.12);
  font-family: var(--font-data);
  font-size: 0.76rem;
  color: var(--c-slate);
}

.page-home .login-panel__foot a {
  color: var(--c-gold);
  text-decoration: none;
}

.page-home .login-panel__foot a:hover {
  color: var(--c-gold-light);
}

/* ---------- 首屏视觉图 ---------- */
.page-home .login-visual {
  position: relative;
  z-index: 2;
  margin: 0;
  aspect-ratio: 4 / 5;
  min-height: 320px;
  max-height: 760px;
  width: 100%;
  clip-path: polygon(10% 0, 100% 0, 94% 100%, 0 100%);
  background: var(--c-pitch);
  overflow: hidden;
}

.page-home .login-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .login-visual figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--c-bone);
  background: rgba(11, 22, 18, 0.62);
  padding: 6px 10px;
}

/* ---------- 首屏底部天山横幅 ---------- */
.page-home .hero-landscape {
  position: relative;
  z-index: 1;
  margin: 44px 0 0;
  width: 100%;
  border-top: 1px solid rgba(245, 183, 0, 0.28);
}

.page-home .hero-landscape img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.85) contrast(1.03);
}

.page-home .hero-landscape figcaption {
  position: absolute;
  right: 20px;
  bottom: 18px;
  font-family: var(--font-data);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold);
  background: rgba(11, 22, 18, 0.7);
  padding: 8px 12px;
}

/* ---------- 数据快报区 ---------- */
.page-home .data-band {
  position: relative;
  margin-top: 48px;
  padding: 72px 0;
  background: var(--c-pitch);
  clip-path: var(--home-slice);
  overflow: hidden;
}

.page-home .data-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(245, 183, 0, 0.06), transparent 42%);
  pointer-events: none;
}

.page-home .velocity-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-home .data-band__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 20px;
  align-items: center;
}

.page-home .data-band__chart {
  margin: 0;
  position: relative;
}

.page-home .data-band__chart img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 480px;
  margin: 0 auto;
  clip-path: polygon(0 8%, 88% 0, 100% 92%, 12% 100%);
  filter: saturate(0.9) contrast(1.02);
}

.page-home .data-band__content {
  max-width: 560px;
}

.page-home .data-band .section-title {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.12;
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--c-bone);
}

.page-home .data-band .body-copy {
  color: var(--c-slate);
  line-height: 1.7;
  max-width: 48em;
}

.page-home .data-facts {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.page-home .data-facts li {
  background: rgba(11, 22, 18, 0.45);
  border: 1px solid rgba(245, 183, 0, 0.2);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .data-facts__num {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--c-gold);
  line-height: 1.1;
}

.page-home .data-facts__label {
  font-size: 0.82rem;
  color: var(--c-slate);
}

/* ---------- 体育战报栏目推荐 ---------- */
.page-home .report-strip {
  padding: 72px 0 60px;
  background: linear-gradient(180deg, var(--c-ink) 0%, rgba(15, 51, 36, 0.5) 100%);
}

.page-home .report-strip__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 20px;
}

.page-home .report-strip__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.page-home .report-strip__head .section-title {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  color: var(--c-bone);
}

.page-home .report-strip__desc {
  max-width: 42em;
  color: var(--c-slate);
  line-height: 1.7;
  margin: 0;
}

.page-home .report-strip__visual {
  margin: 0 0 28px;
  width: 100%;
}

.page-home .report-strip__visual img {
  display: block;
  width: 100%;
  height: auto;
  border-top: 1px solid rgba(245, 183, 0, 0.24);
  border-bottom: 1px solid rgba(245, 183, 0, 0.24);
}

.page-home .report-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 86%);
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--c-gold) rgba(244, 241, 225, 0.08);
}

.page-home .report-card {
  position: relative;
  scroll-snap-align: start;
  background: linear-gradient(160deg, var(--c-pitch), rgba(11, 22, 18, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--c-gold);
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

.page-home .report-card:hover {
  transform: translateY(-3px);
  border-color: var(--c-gold);
}

.page-home .report-card .tag {
  align-self: flex-start;
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gold);
  background: rgba(245, 183, 0, 0.12);
  border: 1px solid rgba(245, 183, 0, 0.32);
  padding: 4px 8px;
}

.page-home .report-card .tag--crimson {
  color: var(--c-crimson);
  background: rgba(230, 74, 46, 0.12);
  border-color: rgba(230, 74, 46, 0.4);
}

.page-home .report-card h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 6px 0 0;
  color: var(--c-bone);
}

.page-home .report-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--c-slate);
  margin: 0;
  flex: 1 1 auto;
}

.page-home .report-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 6px;
}

.page-home .report-card a::after {
  content: "→";
  transition: transform 0.2s;
}

.page-home .report-card a:hover::after {
  transform: translateX(4px);
}

/* ---------- 品牌理念 ---------- */
.page-home .brand-ethos {
  position: relative;
  padding: 76px 0 80px;
  background: var(--c-ink);
}

.page-home .brand-ethos::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 380px at 18% 0%, rgba(245, 183, 0, 0.1), transparent 60%);
  pointer-events: none;
}

.page-home .brand-ethos__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 20px;
}

.page-home .brand-ethos__content .section-title {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-family: var(--font-title);
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.15;
  color: var(--c-bone);
}

.page-home .brand-ethos__content .body-copy {
  color: var(--c-slate);
  line-height: 1.75;
  max-width: 46em;
}

.page-home .ethos-icp {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(244, 241, 225, 0.12);
  font-family: var(--font-data);
  font-size: 0.78rem;
  color: var(--c-slate);
}

.page-home .brand-ethos__links {
  display: grid;
  gap: 12px;
  align-content: start;
}

.page-home .ethos-link {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "meta arrow"
    "title arrow"
    "desc arrow";
  gap: 2px 12px;
  padding: 18px 16px;
  background: var(--c-pitch);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 2px solid var(--c-gold);
  text-decoration: none;
  transition: background 0.3s, transform 0.3s var(--ease-out);
}

.page-home .ethos-link:hover {
  background: rgba(15, 51, 36, 0.75);
  transform: translateX(4px);
}

.page-home .ethos-link__meta {
  grid-area: meta;
  font-family: var(--font-data);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-slate);
}

.page-home .ethos-link__title {
  grid-area: title;
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--c-bone);
}

.page-home .ethos-link__desc {
  grid-area: desc;
  font-size: 0.85rem;
  color: var(--c-slate);
}

.page-home .ethos-link::after {
  grid-area: arrow;
  content: "↗";
  font-size: 1.1rem;
  color: var(--c-gold);
  align-self: center;
  transition: transform 0.2s;
}

.page-home .ethos-link:hover::after {
  transform: translate(2px, -2px);
}

/* ---------- 平板断点 ---------- */
@media (min-width: 720px) {
  .page-home .data-facts {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .report-cards {
    grid-auto-columns: minmax(280px, 42%);
  }

  .page-home .report-strip__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
  }

  .page-home .login-panel {
    padding: 32px 28px;
  }
}

/* ---------- 桌面断点 ---------- */
@media (min-width: 1024px) {
  .page-home {
    --home-slice: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  }

  .page-home .login-hero__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 0.85fr);
    gap: 32px;
    align-items: stretch;
  }

  .page-home .login-hero__copy {
    padding-top: 12px;
  }

  .page-home .display-title {
    font-size: clamp(3.2rem, 6.6vw, 5.6rem);
  }

  .page-home .login-visual {
    min-height: 560px;
    height: 100%;
    align-self: stretch;
  }

  .page-home .data-band {
    margin-top: 64px;
    padding: 96px 0;
  }

  .page-home .data-band__inner {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
  }

  .page-home .data-band__chart img {
    width: 100%;
  }

  .page-home .brand-ethos__inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: start;
  }

  .page-home .ethos-link {
    padding: 20px 18px;
  }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .page-home .report-card:hover,
  .page-home .ethos-link:hover {
    transform: none;
  }
}
