.page-home {
  --home-panel: rgba(20, 44, 67, 0.82);
  --home-glass: rgba(11, 27, 42, 0.62);
  --home-line: rgba(245, 240, 232, 0.12);
  --home-text-sub: rgba(245, 240, 232, 0.68);
  --home-accent: var(--kinetic-green);
  --home-warn: var(--voltage-orange);
  position: relative;
}

/* 首屏框景 */
.page-home .home-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.page-home .home-hero__frame {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: stretch;
  background: var(--deep-space-blue);
  border-bottom: 1px solid var(--line-green);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.page-home .home-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(11, 27, 42, 0.92) 0%, rgba(11, 27, 42, 0.68) 45%, rgba(20, 44, 67, 0.55) 100%);
}

.page-home .home-hero__speed {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 240px;
  z-index: 2;
  pointer-events: none;
}

.page-home .home-hero__speedline {
  stroke: rgba(0, 227, 154, 0.35);
  stroke-width: 2;
  fill: none;
}

.page-home .home-hero__speedline--dim {
  stroke: rgba(245, 240, 232, 0.1);
  stroke-width: 1;
}

.page-home .home-hero__speedline--warn {
  stroke: rgba(255, 122, 47, 0.22);
  stroke-width: 1.5;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 96px;
  padding-bottom: 72px;
}

.page-home .home-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-data);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 40px;
  padding: 10px 14px;
  border: 1px solid var(--home-line);
  border-radius: 4px;
  width: fit-content;
  background: rgba(11, 27, 42, 0.4);
}

.page-home .home-breadcrumb__sep {
  color: var(--kinetic-green);
}

.page-home .home-breadcrumb__current {
  color: var(--text-secondary);
}

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-home .home-hero__text {
  position: relative;
}

.page-home .home-hero__kicker-mark {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--kinetic-green);
  margin-right: 10px;
  vertical-align: middle;
}

.page-home .home-hero__title {
  margin: 16px 0 24px;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  letter-spacing: -0.02em;
  text-shadow: 0 0 40px rgba(0, 227, 154, 0.18);
}

.page-home .home-hero__lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 36px;
  border-left: 3px solid var(--kinetic-green);
  padding-left: 18px;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .home-hero__panel {
  position: relative;
}

.page-home .home-dashboard {
  position: relative;
  background: var(--home-panel);
  border: 1px solid var(--line-green);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-deep), 0 0 60px rgba(0, 227, 154, 0.06);
}

.page-home .home-dashboard__head {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--home-line);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.page-home .home-dashboard__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.page-home .home-dashboard__cycle {
  margin-left: auto;
  font-family: var(--font-data);
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

.page-home .home-dashboard__cell {
  background: rgba(11, 27, 42, 0.5);
  border: 1px solid var(--home-line);
  border-radius: 8px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .home-dashboard__cell--wide {
  grid-column: 1 / -1;
}

.page-home .home-dashboard__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--kinetic-green);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.page-home .home-dashboard__label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.page-home .home-dashboard__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--home-line);
}

.page-home .home-dashboard__bar-label {
  font-family: var(--font-data);
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.page-home .home-dashboard__bar-track {
  flex: 1;
  height: 6px;
  background: rgba(245, 240, 232, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.page-home .home-dashboard__bar-fill {
  display: block;
  width: 83%;
  height: 100%;
  background: linear-gradient(90deg, var(--kinetic-green), var(--voltage-orange));
  border-radius: 3px;
}

.page-home .home-dashboard__bar-value {
  font-family: var(--font-data);
  font-size: 0.8rem;
  color: var(--kinetic-green);
}

.page-home .home-dashboard__sync {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--font-data);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.page-home .home-dashboard__sync-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--kinetic-green);
  animation: home-pulse 1.8s infinite ease-in-out;
}

@keyframes home-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* 赛程中心入口 */
.page-home .home-schedule__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

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

.page-home .home-schedule__title {
  margin: 12px 0 16px;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.2;
}

.page-home .home-schedule__text {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
}

.page-home .home-schedule__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.page-home .home-schedule__feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 16px;
  background: var(--home-glass);
  border: 1px solid var(--home-line);
  border-left: 3px solid var(--kinetic-green);
  border-radius: 6px;
}

.page-home .home-schedule__feature-num {
  font-family: var(--font-data);
  color: var(--voltage-orange);
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-home .home-schedule__feature-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

.page-home .home-schedule__panel {
  position: relative;
}

.page-home .home-schedule__collapsible {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--home-panel);
  overflow: hidden;
}

.page-home .home-schedule__tabs {
  display: flex;
  border-bottom: 1px solid var(--home-line);
}

.page-home .home-schedule__tab {
  flex: 1;
  padding: 16px 20px;
  background: rgba(11, 27, 42, 0.5);
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast);
}

.page-home .home-schedule__tab:hover,
.page-home .home-schedule__tab:focus-visible {
  color: var(--kinetic-green);
  border-bottom-color: var(--kinetic-green);
  background: rgba(20, 44, 67, 0.8);
  outline: none;
}

.page-home .home-schedule__tabpanel {
  padding: 8px 20px 4px;
}

