/* ===== 首页 page-home 专属样式 ===== */
.page-home {
  background: var(--c-white);
  color: var(--c-ink);
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home .breadcrumbs {
  padding: 24px 0 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(10, 10, 10, 0.55);
}

.page-home .breadcrumbs a {
  color: var(--c-field);
  text-decoration: none;
  font-weight: 600;
}

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

/* ---------- 首屏英雄区 ---------- */
.page-home .home-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-deep) 0%, var(--c-field) 62%, #0A0A0A 100%);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 48, 32, 0.94) 0%, rgba(0, 92, 62, 0.78) 55%, rgba(0, 48, 32, 0.66) 100%);
}

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

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.2rem;
  padding: 3rem 0 2.5rem;
}

.page-home .home-hero__content {
  color: var(--c-white);
}

.page-home .home-hero__kicker {
  display: inline-block;
  border-left: 4px solid var(--c-gold);
  padding-left: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--c-softgold);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.page-home .home-hero__title {
  font-family: var(--font-display);
  font-size: clamp(46px, 9vw, 88px);
  line-height: 1.05;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 20px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.page-home .home-hero__lead {
  font-size: 17px;
  line-height: 1.8;
  max-width: 34em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

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

.page-home .home-hero .btn--gold {
  background: linear-gradient(135deg, var(--c-gold) 0%, var(--c-softgold) 100%);
  color: var(--c-ink);
  border: none;
}

.page-home .home-hero .btn--ghost {
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.72);
  background: transparent;
}

.page-home .home-hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-home .home-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 10px;
}

.page-home .home-hero__svg {
  width: min(100%, 480px);
  height: auto;
  filter: drop-shadow(0 14px 40px rgba(0, 0, 0, 0.42));
}

.page-home .home-hero__caption {
  position: absolute;
  right: -2px;
  top: 12px;
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

/* ---------- 改版通知区 ---------- */
.page-home .home-revamp {
  background: var(--c-cream);
  padding: 4rem 0;
}

.page-home .home-revamp__grid {
  display: grid;
  gap: 2rem;
}

.page-home .home-revamp__main .section__title {
  margin-top: 4px;
  margin-bottom: 16px;
}

.page-home .home-revamp__desc {
  max-width: 60ch;
  line-height: 1.75;
  color: #333333;
  margin-bottom: 10px;
}

.page-home .text-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  color: var(--c-field);
  border-bottom: 2px solid var(--c-gold);
  text-decoration: none;
  transition: padding-left 0.3s var(--ease-out);
}

.page-home .text-link:hover {
  padding-left: 8px;
}

.page-home .home-revamp__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: var(--c-deep);
  padding: 22px 14px;
  color: var(--c-white);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}

.page-home .home-revamp__stat {
  text-align: center;
}

.page-home .home-revamp__num {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 44px);
  color: var(--c-gold);
  font-weight: 700;
  line-height: 1;
}

.page-home .home-revamp__suffix {
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 22px);
  color: var(--c-gold);
  font-weight: 700;
  margin-left: 2px;
}

.page-home .home-revamp__label {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 8px;
  line-height: 1.4;
}

/* ---------- 实时比分沙盘 ---------- */
.page-home .home-scoreboard {
  background: var(--c-deep);
  color: var(--c-white);
  padding: 4rem 0;
}

.page-home .home-scoreboard .section__kicker,
.page-home .home-story .section__kicker {
  color: var(--c-gold);
}

.page-home .home-scoreboard .section__title,
.page-home .home-story .section__title {
  color: var(--c-white);
}

.page-home .home-scoreboard__header {
  margin-bottom: 2rem;
}

.page-home .home-scoreboard__desc {
  max-width: 64ch;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  margin-top: 10px;
}

.page-home .home-scoreboard__grid {
  display: grid;
  gap: 16px;
}

