/* ====== 首页专属样式 · 新利赛场 ====== */
.page-home {
  --home-radius-xl: 28px;
  --home-radius-md: 16px;
  --home-gap: clamp(48px, 8vw, 96px);
  --home-hero-limit: 6.8rem;
}

/* ---------- Hero ---------- */
.page-home .home-hero {
  position: relative;
  min-height: clamp(640px, 92vh, 840px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 28px) 0 56px;
  overflow: hidden;
  isolation: isolate;
}

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

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

.page-home .home-hero__veil {
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(11, 29, 58, 0.96) 0%, rgba(11, 29, 58, 0.78) 55%, rgba(14, 35, 69, 0.42) 100%),
    radial-gradient(circle at 78% 20%, rgba(57, 255, 20, 0.14), transparent 42%);
}

.page-home .home-hero__layout {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
  max-width: var(--page-max);
}

.page-home .home-hero__content {
  max-width: 680px;
}

.page-home .home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 6px 12px;
  border: 1px solid rgba(57, 255, 20, 0.32);
  border-radius: 999px;
  background: rgba(57, 255, 20, 0.08);
}

.page-home .home-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, var(--home-hero-limit));
  line-height: 0.96;
  letter-spacing: 0.01em;
  color: var(--c-text);
  margin: 0 0 20px;
  text-wrap: balance;
}

.page-home .home-hero__lead {
  font-size: 1.05rem;
  line-height: 1.72;
  color: #C6D2E6;
  max-width: 34em;
  margin: 0 0 28px;
}

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

/* ---------- Hero Board ---------- */
.page-home .home-board {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: rgba(14, 35, 69, 0.78);
  border: 1px solid var(--c-line);
  border-radius: var(--home-radius-xl);
  padding: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

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

.page-home .home-board__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-muted);
}

.page-home .home-board__stamp {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--c-accent);
  background: rgba(57, 255, 20, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
}

.page-home .home-board__viewport {
  overflow: hidden;
  border-radius: var(--home-radius-md);
  background: rgba(11, 29, 58, 0.6);
  height: 200px;
  position: relative;
}

.page-home .home-board__track {
  display: flex;
  flex-direction: column;
  animation: homeBoardLoop 22s linear infinite;
}

.page-home .home-board__row {
  display: grid;
  grid-template-columns: 84px 1fr 46px;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-home .home-board__league {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--c-accent);
  white-space: nowrap;
}

.page-home .home-board__match {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.page-home .home-board__club {
  font-size: 0.84rem;
  color: var(--c-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .home-board__score {
  font-family: var(--font-num);
  font-size: 0.92rem;
  color: var(--c-orange);
  font-weight: 700;
  white-space: nowrap;
}

.page-home .home-board__time {
  font-family: var(--font-num);
  font-size: 0.76rem;
  color: var(--c-muted);
  text-align: right;
}

.page-home .home-board__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 4px 0;
  font-size: 0.76rem;
  color: var(--c-muted);
}

.page-home .home-board__foot b {
  color: var(--c-accent);
}

.page-home .home-board__go {
  font-weight: 700;
  color: var(--c-accent);
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.page-home .home-board__go:hover {
  opacity: 0.78;
}

@keyframes homeBoardLoop {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* ---------- 实时战况 ---------- */
.page-home .home-live {
  padding: var(--home-gap) 0;
  background:
    linear-gradient(rgba(46, 87, 155, 0.14), rgba(46, 87, 155, 0.06)),
    radial-gradient(circle at 10% 20%, rgba(57, 255, 20, 0.07), transparent 36%);
}

.page-home .home-live__layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-home .home-live__eyebrow,
.page-home .home-split__eyebrow,
.page-home .home-clubs__eyebrow,
.page-home .home-replay__eyebrow,
.page-home .home-trust__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin: 0 0 10px;
}

.page-home .home-live__title,
.page-home .home-split__title,
.page-home .home-clubs__title,
.page-home .home-replay__title,
.page-home .home-trust__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.06;
  color: var(--c-text);
  margin: 0 0 18px;
  text-wrap: balance;
}

.page-home .home-live__lead {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--c-muted);
  max-width: 40em;
  margin: 0 0 20px;
}

.page-home .home-live__points {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .home-live__points li {
  position: relative;
  padding-left: 24px;
  color: var(--c-text);
  font-size: 0.94rem;
  line-height: 1.5;
}

.page-home .home-live__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 12px;
  height: 3px;
  background: var(--c-accent);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.6);
}

.page-home .home-live__panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-home .home-live__pipeline {
  background: var(--c-bg-2);
  border: 1px solid var(--c-line);
  border-radius: var(--home-radius-xl);
  padding: 20px;
}

.page-home .home-live__pipeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.page-home .home-live__pipeline-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--c-text);
}

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

.page-home .home-live__steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(11, 29, 58, 0.44);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--c-text);
}

