.page-home {
  --home-hero-grad: radial-gradient(1100px 520px at 82% 8%, rgba(123, 44, 191, 0.45) 0%, rgba(255, 77, 109, 0.2) 46%, transparent 70%),
    linear-gradient(140deg, #0a1035 0%, #123a6b 58%, #0d2a55 100%);
  --home-chamfer: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

/* ---------- 首屏分屏 hero ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 0;
  background: var(--home-hero-grad);
  color: var(--jb-pearl);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 34%, rgba(245, 182, 66, 0.12) 34.5%, transparent 35%),
    linear-gradient(24deg, transparent 76%, rgba(255, 77, 109, 0.12) 76.5%, transparent 77%);
  pointer-events: none;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  align-items: center;
}

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

.page-home .home-hero .breadcrumbs {
  margin-bottom: 6px;
}

.page-home .home-hero .breadcrumbs a,
.page-home .home-hero .breadcrumbs span {
  color: rgba(248, 249, 250, 0.72);
}

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

.page-home .home-hero__title {
  margin: 16px 0 18px;
  font-family: var(--jb-font-display);
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.page-home .home-hero__title span {
  display: block;
  margin-top: 8px;
  font-size: 0.5em;
  letter-spacing: 0.1em;
  color: var(--jb-gold);
}

.page-home .home-hero__lead {
  font-family: var(--jb-font-body);
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(248, 249, 250, 0.82);
  margin: 0 0 28px;
}

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

.page-home .home-hero__visual {
  position: relative;
}

.page-home .home-hero__panel {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--jb-mid);
  clip-path: var(--home-chamfer);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.page-home .home-hero__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

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

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

.page-home .home-hero__badge {
  position: absolute;
  right: 24px;
  bottom: 24px;
  min-width: 84px;
  padding: 12px 16px;
  font-family: var(--jb-font-num);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  background: var(--jb-gold);
  color: var(--jb-deepest);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  filter: drop-shadow(0 10px 18px rgba(245, 182, 66, 0.35));
  transform: rotate(3deg);
}

.page-home .home-hero__stats {
  position: relative;
  z-index: 1;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(120deg, rgba(10, 16, 53, 0.5), rgba(18, 58, 107, 0.18));
}

.page-home .home-hero__stats-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.page-home .home-hero__stat {
  display: grid;
  gap: 4px;
  padding: 18px 12px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.page-home .home-hero__stat:nth-child(2n) {
  border-right: 0;
}

.page-home .home-hero__stat strong {
  font-family: var(--jb-font-num);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--jb-gold);
  line-height: 1;
}

.page-home .home-hero__stat span {
  font-size: 0.9rem;
  color: rgba(248, 249, 250, 0.66);
}

/* ---------- 核心变化速览 ---------- */
.page-home .home-changes,
.page-home .home-mobile,
.page-home .home-changelog {
  padding: 64px 0;
}

.page-home .home-changes {
  background: linear-gradient(180deg, var(--jb-deep) 0%, var(--jb-deepest) 100%);
  color: var(--jb-pearl);
}

.page-home .home-changes .eyebrow,
.page-home .home-mobile .eyebrow,
.page-home .home-changelog .eyebrow {
  color: var(--jb-gold);
}

.page-home .home-changes__head {
  display: grid;
  gap: 18px;
  margin-bottom: 36px;
}

.page-home .home-changes__head > p {
  font-family: var(--jb-font-body);
  line-height: 1.85;
  color: rgba(248, 249, 250, 0.72);
  max-width: 44em;
  margin: 0;
}

.page-home .home-changes__tabs {
  display: grid;
  gap: 20px;
}

.page-home .home-changes .tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
}

.page-home .home-changes .tab {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(248, 249, 250, 0.72);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--jb-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s var(--jb-ease-out), border-color 0.25s var(--jb-ease-out), color 0.25s var(--jb-ease-out);
}

.page-home .home-changes .tab:hover,
.page-home .home-changes .tab:focus-visible {
  border-color: var(--jb-gold);
  color: var(--jb-gold);
}

.page-home .home-changes .tab[aria-selected="true"] {
  background: var(--jb-gold);
  border-color: var(--jb-gold);
  color: var(--jb-deepest);
}

.page-home .home-changes .tab[aria-selected="true"]:hover {
  color: var(--jb-deepest);
}

.page-home .home-changes__panel {
  padding: 20px 20px 20px 24px;
  border-left: 3px solid var(--jb-gold);
  background: rgba(255, 255, 255, 0.04);
  max-width: 760px;
}

.page-home .home-changes__panel h3 {
  font-family: var(--jb-font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--jb-gold);
}

.page-home .home-changes__panel p {
  font-family: var(--jb-font-body);
  font-size: 0.98rem;
  line-height: 1.8;
  color: rgba(248, 249, 250, 0.78);
  margin: 0;
}

/* ---------- 分类导航 ---------- */
.page-home .home-cats {
  padding: 64px 0 72px;
  background: linear-gradient(180deg, var(--jb-pearl) 0%, #edf1f6 100%);
  color: var(--jb-ink);
}

.page-home .home-cats__head {
  display: grid;
  gap: 18px;
  margin-bottom: 32px;
}

.page-home .home-cats__head > p {
  max-width: 44em;
  font-family: var(--jb-font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--jb-sub);
  margin: 0;
}

.page-home .home-cats__visual {
  margin-bottom: 36px;
  overflow: hidden;
}

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

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

.page-home .home-cat-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid rgba(18, 58, 107, 0.14);
  border-radius: 999px;
  color: var(--jb-deep);
  font-family: var(--jb-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(10, 16, 53, 0.05);
  transition: transform 0.3s var(--jb-ease-out), box-shadow 0.3s var(--jb-ease-out), border-color 0.3s var(--jb-ease-out);
}

.page-home .home-cat-tag span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(123, 44, 191, 0.1);
  color: var(--jb-violet);
  font-family: var(--jb-font-num);
  font-size: 0.78rem;
  font-weight: 700;
}

.page-home .home-cat-tag:hover,
.page-home .home-cat-tag:focus-visible {
  border-color: var(--jb-gold);
  box-shadow: 0 10px 28px rgba(245, 182, 66, 0.26);
  transform: translateY(-2px);
  color: var(--jb-deepest);
}

/* ---------- 移动端活动中心 ---------- */
.page-home .home-mobile {
  background:
    radial-gradient(680px 400px at 12% 18%, rgba(123, 44, 191, 0.5) 0%, transparent 68%),
    linear-gradient(140deg, var(--jb-deepest) 0%, var(--jb-deep) 100%);
  color: var(--jb-pearl);
}

.page-home .home-mobile__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.page-home .home-mobile__figure {
  position: relative;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  transform: rotate(-2deg);
}

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

.page-home .home-mobile__chip {
  position: absolute;
  top: 20px;
  right: -4px;
  padding: 7px 14px 7px 16px;
  background: var(--jb-gold);
  color: var(--jb-deepest);
  font-family: var(--jb-font-display);
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 999px 0 0 999px;
  box-shadow: 0 6px 18px rgba(245, 182, 66, 0.35);
  transform: rotate(2deg);
}

.page-home .home-mobile__content > p {
  font-family: var(--jb-font-body);
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(248, 249, 250, 0.76);
  margin: 16px 0 0;
  max-width: 34em;
}

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

.page-home .home-mobile__points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--jb-font-display);
  font-size: 0.96rem;
  font-weight: 600;
  color: rgba(248, 249, 250, 0.9);
}

