.page-home{
  --home-radius: var(--r-lg);
  --home-gap: clamp(16px, 2vw, 24px);
  --home-head-gap: clamp(34px, 4.4vw, 60px);
  background: var(--ink);
  color: var(--white);
  overflow-x: hidden;
}

.page-home [hidden]{
  display: none !important;
}

.page-home .home-head{
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 780px;
  margin-bottom: var(--home-head-gap);
}

.page-home .home-head > *{
  margin: 0;
}

/* ---------- 首屏 ---------- */

.page-home .home-hero{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(20px, 4vw, 52px)) 0 clamp(56px, 7vw, 104px);
  background:
    radial-gradient(1100px 560px at 82% -16%, rgba(0, 224, 198, .20), transparent 64%),
    radial-gradient(820px 480px at 4% 108%, rgba(255, 122, 41, .12), transparent 62%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
}

.page-home .home-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .032) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(90deg, rgba(20, 55, 92, .5) 0 1px, transparent 1px 96px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 88%);
  pointer-events: none;
}

.page-home .home-hero__glow{
  position: absolute;
  top: -120px;
  right: -80px;
  width: min(560px, 70vw);
  height: min(560px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 224, 198, .22), transparent 68%);
  filter: blur(6px);
  z-index: -1;
  pointer-events: none;
}

.page-home .home-context{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--haze);
}

.page-home .home-hero__title{
  margin: 0;
  max-width: 20ch;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 5.6vw, 60px);
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.page-home .home-hero__lead{
  margin: clamp(14px, 1.8vw, 22px) 0 0;
  max-width: 44ch;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(244, 247, 251, .78);
}

.page-home .home-hero__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.4vw, 40px);
  margin-top: clamp(30px, 4.4vw, 56px);
  align-items: start;
}

.page-home .home-rail{
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 2.4vw, 26px);
  background: rgba(12, 43, 74, .62);
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  backdrop-filter: blur(8px);
}

.page-home .home-rail .court-eyebrow{
  margin: 0;
}

.page-home .home-rail__pills{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .home-rail__btn{
  appearance: none;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  line-height: 1;
  padding: 11px 16px;
  color: var(--haze);
  background: rgba(20, 55, 92, .38);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  text-align: left;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.page-home .home-rail__btn:hover{
  color: var(--neon-soft);
  border-color: rgba(0, 224, 198, .38);
}

.page-home .home-rail__btn[aria-pressed="true"]{
  color: var(--ink-deep);
  background: var(--neon);
  border-color: var(--neon-soft);
  box-shadow: 0 0 0 1px rgba(0, 224, 198, .55), 0 12px 26px -14px rgba(0, 224, 198, .8);
}

.page-home .home-rail__hint{
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--haze);
}

.page-home .home-collage{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}

.page-home .home-tile{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.2vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  background: linear-gradient(158deg, rgba(12, 43, 74, .95), rgba(5, 26, 47, .94));
  box-shadow: var(--shadow-panel);
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.page-home .home-tile::after{
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 6px);
  pointer-events: none;
}

.page-home .home-tile:hover{
  transform: translateY(-4px);
  border-color: rgba(0, 224, 198, .45);
  box-shadow: 0 0 0 1px rgba(0, 224, 198, .22), 0 34px 70px -42px rgba(0, 224, 198, .6);
}

.page-home .home-tile--lg{
  padding: 0;
}

.page-home .home-tile__media{
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--home-radius) var(--home-radius) 0 0;
}

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

.page-home .home-tile__body{
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 28px);
}

.page-home .home-tile__body > *{
  margin: 0;
}

.page-home .home-tile__title{
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.35;
  color: var(--white);
}

.page-home .home-tile--md .home-tile__title{
  font-size: clamp(18px, 1.6vw, 21px);
}

.page-home .home-tile--sm .home-tile__title,
.page-home .home-tile--half .home-tile__title{
  font-size: 17px;
  line-height: 1.5;
}

.page-home .home-tile__text{
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--haze);
}

.page-home .home-tile__link{
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .03em;
  color: var(--neon);
  text-decoration: none;
  text-shadow: 0 0 10px rgba(0, 224, 198, .45);
}