.page-home .home-live__step-num {
  font-family: var(--font-num);
  font-size: 0.78rem;
  color: var(--c-accent);
}

.page-home .home-live__pipeline-note {
  font-size: 0.82rem;
  color: var(--c-muted);
  margin: 0;
}

.page-home .home-live__table {
  background: var(--c-bg-2);
  border: 1px solid var(--c-line);
  border-radius: var(--home-radius-xl);
  overflow: hidden;
}

.page-home .home-live__table-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--c-line);
  transition: background 0.25s ease;
}

.page-home .home-live__table-row:last-child {
  border-bottom: 0;
}

.page-home .home-live__table-row:hover {
  background: rgba(57, 255, 20, 0.05);
}

.page-home .home-live__clubs {
  font-size: 0.94rem;
  color: var(--c-text);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.page-home .home-live__clubs b {
  font-family: var(--font-num);
  color: var(--c-orange);
  font-size: 1rem;
}

.page-home .home-live__clock {
  font-family: var(--font-num);
  font-size: 0.78rem;
  color: var(--c-muted);
}

/* ---------- 双端体验分离 ---------- */
.page-home .home-split {
  padding: var(--home-gap) 0;
  background: var(--c-bg);
  position: relative;
  overflow: hidden;
}

.page-home .home-split::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.1), transparent 68%);
  pointer-events: none;
}

.page-home .home-split__head {
  margin-bottom: 40px;
}

.page-home .home-split__lead {
  color: var(--c-muted);
  font-size: 1rem;
  line-height: 1.72;
  max-width: 42em;
  margin: 0;
}

.page-home .home-split__grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.page-home .home-split__card {
  background: var(--c-bg-2);
  border: 1px solid var(--c-line);
  border-radius: var(--home-radius-xl);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.page-home .home-split__card--desktop {
  transform: rotate(-0.8deg);
}

.page-home .home-split__card--mobile {
  transform: rotate(0.8deg);
  margin-top: 8px;
}

.page-home .home-split__card:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.3);
}

.page-home .home-split__photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-bg-3);
}

.page-home .home-split__photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.page-home .home-split__body {
  padding: 4px 6px 8px;
}

.page-home .home-split__heading {
  font-size: 1.3rem;
  color: var(--c-text);
  margin: 12px 0 10px;
}

.page-home .home-split__desc {
  font-size: 0.94rem;
  line-height: 1.68;
  color: var(--c-muted);
  margin: 0;
}

.page-home .home-split__mock {
  display: flex;
  justify-content: center;
  padding: 12px 0 0;
}

.page-home .home-split__phone {
  width: 148px;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  overflow: hidden;
  background: var(--c-bg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.44);
}

.page-home .home-split__phone-bar {
  height: 22px;
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid var(--c-line);
}

.page-home .home-split__phone-screen {
  height: 236px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background:
    linear-gradient(rgba(11, 29, 58, 0.72), rgba(14, 35, 69, 0.92)),
    radial-gradient(circle at 50% 30%, rgba(57, 255, 20, 0.16), transparent 70%);
  padding: 18px;
}

.page-home .home-split__phone-label {
  font-size: 0.72rem;
  color: var(--c-text);
  text-align: center;
  line-height: 1.5;
}

.page-home .home-split__phone-play {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-bg);
  font-size: 0.8rem;
  box-shadow: 0 0 22px rgba(57, 255, 20, 0.5);
}

.page-home .home-split__phone-progress {
  position: relative;
  width: 80%;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  overflow: hidden;
}

.page-home .home-split__phone-progress i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 62%;
  background: var(--c-accent);
}

/* ---------- 会员收藏 ---------- */
.page-home .home-clubs {
  padding: var(--home-gap) 0;
  background: var(--c-bg-2);
  position: relative;
}

.page-home .home-clubs__head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 36px;
}

.page-home .home-clubs__grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.page-home .home-clubs__shot .img-mask {
  border-radius: var(--home-radius-xl);
}

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

.page-home .home-clubs__copy {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--c-text);
  margin: 0 0 20px;
  max-width: 36em;
}

.page-home .home-clubs__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.page-home .home-clubs__chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 8px 14px;
  background: rgba(11, 29, 58, 0.5);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  cursor: default;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.page-home .home-clubs__chip:hover {
  transform: translateY(-5px);
  border-color: var(--c-accent);
  background: rgba(57, 255, 20, 0.06);
}

.page-home .home-clubs__code {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--club-color, #3A6EA5);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18);
}

.page-home .home-clubs__name {
  font-size: 0.8rem;
  color: var(--c-text);
  opacity: 0.85;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.page-home .home-clubs__chip:hover .home-clubs__name {
  opacity: 1;
  color: var(--c-accent);
}

.page-home .home-clubs__tip {
  font-size: 0.84rem;
  color: var(--c-muted);
  margin: 0;
}

/* ---------- 竖屏集锦 ---------- */
.page-home .home-replay {
  padding: var(--home-gap) 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(57, 255, 20, 0.09), transparent 40%),
    var(--c-bg);
  overflow: hidden;
}

