.page-home {
  --ph-cut: 18px;
  --ph-cut-sm: 12px;
  position: relative;
  overflow-x: clip;
  padding-bottom: 40px;
}

.page-home .yw-breadcrumb {
  padding: 22px 0 6px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--yw-muted);
}

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

/* ---------- 首屏框景 ---------- */
.page-home .home-hero {
  padding: 14px 0 68px;
}

.page-home .home-frame {
  padding: 1px;
  background: linear-gradient(140deg, rgba(29, 229, 255, 0.8), rgba(138, 92, 255, 0.5) 44%, rgba(42, 58, 92, 0.9));
  clip-path: polygon(0 22px, 22px 0, calc(100% - 52px) 0, 100% 52px, 100% 100%, 0 100%);
}

.page-home .home-frame__inner {
  position: relative;
  padding: 34px 20px 36px;
  background:
    radial-gradient(115% 85% at 8% 0%, rgba(29, 229, 255, 0.13), transparent 56%),
    radial-gradient(90% 80% at 100% 100%, rgba(138, 92, 255, 0.18), transparent 62%),
    var(--yw-panel);
  clip-path: polygon(0 22px, 22px 0, calc(100% - 52px) 0, 100% 52px, 100% 100%, 0 100%);
  overflow: hidden;
}

.page-home .home-frame__inner::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 52px;
  top: 0;
  height: 9px;
  background: repeating-linear-gradient(90deg, rgba(29, 229, 255, 0.55) 0 1px, transparent 1px 24px);
  pointer-events: none;
}

.page-home .home-frame__inner::after {
  content: "";
  position: absolute;
  right: 0;
  top: 52px;
  width: 9px;
  height: 180px;
  background: repeating-linear-gradient(180deg, rgba(245, 192, 74, 0.5) 0 1px, transparent 1px 20px);
  pointer-events: none;
}

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

.page-home .home-hero h1 {
  margin: 14px 0 0;
  font-size: clamp(2.05rem, 8.4vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--yw-text);
  max-width: 16ch;
}

.page-home .home-hero h1 span {
  display: block;
  color: var(--yw-cyan);
  text-shadow: 0 0 26px rgba(29, 229, 255, 0.35);
}

.page-home .home-hero__lede {
  margin: 20px 0 0;
  max-width: 42ch;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--yw-muted);
}

.page-home .home-hero__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 30px;
}

.page-home .home-entry {
  position: relative;
  padding: 22px 20px 20px;
  background: var(--yw-card);
  box-shadow: inset 0 0 0 1px var(--yw-line);
  clip-path: polygon(0 0, calc(100% - var(--ph-cut)) 0, 100% var(--ph-cut), 100% 100%, 0 100%);
  transition: box-shadow 0.35s var(--yw-ease), transform 0.35s var(--yw-ease);
}

.page-home .home-entry:hover {
  box-shadow: inset 0 0 0 1px var(--yw-gold), 0 18px 40px rgba(5, 7, 14, 0.6);
  transform: translateY(-3px);
}

.page-home .home-entry--ghost {
  background: linear-gradient(160deg, rgba(16, 26, 49, 0.85), rgba(11, 17, 32, 0.95));
}

.page-home .home-entry__tag {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--yw-violet);
}

.page-home .home-entry--ghost .home-entry__tag {
  color: var(--yw-cyan);
}

.page-home .home-entry__title {
  margin: 10px 0 0;
  font-size: 1.22rem;
  line-height: 1.35;
  color: var(--yw-text);
}

.page-home .home-entry__text {
  margin: 10px 0 18px;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--yw-muted);
}

.page-home .home-entry__btn {
  display: inline-block;
}

.page-home .home-hero__media {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .home-hero__media::before {
  content: "";
  position: absolute;
  inset: -18% -26%;
  background: linear-gradient(104deg, transparent 40%, rgba(29, 229, 255, 0.2) 48%, rgba(138, 92, 255, 0.22) 54%, transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  background: var(--yw-panel);
  box-shadow: inset 0 0 0 1px var(--yw-line);
}

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

.page-home .home-figure--hero img {
  aspect-ratio: 4 / 3;
  filter: saturate(1.05) contrast(1.05);
}

.page-home .home-hero__caption {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--yw-muted);
  text-align: right;
}

/* ---------- 章节标题通用 ---------- */
.page-home .home-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 18px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--yw-line);
}

.page-home .home-head__text h2 {
  margin: 0;
  font-size: clamp(1.6rem, 5.4vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--yw-text);
}