.page-home .match-card {
  background: linear-gradient(135deg, #0A1A12 0%, #003020 100%);
  border: 1px solid rgba(196, 165, 86, 0.18);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  padding: 22px 20px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.page-home .match-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

.page-home .match-card--live {
  border-color: rgba(230, 57, 70, 0.5);
  animation: home-score-glow 2.4s ease-in-out infinite;
}

.page-home .match-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.page-home .match-card__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff9d9d;
}

.page-home .match-card__pulse {
  width: 8px;
  height: 8px;
  background: var(--c-alert);
  border-radius: 50%;
  display: inline-block;
  animation: home-blink 1.2s ease infinite;
}

.page-home .match-card__period {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
}

.page-home .match-card__body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.page-home .match-card__team {
  text-align: center;
}

.page-home .match-card__name {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 6px;
}

.page-home .match-card__score {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1;
  color: var(--c-gold);
}

.page-home .match-card__vs {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 700;
  font-size: 13px;
}

.page-home .match-card__foot {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(196, 165, 86, 0.16);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.02em;
}

.page-home .home-scoreboard__photo {
  margin-top: 2rem;
}

.page-home .home-scoreboard__photo img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(1.18) contrast(1.06);
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
}

@keyframes home-score-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.22);
  }
  50% {
    box-shadow: 0 0 20px 5px rgba(230, 57, 70, 0.15);
  }
}

@keyframes home-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* ---------- 状态栏帮助区 ---------- */
.page-home .home-status {
  background: var(--c-sand);
  padding: 4rem 0;
}

.page-home .home-status__header {
  margin-bottom: 2rem;
}

.page-home .home-status__title {
  margin-top: 4px;
}

.page-home .home-status__grid {
  display: grid;
  gap: 1.6rem;
}

.page-home .home-status__intro {
  font-size: 16px;
  line-height: 1.8;
  color: #3d3a33;
}

.page-home .home-status__hint {
  font-size: 13px;
  color: #8b7f6a;
  margin-top: 14px;
}

.page-home .home-status__list {
  display: grid;
  gap: 10px;
}

.page-home .status-item {
  background: var(--c-white);
  border-left: 4px solid var(--c-gold);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.page-home .status-item__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
}

.page-home .status-item__summary::-webkit-details-marker {
  display: none;
}

.page-home .status-item__summary:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: -2px;
}

.page-home .status-item__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-gold);
  flex-shrink: 0;
}

.page-home .status-item[data-state="live"] .status-item__dot {
  background: var(--c-alert);
}

.page-home .status-item[data-state="net"] .status-item__dot {
  background: var(--c-field);
}

.page-home .status-item[data-state="cache"] .status-item__dot {
  background: var(--c-ink);
}

.page-home .status-item__arrow {
  margin-left: auto;
  color: var(--c-gold);
  font-weight: 700;
  font-size: 18px;
  transition: transform 0.3s var(--ease-out);
  line-height: 1;
}

.page-home .status-item[open] .status-item__arrow {
  transform: rotate(45deg);
}

.page-home .status-item__detail {
  padding: 0 18px 18px 40px;
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #555;
}

/* ---------- 会员中心验证码帮助 ---------- */
.page-home .home-verify {
  background: var(--c-white);
  padding: 4rem 0;
}

.page-home .home-verify__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-home .home-verify__title {
  margin-top: 4px;
  margin-bottom: 16px;
}

.page-home .home-verify__desc {
  max-width: 56ch;
  line-height: 1.75;
  color: #333333;
}

.page-home .home-verify__steps {
  margin: 1.4rem 0 1.6rem;
  padding: 0;
  list-style: none;
  counter-reset: home-verify-step;
  display: grid;
  gap: 10px;
}

.page-home .home-verify__steps li {
  counter-increment: home-verify-step;
  position: relative;
  padding-left: 2.6rem;
  font-size: 15px;
  line-height: 1.65;
  color: #2b2b2b;
}

.page-home .home-verify__steps li::before {
  content: counter(home-verify-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background: var(--c-field);
  color: var(--c-white);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  display: grid;
  place-items: center;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 80% 100%, 0 100%);
}

.page-home .home-verify__link {
  text-decoration: none;
}

.page-home .home-verify__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.05);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

/* ---------- 安卓端修复区 ---------- */
.page-home .home-android {
  background: var(--c-sand);
  padding: 4rem 0;
}

