.page-home {
  --home-beam: linear-gradient(105deg, rgba(57,255,20,0.10) 0%, rgba(10,25,47,0) 42%);
  --home-slash: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
  position: relative;
  overflow-x: hidden;
  background: var(--bg);
}

.page-home .container {
  padding-inline: 20px;
}

/* 首屏 */
.page-home .home-hero {
  position: relative;
  padding: 28px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(57,255,20,0.06), transparent 320px),
    radial-gradient(circle at 18% 78%, rgba(255,107,53,0.05), transparent 280px),
    var(--bg);
}

.page-home .home-hero__container {
  position: relative;
  z-index: 2;
}

.page-home .home-hero__bgimg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.10;
  filter: saturate(0.7) blur(1.5px);
}

.page-home .home-hero__beam {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: 44%;
  height: 100%;
  background: var(--home-beam);
  clip-path: var(--home-slash);
  pointer-events: none;
}

.page-home .home-hero__shell {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 26px;
}

.page-home .breadcrumb {
  color: var(--muted);
  font-size: 13px;
  font-family: var(--font-body);
}

.page-home .home-calendar {
  flex: 1;
  padding: 24px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}

.page-home .home-calendar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 86px;
  height: 3px;
  background: var(--accent);
}

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

.page-home .home-calendar__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.page-home .home-hero__title {
  margin: 18px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.22;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-home .home-hero__title-accent {
  display: inline-flex;
  color: var(--accent);
}

.page-home .home-hero__lead {
  max-width: 620px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 22px;
}

.page-home .home-calendar__grid {
  width: 100%;
  height: auto;
  display: block;
  margin: 8px 0 20px;
  border: 1px solid var(--line);
  background: rgba(10,25,47,0.55);
}

.page-home .home-calendar__foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.page-home .home-calendar__foot-link a {
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 13px;
}

.page-home .home-calendar__foot-link a:hover {
  text-decoration: underline;
}

/* 数据面板 */
.page-home .home-dash {
  padding: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
}

.page-home .home-dash::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(255,107,53,0.16), transparent 65%);
  pointer-events: none;
}

.page-home .home-dash__top {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .home-dash__value-lg {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  color: var(--accent);
  font-weight: 800;
  text-shadow: 0 0 24px rgba(57,255,20,0.3);
}

.page-home .home-dash__cells {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .home-dash__cell {
  padding: 16px 14px;
  background: var(--bg-elev);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 86px;
}

.page-home .home-dash__cell--orange .metric__value {
  color: var(--accent-orange);
}

.page-home .home-dash__note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

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

/* 本月赛讯滚动 */
.page-home .home-schedule {
  position: relative;
  background: var(--bg);
}

.page-home .home-schedule::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent 70%);
  margin-bottom: 20px;
}

.page-home .home-games {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  margin-top: 28px;
}

.page-home .home-games__head {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line);
}

.page-home .home-games__tab {
  background: var(--bg-elev);
  color: var(--text-soft);
  padding: 12px 18px;
  font-family: var(--font-display);
  font-size: 13px;
  flex: 1;
  white-space: nowrap;
  text-align: center;
  cursor: default;
}

.page-home .home-games__tab--active {
  background: rgba(57,255,20,0.10);
  color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
}

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

.page-home .game-row {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 0;
  cursor: default;
}

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

.page-home .game-row__league {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--muted);
  background: var(--bg);
  padding: 3px 8px;
  margin-right: 12px;
}

.page-home .game-row__teams {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.page-home .game-row__score {
  color: var(--accent);
  font-family: var(--font-display);
  font-style: normal;
  padding: 0 2px;
}

.page-home .game-row__status {
  color: var(--muted);
  font-size: 12px;
  margin-left: auto;
  padding-left: 12px;
  font-family: var(--font-display);
  white-space: nowrap;
}

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

.page-home .game-row__extra {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.7;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: var(--bg-elev);
}

.page-home .game-row:hover .game-row__extra,
.page-home .game-row:focus-within .game-row__extra {
  max-height: 120px;
  padding-top: 10px;
  padding-bottom: 12px;
}

.page-home .game-row__status {
  float: right;
}

.page-home .home-games__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  color: var(--muted);
  font-size: 13px;
  background: var(--bg-elev);
}

