.page-home {
  --home-ink-soft: #3A4756;
  --home-slate: #5F7896;
  --home-hair: rgba(15, 21, 29, .1);
}

.page-home a:focus-visible,
.page-home [tabindex]:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- 通用小件 ---------- */
.page-home .section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 8px clamp(14px, 2.4vw, 34px);
  margin-bottom: clamp(30px, 4.5vw, 54px);
}

.page-home .head-text {
  display: grid;
  gap: 6px;
}

.page-home .head-text h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3.4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink);
}

.page-home .head-note {
  margin: 0;
  max-width: 48ch;
  font-size: .9375rem;
  line-height: 1.74;
  color: var(--home-ink-soft);
}

.page-home .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--horn-deep);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.page-home .link-arrow::after {
  content: "→";
  transition: transform var(--dur) var(--ease);
}

.page-home .link-arrow:hover,
.page-home .link-arrow:focus-visible {
  color: var(--ink);
}

.page-home .link-arrow:hover::after,
.page-home .link-arrow:focus-visible::after {
  transform: translateX(4px);
}

.page-home .link-arrow-dark {
  color: var(--horn-lite);
}

.page-home .link-arrow-dark:hover,
.page-home .link-arrow-dark:focus-visible {
  color: var(--lime);
}

/* ---------- 首屏分屏 ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  background-color: var(--silver);
  background-image:
    radial-gradient(90% 70% at 6% 0%, #F7F9FB 0%, rgba(247, 249, 251, 0) 62%),
    radial-gradient(70% 70% at 104% 100%, rgba(192, 138, 62, .18) 0%, rgba(192, 138, 62, 0) 72%);
}

.page-home .hero-shell {
  display: grid;
  gap: clamp(30px, 6vw, 52px);
  padding-block: clamp(34px, 8vw, 62px) clamp(48px, 9vw, 88px);
}

.page-home .hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin: 0 0 18px;
}

.page-home .hero-context {
  font-family: var(--mono);
  font-size: .8125rem;
  letter-spacing: .1em;
  color: var(--home-slate);
}

.page-home .hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.3rem, 6.6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--ink);
}

.page-home .hero h1 .hl {
  color: var(--horn-deep);
}

.page-home .hero-lead {
  max-width: 36ch;
  margin: 0 0 26px;
  font-size: clamp(1rem, 1.5vw, 1.0625rem);
  line-height: 1.78;
  color: var(--home-ink-soft);
}

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

.page-home .hero-count {
  display: inline-block;
}

.page-home .count-chip {
  position: relative;
  cursor: help;
}

.page-home .count-tip {
  position: absolute;
  left: 0;
  bottom: calc(100% + 12px);
  width: max-content;
  max-width: min(78vw, 268px);
  padding: 9px 13px;
  border-radius: var(--radius);
  background: var(--table);
  color: var(--silver);
  font-size: .8125rem;
  line-height: 1.55;
  letter-spacing: .02em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
  z-index: 6;
}

.page-home .count-chip:hover .count-tip,
.page-home .count-chip:focus-visible .count-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-home .hero-visual {
  position: relative;
  isolation: isolate;
}

.page-home .hero-visual::before {
  content: "";
  position: absolute;
  inset: -8% -6% -10% 8%;
  border-radius: 50% 42% 46% 50%;
  background: conic-gradient(from 148deg,
      rgba(192, 138, 62, .42),
      rgba(184, 255, 60, .28),
      rgba(169, 180, 192, .2),
      rgba(192, 138, 62, .42));
  filter: blur(34px);
  z-index: -1;
}

.page-home .hero-shot {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%, 0 10%);
  box-shadow: var(--shadow-2);
}

/* ---------- 三类玩法 ---------- */
.page-home .plays {
  background: var(--card);
  padding-block: clamp(60px, 9vw, 124px);
}

.page-home .play-banner {
  margin: 0 0 clamp(26px, 4vw, 42px);
}