.page-home .home-android__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-home .home-android__title {
  margin-top: 4px;
  margin-bottom: 16px;
}

.page-home .home-android__desc {
  max-width: 56ch;
  line-height: 1.75;
  color: #3d3a33;
}

.page-home .home-android__steps {
  margin: 1.4rem 0 1.6rem;
  padding: 0;
  list-style: none;
  counter-reset: home-android-step;
  display: grid;
  gap: 10px;
}

.page-home .home-android__steps li {
  counter-increment: home-android-step;
  position: relative;
  padding: 12px 14px 12px 48px;
  background: var(--c-white);
  font-size: 15px;
  line-height: 1.6;
  color: #2b2b2b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.page-home .home-android__steps li::before {
  content: counter(home-android-step, decimal-leading-zero);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-gold);
}

.page-home .home-android__panel {
  text-align: center;
}

.page-home .home-android__phone {
  background: var(--c-white);
  border: 1px solid #E5E0D6;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  padding: 28px 20px 34px;
  width: min(230px, 82%);
  margin: 0 auto;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
  transform: rotate(-2deg);
}

.page-home .home-android__bar {
  display: block;
  width: 60px;
  height: 5px;
  border-radius: 4px;
  background: #D9D9D9;
  margin: 0 auto 24px;
}

.page-home .home-android__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--c-field);
  color: var(--c-white);
  padding: 18px 14px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.page-home .home-android__slide::after {
  content: "";
  position: absolute;
  right: 14px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--c-gold);
  border-bottom: 2px solid var(--c-gold);
  transform: rotate(45deg);
}

.page-home .home-android__note {
  margin-top: 16px;
  font-size: 13px;
  color: #6b6b6b;
}

/* ---------- 近期更新区 ---------- */
.page-home .home-updates {
  background: var(--c-white);
  padding: 4rem 0;
}

.page-home .home-updates__header {
  margin-bottom: 1.6rem;
}

.page-home .home-updates__list {
  display: grid;
  gap: 12px;
}

.page-home .update-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  background: var(--c-sand);
  text-decoration: none;
  color: var(--c-ink);
  border-left: 4px solid var(--c-gold);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.page-home .update-row:hover {
  transform: translateX(6px);
  box-shadow: 4px 8px 18px rgba(0, 0, 0, 0.08);
}

.page-home .update-row__tag {
  background: var(--c-field);
  color: var(--c-white);
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
}

.page-home .update-row__title {
  font-weight: 600;
  line-height: 1.5;
  font-size: 15px;
}

.page-home .update-row__arrow {
  color: var(--c-gold);
  font-size: 20px;
  font-weight: 700;
  transition: transform 0.3s var(--ease-out);
}

.page-home .update-row:hover .update-row__arrow {
  transform: translateX(4px);
}

/* ---------- 品牌故事区 ---------- */
.page-home .home-story {
  background: #0A0A0A;
  padding: 4rem 0;
}

.page-home .home-story__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-home .home-story__brand {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--c-gold);
  margin: 0 auto;
}

.page-home .home-story__content p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
  max-width: 64ch;
}

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

.page-home .home-story .btn--ghost {
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
}

/* ---------- 桌面端断点 ---------- */
@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    min-height: calc(100vh - 72px);
    padding: 4rem 0;
  }

  .page-home .home-revamp__grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }

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

  .page-home .home-status__grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .page-home .home-verify__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .page-home .home-android__grid {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
  }

  .page-home .home-android__panel {
    order: 2;
  }

  .page-home .home-story__grid {
    grid-template-columns: auto 1fr;
    gap: 3.5rem;
  }

  .page-home .home-story__brand {
    width: 240px;
    height: 240px;
  }
}

/* ---------- 减少动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .match-card--live,
  .page-home .match-card__pulse,
  .page-home .status-item[data-state="live"] .status-item__dot {
    animation: none !important;
  }

  .page-home .update-row,
  .page-home .match-card,
  .page-home .text-link {
    transition: none !important;
  }
}
