.page-home {
  --home-border-soft: #242A34;
  --home-border-lime: rgba(198, 255, 0, 0.4);
  --home-glow-lime: rgba(198, 255, 0, 0.16);
  --home-glow-cyan: rgba(0, 229, 255, 0.14);
  --home-glow-yellow: rgba(255, 215, 0, 0.18);
  --home-speed-duration: 8s;
  background-color: var(--c-bg);
}

/* ===== Hero ===== */
.page-home .home-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--c-bg);
  padding-bottom: 44px;
}

.page-home .home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .home-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-home .home-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 15, 20, 0.58) 10%, rgba(13, 15, 20, 0.84) 68%, var(--c-bg) 100%),
    linear-gradient(112deg, rgba(13, 15, 20, 0.92) 28%, rgba(13, 15, 20, 0.28) 82%);
}

.page-home .home-hero__speedlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  background: repeating-linear-gradient(
    -8deg,
    transparent 0,
    transparent 52px,
    rgba(198, 255, 0, 0.08) 54px,
    rgba(0, 229, 255, 0.05) 56px,
    transparent 58px,
    transparent 96px
  );
  animation: page-home-sweep var(--home-speed-duration) linear infinite;
}

@keyframes page-home-sweep {
  from { transform: translateX(-46px); }
  to { transform: translateX(46px); }
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(96px, 16vh, 170px);
}

.page-home .home-hero__kicker {
  color: var(--c-lime);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.page-home .home-hero__title {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(52px, 11vw, 124px);
  line-height: 0.94;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--c-white);
  text-shadow: 0 0 40px rgba(0, 229, 255, 0.42), 0 0 96px rgba(198, 255, 0, 0.22);
  margin: 0 0 0.04em;
}

.page-home .home-hero__title-cn {
  display: block;
  font-size: 0.4em;
  color: var(--c-lime);
  text-shadow: 0 0 30px rgba(198, 255, 0, 0.5);
  letter-spacing: 0.08em;
}

.page-home .home-hero__slogan {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(26px, 4.6vw, 48px);
  line-height: 1.06;
  color: var(--c-cyan);
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.45);
  max-width: 12em;
  margin: 0 0 18px;
}

.page-home .home-hero__desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-gray);
  max-width: 560px;
  margin: 0 0 26px;
}

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

.page-home .button--solid {
  background: var(--c-lime);
  color: #0B0D10;
  border: 2px solid var(--c-lime);
}

.page-home .button--ghost {
  color: var(--c-white);
  border: 2px solid rgba(255, 255, 255, 0.28);
  background: rgba(13, 15, 20, 0.4);
}

.page-home .button--ghost:hover {
  border-color: var(--c-cyan);
  color: var(--c-cyan);
  box-shadow: 0 0 22px var(--home-glow-cyan);
}

.page-home .home-hero__scroll {
  position: absolute;
  left: 22px;
  bottom: 26px;
  width: 22px;
  height: 36px;
  border: 2px solid var(--c-lime);
  border-radius: 999px;
  z-index: 3;
  display: block;
  opacity: 0.75;
}

.page-home .home-hero__scroll span {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--c-lime);
  animation: page-home-scroll-dot 1.6s ease-in-out infinite;
}

@keyframes page-home-scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  72% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

.page-home .home-hero__live {
  position: absolute;
  right: 14px;
  top: 38%;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--c-red);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  opacity: 0.85;
  text-shadow: 0 0 14px rgba(255, 59, 48, 0.6);
  animation: page-home-live-blink 1.8s ease-in-out infinite;
  z-index: 3;
}

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

/* ===== Stats ===== */
.page-home .home-stats {
  position: relative;
  background:
    linear-gradient(135deg, #171C25 0%, rgba(13, 15, 20, 0.96) 68%),
    var(--c-carbon);
  padding: 72px 0;
  overflow: hidden;
}

.page-home .home-stats::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-lime), var(--c-cyan), transparent 74%);
}