.page-home .home-games__foot p {
  margin: 0;
}

/* 会员权益 */
.page-home .home-membership {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.page-home .home-membership__grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.page-home .home-membership__content {
  flex: 1;
}

.page-home .home-membership__desc {
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 16px;
  margin: 0 0 22px;
}

.page-home .home-membership__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-home .home-membership__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--bg);
  border-left: 3px solid var(--accent);
}

.page-home .home-membership__item:nth-child(2) {
  border-left-color: var(--accent-orange);
}

.page-home .home-membership__item:nth-child(3) {
  border-left-color: var(--metal);
}

.page-home .home-membership__no {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}

.page-home .home-membership__item:nth-child(2) .home-membership__no {
  color: var(--accent-orange);
}

.page-home .home-membership__item:nth-child(3) .home-membership__no {
  color: var(--metal);
}

.page-home .home-membership__item h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--text);
  font-family: var(--font-display);
}

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

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

.page-home .home-membership__media {
  margin: 0;
  position: relative;
  flex: 0 0 100%;
}

.page-home .home-membership__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
}

.page-home .home-membership__caption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-family: var(--font-display);
  line-height: 1.6;
}

/* 数据核对工具 */
.page-home .home-tools {
  background: var(--bg);
}

.page-home .home-tools__grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 30px;
}

.page-home .home-tools__card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  position: relative;
  overflow: hidden;
}

.page-home .home-tools__body {
  padding: 26px 24px;
  flex: 1;
}

.page-home .home-tools__body .tag {
  display: inline-block;
  background: rgba(57,255,20,0.10);
  color: var(--accent);
  padding: 4px 10px;
  font-family: var(--font-display);
  font-size: 12px;
  border: 1px solid var(--line-strong);
  margin-bottom: 16px;
}

.page-home .home-tools__card--v4 .home-tools__body .tag {
  background: rgba(255,107,53,0.10);
  color: var(--accent-orange);
  border-color: rgba(255,107,53,0.45);
}

.page-home .home-tools__body h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text);
  line-height: 1.5;
}

.page-home .home-tools__body p {
  margin: 0 0 20px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.8;
}

.page-home .home-tools__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 460px;
  border-top: 1px solid var(--line);
}

.page-home .home-tools__board {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 210px;
  gap: 6px;
  background:
    linear-gradient(135deg, rgba(255,107,53,0.10), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
  padding: 28px;
  text-align: center;
}

.page-home .home-tools__board-name {
  font-family: var(--font-display);
  color: var(--accent-orange);
  font-size: 14px;
  letter-spacing: 0.14em;
}

.page-home .home-tools__board-val {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: var(--accent-orange);
  line-height: 1;
  text-shadow: 0 0 30px rgba(255,107,53,0.25);
}

.page-home .home-tools__board-note {
  color: var(--muted);
  font-size: 13px;
}

/* 最新行业观察 */
.page-home .home-insights {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.page-home .home-insights__grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 30px;
}

.page-home .home-insight-card {
  padding: 22px 22px 18px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  position: relative;
}

.page-home .home-insight-card:nth-child(2) {
  border-left-color: var(--accent-orange);
}

.page-home .home-insight-card:nth-child(3) {
  border-left-color: var(--metal);
}

.page-home .home-insight-card__label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--accent);
  background: rgba(57,255,20,0.08);
  padding: 3px 8px;
  margin-bottom: 12px;
}

.page-home .home-insight-card:nth-child(2) .home-insight-card__label {
  color: var(--accent-orange);
  background: rgba(255,107,53,0.08);
}

