.page-home {
  --home-beam: linear-gradient(90deg, rgba(242,181,68,0) 0%, rgba(242,181,68,.7) 38%, rgba(255,217,138,.95) 70%, rgba(242,181,68,.35) 100%);
  background: var(--bg);
  color: var(--paper);
  padding-bottom: 0;
}

.page-home .breadcrumb {
  padding-top: 18px;
}

.page-home .breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--mist);
}

.page-home .inline-link {
  color: var(--gold-soft);
  border-bottom: 1px solid var(--line-gold);
  text-decoration: none;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}

.page-home .inline-link:hover,
.page-home .inline-link:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

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

.page-home .hero-door {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 8vw, 92px) 0 clamp(36px, 6vw, 68px);
  border-bottom: 1px solid var(--line);
}

.page-home .hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.page-home .hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 12% 30%, rgba(242,181,68,.14) 0%, rgba(12,31,26,0) 55%),
    linear-gradient(180deg, rgba(12,31,26,.72) 0%, rgba(12,31,26,.9) 62%, var(--bg) 100%);
}

.page-home .hero-beam {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 17%;
  width: 68%;
  height: 5px;
  border-radius: 99px;
  background: var(--home-beam);
  box-shadow:
    0 0 42px 12px rgba(242,181,68,.26),
    0 0 130px 46px rgba(242,181,68,.11);
  animation: home-breathe 7s var(--ease) infinite;
}

@keyframes home-breathe {
  0%, 100% { opacity: .72; }
  50% { opacity: 1; }
}

.page-home .hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.page-home .hero-copy .kicker {
  display: inline-block;
  color: var(--gold);
}

.page-home .hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 10vw, 86px);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 14px 0 22px;
}

.page-home .hero-copy h1 em {
  display: block;
  font-style: normal;
  color: var(--gold);
}

.page-home .hero-lede {
  max-width: 44ch;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.78;
  color: rgba(245,240,230,.82);
  margin: 0 0 26px;
}

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

.page-home .hero-actions .btn {
  text-decoration: none;
}

.page-home .hero-steps {
  list-style: none;
  margin: 26px 0 0;
  padding: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  border-top: 1px dashed var(--line);
  font-size: 14px;
  color: rgba(245,240,230,.78);
}

.page-home .hero-steps li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.page-home .step-no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--cyan);
}

.page-home .hero-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.page-home .hero-side .kicker--vertical {
  color: var(--mist);
}

.page-home .hero-side .media-frame {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-gold);
}

.page-home .hero-side .media-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .side-caption {
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
  margin: 0;
  max-width: 40ch;
}

/* ---------- 联赛光带 ---------- */

.page-home .league-deck {
  padding: clamp(46px, 7vw, 84px) 0;
  background:
    linear-gradient(180deg, var(--hall) 0%, rgba(18,43,36,.6) 100%);
  border-bottom: 1px solid var(--line);
}

.page-home .section-head {
  max-width: 62ch;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.page-home .section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 4.6vw, 44px);
  line-height: 1.14;
  letter-spacing: -.015em;
  margin: 10px 0 14px;
}

.page-home .section-lede {
  font-size: 15px;
  line-height: 1.78;
  color: rgba(245,240,230,.78);
  margin: 0;
}

.page-home .league-caps {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
  gap: 10px;
}

.page-home .league-cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  background: var(--stand);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: border-color .16s var(--ease), transform .16s var(--ease);
}

.page-home .league-cap:hover {
  border-color: var(--line-gold);
  transform: translateY(-2px);
}

.page-home .league-cap.is-live {
  border-color: rgba(255,90,43,.46);
  box-shadow: inset 0 0 22px rgba(255,90,43,.12);
}

.page-home .cap-name {
  font-weight: 600;
}

.page-home .cap-time {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--cyan);
}

.page-home .league-cap.is-live .cap-time {
  color: var(--pulse);
}

.page-home .deck-note {
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
  margin: 0;
  max-width: 70ch;
}

/* ---------- 专家专栏便签 ---------- */

.page-home .notes-deck {
  padding: clamp(46px, 7vw, 84px) 0;
  border-bottom: 1px solid var(--line);
}

.page-home .notes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-home .note-card {
  position: relative;
  background: var(--stand);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  padding: 26px 20px 20px;
  box-shadow: 0 12px 28px rgba(6,18,14,.4);
}

.page-home .note-card::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 20px;
  width: 54px;
  height: 14px;
  border-radius: 2px;
  background: rgba(242,181,68,.3);
  transform: rotate(-3deg);
}

.page-home .note-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  margin: 14px 0 10px;
}

.page-home .note-card p {
  font-size: 14px;
  line-height: 1.78;
  color: rgba(245,240,230,.78);
  margin: 0 0 12px;
}

.page-home .note-card .tag {
  margin: 0;
}

