.page-home {
  --home-ink: #071B2E;
  --home-line: rgba(255, 255, 255, 0.12);
  --home-muted: rgba(227, 242, 253, 0.72);
  --home-text-secondary: #3B4A5A;
}

.page-home section[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* ========== Hero ========== */
.page-home .home-hero {
  position: relative;
  background: linear-gradient(120deg, var(--blue-dark) 0%, #0A2A4A 55%, #0D3555 100%);
  color: var(--white);
  overflow: hidden;
  padding: 52px 0 48px;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 16%, rgba(30, 136, 229, 0.28) 0%, transparent 46%),
    linear-gradient(180deg, rgba(0, 230, 118, 0.03) 0%, transparent 100%);
}

.page-home .home-hero__bg::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.035) 48%, transparent 72%);
  transform: skewX(-8deg);
}

.page-home .home-hero__bg::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 14%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green), 0 0 42px rgba(0, 230, 118, 0.5);
  animation: leyu-home-pulse 2.4s ease-in-out infinite;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

.page-home .home-hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--green);
  border: 1px solid rgba(0, 230, 118, 0.42);
  border-radius: 100px;
  padding: 5px 13px;
  margin-bottom: 18px;
}

.page-home .home-hero__lead h1 {
  font-family: var(--font-head);
  font-size: 44px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

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

.page-home .home-hero__status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.page-home .home-hero__version {
  font-size: 13px;
  color: rgba(227, 242, 253, 0.72);
  border: 1px solid var(--home-line);
  padding: 5px 12px;
  border-radius: 100px;
}

.page-home .home-hero__cta {
  margin-top: 26px;
  align-self: flex-start;
}

.page-home .home-hero__aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.page-home .home-hero .path-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  gap: 2px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 14px 16px;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.page-home .home-hero .path-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 230, 118, 0.5);
  transform: translateY(-2px);
}

.page-home .path-card__index {
  grid-row: 1 / 3;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--green);
  margin-top: 4px;
}

.page-home .path-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.page-home .path-card__desc {
  font-size: 12px;
  color: rgba(227, 242, 253, 0.65);
}

.page-home .path-card__arrow {
  grid-row: 1 / 3;
  grid-column: 3;
  align-self: center;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.25s ease, color 0.25s ease;
}

.page-home .home-hero .path-card:hover .path-card__arrow {
  transform: translateX(4px);
  color: var(--green);
}

.page-home .home-hero__shot {
  margin: 0;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 50px rgba(2, 12, 27, 0.45);
}

.page-home .home-hero__shot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: top center;
}

/* ========== Section Head 适配 ========== */
.page-home .section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 26px;
}

.page-home .section-head h2 {
  font-family: var(--font-head);
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  margin: 0;
  color: var(--blue-dark);
}

.page-home .section-head__index {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--blue-bright);
  letter-spacing: 0.08em;
}

.page-home .section-head__line {
  flex: 1;
  height: 1px;
  background: rgba(10, 37, 64, 0.14);
  max-width: 80px;
}

/* ========== 新版归类调整 ========== */
.page-home .home-arrange {
  background: var(--grey-blue);
  color: var(--ink);
  padding: 56px 0 64px;
}

.page-home .home-arrange__body {
  display: grid;
  gap: 28px;
  margin-top: 4px;
}

.page-home .home-arrange__lead {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 14px;
}

.page-home .home-arrange__text > p:not(.home-arrange__lead) {
  font-size: 14px;
  line-height: 1.8;
  color: var(--home-text-secondary);
  margin: 0 0 10px;
}

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

.page-home .home-arrange__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: #1B3A5A;
}

.page-home .home-arrange__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--blue-bright);
  border-radius: 2px;
  transform: skewX(-14deg);
}

.page-home .home-arrange__visual {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 8px;
  padding: 26px 24px;
  box-shadow: var(--shadow);
}

.page-home .home-arrange__visual::before {
  content: '';
  position: absolute;
  top: -24%;
  right: -10%;
  width: 60%;
  height: 150%;
  background: linear-gradient(115deg, transparent 32%, rgba(30, 136, 229, 0.07) 50%, transparent 68%);
  transform: skewX(-10deg);
  pointer-events: none;
}

.page-home .home-arrange__tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .home-arrange__note {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  font-size: 13px;
  color: rgba(13, 27, 42, 0.72);
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-home .home-arrange__note::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 109, 0, 0.15);
}

/* ========== 实时比分对照 ========== */
.page-home .home-score {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: 56px 0 64px;
  overflow: hidden;
}

.page-home .home-score::before {
  content: '';
  position: absolute;
  top: 22%;
  left: 6%;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--green), 0 0 32px rgba(0, 230, 118, 0.4);
  animation: leyu-home-pulse 2.6s ease-in-out infinite;
}

.page-home .home-score .section-head h2 {
  color: var(--white);
}

.page-home .home-score .section-head__index {
  color: var(--green);
}

.page-home .home-score .section-head__line {
  background: rgba(255, 255, 255, 0.22);
}

.page-home .home-score__intro {
  position: relative;
  z-index: 1;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(227, 242, 253, 0.74);
  margin: 0 0 26px;
  max-width: 54ch;
}

.page-home .score-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.page-home .score-strip__item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 12px 14px;
  min-width: 0;
}

.page-home .score-strip__item--hot {
  border-left: 3px solid var(--orange);
}

.page-home .score-strip__tag {
  flex-shrink: 0;
}

.page-home .score-strip__tag--hot {
  background: rgba(255, 109, 0, 0.16);
  border-color: rgba(255, 109, 0, 0.5);
  color: #FFB74D;
}

.page-home .score-strip__teams {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  font-weight: 600;
}

