/* ===== BET9 内容中心 · 首页 ===== */
.page-home {
  --home-sec: clamp(64px, 9vw, 118px);
  --home-radius-card: var(--radius-m);
  --home-line: rgba(148, 167, 184, 0.18);
  background-color: var(--ink);
  color: var(--paper);
  overflow-x: clip;
}

/* ---------- 首屏容器 ---------- */
.page-home .home-top {
  padding-top: clamp(104px, 15vh, 146px);
  padding-bottom: clamp(36px, 5vw, 68px);
}

.page-home .home-context {
  margin-bottom: clamp(16px, 2vw, 24px);
}

.page-home .hero-frame {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(34, 211, 238, 0.26);
  border-radius: var(--radius-l);
  padding: clamp(22px, 3.2vw, 52px);
  background:
    radial-gradient(130% 110% at 0% 0%, rgba(34, 211, 238, 0.15), transparent 58%),
    radial-gradient(130% 110% at 100% 100%, rgba(255, 138, 61, 0.11), transparent 58%),
    linear-gradient(165deg, var(--panel-1) 0%, rgba(11, 27, 43, 0.94) 100%);
  overflow: hidden;
}

.page-home .hero-frame::before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(127, 231, 245, 0.13);
  border-radius: calc(var(--radius-l) - 12px);
  pointer-events: none;
  z-index: 0;
}

.page-home .hero-frame::after {
  content: "";
  position: absolute;
  inset: 6px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.72;
  background-image:
    linear-gradient(var(--cyan) 0 0), linear-gradient(var(--cyan) 0 0),
    linear-gradient(var(--cyan) 0 0), linear-gradient(var(--cyan) 0 0),
    linear-gradient(var(--cyan) 0 0), linear-gradient(var(--cyan) 0 0),
    linear-gradient(var(--cyan) 0 0), linear-gradient(var(--cyan) 0 0);
  background-repeat: no-repeat;
  background-size:
    20px 1px, 1px 20px,
    20px 1px, 1px 20px,
    20px 1px, 1px 20px,
    20px 1px, 1px 20px;
  background-position:
    left top, left top,
    right top, right top,
    left bottom, left bottom,
    right bottom, right bottom;
}

.page-home .hero-underlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
}

.page-home .hero-underlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .hero-head,
.page-home .hero-split,
.page-home .hero-foot {
  position: relative;
  z-index: 1;
}

/* ---------- 首屏文字 ---------- */
.page-home .hero-head {
  margin-bottom: clamp(24px, 3.4vw, 42px);
}

.page-home .hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 14px 0 16px;
  max-width: 19ch;
}

.page-home .hero-lede {
  max-width: 60ch;
  color: var(--fog);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.8;
  margin: 0;
}

/* ---------- 双版本对照 ---------- */
.page-home .hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.6vw, 30px);
}

.page-home .hero-axis {
  align-self: center;
  width: 100%;
  height: 2px;
  border-radius: var(--radius-pill);
  background: repeating-linear-gradient(90deg,
    rgba(34, 211, 238, 0.65) 0 3px,
    rgba(34, 211, 238, 0) 3px 10px);
  opacity: 0.85;
}

.page-home .ver-col {
  position: relative;
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: var(--home-radius-card);
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: linear-gradient(170deg, rgba(34, 211, 238, 0.09), rgba(11, 27, 43, 0.18) 64%);
}

.page-home .ver-col::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(20px, 2.6vw, 30px);
  width: 46px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--cyan);
}

.page-home .ver-col--alt {
  border-color: rgba(127, 231, 245, 0.36);
  background: linear-gradient(170deg, rgba(127, 231, 245, 0.13), rgba(11, 27, 43, 0.18) 64%);
}

.page-home .ver-col--alt::before {
  background: var(--cyan-mist);
}

.page-home .ver-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--paper);
  margin: 16px 0 8px;
}

.page-home .ver-note {
  font-size: 15px;
  line-height: 1.75;
  color: var(--fog);
  margin: 0 0 16px;
}

.page-home .ver-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .ver-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--paper);
}

.page-home .ver-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 9px;
  height: 1px;
  background: var(--cyan);
}