.page-home .home-insight-card:nth-child(3) .home-insight-card__label {
  color: var(--metal);
  background: rgba(192,192,192,0.08);
}

.page-home .home-insight-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  font-family: var(--font-display);
}

.page-home .home-insight-card p {
  margin: 0 0 16px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.8;
}

.page-home .home-insight-card__more {
  color: var(--accent);
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
}

.page-home .home-insight-card__more:hover {
  text-decoration: underline;
}

.page-home .home-insights__figure {
  margin: 28px 0 0;
  text-align: left;
}

.page-home .home-insights__figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 280px;
  border: 1px solid var(--line);
}

.page-home .home-insights__figure figcaption {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
  line-height: 1.6;
}

/* 支持横幅 */
.page-home .home-support {
  background: var(--bg);
}

.page-home .home-support__panel {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 32px 24px 30px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 90% 10%, rgba(57,255,20,0.08), transparent 260px),
    var(--bg-elev);
  position: relative;
}

.page-home .home-support__panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 90px;
  background: linear-gradient(135deg, transparent 48%, rgba(57,255,20,0.14) 50%, transparent 52%);
}

.page-home .home-support__panel h2 {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 0 0 8px;
  color: var(--text);
}

.page-home .home-support__panel p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
  max-width: 720px;
}

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

/* 通用显现 */
.page-home.js .page-home [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.page-home.js .page-home [data-reveal="left"] {
  transform: translateX(-18px);
}

.page-home.js .page-home [data-reveal="right"] {
  transform: translateX(18px);
}

.page-home.js .page-home [data-reveal].is-revealed,
.page-home.js .page-home [data-reveal="left"].is-revealed,
.page-home.js .page-home [data-reveal="right"].is-revealed {
  opacity: 1;
  transform: none;
}

.page-home.js .page-home [data-reveal-delay="120"] {
  transition-delay: 0.12s;
}

/* 桌面端 */
@media (min-width: 768px) {
  .page-home .container {
    padding-inline: 32px;
  }

  .page-home .home-hero__shell {
    flex-direction: row;
    align-items: stretch;
  }

  .page-home .home-calendar {
    flex: 3;
  }

  .page-home .home-dash {
    flex: 2;
  }

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

  .page-home .game-row {
    display: flex;
    align-items: flex-start;
    padding: 14px 18px;
    gap: 14px;
  }

  .page-home .game-row__status {
    float: none;
    margin-left: auto;
    padding-left: 0;
  }

  .page-home .game-row__extra {
    flex-basis: 100%;
    padding: 0 18px;
  }

  .page-home .home-membership__grid {
    flex-direction: row;
    align-items: flex-start;
  }

  .page-home .home-membership__content {
    flex: 2;
  }

  .page-home .home-membership__media {
    flex: 1;
    margin-top: 12px;
  }

  .page-home .home-tools__grid {
    flex-direction: row;
    align-items: stretch;
  }

  .page-home .home-tools__card {
    flex: 1;
  }

  .page-home .home-tools__media img {
    max-height: 360px;
  }

  .page-home .home-insights__grid {
    flex-direction: row;
  }

  .page-home .home-insight-card {
    flex: 1;
  }

  .page-home .home-insights__figure img {
    max-height: 220px;
  }

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

@media (min-width: 1024px) {
  .page-home .home-hero {
    padding-top: 36px;
  }

  .page-home .home-hero__shell {
    gap: 48px;
  }

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

  .page-home .home-dash {
    padding: 32px;
  }

  .page-home .home-tools__grid {
    gap: 32px;
  }

  .page-home .home-tools__body {
    padding: 32px 30px;
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .page-home.js .page-home [data-reveal],
  .page-home.js .page-home [data-reveal="left"],
  .page-home.js .page-home [data-reveal="right"] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page-home.js .page-home [data-reveal-delay="120"] {
    transition-delay: 0s;
  }

  .page-home .home-dash__value-lg {
    text-shadow: none;
  }
}