.page-home .home-head__text p {
  margin: 12px 0 0;
  max-width: 46ch;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--yw-muted);
}

/* ---------- 更新记录 ---------- */
.page-home .home-updates {
  padding: 40px 0 56px;
}

.page-home .home-banner {
  margin: 0 0 26px;
  overflow: hidden;
  background: var(--yw-panel);
  box-shadow: inset 0 0 0 1px var(--yw-line);
  clip-path: polygon(0 0, calc(100% - var(--ph-cut)) 0, 100% var(--ph-cut), 100% 100%, 0 100%);
}

.page-home .home-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 14 / 6;
  object-fit: cover;
  opacity: 0.78;
}

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

.page-home .home-log__item details {
  background: var(--yw-card);
  box-shadow: inset 0 0 0 1px var(--yw-line);
  border-left: 3px solid var(--yw-cyan);
  transition: border-color 0.35s var(--yw-ease);
}

.page-home .home-log__item details[open] {
  border-left-color: var(--yw-gold);
}

.page-home .home-log__item summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 18px;
  cursor: pointer;
  list-style: none;
}

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

.page-home .home-log__no {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--yw-cyan);
  border: 1px solid rgba(29, 229, 255, 0.4);
  padding: 3px 8px;
}

.page-home .home-log__title {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--yw-text);
}

.page-home .home-log__meta {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--yw-muted);
  white-space: nowrap;
}

.page-home .home-log__body {
  padding: 0 18px 20px;
  border-top: 1px solid rgba(42, 58, 92, 0.6);
}

.page-home .home-log__body p {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--yw-muted);
}

/* ---------- 对局补看 ---------- */
.page-home .home-replay {
  padding: 20px 0 56px;
}

.page-home .home-replay__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}

.page-home .home-figure--replay {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--ph-cut)), calc(100% - var(--ph-cut)) 100%, 0 100%);
}

.page-home .home-figure--replay img {
  aspect-ratio: 8 / 5;
}

.page-home .home-replay__body h2 {
  margin: 10px 0 0;
  font-size: clamp(1.5rem, 5vw, 2.15rem);
  line-height: 1.2;
  color: var(--yw-text);
}

.page-home .home-replay__body > p {
  margin: 14px 0 24px;
  max-width: 44ch;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--yw-muted);
}

.page-home .home-schedule {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-home .home-schedule li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 13px 14px;
  background: linear-gradient(90deg, rgba(29, 229, 255, 0.09), rgba(16, 26, 49, 0.5) 62%, transparent);
  border-bottom: 1px solid var(--yw-line);
}

.page-home .home-schedule__when {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--yw-cyan);
  min-width: 76px;
}

.page-home .home-schedule__what {
  flex: 1 1 160px;
  font-size: 0.94rem;
  color: var(--yw-text);
}

.page-home .home-schedule__tag {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--yw-gold);
  border: 1px solid rgba(245, 192, 74, 0.45);
  padding: 3px 9px;
}

.page-home .home-replay__btn {
  display: inline-block;
}

/* ---------- 赛区快选 ---------- */
.page-home .home-regions {
  padding: 32px 0 56px;
}

.page-home .home-figure--regions {
  margin-bottom: 24px;
  clip-path: polygon(var(--ph-cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--ph-cut));
}

.page-home .home-figure--regions img {
  aspect-ratio: 16 / 7;
}

.page-home .home-figure--regions .yw-media__caption {
  display: block;
  padding: 12px 16px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--yw-muted);
  border-top: 1px solid var(--yw-line);
}

.page-home .home-regions__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.page-home .home-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .home-tags li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  font-size: 0.9rem;
  color: var(--yw-text);
  background: rgba(16, 26, 49, 0.75);
  box-shadow: inset 0 0 0 1px var(--yw-line);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: box-shadow 0.3s var(--yw-ease), background 0.3s var(--yw-ease);
}

.page-home .home-tags li:hover {
  box-shadow: inset 0 0 0 1px var(--yw-gold);
  background: rgba(245, 192, 74, 0.08);
}

.page-home .home-tags .yw-mono {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--yw-violet);
}

/* ---------- 服务档位 ---------- */
.page-home .home-plans {
  padding: 32px 0 56px;
}

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

.page-home .home-plan {
  position: relative;
  padding: 24px 20px;
  background: var(--yw-card);
  box-shadow: inset 0 0 0 1px var(--yw-line);
  clip-path: polygon(0 0, calc(100% - var(--ph-cut)) 0, 100% var(--ph-cut), 100% 100%, 0 100%);
}