/* ---------- 首屏底部：会员中心 + 主行动 ---------- */
.page-home .hero-foot {
  margin-top: clamp(22px, 3.2vw, 36px);
  display: grid;
  gap: 16px;
}

.page-home .member-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 15px 20px;
  border-radius: var(--home-radius-card);
  border: 1px dashed rgba(34, 211, 238, 0.36);
  background: linear-gradient(100deg, rgba(34, 211, 238, 0.08), rgba(11, 27, 43, 0) 72%);
}

.page-home .member-text {
  margin: 0;
  flex: 1 1 260px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--fog);
}

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

/* ---------- 通用段落头 ---------- */
.page-home .sec-head {
  max-width: 62ch;
  margin-bottom: clamp(26px, 4vw, 48px);
}

.page-home .sec-head .section-title,
.page-home .cadence-head .section-title,
.page-home .start-inner .section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.26;
  letter-spacing: 0.01em;
  color: var(--paper);
  margin: 12px 0 14px;
}

.page-home .sec-head .body-text,
.page-home .cadence-head .body-text {
  margin: 0;
  color: var(--fog);
  font-size: 16px;
  line-height: 1.8;
}

/* ---------- 通道六组 ---------- */
.page-home .home-channels,
.page-home .home-v12,
.page-home .home-start,
.page-home .home-cadence,
.page-home .home-index {
  padding-block: var(--home-sec);
}

.page-home .home-v12,
.page-home .home-cadence {
  position: relative;
}

.page-home .home-v12::before,
.page-home .home-cadence::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148, 167, 184, 0.22), transparent);
}

.page-home .chan-figure {
  margin: 0 0 clamp(24px, 3.4vw, 40px);
  border-radius: var(--home-radius-card);
  overflow: hidden;
  border: 1px solid rgba(255, 138, 61, 0.22);
  background: linear-gradient(120deg, rgba(255, 138, 61, 0.08), rgba(11, 27, 43, 0) 70%);
}

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

.page-home .chan-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-home .chan-grid > li {
  display: flex;
}

.page-home .chan-cell {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 20px 22px;
  border-radius: var(--home-radius-card);
  border: 1px solid rgba(255, 138, 61, 0.2);
  background: linear-gradient(160deg, rgba(255, 138, 61, 0.07), rgba(11, 27, 43, 0.34));
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.page-home .chan-cell:hover,
.page-home .chan-cell:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 138, 61, 0.58);
  background: linear-gradient(160deg, rgba(255, 138, 61, 0.15), rgba(11, 27, 43, 0.34));
}

.page-home .chan-scene {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--paper);
}

.page-home .chan-count {
  margin-top: auto;
  padding-top: 18px;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--amber);
}

.page-home .chan-count .num {
  font-size: 17px;
  color: var(--orange);
}

/* ---------- 资料库 V12 ---------- */
.page-home .v12-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 38px);
}

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

.page-home .v12-card {
  position: relative;
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--home-radius-card);
  border: 1px solid rgba(34, 211, 238, 0.2);
  background: linear-gradient(100deg, rgba(34, 211, 238, 0.06), rgba(11, 27, 43, 0.32) 68%);
}

.page-home .v12-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 14px 0 10px;
}

.page-home .v12-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--fog);
}

.page-home .v12-side {
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: var(--radius-l);
  border: 1px solid var(--home-line);
  background: var(--panel-1);
}

.page-home .v12-figure {
  margin: 0 0 20px;
  border-radius: var(--home-radius-card);
  overflow: hidden;
  background: linear-gradient(150deg, rgba(34, 211, 238, 0.12), rgba(11, 27, 43, 0.4));
}

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

.page-home .v12-side-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.01em;
  color: var(--paper);
  margin: 0 0 6px;
}

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

.page-home .topic-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(148, 167, 184, 0.16);
  font-size: 15px;
  color: var(--paper);
}

.page-home .topic-list li:last-child {
  border-bottom: 0;
}

.page-home .topic-list .num {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--fog);
  white-space: nowrap;
}

/* ---------- 三步路径 ---------- */
.page-home .start-shell {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--home-line);
}