.page-home .home-replay__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
}

.page-home .home-replay__phone {
  width: min(100%, 320px);
}

.page-home .home-replay__shell {
  position: relative;
  width: min(100%, 280px);
  margin: 0 auto;
  border-radius: 42px;
  border: 4px solid rgba(255, 255, 255, 0.16);
  background: #020814;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.page-home .home-replay__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 20px;
  border-radius: 16px;
  background: #050D1F;
  z-index: 2;
}

.page-home .home-replay__screen {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 8;
  overflow: hidden;
}

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

.page-home .home-replay__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 29, 58, 0.35), transparent 38%, rgba(11, 29, 58, 0.72));
}

.page-home .home-replay__play {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-bg);
  font-size: 1rem;
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.65);
  z-index: 2;
}

.page-home .home-replay__caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--c-text);
  background: rgba(11, 29, 58, 0.72);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
  backdrop-filter: blur(6px);
}

.page-home .home-replay__content {
  text-align: center;
  max-width: 560px;
}

.page-home .home-replay__lead {
  font-size: 1rem;
  line-height: 1.76;
  color: var(--c-muted);
  margin: 0 0 26px;
}

.page-home .home-replay__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------- 数据与信赖 ---------- */
.page-home .home-trust {
  position: relative;
  padding: var(--home-gap) 0;
  overflow: hidden;
  isolation: isolate;
}

.page-home .home-trust__bg,
.page-home .home-trust__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
}

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

.page-home .home-trust__veil {
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(11, 29, 58, 0.94), rgba(11, 29, 58, 0.78)),
    radial-gradient(circle at 78% 35%, rgba(255, 107, 53, 0.12), transparent 42%);
}

.page-home .home-trust__inner {
  max-width: var(--page-max);
}

.page-home .home-trust__lead {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--c-muted);
  max-width: 46em;
  margin: 0 0 36px;
}

.page-home .home-trust__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.page-home .home-trust__stat {
  background: rgba(14, 35, 69, 0.72);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.page-home .home-trust__stat .stat {
  display: block;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 8px;
}

.page-home .home-trust__label {
  font-size: 0.82rem;
  color: var(--c-muted);
}

.page-home .home-trust__certs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.page-home .home-trust__certs .tag {
  font-size: 0.8rem;
  padding: 8px 14px;
}

.page-home .home-trust__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------- 桌面端增强 ---------- */
@media (min-width: 760px) {
  .page-home .home-live__layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    align-items: start;
    gap: 40px;
  }

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

  .page-home .home-live__table-row {
    grid-template-columns: 110px 1fr auto;
    align-items: center;
    gap: 16px;
  }

  .page-home .home-split__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    gap: 28px;
  }

  .page-home .home-split__card--mobile {
    margin-top: 56px;
  }

  .page-home .home-clubs__head {
    flex-direction: row;
    align-items: flex-end;
  }

  .page-home .home-clubs__grid {
    display: grid;
    grid-template-columns: 5fr 6fr;
    align-items: center;
    gap: 40px;
  }

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

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

  .page-home .home-trust__certs,
  .page-home .home-trust__links {
    justify-content: flex-start;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero__layout {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
  }

  .page-home .home-hero__content {
    grid-column: 1 / 8;
  }

  .page-home .home-hero__board {
    grid-column: 9 / 13;
    justify-self: end;
  }

  .page-home .home-hero__title {
    font-size: clamp(4.2rem, 8vw, var(--home-hero-limit));
  }

  .page-home .home-split__title,
  .page-home .home-clubs__title,
  .page-home .home-replay__title,
  .page-home .home-trust__title {
    font-size: 3.4rem;
  }

  .page-home .home-split__card {
    padding: 24px;
  }

  .page-home .home-replay__layout {
    display: grid;
    grid-template-columns: 5fr 6fr;
    align-items: center;
    gap: 56px;
  }

  .page-home .home-replay__content {
    text-align: left;
  }

  .page-home .home-replay__actions {
    justify-content: flex-start;
  }
}

@media (min-width: 1200px) {
  .page-home .home-clubs__row {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* ---------- 减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .home-board__track {
    animation: none;
  }

  .page-home .home-split__card,
  .page-home .home-split__card--desktop,
  .page-home .home-split__card--mobile {
    transform: none;
    transition: none;
  }

  .page-home .home-clubs__chip {
    transition: none;
  }

  .page-home *,
  .page-home *::before,
  .page-home *::after {
    scroll-behavior: auto !important;
  }
}

.page-home {
  --club-color: transparent;
}
