.page-home {
  --home-hero-pad: 2.5rem 0 3rem;
  --home-gap-md: 1rem;
  --home-section-pad: 2.75rem 0;
  background: var(--color-space);
  color: var(--color-cream);
  overflow-x: hidden;
}

/* ==================== 首屏：左右分屏 ==================== */
.page-home .home-hero {
  position: relative;
  padding: var(--home-hero-pad);
  background:
    radial-gradient(circle at 85% 15%, rgba(0, 229, 255, 0.1) 0%, transparent 45%),
    linear-gradient(135deg, #081428 0%, #0B1D3A 55%, #10264a 100%);
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 88%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 88%);
  pointer-events: none;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-electric) 100%);
  opacity: 0.7;
}

.page-home .home-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.page-home .home-hero-text {
  max-width: 640px;
}

.page-home .home-hero-crumb {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  border: 1px solid rgba(255, 107, 53, 0.35);
  border-radius: 999px;
  padding: 0.38rem 0.9rem;
  background: rgba(255, 107, 53, 0.08);
  margin-bottom: 1.15rem;
}

.page-home .home-hero-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 5vw, 3rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  color: var(--color-cream);
  letter-spacing: 0.02em;
}

.page-home .home-hero-lead {
  color: rgba(245, 240, 232, 0.76);
  line-height: 1.7;
  margin-bottom: 1.6rem;
  font-size: 0.97rem;
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.8rem;
}

.page-home .home-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  max-width: 480px;
  margin-bottom: 1.4rem;
}

.page-home .home-hero-facts div {
  background: rgba(8, 20, 40, 0.72);
  border-left: 2px solid var(--color-accent);
  padding: 0.65rem 0.8rem;
  border-radius: 0 6px 6px 0;
}

.page-home .home-hero-facts strong {
  display: block;
  font-size: 1.3rem;
  color: var(--color-electric);
  line-height: 1.15;
  font-family: var(--font-heading);
}

.page-home .home-hero-facts span {
  display: block;
  font-size: 0.75rem;
  color: var(--color-rock);
  margin-top: 0.15rem;
}

.page-home .home-hero-flow {
  width: 100%;
  height: auto;
  display: block;
  max-width: 520px;
}

.page-home .home-hero-flow path {
  fill: none;
  stroke-linecap: round;
  animation: homeFlowDash 9s linear infinite;
}

.page-home .home-hero-flow path:nth-child(1) {
  stroke: var(--color-electric);
  stroke-width: 1.5;
  stroke-dasharray: 5 7;
}

.page-home .home-hero-flow path:nth-child(2) {
  stroke: var(--color-accent);
  stroke-width: 1.2;
  stroke-dasharray: 2 5;
}

.page-home .home-hero-flow path:nth-child(3) {
  stroke: rgba(245, 240, 232, 0.35);
  stroke-width: 1;
  stroke-dasharray: 1 8;
}

@keyframes homeFlowDash {
  to { stroke-dashoffset: -80; }
}

/* 首屏右侧仪表板 */
.page-home .home-hero-dash {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap-md);
}

.page-home .home-hero-dash-main {
  grid-column: 1 / -1;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.25);
  box-shadow: var(--shadow-panel);
  background: var(--color-space-deep);
}

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

.page-home .home-hero-dash-tag {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 2;
  background: rgba(8, 20, 40, 0.85);
  color: var(--color-cream);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 0.32rem 0.7rem;
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--color-electric);
}

.page-home .home-hero-dash-live {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.26rem 0.6rem;
  border-radius: var(--radius-sm);
  animation: homePulse 1.6s ease-in-out infinite alternate;
}

@keyframes homePulse {
  from { opacity: 0.72; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1.04); }
}

.page-home .home-hero-dash-possession,
.page-home .home-hero-dash-report {
  position: relative;
  background: linear-gradient(135deg, rgba(8, 20, 40, 0.94) 0%, rgba(11, 29, 58, 0.9) 100%);
  border: 1px solid rgba(255, 107, 53, 0.32);
  border-radius: var(--radius-md);
  padding: 1.05rem 1.1rem;
  overflow: hidden;
}

.page-home .home-hero-dash-possession::after,
.page-home .home-hero-dash-report::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(225deg, rgba(0, 229, 255, 0.12), transparent);
  border-radius: 0 0 0 100%;
}

.page-home .home-hero-dash-possession span,
.page-home .home-hero-dash-report span {
  display: block;
  color: var(--color-electric);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.page-home .home-hero-dash-possession strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.65rem;
  color: var(--color-cream);
  letter-spacing: 0.03em;
  animation: homeFlicker 3.2s ease-in-out infinite;
}

@keyframes homeFlicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  94% { opacity: 0.5; }
  96% { opacity: 1; }
}

.page-home .home-hero-dash-possession small,
.page-home .home-hero-dash-report small {
  color: var(--color-rock);
  font-size: 0.75rem;
}

.page-home .home-hero-dash-report strong {
  display: block;
  font-size: 1.02rem;
  color: var(--color-cream);
  margin-bottom: 0.3rem;
}

