.page-home {
  --home-red: #E8362D;
  --home-yellow: #F7B500;
  --home-blue: #1F80FF;
  --home-black: #0D0D0D;
  --home-panel: #1A1A1A;
  --home-line: #2F2F2F;
  --home-white: #FFFFFF;
  --home-gray: #B0B0B0;
  --home-font-head: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --home-font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --home-font-mono: "Roboto Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  background: var(--home-black);
  color: var(--home-white);
  overflow-x: hidden;
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home .container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-home .lead {
  font-family: var(--home-font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--home-gray);
  margin: 12px 0 0;
  max-width: 720px;
}

/* ===== 首屏封面专题区 ===== */
.page-home__cover {
  position: relative;
  padding: 96px 20px 80px;
  overflow: hidden;
  isolation: isolate;
}

.page-home__cover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(120deg, rgba(13, 13, 13, 0.92) 0%, rgba(13, 13, 13, 0.72) 45%, rgba(13, 13, 13, 0.45) 100%);
  z-index: 1;
}

.page-home__cover::after {
  content: "";
  position: absolute;
  top: 0;
  right: -15%;
  width: 45%;
  height: 130%;
  background: linear-gradient(105deg, transparent 0%, var(--home-red) 52%, var(--home-yellow) 100%);
  clip-path: polygon(30% 0, 100% 0, 85% 100%, 0 100%);
  opacity: 0.28;
  z-index: 1;
}

.page-home__cover-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home__cover-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-home__cover-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(232, 54, 45, 0.08) 0%, transparent 45%, rgba(31, 128, 255, 0.12) 100%);
  z-index: 1;
}

.page-home__cover-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
}

.page-home__cover-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  flex-wrap: wrap;
}

.page-home__cover-kicker .text-mono {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--home-gray);
}

.page-home__cover-title {
  font-family: var(--home-font-head);
  font-weight: 900;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-style: italic;
  transform: skewX(-4deg);
  margin: 0 0 8px;
  color: var(--home-white);
  display: inline-block;
  text-shadow: 4px 4px 0 rgba(232, 54, 45, 0.45);
}

.page-home__cover-subtitle {
  font-family: var(--home-font-head);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  color: var(--home-yellow);
  margin: 0 0 20px;
  max-width: 560px;
  border-left: 4px solid var(--home-red);
  padding-left: 14px;
}

.page-home__cover-lead {
  font-family: var(--home-font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--home-gray);
  max-width: 520px;
  margin: 0 0 28px;
}

.page-home__cover-index {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-bottom: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 540px;
}

.page-home__cover-index-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: var(--home-white);
  font-family: var(--home-font-body);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-home__cover-index-item:hover {
  color: var(--home-yellow);
}

.page-home__cover-index-num {
  font-size: 12px;
  font-weight: 400;
  color: var(--home-red);
}

.page-home__cover-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== 通用区块标题 ===== */
.page-home__section-head {
  margin-bottom: 36px;
}

.page-home__section-tag {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--home-red);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-home__section-tag::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--home-yellow);
}

.page-home__section-title {
  font-family: var(--home-font-head);
  font-weight: 900;
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 12px;
  font-style: italic;
  color: var(--home-white);
}

/* ===== 赛场引擎 ===== */
.page-home__engine {
  position: relative;
}

.page-home__engine::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 120px;
  background: linear-gradient(180deg, var(--home-red), var(--home-yellow));
}

.page-home__engine-grid {
  display: grid;
  gap: 24px;
}

.page-home__engine-console {
  background: var(--home-panel);
  border: 1px solid var(--home-line);
  position: relative;
  overflow: hidden;
}

.page-home__console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--home-line);
  background: #141414;
}

.page-home__console-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--home-red);
  flex-shrink: 0;
}

.page-home__console-dot--yellow {
  background: var(--home-yellow);
}

.page-home__console-dot--blue {
  background: var(--home-blue);
}

.page-home__console-title {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--home-gray);
  margin-left: 8px;
  text-transform: uppercase;
}

.page-home__console-body {
  padding: 24px;
}

.page-home__console-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--home-gray);
  flex-wrap: wrap;
}

.page-home__console-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--home-red);
  animation: page-home-blink 1.6s infinite;
}

@keyframes page-home-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.page-home__console-status-lag {
  margin-left: auto;
  color: var(--home-yellow);
}

.page-home__console-heading {
  font-family: var(--home-font-head);
  font-weight: 900;
  font-size: 22px;
  margin: 0 0 10px;
  font-style: italic;
  color: var(--home-white);
}