.page-home .home-plan--feature {
  background:
    linear-gradient(180deg, rgba(138, 92, 255, 0.16), transparent 42%),
    var(--yw-card);
  box-shadow: inset 0 0 0 1px rgba(138, 92, 255, 0.55);
}

.page-home .home-plan--feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 58%;
  height: 2px;
  background: linear-gradient(90deg, var(--yw-cyan), var(--yw-magenta));
}

.page-home .home-plan__name {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--yw-cyan);
}

.page-home .home-plan__list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
}

.page-home .home-plan__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(42, 58, 92, 0.7);
  font-size: 0.92rem;
  color: var(--yw-muted);
}

.page-home .home-plan__list strong {
  font-weight: 600;
  color: var(--yw-text);
}

.page-home .home-plan__fit {
  margin: 16px 0 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--yw-muted);
}

.page-home .home-plans__more {
  display: inline-block;
  margin-top: 26px;
}

/* ---------- 开场四问 ---------- */
.page-home .home-faq {
  padding: 32px 0 56px;
}

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

.page-home .home-qa {
  padding: 22px 20px;
  background: linear-gradient(155deg, rgba(16, 26, 49, 0.9), rgba(11, 17, 32, 0.92));
  box-shadow: inset 0 0 0 1px var(--yw-line);
  border-top: 2px solid rgba(29, 229, 255, 0.5);
  transition: border-color 0.35s var(--yw-ease), transform 0.35s var(--yw-ease);
}

.page-home .home-qa:hover {
  border-top-color: var(--yw-gold);
  transform: translateY(-3px);
}

.page-home .home-qa h3 {
  margin: 0 0 10px;
  font-size: 1.06rem;
  line-height: 1.45;
  color: var(--yw-text);
}

.page-home .home-qa p {
  margin: 0 0 14px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--yw-muted);
}

.page-home .home-qa__link {
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--yw-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(29, 229, 255, 0.4);
  padding-bottom: 2px;
  transition: color 0.3s var(--yw-ease), border-color 0.3s var(--yw-ease);
}

.page-home .home-qa__link::after {
  content: " →";
  transition: transform 0.3s var(--yw-ease);
}

.page-home .home-qa__link:hover {
  color: var(--yw-gold);
  border-color: var(--yw-gold);
}

/* ---------- 收尾品牌条 ---------- */
.page-home .home-brandbar {
  padding: 0 0 40px;
}

.page-home .home-brandbar__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
  padding: 26px 20px;
  background:
    radial-gradient(90% 140% at 0% 0%, rgba(29, 229, 255, 0.12), transparent 60%),
    var(--yw-panel);
  border-top: 1px solid var(--yw-line);
  border-bottom: 1px solid var(--yw-line);
}

.page-home .home-brandbar__text {
  margin: 0;
  max-width: 62ch;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--yw-muted);
}

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

.page-home .home-totop {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--yw-cyan);
  background: rgba(11, 17, 32, 0.92);
  box-shadow: inset 0 0 0 1px rgba(29, 229, 255, 0.5);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  text-decoration: none;
  transition: color 0.3s var(--yw-ease), box-shadow 0.3s var(--yw-ease);
}

.page-home .home-totop:hover {
  color: var(--yw-gold);
  box-shadow: inset 0 0 0 1px var(--yw-gold);
}

/* ---------- 滚动进入 ---------- */
.page-home .yw-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s var(--yw-ease), transform 0.45s var(--yw-ease);
}

.page-home .yw-reveal[data-reveal="on"] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .page-home .yw-reveal {
    transform: none;
    transition: opacity 0.3s linear;
  }
  .page-home .home-entry,
  .page-home .home-qa {
    transition: none;
  }
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-home .home-frame__inner {
    padding: 48px 40px 52px;
  }

  .page-home .home-hero__cards {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .home-faq__grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .page-home .home-brandbar__inner {
    grid-template-columns: 1fr auto;
    padding: 30px 32px;
  }

  .page-home .home-totop {
    right: 28px;
    bottom: 28px;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 52px;
    align-items: start;
  }

  .page-home .home-replay__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: center;
  }

  .page-home .home-head {
    gap: 22px;
  }

  .page-home .home-figure--hero img {
    aspect-ratio: 4 / 3.4;
  }

  .page-home .home-tags li {
    padding: 11px 18px;
  }
}

@media (min-width: 1240px) {
  .page-home .home-frame__inner {
    padding: 56px 52px 60px;
  }

  .page-home .home-hero h1 {
    max-width: 14ch;
  }
}