/* ==================== 横向主题带 ==================== */
.page-home .home-topics {
  position: relative;
  background: var(--color-space-deep);
  padding: var(--space-xl) 0;
}

.page-home .home-topics::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-electric) 100%);
}

.page-home .home-topics::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34%;
  height: 60px;
  background: repeating-linear-gradient(-45deg, transparent 0 8px, rgba(0, 229, 255, 0.12) 8px 16px);
  pointer-events: none;
}

.page-home .home-topics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-home .home-topic-item {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  background: linear-gradient(150deg, rgba(11, 29, 58, 0.88) 0%, rgba(16, 38, 74, 0.92) 100%);
  border: 1px solid rgba(138, 143, 152, 0.2);
  padding: 1.6rem 1.5rem 1.4rem;
  text-decoration: none;
  color: var(--color-cream);
  min-height: 185px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-home .home-topic-item:hover {
  transform: translateY(-4px);
  border-color: var(--color-electric);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.page-home .home-topic-index {
  font-size: 2rem;
  font-family: var(--font-heading);
  color: var(--color-accent);
  line-height: 1;
}

.page-home .home-topic-item h2 {
  font-size: 1.12rem;
  margin: 0.85rem 0 0.5rem;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}

.page-home .home-topic-item p {
  color: rgba(245, 240, 232, 0.66);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.page-home .home-topic-arrow {
  margin-top: auto;
  color: var(--color-electric);
  font-size: 1.35rem;
  transition: transform 0.2s ease;
}

.page-home .home-topic-item:hover .home-topic-arrow {
  transform: translateX(6px);
}

/* ==================== 通用纵向区块 ==================== */
.page-home .home-section {
  padding: var(--home-section-pad);
}

.page-home .home-split {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.page-home .home-split-content {
  flex: 1 1 auto;
  max-width: 620px;
}

.page-home .home-split-media {
  flex: 1 1 auto;
  max-width: 100%;
  background: var(--color-space-deep);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 0.6rem;
  transition: border-color 0.2s ease;
}

.page-home .home-split-media:hover {
  border-color: rgba(0, 229, 255, 0.5);
}

.page-home .home-media-cut {
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.page-home .home-split-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.page-home .home-media-caption {
  margin: 0.75rem 0 0.25rem;
  color: var(--color-rock);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
  padding: 0 0.25rem;
}

.page-home .home-section-kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-accent);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.page-home .home-section-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--color-accent);
}

.page-home .home-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3.6vw, 2.1rem);
  margin: 0 0 1rem;
  color: var(--color-cream);
}

.page-home .home-section-lead {
  color: rgba(245, 240, 232, 0.76);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.page-home .home-feature-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.page-home .home-feature-list li {
  position: relative;
  padding-left: 1.4rem;
  color: rgba(245, 240, 232, 0.82);
  font-size: 0.94rem;
  line-height: 1.5;
}

.page-home .home-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  transform: rotate(45deg);
}

.page-home .home-split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 0.5rem;
}

/* ==================== 实时比分 ==================== */
.page-home .home-live {
  background: linear-gradient(180deg, var(--color-space-deep) 0%, var(--color-space) 100%);
  border-top: 1px solid rgba(0, 229, 255, 0.15);
  border-bottom: 1px solid rgba(255, 107, 53, 0.15);
}

.page-home .home-live-head {
  margin-bottom: 1.8rem;
}

.page-home .home-live-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.page-home .home-live-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: linear-gradient(150deg, rgba(8, 20, 40, 0.95), rgba(11, 29, 58, 0.92));
  border: 1px solid rgba(138, 143, 152, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-home .home-live-card::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--color-electric), var(--color-accent));
  opacity: 0.75;
}

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

.page-home .home-live-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--color-rock);
}

.page-home .home-live-top span:first-child {
  color: var(--color-electric);
  font-weight: 700;
}

.page-home .home-live-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-family: var(--font-heading);
}

.page-home .home-live-center strong {
  font-size: 2.7rem;
  color: var(--color-cream);
  line-height: 1;
}

.page-home .home-live-center i {
  font-style: normal;
  color: var(--color-accent);
  font-size: 1.7rem;
}

.page-home .home-live-bar {
  display: flex;
  height: 9px;
  background: rgba(138, 143, 152, 0.18);
  border-radius: 999px;
  overflow: hidden;
}

.page-home .home-live-bar i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 0.6rem;
  line-height: 1;
  height: 100%;
  white-space: nowrap;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
}

.page-home .home-live-home {
  background: var(--color-accent);
}

.page-home .home-live-away {
  background: var(--color-electric);
}

.page-home .home-live-foot {
  color: var(--color-rock);
  font-size: 0.84rem;
  line-height: 1.6;
  margin-top: 1.5rem;
  border-left: 2px solid var(--color-accent);
  padding-left: 1rem;
}

/* ==================== 战报入口与筛选收藏 ==================== */
.page-home .home-report {
  background: var(--color-space);
}

.page-home .home-filter {
  background: linear-gradient(180deg, var(--color-space) 0%, var(--color-space-deep) 100%);
  border-top: 1px solid rgba(255, 107, 53, 0.12);
}