.page-home .score-strip__team {
  white-space: nowrap;
  color: var(--white);
  font-size: 13px;
}

.page-home .score-strip__score {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  color: var(--green);
  letter-spacing: 0.02em;
}

.page-home .score-strip__status {
  margin-left: auto;
  font-size: 12px;
  color: rgba(227, 242, 253, 0.6);
  white-space: nowrap;
}

.page-home .score-strip__item:has(.tag--live) .tag--live {
  margin-left: auto;
}

.page-home .home-score__detail {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 28px;
  align-items: center;
}

.page-home .home-score__info h3 {
  font-family: var(--font-head);
  font-size: 22px;
  line-height: 1.3;
  font-weight: 750;
  margin: 0 0 10px;
}

.page-home .home-score__info p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(227, 242, 253, 0.72);
  margin: 0;
}

.page-home .home-score__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  font-size: 13px;
  color: rgba(227, 242, 253, 0.84);
}

.page-home .home-score__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.page-home .home-score__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.page-home .home-score__dot--orange {
  background: var(--orange);
  box-shadow: 0 0 8px rgba(255, 109, 0, 0.7);
}

.page-home .home-score__dot--green {
  background: var(--green);
  box-shadow: 0 0 8px rgba(0, 230, 118, 0.7);
}

.page-home .home-score__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

/* ========== 专家专栏与战报 ========== */
.page-home .home-hub {
  background: var(--grey-blue);
  padding: 56px 0 64px;
}

.page-home .home-hub__body {
  display: grid;
  gap: 24px;
  margin-top: 4px;
}

.page-home .home-hub__media {
  margin: 0;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(10, 37, 64, 0.08);
}

.page-home .home-hub__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
}

.page-home .home-hub__cards {
  display: grid;
  gap: 16px;
}

.page-home .home-hub__card {
  background: var(--white);
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.06);
}

.page-home .home-hub__card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  gap: 9px;
}

.page-home .home-hub__card h3::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 15px;
  background: var(--green);
  transform: skewX(-16deg);
  border-radius: 1px;
}

.page-home .home-hub__card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--home-text-secondary);
  margin-bottom: 14px;
}

.page-home .home-hub__link {
  display: inline-block;
  font-weight: 600;
  font-size: 13px;
  color: var(--blue-bright);
  text-decoration: none;
}

.page-home .home-hub__link span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.page-home .home-hub__link:hover span {
  transform: translateX(4px);
}

/* ========== 快速开始 ========== */
.page-home .home-start {
  position: relative;
  background: var(--blue-dark);
  color: var(--white);
  padding: 56px 0 64px;
  overflow: hidden;
}

.page-home .home-start::before {
  content: '';
  position: absolute;
  bottom: 14%;
  right: 8%;
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 109, 0, 0.7);
  animation: leyu-home-pulse 2s ease-in-out infinite;
}

.page-home .home-start .section-head h2 {
  color: var(--white);
}

.page-home .home-start .section-head__index {
  color: var(--green);
}

.page-home .home-start .section-head__line {
  background: rgba(255, 255, 255, 0.22);
}

.page-home .home-start__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}

.page-home .home-start__text {
  max-width: 60ch;
  color: rgba(227, 242, 253, 0.8);
  line-height: 1.8;
  font-size: 14px;
}

.page-home .home-start__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-home .home-start .btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.page-home .home-start .btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.page-home .home-start__media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.page-home .home-start__media img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 200px;
  max-height: 320px;
  object-fit: cover;
}

/* ========== 动画 ========== */
@keyframes leyu-home-pulse {
  0%, 100% {
    opacity: 0.45;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* ========== 平板 ========== */
@media (min-width: 768px) {
  .page-home .home-hero__lead h1 {
    font-size: 56px;
  }

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

  .page-home .home-start__media img {
    max-height: 380px;
  }
}

/* ========== 桌面 ========== */
@media (min-width: 992px) {
  .page-home .home-hero {
    padding: 72px 0 80px;
  }

  .page-home .home-hero__inner {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 52px;
    align-items: center;
  }

  .page-home .home-hero__lead h1 {
    font-size: 72px;
  }

  .page-home .home-hero__aside {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 22px;
    align-items: stretch;
  }

  .page-home .home-hero__cards {
    align-content: center;
    gap: 12px;
  }

  .page-home .home-hero__shot {
    align-self: center;
  }

  .page-home .home-hero__shot img {
    max-height: 520px;
  }

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

  .page-home .section-head h2 {
    font-size: 34px;
  }

  .page-home .home-arrange {
    padding: 76px 0 84px;
  }

  .page-home .home-arrange__body {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }

  .page-home .home-arrange__lead {
    font-size: 22px;
  }

  .page-home .home-score {
    padding: 76px 0 84px;
  }

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

  .page-home .home-score__detail {
    grid-template-columns: 1fr 1.1fr;
    gap: 36px;
    margin-top: 36px;
  }

  .page-home .home-score__info h3 {
    font-size: 26px;
  }

  .page-home .home-score__img {
    max-height: 380px;
    object-fit: cover;
  }

  .page-home .home-hub {
    padding: 76px 0 84px;
  }

  .page-home .home-hub__body {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
    align-items: center;
  }

  .page-home .home-hub__media {
    align-self: stretch;
  }

  .page-home .home-hub__media img {
    height: 100%;
    max-height: none;
    min-height: 360px;
    object-fit: cover;
  }

  .page-home .home-hub__card {
    padding: 26px;
  }

  .page-home .home-hub__card h3 {
    font-size: 20px;
  }

  .page-home .home-start {
    padding: 76px 0 84px;
  }

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

  .page-home .home-start__media {
    margin-top: 0;
  }

  .page-home .home-start__media img {
    max-height: 460px;
    min-height: 300px;
  }
}