.page-home .play-grid {
  display: grid;
  gap: 18px;
}

.page-home .play-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  padding: 26px 22px 24px;
  border-top: 3px solid var(--horn);
}

.page-home .play-card:nth-child(2) {
  border-top-color: var(--rule-blue);
}

.page-home .play-card:nth-child(3) {
  border-top-color: var(--lime-deep);
}

.page-home .play-index {
  margin: 0;
  font-family: var(--mono);
  font-size: .8125rem;
  letter-spacing: .16em;
  color: var(--home-slate);
}

.page-home .play-card h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--ink);
}

.page-home .play-line {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--home-ink-soft);
}

.page-home .play-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 6px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--home-hair);
}

.page-home .play-meta .pm {
  display: grid;
  gap: 3px;
}

.page-home .play-meta dt {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .12em;
  color: var(--home-slate);
}

.page-home .play-meta dd {
  margin: 0;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--ink);
}

.page-home .play-more {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.74;
  color: var(--home-ink-soft);
}

.page-home .play-card .link-arrow {
  margin-top: auto;
  padding-top: 14px;
}

@media (hover: hover) and (min-width: 760px) {
  .page-home .play-more {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 200ms var(--ease), opacity 160ms var(--ease);
  }

  .page-home .play-card:hover .play-more,
  .page-home .play-card:focus-within .play-more {
    max-height: 10em;
    opacity: 1;
  }

  .page-home .play-card:hover,
  .page-home .play-card:focus-within {
    border-top-color: var(--lime-deep);
  }
}

/* ---------- 规则速览 ---------- */
.page-home .rule-belt {
  background: var(--silver);
  padding-block: clamp(60px, 9vw, 124px);
}

.page-home .rule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--home-hair);
}

.page-home .rule-list > li {
  display: grid;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid var(--home-hair);
}

.page-home .rule-no {
  font-family: var(--mono);
  font-size: .8125rem;
  letter-spacing: .14em;
  color: var(--horn);
}

.page-home .rule-list h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--ink);
}

.page-home .rule-list p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.76;
  color: var(--home-ink-soft);
}

.page-home .rule-cta {
  margin: clamp(28px, 4vw, 44px) 0 0;
}

/* ---------- 战绩锚点 ---------- */
.page-home .record {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--table);
  color: var(--silver);
  padding-block: clamp(68px, 10vw, 144px);
}

.page-home .record-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .24;
  filter: blur(2px) saturate(1.15);
  z-index: -1;
}

.page-home .record::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(72% 62% at 10% 18%, rgba(192, 138, 62, .26), rgba(192, 138, 62, 0) 70%),
    radial-gradient(60% 60% at 96% 90%, rgba(184, 255, 60, .14), rgba(184, 255, 60, 0) 72%),
    linear-gradient(180deg, rgba(15, 21, 29, .74), rgba(15, 21, 29, .95));
  z-index: -1;
}

.page-home .record .exhibit-tag {
  color: var(--lime);
}

.page-home .record .head-text h2 {
  color: var(--silver);
}

.page-home .record .head-note {
  color: rgba(233, 237, 242, .74);
}

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

.page-home .record-card {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 24px 21px;
}

.page-home .record-label {
  margin: 0;
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .18em;
  color: var(--mist);
}

.page-home .record-card .stat-num {
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  line-height: 1;
  color: var(--horn-lite);
}

.page-home .record-card .stat-num span {
  margin-left: 6px;
  font-size: .875rem;
  letter-spacing: .04em;
  color: var(--mist);
}

.page-home .record-desc {
  margin: 0;
  font-size: .875rem;
  line-height: 1.72;
  color: rgba(233, 237, 242, .74);
}

.page-home .record-foot {
  margin: clamp(26px, 4vw, 40px) 0 0;
}

/* ---------- 新手三步 ---------- */
.page-home .start {
  background: var(--card);
  padding-block: clamp(60px, 9vw, 124px);
}

.page-home .steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  counter-reset: step;
}