.page-home__console-desc {
  font-family: var(--home-font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--home-gray);
  margin: 0 0 20px;
}

.page-home__engine-panel {
  background: var(--home-panel);
  border: 1px solid var(--home-line);
  padding: 24px;
}

.page-home__panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.page-home__panel-title {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--home-gray);
  text-transform: uppercase;
}

.page-home__panel-league-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.page-home__panel-tab {
  font-family: var(--home-font-mono);
  font-size: 12px;
  color: var(--home-gray);
  border: 1px solid var(--home-line);
  padding: 4px 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-home__panel-tab:hover,
.page-home__panel-tab.is-active {
  background: var(--home-red);
  color: var(--home-white);
  border-color: var(--home-red);
}

.page-home__card-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.page-home__card-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease, padding-left 0.3s ease;
}

.page-home__card-row:hover {
  background: rgba(31, 128, 255, 0.08);
  padding-left: 8px;
}

.page-home__card-rank {
  font-size: 14px;
  color: var(--home-yellow);
  width: 24px;
  flex-shrink: 0;
}

.page-home__card-team {
  font-family: var(--home-font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--home-white);
  flex: 1;
}

.page-home__card-stats {
  font-family: var(--home-font-mono);
  font-size: 14px;
  color: var(--home-gray);
  white-space: nowrap;
}

.page-home__card-stats b {
  font-weight: 700;
}

.page-home__panel-link {
  display: inline-block;
  font-size: 13px;
  color: var(--home-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-home__panel-link:hover {
  color: var(--home-white);
}

.page-home__engine-chart {
  margin: 0;
  border: 1px solid var(--home-line);
  background: var(--home-panel);
  padding: 16px;
}

.page-home__engine-chart img {
  width: 100%;
  display: block;
}

.page-home__engine-chart-caption {
  font-size: 11px;
  color: var(--home-gray);
  margin-top: 10px;
  text-align: center;
  letter-spacing: 0.04em;
}

/* ===== 三天复盘 ===== */
.page-home__review {
  background: #131313;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.page-home__review-grid {
  display: grid;
  gap: 20px;
}

.page-home__review-card {
  background: var(--home-black);
  border: 1px solid var(--home-line);
  padding: 24px;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.page-home__review-card:hover {
  border-color: var(--home-red);
  transform: translateY(-4px);
}

.page-home__review-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 36px solid var(--home-red);
  border-left: 36px solid transparent;
  opacity: 0.15;
}

.page-home__review-meta {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--home-yellow);
  margin: 0 0 10px;
}

.page-home__review-title {
  font-family: var(--home-font-head);
  font-weight: 800;
  font-size: 20px;
  margin: 0 0 14px;
  font-style: italic;
  color: var(--home-white);
}

.page-home__review-points {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home__review-points li {
  font-family: var(--home-font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--home-gray);
  padding-left: 16px;
  position: relative;
}

.page-home__review-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--home-blue);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

/* ===== 新手启程 ===== */
.page-home__rookie-grid {
  display: grid;
  gap: 32px;
}

.page-home__rookie-cover {
  margin: 0;
  position: relative;
  overflow: hidden;
}

.page-home__rookie-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232, 54, 45, 0.15) 0%, transparent 50%, rgba(247, 181, 0, 0.12) 100%);
  pointer-events: none;
}

.page-home__rookie-cover img {
  width: 100%;
  display: block;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 94% 100%, 0 100%);
}

.page-home__rookie-guide {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home__step {
  background: var(--home-panel);
  border: 1px solid var(--home-line);
  transition: border-color 0.3s ease;
}

.page-home__step[open] {
  border-color: rgba(247, 181, 0, 0.5);
}

.page-home__step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.page-home__step-head::-webkit-details-marker {
  display: none;
}

.page-home__step-num {
  font-size: 14px;
  color: var(--home-red);
  font-weight: 700;
  flex-shrink: 0;
}

.page-home__step-title {
  font-family: var(--home-font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--home-white);
  flex: 1;
}

.page-home__step-icon {
  width: 14px;
  height: 14px;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.page-home__step-icon::before,
.page-home__step-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 2px;
  background: var(--home-yellow);
}

.page-home__step-icon::after {
  transform: rotate(90deg);
}

.page-home__step[open] .page-home__step-icon {
  transform: rotate(45deg);
}

.page-home__step-body {
  font-family: var(--home-font-body);
  font-size: 14px;
  line-height: 1.8;
  color: var(--home-gray);
  padding: 0 18px 18px 50px;
  margin: 0;
}

/* ===== 内容全景 ===== */
.page-home__columns-grid {
  display: grid;
  gap: 16px;
}

.page-home__column-card {
  background: var(--home-panel);
  border: 1px solid var(--home-line);
  padding: 24px;
  text-decoration: none;
  display: block;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
  overflow: hidden;
}

.page-home__column-card::after {
  content: "";
  position: absolute;
  right: -20px;
  top: -20px;
  width: 60px;
  height: 60px;
  background: var(--home-yellow);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  opacity: 0.08;
  transition: opacity 0.3s ease;
}

.page-home__column-card:hover {
  border-color: var(--home-yellow);
  transform: translateY(-3px);
}

.page-home__column-card:hover::after {
  opacity: 0.35;
}

.page-home__column-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--home-blue);
  margin: 0 0 8px;
}