.page-home .note-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--mist);
  margin: 0;
}

.page-home .notes-cta {
  display: inline-block;
  margin-top: 26px;
  text-decoration: none;
}

.page-home .notes-foot {
  font-size: 13px;
  line-height: 1.75;
  color: var(--mist);
  margin: 14px 0 0;
  max-width: 62ch;
}

/* ---------- 公告板 · 近三轮战绩 ---------- */

.page-home .board-panel {
  padding: clamp(46px, 7vw, 84px) 0;
  background: linear-gradient(180deg, rgba(30,62,52,.5) 0%, rgba(12,31,26,0) 100%);
  border-bottom: 1px solid var(--line);
}

.page-home .board-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-home .board-figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-gold);
  margin: 0;
}

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

.page-home .board-body h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 4.2vw, 40px);
  line-height: 1.16;
  letter-spacing: -.015em;
  margin: 10px 0 16px;
}

.page-home .board-body > p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(245,240,230,.78);
  margin: 0 0 22px;
  max-width: 64ch;
}

.page-home .ledger {
  border-top: 1px solid var(--line);
}

.page-home .ledger details {
  border-bottom: 1px solid var(--line);
}

.page-home .ledger summary {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 15px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  transition: color .16s var(--ease);
}

.page-home .ledger summary::-webkit-details-marker {
  display: none;
}

.page-home .ledger summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--gold);
}

.page-home .ledger details[open] summary {
  color: var(--gold-soft);
}

.page-home .ledger details[open] summary::after {
  content: "–";
}

.page-home .ledger summary:hover {
  color: var(--gold);
}

.page-home .ledger-body {
  margin: 0 0 18px 2px;
  padding-left: 15px;
  border-left: 2px solid var(--gold);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245,240,230,.76);
}

.page-home .board-foot {
  font-size: 13px;
  line-height: 1.75;
  color: var(--mist);
  margin: 18px 0 0;
}

/* ---------- 为什么从这扇门进 ---------- */

.page-home .why-door {
  padding: clamp(46px, 7vw, 84px) 0;
  border-bottom: 1px solid var(--line);
}

.page-home .why-grid {
  list-style: none;
  margin: 0 0 26px;
  padding: 1px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .why-cell {
  background: var(--bg);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .why-num {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3.6vw, 30px);
  letter-spacing: -.01em;
  color: var(--gold);
}

.page-home .why-label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
}

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

.page-home .why-text p {
  font-size: 15px;
  line-height: 1.82;
  color: rgba(245,240,230,.78);
  margin: 0;
  max-width: 72ch;
}

/* ---------- 咨询通道 ---------- */

.page-home .doorway {
  position: relative;
  overflow: hidden;
  padding: clamp(50px, 8vw, 96px) 0 clamp(56px, 8vw, 96px);
  background: var(--hall);
}

.page-home .doorway-bg {
  position: absolute;
  inset: 0;
}

.page-home .doorway-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
}

.page-home .doorway-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,43,36,.86) 0%, rgba(6,18,14,.94) 100%);
}

.page-home .doorway-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-home .doorway-copy h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 4.4vw, 40px);
  line-height: 1.16;
  letter-spacing: -.015em;
  margin: 10px 0 16px;
}

.page-home .doorway-copy p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(245,240,230,.8);
  margin: 0 0 24px;
  max-width: 58ch;
}

.page-home .doorway-copy .btn {
  text-decoration: none;
}

.page-home .contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  align-content: start;
}

.page-home .contact-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 15px 16px;
  background: rgba(30,62,52,.7);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-sm);
}

.page-home .contact-key {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--mist);
}

.page-home .copy-value {
  flex: 1 1 180px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--paper);
  word-break: break-word;
}

.page-home .copy-value--addr {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
}

.page-home .copy-btn {
  flex: 0 0 auto;
  cursor: pointer;
}

/* ---------- 桌面端 ---------- */

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 52px;
    align-items: end;
  }

  .page-home .hero-side {
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }

  .page-home .notes {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }

  .page-home .note-card:nth-child(2) {
    transform: translateY(22px);
  }

  .page-home .note-card:nth-child(3) {
    transform: translateY(44px);
  }

  .page-home .notes-cta {
    margin-top: 68px;
  }

  .page-home .board-grid {
    grid-template-columns: 5fr 7fr;
    gap: 44px;
    align-items: start;
  }

  .page-home .board-figure {
    position: sticky;
    top: 90px;
  }

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

  .page-home .why-text {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .page-home .doorway-inner {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .page-home {
    padding-left: var(--rail-w);
  }

  .page-home .hero-beam {
    top: 20%;
    width: 58%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-beam {
    animation: none;
    opacity: 1;
  }

  .page-home .league-cap:hover {
    transform: none;
  }
}
