.page-home {
  --home-accent: var(--accent);
  --home-cyan: var(--accent2);
  --home-bg-soft: rgba(0, 229, 255, 0.04);
  --home-grid-line: rgba(0, 229, 255, 0.12);
  --home-card-glow: rgba(255, 107, 53, 0.08);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* 首屏分屏布局 */
.page-home .home-hero {
  position: relative;
  padding: 64px 0 96px;
  min-height: 640px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 85% 30%, rgba(255, 107, 53, 0.12) 0%, transparent 60%);
  border-bottom: 1px solid var(--border);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--home-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.8), transparent 70%);
  pointer-events: none;
}

.page-home .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.page-home .hero-copy {
  position: relative;
}

.page-home .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  background: rgba(16, 27, 58, 0.8);
}

.page-home .hero-eyebrow-text {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--accent2);
}

.page-home .hero-title {
  font-family: var(--font-headline);
  font-size: 48px;
  line-height: 1.05;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-home .hero-subtitle {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--accent);
  margin: 0 0 20px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}

.page-home .hero-desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 0 28px;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.page-home .hero-meta-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding: 20px 0 0;
  margin: 0;
  border-top: 1px solid var(--border);
}

.page-home .hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-home .hero-meta-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent2);
}

.page-home .hero-meta-label {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* 首屏右侧视觉 */
.page-home .hero-visual {
  position: relative;
  min-height: 420px;
  border-radius: 2px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.08) 0%, transparent 55%),
    linear-gradient(160deg, rgba(16, 27, 58, 0.9), rgba(10, 17, 40, 0.6));
  overflow: hidden;
}

.page-home .hero-visual-inner {
  position: relative;
  width: 100%;
  height: 420px;
}

.page-home .hero-fallback-img {
  position: absolute;
  inset: 0;
  width: 720px;
  height: 640px;
  max-width: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
}

.page-home .data-lane {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  transform-origin: left center;
  opacity: 0.5;
  animation: home-lane-flow 8s infinite linear;
}

.page-home .data-lane-a {
  top: 35%;
  background: var(--home-cyan);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
  animation-delay: 0s;
  transform: skewY(-45deg) translateX(0);
}

.page-home .data-lane-b {
  top: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(255, 107, 53, 0.4);
  animation-delay: 0.5s;
  transform: skewY(-45deg) translateX(-30px);
}

.page-home .data-lane-c {
  top: 65%;
  background: var(--home-cyan);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.35);
  animation-delay: 1s;
  transform: skewY(-45deg) translateX(20px);
}

@keyframes home-lane-flow {
  0% {
    opacity: 0.2;
    transform: skewY(-45deg) translateX(-30px);
  }
  30% {
    opacity: 0.8;
  }
  100% {
    opacity: 0.2;
    transform: skewY(-45deg) translateX(60px);
  }
}

.page-home .data-streak {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: home-streak-move 12s infinite ease-out;
}

.page-home .data-streak-a {
  background: var(--home-cyan);
  box-shadow: 0 0 8px var(--home-cyan);
  top: 30%;
  left: 15%;
  animation-delay: 0s;
}

.page-home .data-streak-b {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  top: 60%;
  left: 30%;
  animation-delay: 2s;
}

@keyframes home-streak-move {
  0% {
    transform: translateX(0) translateY(0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  60% {
    transform: translateX(180px) translateY(70px);
    opacity: 0.6;
  }
  100% {
    transform: translateX(280px) translateY(120px);
    opacity: 0;
  }
}

.page-home .visual-panel {
  position: absolute;
  padding: 12px 18px;
  border-radius: 2px;
  background: rgba(16, 27, 58, 0.76);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 3;
}

.page-home .panel-top {
  top: 24px;
  left: 24px;
}

.page-home .panel-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.page-home .panel-index {
  font-size: 34px;
  font-weight: 700;
  color: var(--accent);
}

.page-home .visual-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
}

.page-home .circle-outer {
  width: 240px;
  height: 240px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(0, 229, 255, 0.25);
  animation: home-pulse-ring 4s infinite alternate;
}

.page-home .circle-inner {
  width: 150px;
  height: 150px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(255, 107, 53, 0.35);
  animation: home-pulse-ring 4s 0.5s infinite alternate;
}

@keyframes home-pulse-ring {
  from {
    transform: translate(-50%, -50%) scale(0.95);
  }
  to {
    transform: translate(-50%, -50%) scale(1.05);
  }
}

.page-home .visual-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.page-home .core-ver {
  font-size: 22px;
  font-weight: 700;
  color: var(--home-cyan);
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
  letter-spacing: 0.04em;
}

.page-home .core-speed {
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  text-shadow: 0 0 24px rgba(255, 107, 53, 0.5);
  letter-spacing: 0.02em;
}

.page-home .visual-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(0, 229, 255, 0.2);
}