.page-home .home-tile__link:hover{
  color: var(--neon-soft);
}

/* ---------- 快捷区 ---------- */

.page-home .home-flow{
  padding: clamp(72px, 9vw, 132px) 0;
  background: linear-gradient(180deg, var(--ink-deep) 0%, var(--ink) 100%);
}

.page-home .home-flow__grid{
  align-items: center;
}

.page-home .home-steps{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.6vw, 30px);
}

.page-home .home-steps__item{
  position: relative;
  padding-left: 62px;
}

.page-home .home-steps__item::before{
  content: "";
  position: absolute;
  left: 21px;
  top: 52px;
  bottom: -26px;
  width: 1px;
  background: linear-gradient(180deg, rgba(0, 224, 198, .5), transparent);
}

.page-home .home-steps__item:last-child::before{
  display: none;
}

.page-home .home-steps__num{
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--neon);
  background: rgba(0, 224, 198, .09);
  border: 1px solid rgba(0, 224, 198, .38);
  border-radius: var(--r-pill);
}

.page-home .home-steps__title{
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.4;
  color: var(--white);
}

.page-home .home-steps__text{
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--haze);
}

.page-home .court-note{
  margin-top: clamp(24px, 3vw, 34px);
}

.page-home .home-flow__media{
  margin-top: clamp(30px, 4vw, 8px);
}

.page-home .home-flow__media .court-media{
  aspect-ratio: 3 / 2;
  border-radius: var(--home-radius);
  overflow: hidden;
}

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

/* ---------- 版本对照 ---------- */

.page-home .home-compare{
  padding: clamp(72px, 9vw, 132px) 0;
}

.page-home .home-compare__grid{
  row-gap: clamp(24px, 3vw, 40px);
}

.page-home .home-compare__col{
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--home-radius);
  background: var(--white);
  border: 1px solid rgba(20, 55, 92, .16);
  box-shadow: 0 24px 56px -44px rgba(5, 26, 47, .55);
}

.page-home .home-compare__col--old{
  background: transparent;
  border-style: dashed;
  border-color: rgba(20, 55, 92, .3);
  box-shadow: none;
}

.page-home .home-compare__col .court-pill{
  align-self: flex-start;
}

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

.page-home .home-compare__list li{
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(14, 17, 22, .82);
}

.page-home .home-compare__list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--neon);
}

.page-home .home-compare__col--old .home-compare__list li::before{
  background: var(--haze);
}

.page-home .home-compare__media .court-media{
  aspect-ratio: 3 / 2;
  border-radius: var(--home-radius);
  overflow: hidden;
}

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

.page-home .home-compare__side{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.page-home .home-compare__side h3{
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2vw, 24px);
  color: var(--charcoal);
}

.page-home .home-compare__side p{
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(14, 17, 22, .74);
}

.page-home .home-compare__side .court-btn--ghost{
  border-color: rgba(5, 26, 47, .28);
  color: var(--charcoal);
}

.page-home .home-compare__side .court-btn--ghost:hover{
  border-color: rgba(5, 26, 47, .6);
}

/* ---------- 规模 ---------- */

.page-home .home-scale{
  padding: clamp(72px, 9vw, 132px) 0;
  background:
    radial-gradient(900px 460px at 10% 0%, rgba(0, 224, 198, .13), transparent 62%),
    var(--ink);
}

.page-home .home-scale__media{
  aspect-ratio: 16 / 9;
  border-radius: var(--home-radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

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

.page-home .home-stats{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  margin-top: clamp(26px, 3.4vw, 44px);
}

.page-home .home-stats .court-stat{
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(12, 43, 74, .55);
}

.page-home .home-stats .court-stat__value{
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: -.02em;
  color: var(--neon);
}

.page-home .home-stats .court-stat__label{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--haze);
}

.page-home .home-scale__note{
  max-width: 78ch;
  margin: clamp(24px, 3vw, 36px) 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--haze);
}

.page-home .home-scale__note a{
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 224, 198, .45);
}

.page-home .home-scale__note a:hover{
  color: var(--neon-soft);
}