.page-home .home-schedule__rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.page-home .home-schedule__rows .data-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--home-line);
}

.page-home .home-schedule__rows .data-row:last-child {
  border-bottom: none;
}

.page-home .home-schedule__note {
  margin-top: 14px;
  font-family: var(--font-data);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

/* V3更新亮点 */
.page-home .home-update {
  position: relative;
  background: linear-gradient(120deg, rgba(20, 44, 67, 0.6), rgba(11, 27, 42, 0.9));
  border-top: 1px solid var(--line-orange);
  border-bottom: 1px solid var(--line-orange);
}

.page-home .home-update__head {
  margin-bottom: 40px;
}

.page-home .home-update__title {
  margin: 12px 0 10px;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
}

.page-home .home-update__subtitle {
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 720px;
}

.page-home .home-update__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-home .home-update__visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

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

.page-home .home-update__visual-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-data);
  font-size: 0.75rem;
  padding: 6px 12px;
  background: rgba(11, 27, 42, 0.75);
  color: var(--kinetic-green);
  border: 1px solid var(--line-green);
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.page-home .home-update__points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .home-update__point {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--home-glass);
  border: 1px solid var(--home-line);
  border-radius: 8px;
  transform: skewX(-2deg);
  transition: transform var(--dur-fast), border-color var(--dur-fast);
}

.page-home .home-update__point:hover {
  transform: skewX(-2deg) translateX(6px);
  border-color: var(--line-green);
}

.page-home .home-update__point-tag {
  flex-shrink: 0;
}

.page-home .home-update__point-title {
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.5;
}

.page-home .home-update__points .btn {
  align-self: flex-start;
  margin-top: 8px;
}

/* 重点场次速览 */
.page-home .home-featured__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.page-home .home-featured__title {
  margin: 12px 0 4px;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
}

.page-home .home-featured__desc {
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
}

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

.page-home .home-featured__card {
  position: relative;
  background: var(--home-panel);
  border: 1px solid var(--home-line);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
  overflow: hidden;
}

.page-home .home-featured__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--kinetic-green), var(--voltage-orange));
  transform: scaleX(0.6);
  transform-origin: left;
  opacity: 0.5;
  transition: transform var(--dur), opacity var(--dur);
}

.page-home .home-featured__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 227, 154, 0.06);
  border-color: rgba(0, 227, 154, 0.35);
}

.page-home .home-featured__card:hover::before {
  transform: scaleX(1);
  opacity: 1;
}

.page-home .home-featured__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-home .home-featured__time {
  font-family: var(--font-data);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.page-home .home-featured__match {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px dashed var(--home-line);
  border-bottom: 1px dashed var(--home-line);
}

.page-home .home-featured__team {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-align: center;
  flex: 1;
}

.page-home .home-featured__vs {
  font-family: var(--font-data);
  font-size: 0.8rem;
  color: var(--voltage-orange);
  letter-spacing: 0.08em;
}

.page-home .home-featured__card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-home .home-featured__stat {
  font-family: var(--font-data);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.page-home .home-featured__link {
  color: var(--kinetic-green);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 227, 154, 0.4);
  padding-bottom: 2px;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}

.page-home .home-featured__link:hover {
  color: var(--warm-white);
  border-bottom-color: var(--warm-white);
}

.page-home .home-featured__visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-green);
  min-height: 200px;
}

.page-home .home-featured__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}

.page-home .home-featured__visual-note {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 14px;
  background: rgba(11, 27, 42, 0.78);
  border: 1px solid var(--line-green);
  border-radius: 6px;
  font-family: var(--font-data);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* 下载与登录 */
.page-home .home-download {
  position: relative;
  background: linear-gradient(240deg, rgba(20, 44, 67, 0.5), rgba(11, 27, 42, 0.9));
  border-top: 1px solid var(--line-green);
}

.page-home .home-download__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}

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

.page-home .home-download__title {
  margin: 12px 0 16px;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
}

.page-home .home-download__desc {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
}

.page-home .home-download__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.page-home .home-download__tip {
  font-family: var(--font-data);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-left: 2px solid var(--voltage-orange);
  padding-left: 14px;
}

.page-home .home-download__visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-deep);
}

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

/* 桌面端布局增强 */
@media (min-width: 768px) {
  .page-home .home-hero__frame {
    min-height: 800px;
  }

  .page-home .home-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
  }

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

  .page-home .home-dashboard__cell--wide {
    grid-column: 1 / -1;
  }

  .page-home .home-schedule__grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .page-home .home-update__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }

  .page-home .home-featured__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

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

  .page-home .home-featured__visual-note {
    font-size: 0.72rem;
  }

  .page-home .home-download__grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 60px;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero__title {
    font-size: clamp(3rem, 6vw, 5rem);
  }

  .page-home .home-schedule__panel {
    padding-left: 20px;
  }

  .page-home .home-update__subtitle {
    max-width: 800px;
  }

  .page-home .home-featured__card {
    padding: 26px 22px;
  }

  .page-home .home-download__text {
    padding-left: 30px;
  }
}