.page-home .home-stats::after {
  content: "";
  position: absolute;
  left: -10%;
  top: 52px;
  width: 120%;
  height: 2px;
  transform: rotate(-1.6deg);
  background: linear-gradient(90deg, transparent, var(--c-cyan), var(--c-lime), transparent);
  opacity: 0.28;
  pointer-events: none;
}

.page-home .home-stats__grid {
  display: grid;
  gap: 40px;
}

.page-home .home-stats__content h2,
.page-home .home-mobile h2,
.page-home .home-leagues h2,
.page-home .home-expert h2,
.page-home .home-brand h2 {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(28px, 5.4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--c-white);
  margin: 0.14em 0 0.4em;
}

.page-home .home-stats__content .lead,
.page-home .home-mobile .lead,
.page-home .home-leagues .lead {
  color: var(--c-gray);
  font-size: 15px;
  line-height: 1.7;
  max-width: 52em;
}

.page-home .home-stats__metrics {
  margin: 32px 0 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.page-home .home-stat {
  position: relative;
  border-left: 3px solid var(--c-lime);
  background: linear-gradient(90deg, rgba(198, 255, 0, 0.06), transparent 72%);
  padding: 14px 16px 14px 14px;
}

.page-home .home-stat:nth-child(2) {
  border-left-color: var(--c-cyan);
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.05), transparent 72%);
}

.page-home .home-stat:nth-child(3) {
  border-left-color: var(--c-yellow);
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.05), transparent 72%);
}

.page-home .home-stat:nth-child(4) {
  border-left-color: var(--c-red);
  background: linear-gradient(90deg, rgba(255, 59, 48, 0.05), transparent 72%);
}

.page-home .home-stat__num {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(34px, 6vw, 58px);
  font-style: italic;
  line-height: 1;
  color: var(--c-white);
  text-shadow: 0 0 24px var(--home-glow-lime);
  animation: page-home-stat-pulse 3.2s ease-in-out infinite;
}

.page-home .home-stat:nth-child(2) .home-stat__num { text-shadow: 0 0 24px var(--home-glow-cyan); }
.page-home .home-stat:nth-child(3) .home-stat__num { text-shadow: 0 0 24px var(--home-glow-yellow); }
.page-home .home-stat:nth-child(4) .home-stat__num { text-shadow: 0 0 24px rgba(255, 59, 48, 0.14); }

@keyframes page-home-stat-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.82; }
}

.page-home .home-stat__unit {
  font-size: 0.4em;
  margin-left: 4px;
  color: var(--c-lime);
}

.page-home .home-stat:nth-child(2) .home-stat__unit { color: var(--c-cyan); }
.page-home .home-stat:nth-child(3) .home-stat__unit { color: var(--c-yellow); }
.page-home .home-stat:nth-child(4) .home-stat__unit { color: var(--c-red); }

.page-home .stat__label {
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--c-gray);
}

.page-home .home-stats__note {
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-gray);
  border-left: 1px solid var(--c-lime);
  padding-left: 12px;
}

.page-home .home-stats__media {
  margin: 0;
}

.page-home .home-stats__media img,
.page-home .home-mobile__device img,
.page-home .home-expert__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-stats__media figcaption,
.page-home .home-mobile__device figcaption,
.page-home .home-expert__media figcaption {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--c-gray);
  letter-spacing: 0.04em;
}

/* ===== Mobile ===== */
.page-home .home-mobile {
  position: relative;
  background: var(--c-bg);
  padding: 72px 0;
}

.page-home .home-mobile::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-cyan), transparent);
  opacity: 0.3;
}

.page-home .home-mobile__grid {
  display: grid;
  gap: 40px;
}

.page-home .home-mobile__copy .lead {
  margin-bottom: 22px;
}

.page-home .home-mobile__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}

.page-home .home-mobile__list li {
  position: relative;
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--c-white);
  font-size: 15px;
  line-height: 1.5;
}

