.page-home {
  --home-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  background: var(--paper);
  color: var(--ink);
}

/* ========== 首屏：内容目录与本站定位 ========== */
.page-home .home-intro {
  padding: 24px 20px 20px;
  background:
    linear-gradient(180deg, rgba(11, 27, 58, 0.06), transparent 70%),
    var(--paper);
  border-bottom: 1px solid var(--steel);
}

.page-home .intro-core {
  display: grid;
  gap: 28px;
  max-width: var(--content-w);
  margin: 0 auto;
}

.page-home .intro-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 14px 5px 10px;
  background: linear-gradient(90deg, var(--neon-green), #4dffc2);
  color: var(--space-blue);
  transform: skewX(-6deg);
  border-radius: 0 8px 8px 0;
  margin: 0 0 14px;
}

.page-home .intro-heading h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-home .intro-lead {
  font-size: 16px;
  line-height: 1.8;
  max-width: 560px;
  color: var(--slate);
  margin: 0 0 18px;
}

.page-home .intro-lead em {
  font-style: italic;
  font-weight: 700;
  color: var(--space-blue);
  background: linear-gradient(transparent 65%, var(--mint) 65%);
  padding: 0 3px;
}

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

.page-home .intro-tags .tag {
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  color: var(--slate);
}

.page-home .intro-tags .tag-blue {
  border-color: rgba(11, 27, 58, 0.35);
  color: var(--space-blue);
  background: rgba(11, 27, 58, 0.06);
}

.page-home .intro-tags .tag-orange {
  border-color: rgba(255, 107, 53, 0.4);
  color: var(--vivid-orange);
  background: rgba(255, 107, 53, 0.08);
}

.page-home .intro-toc {
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  position: relative;
  align-self: start;
}

.page-home .intro-toc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 52px;
  height: 4px;
  background: var(--neon-green);
  transform: skewX(-20deg);
}

.page-home .toc-caption {
  margin: 0 0 12px;
  font-weight: 900;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 0.02em;
}

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

.page-home .toc-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid transparent;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.page-home .toc-list a:hover {
  border-color: var(--neon-green);
  background: var(--white);
  transform: translateX(3px);
}

.page-home .toc-index {
  font-family: var(--home-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--vivid-orange);
  background: rgba(255, 107, 53, 0.1);
  border-radius: 6px;
  padding: 3px 7px;
  line-height: 1;
}

.page-home .intro-strip {
  list-style: none;
  margin: 24px auto 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--steel);
  max-width: var(--content-w);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.page-home .intro-strip li {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 13px;
  color: var(--slate);
}

.page-home .intro-strip b {
  font-family: var(--home-mono);
  font-size: 20px;
  font-weight: 900;
  color: var(--space-blue);
  white-space: nowrap;
}

/* ========== 赛历中心 ========== */
.page-home .home-calendar {
  position: relative;
  background: var(--space-blue);
  color: var(--white);
  padding: 48px 0 56px;
  overflow: hidden;
}

.page-home .calendar-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-home .home-calendar .container {
  position: relative;
  z-index: 1;
}

.page-home .home-section-head {
  margin-bottom: 24px;
}

.page-home .home-section-head h2 {
  margin: 10px 0 6px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.page-home .section-sub {
  margin: 0;
  color: var(--slate);
  font-size: 15px;
  max-width: 620px;
}

.page-home .skin-dark h2 {
  color: var(--white);
}

.page-home .skin-dark .section-sub {
  color: rgba(255, 255, 255, 0.78);
}

.page-home .home-kicker {
  display: inline-block;
  background: var(--neon-green);
  color: var(--space-blue);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  padding: 5px 12px 5px 16px;
  transform: skewX(-6deg);
  border-radius: 0 8px 8px 0;
  margin: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.page-home .skin-dark .home-kicker {
  background: var(--neon-green);
  color: var(--space-blue);
}

.page-home .calendar-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 26px 0 30px;
}

.page-home .cal-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 16px 8px;
  text-align: center;
  backdrop-filter: blur(4px);
}

.page-home .cal-stat-num {
  display: block;
  font-family: var(--home-mono);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--neon-green);
  text-shadow: 0 0 18px rgba(0, 229, 160, 0.4);
  letter-spacing: -0.02em;
}

.page-home .cal-stat-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.page-home .calendar-sheet {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 16px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.06),
    0 20px 44px rgba(0, 0, 0, 0.24);
}

.page-home .calendar-sheet::before {
  content: "";
  display: block;
  height: 6px;
  margin: 0 0 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.35);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.35);
}

.page-home .calendar-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.page-home .cal-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.page-home .cal-tab:hover {
  border-color: var(--neon-green);
}

.page-home .cal-tab:focus-visible {
  outline: 2px solid var(--vivid-orange);
  outline-offset: 2px;
}

