/* 首页专属样式 —— 乐鱼体育中国官方品牌站 */
.page-home {
  background: var(--bg);
  color: var(--cream);
  overflow-x: clip;
}

.page-home .section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.page-home .section-index {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .18em;
  color: var(--accent);
  border: 1px solid rgba(255,107,53,.45);
  padding: 3px 10px;
}

.page-home .section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.1;
  margin: 0;
  letter-spacing: .02em;
}

.page-home .section-desc {
  max-width: 46em;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(245,240,230,.78);
  margin: 14px 0 0;
}

.page-home .link-more {
  display: inline-block;
  margin-top: 20px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(255,107,53,.45);
  padding-bottom: 4px;
}

.page-home .cta-arrow {
  display: inline-block;
  margin-left: 4px;
  transition: transform .2s ease;
}

.page-home .link-more:hover .cta-arrow {
  transform: translateX(4px);
}

/* 首屏：杂志封面 */
.page-home .home-hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}

.page-home .hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-home .hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(10,31,68,.96) 0%, rgba(10,31,68,.89) 42%, rgba(10,31,68,.55) 76%, rgba(7,26,58,.42) 100%),
    linear-gradient(0deg, rgba(7,26,58,.8) 0%, rgba(7,26,58,0) 55%);
}

.page-home .hero-shell {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 84px 20px 48px;
  display: grid;
  gap: 36px;
  align-items: end;
}

.page-home .hero-copy {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.page-home .breadcrumbs {
  display: inline-flex;
  gap: 10px;
  font-size: 13px;
  color: rgba(245,240,230,.55);
  font-family: var(--font-mono);
  letter-spacing: .08em;
  margin: 0;
}

.page-home .hero-edition {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--silver);
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  margin: 0;
}

.page-home .hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
}

.page-home .hero-brand {
  display: block;
  font-size: clamp(64px, 12vw, 140px);
  line-height: .88;
  letter-spacing: .01em;
  color: var(--cream);
  text-shadow: 0 6px 40px rgba(7,26,58,.55);
}

.page-home .hero-sub {
  display: block;
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--silver);
}

.page-home .hero-divider {
  display: block;
  margin: 6px 0 10px;
  font-family: var(--font-mono);
  font-size: clamp(42px, 4.5vw, 64px);
  font-weight: 400;
  line-height: .75;
  color: var(--accent);
}

.page-home .hero-keyword {
  display: inline-block;
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--accent);
  background: rgba(255,107,53,.12);
  border-left: 4px solid var(--accent);
  padding: 4px 14px 6px;
}

.page-home .hero-lead {
  max-width: 38em;
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
  color: rgba(245,240,230,.86);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 6px;
}

.page-home .hero-cta {
  min-width: 180px;
  text-align: center;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
}

.page-home .hero-quick {
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(192,197,209,.45);
  padding-bottom: 4px;
}

.page-home .hero-live-card {
  background: rgba(7,26,58,.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(192,197,209,.24);
  border-left: 3px solid var(--neon);
  padding: 20px 22px;
  max-width: 420px;
  box-shadow: 0 18px 48px rgba(0,0,0,.28);
}

.page-home .live-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--silver);
  margin-bottom: 16px;
}

.page-home .live-card-sync {
  margin-left: auto;
  color: rgba(192,197,209,.7);
}

.page-home .live-card-values {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.page-home .live-value {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.page-home .live-value-team {
  font-size: 14px;
  font-weight: 700;
  color: var(--cream);
}

.page-home .live-value-num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

.page-home .live-card-bar {
  display: flex;
  height: 10px;
  overflow: hidden;
  background: rgba(192,197,209,.15);
  margin-bottom: 14px;
}

.page-home .live-bar-home {
  width: 63%;
  background: var(--accent);
}

.page-home .live-bar-away {
  width: 37%;
  background: var(--silver);
}

.page-home .live-card-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(245,240,230,.62);
}

.page-home .hero-fast-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(192,197,209,.24);
  background: rgba(7,26,58,.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.page-home .fast-nav-item {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 16px 14px;
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-left: 1px solid rgba(192,197,209,.2);
}

.page-home .fast-nav-item:first-child {
  border-left: 0;
}

.page-home .fast-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
}

/* 联赛导航收藏页 */
.page-home .home-leagues {
  padding: 72px 20px;
  background: var(--bg);
}

.page-home .leagues-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  width: 100%;
}

.page-home .league-layout {
  display: grid;
  gap: 32px;
  margin-top: 36px;
}

.page-home .league-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
  position: relative;
}

.page-home .league-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-home .league-tab {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--silver);
  border: 1px solid rgba(192,197,209,.35);
  background: rgba(10,31,68,.5);
  padding: 8px 16px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.page-home .league-input:checked + .league-tab {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 700;
}