.page-home .ring-a {
  width: 330px;
  height: 330px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: home-rotate 40s infinite linear;
}

.page-home .ring-b {
  width: 390px;
  height: 390px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(255, 107, 53, 0.18);
  animation: home-rotate 60s infinite linear reverse;
}

@keyframes home-rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.page-home .hero-corner-note {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  z-index: 2;
  display: none;
}

.page-home .vertical-note {
  writing-mode: vertical-rl;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ===== 版本更新摘要 ===== */
.page-home .section {
  padding: 48px 0;
}

.page-home .section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  position: relative;
}

.page-home .section-index {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent2);
  line-height: 1;
  font-family: var(--font-mono);
}

.page-home .section-title {
  font-family: var(--font-headline);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: 0.04em;
}

.page-home .section-note {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
  font-family: var(--font-mono);
}

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

.page-home .update-highlight {
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 24px;
}

.page-home .highlight-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}

.page-home .highlight-figure {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.page-home .highlight-num {
  font-size: 44px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.page-home .highlight-label {
  font-size: 14px;
  color: var(--text-muted);
}

.page-home .highlight-chart {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  height: 120px;
}

.page-home .chart-bar {
  position: relative;
  width: 64px;
  border-radius: 2px 2px 0 0;
}

.page-home .chart-bar-old {
  height: 60px;
  background: linear-gradient(0deg, rgba(136, 146, 176, 0.3), rgba(136, 146, 176, 0.5));
}

.page-home .chart-bar-new {
  height: 30px;
  background: linear-gradient(0deg, rgba(255, 107, 53, 0.5), rgba(255, 107, 53, 0.8));
  box-shadow: 0 0 12px rgba(255, 107, 53, 0.25);
}

.page-home .chart-bar-label {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.page-home .highlight-img {
  width: 560px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 2px;
  border: 1px solid var(--border);
}

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

.page-home .update-point {
  position: relative;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent2);
  background: linear-gradient(120deg, rgba(0, 229, 255, 0.04), transparent 60%);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.page-home .update-point:hover {
  border-color: var(--border-strong);
  transform: translateX(4px);
}

.page-home .update-point-index {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 18px;
  font-weight: 700;
  color: rgba(0, 229, 255, 0.2);
}

.page-home .update-point-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  padding-right: 36px;
  font-family: var(--font-body);
}

.page-home .update-point-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* ===== 中心赛事列表 ===== */
.page-home .center-list {
  position: relative;
  background: var(--home-bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.page-home .center-list::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent2), transparent 80%);
  opacity: 0.4;
}

.page-home .list-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-home .list-visual {
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 20px;
}

.page-home .list-visual-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.page-home .list-row-demo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: rgba(10, 17, 40, 0.5);
}

.page-home .demo-match {
  font-size: 14px;
  color: var(--text);
  flex: 1;
  min-width: 120px;
}

.page-home .demo-time {
  font-size: 13px;
  color: var(--accent2);
}

.page-home .demo-tag {
  font-size: 11px;
  padding: 2px 8px;
  background: rgba(255, 209, 102, 0.15);
  color: var(--warning);
  border-radius: 2px;
}

.page-home .list-visual-img {
  width: 480px;
  max-width: 100%;
  height: auto;
  border-radius: 2px;
}

.page-home .list-content {
  display: flex;
  flex-direction: column;
}

.page-home .list-intro {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0 0 24px;
}

.page-home .tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.page-home .tab-btn {
  appearance: none;
  background: transparent;
  border: none;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .tab-btn.is-active {
  color: var(--accent2);
  border-bottom-color: var(--accent2);
}

.page-home .tab-btn:hover,
.page-home .tab-btn:focus-visible {
  color: var(--accent2);
  outline: none;
}

.page-home .match-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .match-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 14px 10px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}

.page-home .match-item:hover {
  background: rgba(0, 229, 255, 0.05);
}

.page-home .match-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 2px;
  white-space: nowrap;
}

.page-home .match-status.is-live {
  background: rgba(74, 222, 128, 0.15);
  color: var(--success);
}

.page-home .match-status.is-finished {
  background: rgba(136, 146, 176, 0.12);
  color: var(--text-muted);
}