.page-home .cal-tab.is-active {
  background: var(--neon-green);
  border-color: var(--neon-green);
  color: var(--space-blue);
  font-weight: 700;
}

.page-home .league-mark {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.page-home .cal-panel {
  display: none;
  gap: 10px;
}

.page-home .cal-panel.is-active {
  display: grid;
}

.page-home .cal-match {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  grid-template-areas: "left main status";
  align-items: center;
  gap: 4px 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid var(--neon-green);
  border-radius: 10px;
  padding: 13px 14px;
  min-width: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page-home .cal-match:hover {
  border-color: rgba(0, 229, 160, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.page-home .cal-match-left {
  grid-area: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .cal-match-league {
  font-size: 15px;
  font-weight: 900;
  color: var(--neon-green);
  letter-spacing: 0.04em;
}

.page-home .cal-match-round {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.page-home .cal-match-main {
  grid-area: main;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .cal-match-teams {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .cal-match-time {
  font-family: var(--home-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.03em;
}

.page-home .cal-match-status {
  grid-area: status;
  justify-self: end;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid;
  white-space: nowrap;
}

.page-home .status-live {
  color: var(--neon-green);
  border-color: rgba(0, 229, 160, 0.5);
  background: rgba(0, 229, 160, 0.1);
}

.page-home .status-done {
  color: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.page-home .cal-note {
  margin: 18px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.page-home .cal-cta {
  margin-top: 18px;
}

.page-home .btn {
  border-radius: 999px;
}

.page-home .cal-cta .btn-primary {
  background: var(--neon-green);
  color: var(--space-blue);
  border-color: var(--neon-green);
}

/* ========== 必一客户端视频 ========== */
.page-home .home-video {
  padding: 48px 0;
  background: var(--paper);
}

.page-home .video-layout {
  display: grid;
  gap: 26px;
  margin-top: 28px;
}

.page-home .video-feature {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.page-home .video-media {
  position: relative;
  overflow: hidden;
  background: var(--space-blue);
}

.page-home .video-media img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .video-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(11, 27, 58, 0.78);
  border: 2px solid var(--neon-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-green);
  font-size: 16px;
  padding-left: 3px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.page-home .video-feature:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(11, 27, 58, 0.95);
}

.page-home .video-feature-meta {
  padding: 16px;
}

.page-home .video-feature-meta h3 {
  margin: 10px 0 6px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--ink);
}

.page-home .video-feature-meta p {
  margin: 0;
  font-size: 14px;
  color: var(--slate);
  line-height: 1.7;
}

.page-home .video-sidelist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .video-column-label {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vivid-orange);
  border-bottom: 2px solid rgba(255, 107, 53, 0.25);
  padding-bottom: 6px;
}

.page-home .video-entry {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  border-right: 4px solid var(--vivid-orange);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.page-home .video-entry:hover {
  transform: translateX(3px);
  border-color: var(--vivid-orange);
}

.page-home .entry-index {
  font-family: var(--home-mono);
  font-size: 17px;
  font-weight: 900;
  color: var(--vivid-orange);
  background: rgba(255, 107, 53, 0.1);
  border-radius: 8px;
  padding: 5px 8px;
  line-height: 1;
}

.page-home .entry-body h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.page-home .entry-tag {
  font-size: 12px;
  color: var(--slate);
  background: var(--paper);
  border: 1px solid var(--steel);
  border-radius: 999px;
  padding: 3px 9px;
}

.page-home .video-sidelist-cta {
  margin-top: 4px;
}

.page-home .home-video .btn-primary {
  background: var(--space-blue);
  color: var(--white);
  border-color: var(--space-blue);
}

/* ========== 老用户切换路径 ========== */
.page-home .home-olduser {
  padding: 48px 0;
  background: var(--white);
  border-top: 2px solid var(--steel);
  border-bottom: 2px solid var(--steel);
  position: relative;
  overflow: hidden;
}

.page-home .home-olduser::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 260px;
  height: 340px;
  background: linear-gradient(140deg, rgba(255, 107, 53, 0.16), rgba(255, 107, 53, 0.02));
  transform: skewX(-8deg);
  pointer-events: none;
}

.page-home .olduser-layout {
  position: relative;
  display: grid;
  gap: 32px;
}

.page-home .olduser-steps .home-section-head h2 {
  color: var(--ink);
}

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

.page-home .step {
  background: var(--paper);
  border: 1px solid var(--steel);
  border-left: 6px solid var(--vivid-orange);
  border-radius: var(--radius);
  padding: 16px;
}

.page-home .step-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.page-home .step-num {
  font-family: var(--home-mono);
  font-size: 20px;
  font-weight: 900;
  color: var(--vivid-orange);
  background: rgba(255, 107, 53, 0.12);
  border-radius: 8px;
  padding: 4px 9px;
  line-height: 1.2;
  flex: 0 0 auto;
}

.page-home .step-top h3 {
  margin: 0 0 3px;
  font-size: 16px;
  font-weight: 900;
  color: var(--ink);
}

.page-home .step-top p {
  margin: 0;
  font-size: 14px;
  color: var(--slate);
}

.page-home .step details {
  margin-top: 12px;
  border-top: 1px dashed var(--steel);
  padding-top: 8px;
}

.page-home .step summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.page-home .step summary::before {
  content: "+";
  display: inline-block;
  font-family: var(--home-mono);
  font-weight: 900;
  color: var(--vivid-orange);
  transition: transform 0.2s ease;
}

.page-home .step details[open] summary::before {
  content: "−";
}

.page-home .step details p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: 8px;
  padding: 12px;
}

.page-home .olduser-cta {
  margin-top: 4px;
}

.page-home .btn-orange {
  background: var(--vivid-orange);
  color: var(--white);
  border-color: var(--vivid-orange);
}

.page-home .olduser-figure {
  margin: 0;
  position: relative;
}

.page-home .olduser-figure::before {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 120px;
  height: 120px;
  background: var(--vivid-orange);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  z-index: 0;
}

.page-home .olduser-figure img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--steel);
  box-shadow: var(--shadow-lg);
}

/* ========== 数据能力概览 ========== */
.page-home .home-stats {
  position: relative;
  padding: 60px 0;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.page-home .stats-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}

.page-home .home-stats .container {
  position: relative;
  z-index: 1;
}

.page-home .home-stats .home-section-head {
  text-align: center;
}

.page-home .home-stats .section-sub {
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.7);
}

.page-home .home-stats .home-kicker {
  border-radius: 6px 6px 6px 0;
}

.page-home .stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 30px 0 34px;
}

.page-home .stat-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 22px 14px;
  text-align: center;
  backdrop-filter: blur(3px);
}

.page-home .stat-card-num {
  display: block;
  font-family: var(--home-mono);
  font-size: clamp(30px, 6vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--neon-green);
  text-shadow: 0 0 22px rgba(0, 229, 160, 0.35);
  letter-spacing: -0.02em;
}

.page-home .stat-card-label {
  display: block;
  margin-top: 7px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.page-home .stats-trust {
  max-width: 760px;
  margin: 0 auto 30px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.78);
  border-left: 4px solid var(--vivid-orange);
  padding: 14px 0 14px 20px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 12px 12px 0;
}

.page-home .stats-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.page-home .home-stats .btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.page-home .home-stats .btn-outline:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
}

/* ========== 首页底部收束 ========== */
.page-home .home-outro {
  background: var(--space-blue);
  color: var(--white);
  padding: 40px 0;
}

.page-home .outro-inner {
  display: grid;
  gap: 14px;
  text-align: center;
}

.page-home .outro-brand {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.page-home .outro-text {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.page-home .outro-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-top: 6px;
}

.page-home .outro-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .outro-links a:hover {
  color: var(--neon-green);
  border-bottom-color: var(--neon-green);
}

.page-home .dot-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--neon-green);
  flex: 0 0 auto;
}

/* ========== 响应式 ========== */
@media (min-width: 760px) {
  .page-home .home-intro {
    padding: 36px 32px 28px;
  }

  .page-home .intro-strip {
    grid-template-columns: repeat(4, auto);
    column-gap: 34px;
    justify-content: start;
  }

  .page-home .intro-strip li {
    gap: 9px;
  }

  .page-home .calendar-stats {
    gap: 16px;
  }

  .page-home .cal-stat {
    padding: 22px 12px;
  }

  .page-home .cal-panel {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .cal-match {
    padding: 16px 18px;
  }

  .page-home .cal-match-teams {
    font-size: 16px;
  }
}

@media (min-width: 900px) {
  .page-home .intro-core {
    grid-template-columns: 1.22fr 0.78fr;
    gap: 40px;
    align-items: center;
  }

  .page-home .intro-heading h1 {
    font-size: clamp(38px, 4.5vw, 54px);
  }

  .page-home .intro-lead {
    font-size: 17px;
  }

  .page-home .video-layout {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
    gap: 30px;
  }

  .page-home .video-sidelist {
    padding-top: 0;
  }

  .page-home .olduser-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 44px;
    align-items: center;
  }

  .page-home .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  .page-home .stat-card {
    padding: 28px 18px;
  }
}

@media (min-width: 1080px) {
  .page-home .calendar-stats {
    gap: 22px;
  }

  .page-home .calendar-sheet {
    padding: 22px;
  }

  .page-home .cal-panel {
    gap: 14px;
  }
}

/* ========== 动效降级 ========== */
@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