.page-home .league-panel {
  display: none;
  flex: 1 0 100%;
  background: rgba(7,26,58,.6);
  border: 1px solid rgba(192,197,209,.2);
  padding: 18px 20px;
  margin-top: 8px;
}

.page-home #league-prem:checked ~ .league-panel--prem,
.page-home #league-liga:checked ~ .league-panel--liga,
.page-home #league-ucl:checked ~ .league-panel--ucl,
.page-home #league-csl:checked ~ .league-panel--csl {
  display: block;
}

.page-home .league-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
}

.page-home .stat-block {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px dashed rgba(192,197,209,.2);
  padding-bottom: 8px;
}

.page-home .stat-block dt {
  color: rgba(245,240,230,.6);
  font-size: 13px;
}

.page-home .stat-block dd {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  color: var(--cream);
}

.page-home .league-visual {
  margin: 0;
}

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

.page-home .league-visual figcaption {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(245,240,230,.58);
  font-family: var(--font-mono);
  letter-spacing: .06em;
}

.page-home .league-support {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .support-badge {
  border: 1px solid rgba(57,255,20,.35);
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  padding: 6px 12px;
  background: rgba(57,255,20,.06);
}

/* 实时数据面板 */
.page-home .home-live-data {
  position: relative;
  padding: 72px 20px;
  overflow: hidden;
  isolation: isolate;
}

.page-home .live-data-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-home .live-data-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(170deg, rgba(7,26,58,.94) 20%, rgba(10,31,68,.85) 70%, rgba(7,26,58,.94) 100%);
}

.page-home .live-data-content {
  max-width: var(--container-w);
  margin: 0 auto;
  width: 100%;
}

.page-home .data-grid {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.page-home .data-card {
  background: rgba(7,26,58,.68);
  border: 1px solid rgba(192,197,209,.22);
  border-top: 3px solid var(--accent);
  padding: 18px 18px 16px;
}

.page-home .data-card--main {
  border-top-color: var(--neon);
}

.page-home .data-card-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--cream);
}

.page-home .data-pair {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 10px 0 14px;
}

.page-home .pair-num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

.page-home .pair-sep {
  font-family: var(--font-mono);
  font-size: 16px;
  color: rgba(245,240,230,.4);
}

.page-home .pair-bar {
  display: flex;
  gap: 4px;
  height: 6px;
  background: rgba(192,197,209,.14);
  overflow: hidden;
}

.page-home .mini-fill {
  display: block;
  height: 100%;
}

.page-home .mini-home-fill {
  width: 65%;
  background: var(--accent);
}

.page-home .mini-away-fill {
  width: 85%;
  background: var(--silver);
}

.page-home .card-caption {
  margin: 12px 0 0;
  font-size: 12px;
  color: rgba(245,240,230,.55);
  font-family: var(--font-mono);
}

.page-home .possession-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.page-home .possession-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--cream);
}

.page-home .possession-value {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 800;
  color: var(--cream);
}

.page-home .possession-track {
  height: 14px;
  background: rgba(192,197,209,.16);
  overflow: hidden;
  margin-bottom: 8px;
}

.page-home .possession-fill {
  display: block;
  height: 100%;
}

.page-home .home-fill {
  width: 63%;
  background: linear-gradient(90deg, var(--accent), var(--accent-mild));
}

.page-home .possession-row--away .possession-value {
  color: var(--silver);
}

.page-home .trend-detail {
  margin-top: 14px;
}

.page-home .trend-detail summary {
  cursor: pointer;
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

.page-home .trend-svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 10px;
  background: rgba(10,31,68,.55);
}

.page-home .trend-line {
  fill: none;
  stroke-width: 2.5;
}

.page-home .trend-line--home {
  stroke: var(--accent);
}

.page-home .trend-line--away {
  stroke: var(--silver);
  stroke-dasharray: 4 3;
}

.page-home .card-sync {
  margin: 12px 0 0;
  font-size: 12px;
  color: rgba(245,240,230,.62);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  letter-spacing: .05em;
}

.page-home .data-trust-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(57,255,20,.3);
  background: rgba(57,255,20,.06);
  margin-top: 22px;
  padding: 14px 18px;
  font-size: 13px;
  color: rgba(245,240,230,.8);
  line-height: 1.7;
}

.page-home .data-trust-bar .live-pulse {
  flex-shrink: 0;
}

/* 会员中心亮点 */
.page-home .home-membership {
  background: var(--cream);
  color: var(--ink);
  padding: 72px 20px;
}

.page-home .home-membership .section-title,
.page-home .home-membership .section-desc {
  color: var(--ink);
}

.page-home .home-membership .section-desc {
  color: rgba(16,24,40,.75);
}

.page-home .home-membership .section-index {
  border-color: rgba(181,101,29,.4);
  color: var(--clay);
}

.page-home .home-membership .link-more {
  color: var(--clay);
  border-bottom-color: rgba(181,101,29,.4);
}