/* ---------- 第一次来 ---------- */

.page-home .home-start{
  padding: clamp(72px, 9vw, 132px) 0;
}

.page-home .home-start .home-steps{
  max-width: 720px;
}

.page-home .home-steps--light .home-steps__num{
  color: #05706A;
  background: rgba(0, 224, 198, .14);
  border-color: rgba(5, 112, 106, .35);
}

.page-home .home-steps--light .home-steps__item::before{
  background: linear-gradient(180deg, rgba(5, 112, 106, .35), transparent);
}

.page-home .home-steps--light .home-steps__title{
  color: var(--charcoal);
}

.page-home .home-steps--light .home-steps__text{
  color: rgba(14, 17, 22, .74);
}

.page-home .home-start__actions{
  margin-top: clamp(28px, 3.6vw, 44px);
}

.page-home .home-start__actions .court-btn--ghost{
  border-color: rgba(5, 26, 47, .28);
  color: var(--charcoal);
}

.page-home .home-start__actions .court-btn--ghost:hover{
  border-color: rgba(5, 26, 47, .6);
}

/* ---------- 本周精选 ---------- */

.page-home .home-picks{
  padding: clamp(72px, 9vw, 132px) 0;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
}

.page-home .home-picks .court-filter{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .home-picks .court-filter__btn{
  appearance: none;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  padding: 10px 16px;
  color: var(--haze);
  background: rgba(20, 55, 92, .38);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.page-home .home-picks .court-filter__btn:hover{
  color: var(--neon-soft);
  border-color: rgba(0, 224, 198, .42);
}

.page-home .home-picks .court-filter__btn[aria-pressed="true"]{
  color: var(--ink-deep);
  background: var(--neon);
  border-color: var(--neon-soft);
  box-shadow: 0 0 0 1px rgba(0, 224, 198, .5);
}

.page-home .home-picks__grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(252px, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  margin-top: clamp(24px, 3vw, 36px);
}

.page-home .home-pick{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  background: rgba(12, 43, 74, .55);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.page-home .home-pick:hover{
  transform: translateY(-4px);
  border-color: rgba(0, 224, 198, .45);
  box-shadow: 0 26px 60px -40px rgba(0, 224, 198, .6);
}

.page-home .home-pick__meta{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--haze);
}

.page-home .home-pick__title{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.5;
  color: var(--white);
}

.page-home .home-pick__text{
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--haze);
}

.page-home .home-picks__more{
  margin-top: clamp(26px, 3.4vw, 42px);
}

/* ---------- 断点 ---------- */

@media (min-width: 760px){
  .page-home .home-collage{
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
  .page-home .home-tile--lg{
    grid-column: span 8;
  }
  .page-home .home-tile--md{
    grid-column: span 5;
  }
  .page-home .home-tile--sm{
    grid-column: span 3;
  }
  .page-home .home-tile--half{
    grid-column: span 4;
  }
}

@media (min-width: 1000px){
  .page-home .home-hero__grid{
    grid-template-columns: minmax(230px, 4fr) 8fr;
    gap: clamp(28px, 3.4vw, 48px);
  }
  .page-home .home-rail{
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
  .page-home .home-rail__pills{
    flex-direction: column;
    flex-wrap: nowrap;
  }
  .page-home .home-rail__btn{
    width: 100%;
    text-align: left;
  }
  .page-home .home-flow__media{
    margin-top: 0;
  }
}

@media (max-width: 759px){
  .page-home .home-hero__title{
    max-width: none;
  }
  .page-home .home-steps__item{
    padding-left: 56px;
  }
  .page-home .home-steps__num{
    width: 40px;
    height: 40px;
    font-size: 13px;
  }
  .page-home .home-steps__item::before{
    left: 19px;
    top: 48px;
  }
  .page-home .home-start__actions .court-btn,
  .page-home .home-picks__more .court-btn{
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce){
  .page-home .home-tile,
  .page-home .home-pick,
  .page-home .home-rail__btn{
    transition: opacity .2s ease;
  }
  .page-home .home-tile:hover,
  .page-home .home-pick:hover{
    transform: none;
  }
}