.page-home .start-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-home .start-inner {
  position: relative;
  padding: clamp(26px, 4vw, 58px);
  background: linear-gradient(180deg, rgba(11, 27, 43, 0.7), rgba(11, 27, 43, 0.95));
}

.page-home .start-lede {
  max-width: 58ch;
  margin: 0;
  color: var(--fog);
  font-size: 16px;
  line-height: 1.8;
}

.page-home .step-list {
  list-style: none;
  margin: clamp(24px, 3vw, 36px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .step {
  position: relative;
  padding: 22px 22px 24px;
  border-radius: var(--home-radius-card);
  border: 1px solid rgba(34, 211, 238, 0.24);
  background: rgba(18, 41, 63, 0.72);
}

.page-home .step-no {
  display: block;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  margin-bottom: 10px;
}

.page-home .step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
  color: var(--paper);
  margin: 0 0 8px;
}

.page-home .step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--fog);
}

.page-home .start-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3vw, 34px);
}

/* ---------- 更新节奏 ---------- */
.page-home .cadence-panel {
  border-radius: var(--radius-l);
  border: 1px solid rgba(34, 211, 238, 0.18);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(34, 211, 238, 0.08), transparent 58%),
    var(--panel-1);
  padding: clamp(24px, 4vw, 52px);
}

.page-home .cadence-head {
  max-width: 56ch;
  margin-bottom: clamp(26px, 3.6vw, 44px);
}

.page-home .cadence-track {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-home .cadence-point {
  position: relative;
}

.page-home .cadence-dot {
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--lime);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.page-home .cadence-point--end .cadence-dot {
  border-color: var(--cyan);
}

.page-home .cadence-label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--paper);
  margin-bottom: 8px;
}

.page-home .cadence-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--fog);
  max-width: 42ch;
}

/* ---------- 栏目索引浮岛 ---------- */
.page-home .index-island {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.page-home .index-pill {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 167, 184, 0.24);
  background: rgba(27, 58, 85, 0.55);
  color: var(--paper);
  text-decoration: none;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}

.page-home .index-pill:hover,
.page-home .index-pill:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(182, 255, 60, 0.62);
  background: rgba(27, 58, 85, 0.82);
}

.page-home .index-pill-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -0.01em;
}

.page-home .index-pill-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--fog);
}

.page-home .index-extra {
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: var(--fog);
}

.page-home .index-extra a {
  color: var(--fog);
  text-decoration: none;
  border-bottom: 1px solid rgba(148, 167, 184, 0.4);
  padding-bottom: 2px;
}

.page-home .index-extra a:hover,
.page-home .index-extra a:focus-visible {
  color: var(--cyan-mist);
  border-bottom-color: var(--cyan-mist);
}

/* ---------- 平板 ---------- */
@media (min-width: 640px) {
  .page-home .chan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .page-home .hero-foot {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

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

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

  .page-home .cadence-track::before {
    content: "";
    position: absolute;
    left: 7px;
    right: 7px;
    top: 7px;
    height: 1px;
    background: linear-gradient(90deg, var(--cyan), var(--lime) 52%, var(--cyan));
    opacity: 0.55;
  }

  .page-home .cadence-point {
    padding-right: clamp(18px, 2.6vw, 36px);
  }

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

/* ---------- 桌面 ---------- */
@media (min-width: 900px) {
  .page-home .hero-split {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: clamp(22px, 3vw, 44px);
  }

  .page-home .hero-axis {
    width: 2px;
    height: auto;
    align-self: stretch;
    background: repeating-linear-gradient(180deg,
      rgba(34, 211, 238, 0.7) 0 3px,
      rgba(34, 211, 238, 0) 3px 10px);
  }
}

@media (min-width: 960px) {
  .page-home .v12-layout {
    grid-template-columns: minmax(0, 1.58fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 1020px) {
  .page-home .chan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-home .chan-cell,
  .page-home .index-pill {
    transition: none;
  }

  .page-home .chan-cell:hover,
  .page-home .chan-cell:focus-visible,
  .page-home .index-pill:hover,
  .page-home .index-pill:focus-visible {
    transform: none;
  }
}