.page-home .membership-shell {
  max-width: var(--container-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  gap: 40px;
}

.page-home .membership-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.page-home .membership-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.7;
}

.page-home .membership-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--clay);
  transform: skew(-14deg);
}

.page-home .membership-visual {
  background: var(--bg);
  padding: 22px;
  color: var(--cream);
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
}

.page-home .membership-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.page-home .m-tab {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--silver);
  border: 1px solid rgba(192,197,209,.3);
  padding: 5px 10px;
}

.page-home .m-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 700;
}

.page-home .m-tab--more {
  color: rgba(192,197,209,.6);
  border-style: dashed;
}

.page-home .membership-panel {
  background: rgba(7,26,58,.6);
  padding: 18px;
}

.page-home .m-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
}

.page-home .m-step {
  background: rgba(57,255,20,.12);
  border: 1px solid rgba(57,255,20,.35);
  color: var(--neon);
  padding: 8px 12px;
}

.page-home .m-arrow {
  color: var(--accent);
  font-size: 18px;
}

.page-home .m-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: rgba(245,240,230,.68);
}

/* 小屏观看指南 */
.page-home .home-mobile {
  padding: 72px 20px;
  position: relative;
  background: var(--bg-deep);
}

.page-home .mobile-guide-shell {
  max-width: var(--container-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  gap: 36px;
}

.page-home .mobile-features {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-home .mobile-features li {
  position: relative;
  padding-left: 22px;
  line-height: 1.7;
  color: rgba(245,240,230,.82);
}

.page-home .mobile-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 11px;
  height: 11px;
  background: var(--neon);
  border-radius: 50%;
  opacity: .8;
}

.page-home .mobile-simulator-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.page-home .phone-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-home .phone-toggle-label {
  cursor: pointer;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--neon);
  border: 1px solid rgba(57,255,20,.5);
  background: rgba(57,255,20,.08);
  padding: 8px 14px;
  user-select: none;
}

.page-home .phone-frame {
  width: min(220px, 100%);
  height: 440px;
  background: #000;
  border: 3px solid var(--silver);
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  transition: width .45s ease, height .45s ease;
}

.page-home .phone-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 22px;
}

.page-home .phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .phone-status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(7,26,58,.85), transparent);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cream);
}

.page-home .phone-live {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-home .phone-hint {
  font-size: 12px;
  color: rgba(245,240,230,.55);
  line-height: 1.6;
  max-width: 32em;
}

.page-home .phone-ratio::before {
  content: attr(data-label);
}

.page-home .phone-check:checked ~ .phone-frame {
  width: min(360px, 100%);
  height: 200px;
}

.page-home .phone-check:checked ~ .phone-frame .phone-ratio::before {
  content: "横屏 16:9";
}

@media (max-width: 420px) {
  .page-home .phone-check:checked ~ .phone-frame {
    width: 100%;
    height: 180px;
  }
}

/* 全站索引 */
.page-home .site-directory {
  padding: 72px 20px;
  background: var(--bg);
}

.page-home .directory-shell {
  max-width: var(--container-w);
  margin: 0 auto;
  width: 100%;
}

.page-home .directory-grid {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.page-home .dir-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 18px;
  padding: 20px;
  background: rgba(7,26,58,.6);
  border: 1px solid rgba(192,197,209,.2);
  border-left: 3px solid var(--accent);
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.page-home .dir-card:hover {
  background: rgba(7,26,58,.9);
  transform: translateX(4px);
}

.page-home .dir-num {
  grid-row: span 2;
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--accent);
  align-self: start;
}

.page-home .dir-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--cream);
}

.page-home .dir-desc {
  grid-column: 2;
  font-size: 13px;
  color: rgba(245,240,230,.55);
  line-height: 1.6;
}

/* 数据与页面动效 */
.page-home .sync-flash {
  animation: home-sync-flash 30s linear infinite;
}

.page-home .live-pulse {
  animation: home-live-pulse 2s ease-in-out infinite;
}

@keyframes home-sync-flash {
  0%, 96% { opacity: 1; }
  98% { opacity: .3; }
  100% { opacity: 1; }
}

@keyframes home-live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(57,255,20,.5); }
  50% { box-shadow: 0 0 0 5px rgba(57,255,20,0); }
}

/* 渐进增强滚动显现 */
.js .page-home [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.js .page-home [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* 平板与桌面栅格 */
@media (min-width: 600px) {
  .page-home .data-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .data-card--main {
    grid-column: 1 / -1;
  }

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

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

@media (min-width: 900px) {
  .page-home .hero-shell {
    grid-template-columns: 1.15fr .85fr;
    align-items: end;
    gap: 40px;
  }

  .page-home .hero-live-card {
    margin-left: auto;
  }

  .page-home .league-layout {
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
  }

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

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

  .page-home .data-card--main {
    grid-column: 1 / -1;
  }

  .page-home .membership-shell {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .page-home .mobile-guide-shell {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

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