.page-home .match-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  flex: 1;
  min-width: 140px;
}

.page-home .match-time {
  font-size: 13px;
  color: var(--accent2);
}

.page-home .match-log {
  width: 100%;
  margin-top: 4px;
}

.page-home .match-log-summary {
  cursor: pointer;
  font-size: 12px;
  color: var(--warning);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border: 1px solid rgba(255, 209, 102, 0.3);
  border-radius: 2px;
  transition: background 0.2s ease;
}

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

.page-home .match-log-summary:hover {
  background: rgba(255, 209, 102, 0.1);
}

.page-home .match-log-body {
  margin-top: 8px;
  padding: 12px 14px;
  border-left: 2px solid var(--warning);
  background: rgba(255, 209, 102, 0.06);
}

.page-home .match-log-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

.page-home .list-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== 时间线 ===== */
.page-home .outage-timeline {
  background: var(--bg);
}

.page-home .timeline-wrap {
  padding: 8px 0 16px;
}

.page-home .timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--error), var(--warning), var(--success));
  opacity: 0.5;
}

.page-home .timeline-item {
  position: relative;
  padding-left: 36px;
  padding-bottom: 28px;
}

.page-home .timeline-item:last-child {
  padding-bottom: 0;
}

.page-home .timeline-status {
  position: absolute;
  left: 0;
  top: 4px;
}

.page-home .timeline-content {
  padding: 16px 18px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 2px;
  transition: border-color 0.2s ease;
}

.page-home .timeline-content:hover {
  border-color: var(--border-strong);
}

.page-home .timeline-time {
  display: block;
  font-size: 12px;
  color: var(--accent2);
  margin-bottom: 6px;
}

.page-home .timeline-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}

.page-home .timeline-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

.page-home .timeline-legend {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.page-home .legend-img {
  width: 480px;
  max-width: 100%;
  height: auto;
  border-radius: 2px;
}

.page-home .legend-row {
  display: flex;
  gap: 24px;
  align-items: center;
}

.page-home .legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== 解决方案与服务范围 ===== */
.page-home .solution-overview {
  position: relative;
  background:
    linear-gradient(115deg, rgba(255, 107, 53, 0.06) 0%, transparent 50%),
    var(--bg);
  overflow: hidden;
}

.page-home .solution-overview::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.page-home .solution-diagonal {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.page-home .solution-intro {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0 0 24px;
  max-width: 620px;
}

.page-home .solution-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.page-home .solution-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.page-home .solution-item-index {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent2);
  flex-shrink: 0;
  line-height: 1.6;
}

.page-home .solution-item-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
}

.page-home .solution-item-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

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

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

.page-home .aside-card {
  padding: 24px 20px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(16, 27, 58, 0.9), rgba(10, 17, 40, 0.7));
  position: relative;
  overflow: hidden;
}

.page-home .aside-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent2);
}

.page-home .aside-card:nth-child(2)::before {
  background: var(--accent);
}

.page-home .aside-card-index {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.page-home .aside-card-num {
  display: block;
  font-size: 40px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 6px;
}

.page-home .aside-card-text {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* ===== 响应式 ===== */
@media (min-width: 768px) {
  .page-home .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }

  .page-home .hero-title {
    font-size: 64px;
  }

  .page-home .hero-subtitle {
    font-size: 24px;
  }

  .page-home .update-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }

  .page-home .list-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
  }

  .page-home .solution-diagonal {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
  }

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

  .page-home .timeline-wrap {
    padding: 8px 0 16px 32px;
  }

  .page-home .timeline::before {
    left: 39px;
  }

  .page-home .timeline-item {
    padding-left: 68px;
  }

  .page-home .timeline-status {
    left: 32px;
  }

  .page-home .hero-corner-note {
    display: block;
  }

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

@media (min-width: 1024px) {
  .page-home .section {
    padding: 72px 0;
  }

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

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

  .page-home .section-index {
    font-size: 40px;
  }

  .page-home .highlight-row {
    flex-direction: row;
    justify-content: space-between;
  }

  .page-home .timeline-wrap {
    max-width: 800px;
    margin: 0 auto;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-home .data-lane,
  .page-home .data-streak,
  .page-home .visual-circle,
  .page-home .visual-ring,
  .page-home .circle-outer,
  .page-home .circle-inner {
    animation: none;
  }

  .page-home .update-point {
    transition: none;
  }

  .page-home .match-item {
    transition: none;
  }
}