.page-home .home-mobile__points li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  background: var(--jb-gold);
  transform: rotate(45deg);
}

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

/* ---------- 历史版本说明 / 变更说明 ---------- */
.page-home .home-changelog {
  background:
    radial-gradient(560px 300px at 88% 10%, rgba(123, 44, 191, 0.35) 0%, transparent 70%),
    linear-gradient(160deg, var(--jb-deepest) 0%, #13264d 100%);
  color: var(--jb-pearl);
}

.page-home .home-changelog__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.page-home .home-changelog__media {
  position: relative;
  overflow: hidden;
  clip-path: var(--home-chamfer);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
}

.page-home .home-changelog__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(245, 182, 66, 0.45);
  pointer-events: none;
}

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

.page-home .home-changelog__content > p {
  font-family: var(--jb-font-body);
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(248, 249, 250, 0.76);
  margin: 16px 0 0;
  max-width: 38em;
}

.page-home .home-changelog__list {
  list-style: none;
  margin: 22px 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-changelog__list li {
  position: relative;
  padding-left: 28px;
  font-family: var(--jb-font-body);
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(248, 249, 250, 0.8);
}

.page-home .home-changelog__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 14px;
  height: 3px;
  background: var(--jb-gold);
  transform: skewX(-24deg);
}

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

.page-home .home-changelog__foot {
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
}

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

.page-home .home-changelog__foot p {
  font-family: var(--jb-font-body);
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(248, 249, 250, 0.64);
  max-width: 62em;
  margin: 0;
}

.page-home .home-changelog__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- 响应式断点 ---------- */
@media (min-width: 560px) {
  .page-home .home-cats__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 640px) {
  .page-home .home-cats__list {
    gap: 12px;
  }
}

@media (min-width: 760px) {
  .page-home .home-hero__stats-inner {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-home .home-hero__stat {
    border-bottom: 0;
  }
  .page-home .home-hero__stat:nth-child(2n) {
    border-right: 1px solid rgba(255, 255, 255, 0.07);
  }
  .page-home .home-hero__stat:nth-child(4n) {
    border-right: 0;
  }
}

@media (min-width: 900px) {
  .page-home .home-changes,
  .page-home .home-mobile,
  .page-home .home-changelog {
    padding: 88px 0;
  }
  .page-home .home-cats {
    padding: 88px 0 96px;
  }
  .page-home .home-hero {
    padding-top: 72px;
  }
  .page-home .home-hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    min-height: 560px;
  }
  .page-home .home-hero__lead {
    font-size: 1.08rem;
  }
  .page-home .home-changes__head {
    grid-template-columns: 1fr 1.4fr;
    align-items: end;
  }
  .page-home .home-changes__tabs {
    grid-template-columns: 300px 1fr;
    align-items: start;
    gap: 32px;
  }
  .page-home .home-changes .tablist {
    flex-direction: column;
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0;
    padding-right: 16px;
  }
  .page-home .home-changes__panel {
    margin-top: 0;
  }
  .page-home .home-cats__head {
    grid-template-columns: 1fr 1.2fr;
    align-items: end;
  }
  .page-home .home-cats__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  .page-home .home-mobile__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
  }
  .page-home .home-mobile__figure {
    padding: 22px;
  }
  .page-home .home-changelog__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
  }
  .page-home .home-changelog__foot-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero__panel,
  .page-home .home-cat-tag,
  .page-home .home-hero__badge {
    animation: none;
    transition: none;
    transform: none;
  }
}