.page-home .home-step-list {
  display: grid;
  gap: 0.8rem;
}

.page-home .home-step {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(8, 20, 40, 0.6);
  border-left: 2px solid var(--color-electric);
  border-radius: 0 6px 6px 0;
  padding: 0.75rem 1rem;
}

.page-home .home-step span {
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-size: 1.05rem;
  min-width: 1.7rem;
}

.page-home .home-step p {
  margin: 0;
  color: rgba(245, 240, 232, 0.85);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ==================== 版本对比 ==================== */
.page-home .home-version {
  background: var(--color-space-deep);
  border-top: 2px solid rgba(0, 229, 255, 0.18);
}

.page-home .home-version-head {
  margin-bottom: 2rem;
}

.page-home .home-version-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3.6vw, 2.1rem);
  margin: 0 0 1rem;
  color: var(--color-cream);
}

.page-home .home-version-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

.page-home .home-version-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, #10264a 0%, #0B1D3A 100%);
  border: 1px solid var(--color-electric);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  overflow: hidden;
}

.page-home .home-version-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 90px;
  height: 100%;
  background: linear-gradient(120deg, transparent 30%, rgba(0, 229, 255, 0.05) 100%);
  pointer-events: none;
}

.page-home .home-version-classic {
  border-color: rgba(138, 143, 152, 0.35);
  background: linear-gradient(145deg, #16233b 0%, #0B1D3A 100%);
}

.page-home .home-version-badge {
  position: absolute;
  top: 1.1rem;
  right: -2.9rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.28rem 3rem;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.page-home .home-version-card h3 {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  color: var(--color-cream);
  margin: 0 0 1rem;
}

.page-home .home-version-card ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  flex: 1;
}

.page-home .home-version-card ul li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.8);
  line-height: 1.5;
}

.page-home .home-version-card ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--color-electric);
  font-size: 1rem;
}

.page-home .home-version-classic ul li::before {
  color: var(--color-rock);
}

/* ==================== 信任服务区 ==================== */
.page-home .home-trust {
  background: var(--color-space);
  border-top: 1px solid rgba(255, 107, 53, 0.2);
  padding: 2.5rem 0 3rem;
}

.page-home .home-trust-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.page-home .home-trust-content {
  max-width: 640px;
  color: rgba(245, 240, 232, 0.7);
  line-height: 1.7;
  font-size: 0.9rem;
}

.page-home .home-trust-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--color-electric);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.page-home .home-trust-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  max-width: 520px;
}

.page-home .home-trust-stats div {
  background: rgba(8, 20, 40, 0.62);
  border-top: 2px solid var(--color-accent);
  border-radius: 0 0 6px 6px;
  padding: 0.85rem 1rem;
}

.page-home .home-trust-stats strong {
  color: var(--color-electric);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-right: 0.45rem;
}

.page-home .home-trust-stats span {
  color: var(--color-rock);
  font-size: 0.85rem;
}

/* ==================== 响应式断点 ==================== */
@media (min-width: 480px) {
  .page-home .home-hero-dash {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .home-hero-dash-main {
    grid-column: 1 / -1;
  }

  .page-home .home-hero-facts div {
    padding: 0.75rem 0.9rem;
  }
}

@media (min-width: 640px) {
  .page-home .home-topics-grid {
    flex-wrap: nowrap;
  }

  .page-home .home-topic-item {
    flex: 1 1 0;
    min-height: 200px;
  }

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

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

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

  .page-home .home-trust-stats {
    grid-template-columns: repeat(4, 1fr);
    max-width: 540px;
  }
}

@media (min-width: 900px) {
  .page-home {
    --home-hero-pad: 3.5rem 0 4rem;
    --home-section-pad: 4rem 0;
  }

  .page-home .home-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 3rem;
    align-items: center;
  }

  .page-home .home-hero-text {
    max-width: 560px;
  }

  .page-home .home-hero-text h1 {
    font-size: clamp(2.1rem, 4.2vw, 3rem);
  }

  .page-home .home-hero-lead {
    font-size: 1rem;
  }

  .page-home .home-split {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }

  .page-home .home-split-alt {
    flex-direction: row-reverse;
  }

  .page-home .home-split-content {
    flex: 1.05;
  }

  .page-home .home-split-media {
    flex: 0.95;
  }

  .page-home .home-section-kicker {
    font-size: 0.82rem;
  }

  .page-home .home-live-card {
    padding: 1.4rem;
  }

  .page-home .home-version-card {
    padding: 1.75rem;
  }

  .page-home .home-trust-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2.5rem;
  }

  .page-home .home-trust-content {
    max-width: 60%;
  }
}

@media (min-width: 1200px) {
  .page-home .home-hero-inner {
    gap: 4rem;
  }

  .page-home .home-hero-text {
    max-width: 600px;
  }

  .page-home .home-hero-facts {
    margin-bottom: 1.8rem;
  }

  .page-home .home-split {
    gap: 4rem;
  }
}

/* ==================== 减少动态效果 ==================== */
@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