.page-home .step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 24px 26px;
  background: var(--silver);
  border-radius: var(--radius);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  transition: transform 180ms var(--ease), background-color 180ms var(--ease);
}

.page-home .step:hover,
.page-home .step:focus-within {
  transform: translateY(-2px);
}

.page-home .step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--horn), var(--lime));
}

.page-home .step-no {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .16em;
  color: var(--home-slate);
}

.page-home .step h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2.1vw, 1.3rem);
  font-weight: 900;
  color: var(--ink);
}

.page-home .step p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.76;
  color: var(--home-ink-soft);
}

.page-home .step .link-arrow {
  margin-top: auto;
  padding-top: 12px;
}

/* ---------- 专栏最新 ---------- */
.page-home .latest {
  background: var(--silver);
  padding-block: clamp(60px, 9vw, 124px);
}

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

.page-home .post {
  display: grid;
  gap: 8px;
  padding: 24px 2px;
  border-top: 1px solid var(--home-hair);
  transition: background-color 160ms var(--ease);
}

.page-home .post:last-child {
  border-bottom: 1px solid var(--home-hair);
}

.page-home .post:hover {
  background-color: rgba(247, 249, 251, .85);
}

.page-home .post-when {
  margin: 0;
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .12em;
  color: var(--home-slate);
}

.page-home .post-body {
  display: grid;
  gap: 6px;
}

.page-home .post-body h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.45;
}

.page-home .post-body h3 a {
  color: var(--ink);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.page-home .post-body h3 a:hover,
.page-home .post-body h3 a:focus-visible {
  color: var(--horn-deep);
}

.page-home .post-body p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.74;
  color: var(--home-ink-soft);
}

/* ---------- 安静收尾 ---------- */
.page-home .closing {
  background-color: var(--silver);
  background-image:
    radial-gradient(80% 90% at 100% 0%, rgba(184, 255, 60, .16), rgba(184, 255, 60, 0) 62%),
    radial-gradient(70% 80% at 0% 100%, rgba(192, 138, 62, .14), rgba(192, 138, 62, 0) 66%);
  padding-block: clamp(60px, 9vw, 132px);
}

.page-home .closing-shell {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.page-home .closing-copy h2 {
  margin: 8px 0 16px;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -.01em;
  color: var(--ink);
}

.page-home .closing-copy p {
  margin: 0 0 14px;
  max-width: 46ch;
  font-size: .9375rem;
  line-height: 1.8;
  color: var(--home-ink-soft);
}

.page-home .closing-note {
  font-size: .875rem;
  color: var(--home-slate);
}

.page-home .closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(18px, 3vw, 28px);
}

.page-home .closing-media {
  margin: 0;
  border-radius: var(--radius);
  clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%);
}

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

  .page-home .post {
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 6px 32px;
    align-items: start;
    padding: 28px 6px;
  }
}

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

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

@media (min-width: 860px) {
  .page-home .rule-list > li {
    grid-template-columns: 84px minmax(0, 250px) minmax(0, 1fr);
    align-items: baseline;
    gap: 24px;
    padding: 30px 0;
  }

  .page-home .rule-no {
    font-size: 1.6rem;
    letter-spacing: .08em;
  }

  .page-home .rule-list p {
    max-width: 62ch;
  }
}

@media (min-width: 960px) {
  .page-home .hero-shell {
    grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
    align-items: center;
    gap: clamp(40px, 5vw, 88px);
    padding-block: clamp(60px, 7vw, 108px) clamp(76px, 9vw, 136px);
  }

  .page-home .hero-shot {
    max-height: 620px;
  }

  .page-home .closing-shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  }
}

@media (min-width: 1040px) {
  .page-home .record-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .step,
  .page-home .post,
  .page-home .link-arrow::after,
  .page-home .count-tip {
    transition: none;
  }

  .page-home .step:hover,
  .page-home .step:focus-within {
    transform: none;
  }
}