.page-home .home-mobile__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--c-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.page-home .home-mobile__device {
  margin: 0 auto;
  max-width: 340px;
  width: 100%;
}

/* ===== Leagues ===== */
.page-home .home-leagues {
  position: relative;
  background:
    linear-gradient(180deg, var(--c-bg) 0%, #11151C 52%, var(--c-bg) 100%);
  padding: 72px 0 64px;
  overflow: hidden;
}

.page-home .home-leagues::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-yellow), transparent);
  opacity: 0.5;
}

.page-home .home-leagues::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.09), transparent 66%);
  pointer-events: none;
}

.page-home .home-leagues__track {
  margin: 32px -20px 0;
  padding: 0 20px 16px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--c-lime) transparent;
}

.page-home .home-leagues__track::-webkit-scrollbar {
  height: 5px;
}

.page-home .home-leagues__track::-webkit-scrollbar-thumb {
  background: var(--c-lime);
  border-radius: 999px;
}

.page-home .home-leagues__card {
  flex: 0 0 232px;
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 158px;
  padding: 20px 18px 18px;
  background: linear-gradient(150deg, #161B24, #10141A);
  border: 2px solid var(--home-border-soft);
  color: var(--c-white);
  text-decoration: none;
  transition: border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.page-home .home-leagues__card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: linear-gradient(90deg, var(--c-lime), var(--c-cyan), transparent);
  opacity: 0.7;
  transform: scaleX(0.22);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.page-home .home-leagues__card:hover {
  transform: translateY(-5px);
  border-color: var(--c-lime);
  box-shadow: 0 10px 34px var(--home-glow-lime), inset 0 0 0 1px rgba(198, 255, 0, 0.16);
}

.page-home .home-leagues__card:hover::after {
  transform: scaleX(1);
}

.page-home .home-leagues__num {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 13px;
  color: var(--c-cyan);
  letter-spacing: 0.12em;
}

.page-home .home-leagues__type {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 28px;
  line-height: 1.1;
}

.page-home .home-leagues__meta {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-gray);
}

.page-home .home-leagues__promo {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  color: var(--c-white);
}

.page-home .home-leagues__promo-label {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--c-gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-home .home-leagues__promo a {
  color: var(--c-lime);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(198, 255, 0, 0.3);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .home-leagues__promo a:hover {
  color: var(--c-cyan);
  border-color: var(--c-cyan);
}

/* ===== Expert ===== */
.page-home .home-expert {
  position: relative;
  background:
    radial-gradient(circle at 8% 10%, rgba(0, 229, 255, 0.08), transparent 44%),
    radial-gradient(circle at 92% 80%, rgba(198, 255, 0, 0.06), transparent 44%),
    var(--c-bg);
  padding: 72px 0;
  border-top: 1px solid var(--home-border-lime);
  border-bottom: 1px solid var(--home-border-lime);
}

.page-home .home-expert__grid {
  display: grid;
  gap: 34px;
}

.page-home .home-expert__lead {
  color: var(--c-gray);
  font-size: 15px;
  line-height: 1.75;
  max-width: 48em;
  margin-bottom: 24px;
}

.page-home .home-expert__media {
  margin: 0;
}

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

.page-home .home-expert__acc {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.page-home .home-expert__acc + .home-expert__acc {
  margin-top: 2px;
}

.page-home .home-expert__acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 16px 2px;
  cursor: pointer;
  color: var(--c-white);
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 1.4;
  text-align: left;
  transition: color 0.2s ease;
}

.page-home .home-expert__acc-btn:hover {
  color: var(--c-cyan);
}

.page-home .home-expert__acc-mark {
  position: relative;
  flex: 0 0 20px;
  height: 20px;
  margin-left: 14px;
  display: inline-block;
}

.page-home .home-expert__acc-mark::before,
.page-home .home-expert__acc-mark::after {
  content: "";
  position: absolute;
  background: var(--c-cyan);
  transition: transform 0.24s ease, background 0.24s ease;
}

.page-home .home-expert__acc-mark::before {
  top: 9px;
  left: 2px;
  right: 2px;
  height: 2px;
}

.page-home .home-expert__acc-mark::after {
  left: 9px;
  top: 2px;
  bottom: 2px;
  width: 2px;
}

.page-home .home-expert__acc[data-open="true"] .home-expert__acc-mark::after {
  transform: scaleY(0);
}

.page-home .home-expert__acc[data-open="true"] .home-expert__acc-mark::before {
  background: var(--c-lime);
}

.page-home .home-expert__acc-body {
  color: var(--c-gray);
  font-size: 14px;
  line-height: 1.75;
  padding: 0 0 16px;
  max-width: 52em;
}

/* ===== Brand ===== */
.page-home .home-brand {
  position: relative;
  background:
    linear-gradient(118deg, #0A0D12 0%, #0D1520 52%, rgba(0, 75, 75, 0.82) 100%);
  padding: 72px 0;
  overflow: hidden;
}

.page-home .home-brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--c-lime), var(--c-cyan), transparent);
}

.page-home .home-brand::after {
  content: "V3";
  position: absolute;
  right: -16px;
  bottom: -42px;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(120px, 22vw, 230px);
  color: rgba(198, 255, 0, 0.05);
  letter-spacing: -0.04em;
  user-select: none;
  pointer-events: none;
}

.page-home .home-brand__copy {
  position: relative;
  z-index: 1;
}

.page-home .home-brand__copy p:not(.kicker) {
  color: var(--c-gray);
  font-size: 15px;
  line-height: 1.75;
  max-width: 42em;
  margin-bottom: 24px;
}

.page-home .home-brand .button--ghost {
  margin-right: 8px;
}

.page-home .button--small {
  border: 2px solid rgba(255, 255, 255, 0.26);
  background: transparent;
  color: var(--c-white);
  padding: 10px 18px;
  font-size: 13px;
}

.page-home .button--small:hover {
  border-color: var(--c-yellow);
  color: var(--c-yellow);
  box-shadow: 0 0 18px var(--home-glow-yellow);
}

/* ===== Reveal 过渡（不隐藏内容，仅供 site.js 补充动效） ===== */
.page-home [data-reveal] {
  will-change: transform, opacity;
}

/* ===== Tablet / Desktop ===== */
@media (min-width: 768px) {
  .page-home .home-hero {
    min-height: 100vh;
    padding-bottom: 60px;
  }

  .page-home .home-hero__inner {
    padding-top: clamp(110px, 18vh, 190px);
  }

  .page-home .home-hero__desc {
    font-size: 15px;
  }

  .page-home .home-stats__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 56px;
  }

  .page-home .home-stats__metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .page-home .home-mobile {
    padding: 96px 0;
  }

  .page-home .home-mobile__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 56px;
  }

  .page-home .home-mobile__device {
    max-width: 360px;
  }

  .page-home .home-leagues {
    padding: 96px 0 84px;
  }

  .page-home .home-leagues__track {
    margin-top: 40px;
  }

  .page-home .home-leagues__card {
    flex-basis: 280px;
    min-height: 170px;
  }

  .page-home .home-expert {
    padding: 96px 0;
  }

  .page-home .home-expert__grid {
    grid-template-columns: 0.9fr 0.6fr 1.1fr;
    align-items: start;
    gap: 44px;
  }

  .page-home .home-expert__intro {
    position: sticky;
    top: 120px;
  }

  .page-home .home-brand {
    padding: 86px 0;
  }
}

@media (min-width: 1200px) {
  .page-home .home-leagues__track {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .page-home .home-leagues__card {
    flex-basis: 300px;
  }

  .page-home .home-stats {
    padding: 104px 0;
  }

  .page-home .home-mobile {
    padding: 104px 0;
  }

  .page-home .home-expert {
    padding: 112px 0;
  }
}