.page-home__column-name {
  font-family: var(--home-font-head);
  font-weight: 800;
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--home-white);
  font-style: italic;
}

.page-home__column-desc {
  font-family: var(--home-font-body);
  font-size: 13px;
  line-height: 1.7;
  color: var(--home-gray);
  margin: 0 0 16px;
}

.page-home__column-link {
  pointer-events: none;
  display: inline-block;
}

.page-home__columns-feature {
  margin-top: 32px;
  display: grid;
  gap: 0;
  background: var(--home-panel);
  border: 1px solid var(--home-line);
}

.page-home__columns-figure {
  margin: 0;
  overflow: hidden;
}

.page-home__columns-figure img {
  width: 100%;
  display: block;
}

.page-home__columns-feature-text {
  padding: 28px;
}

.page-home__columns-feature-text .text-mono {
  font-size: 12px;
  letter-spacing: 0.08em;
}

.page-home__columns-feature-title {
  font-family: var(--home-font-head);
  font-weight: 900;
  font-size: 24px;
  line-height: 1.3;
  margin: 10px 0 14px;
  font-style: italic;
  color: var(--home-white);
}

.page-home__columns-feature-desc {
  font-family: var(--home-font-body);
  font-size: 14px;
  line-height: 1.8;
  color: var(--home-gray);
  margin: 0 0 20px;
}

.page-home__columns-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===== 面包屑 ===== */
.page-home__breadcrumb {
  padding: 48px 20px 64px;
  max-width: 1280px;
  margin: 0 auto;
}

.page-home__breadcrumb .breadcrumb__list {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.page-home__breadcrumb .breadcrumb__item {
  font-family: var(--home-font-mono);
  font-size: 12px;
  color: var(--home-gray);
}

.page-home__breadcrumb .breadcrumb__current {
  color: var(--home-white);
}

/* ===== 响应式 ===== */
@media (min-width: 768px) {
  .page-home__cover {
    padding: 140px 24px 110px;
  }

  .page-home__cover-title {
    font-size: 76px;
  }

  .page-home__cover-subtitle {
    font-size: 22px;
  }

  .page-home__cover-lead {
    font-size: 16px;
  }

  .page-home__section-title {
    font-size: 40px;
  }

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

  .page-home__engine-chart {
    grid-column: 1 / -1;
  }

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

  .page-home__rookie-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }

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

  .page-home__columns-feature {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
  }

  .page-home__columns-feature-text {
    padding: 36px;
  }

  .page-home__columns-feature-title {
    font-size: 30px;
  }
}

@media (min-width: 1024px) {
  .page-home__cover {
    min-height: 640px;
    display: flex;
    align-items: center;
  }

  .page-home__cover-inner {
    width: 100%;
  }

  .page-home__cover-title {
    font-size: 92px;
  }

  .page-home__cover-subtitle {
    font-size: 26px;
  }

  .page-home__cover-lead {
    font-size: 18px;
    max-width: 620px;
  }

  .page-home__engine-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
  }

  .page-home__engine-chart {
    grid-column: 1 / -1;
  }

  .page-home__columns-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home__column-card {
    padding: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home__console-status-dot {
    animation: none;
  }

  .page-home__cover-title,
  .page-home__section-title,
  .page-home__review-title,
  .page-home__column-name,
  .page-home__columns-feature-title {
    transform: none;
    text-shadow: none;
    transition: none;
  }

  .page-home__review-card:hover,
  .page-home__column-card:hover,
  .page-home__card-row:hover {
    transform: none;
    padding-left: 0;
  }
}
