.page-home {
  --home-blue-glow: rgba(0, 191, 255, 0.16);
  --home-green-glow: rgba(57, 255, 20, 0.12);
  --home-axis: linear-gradient(135deg, rgba(0, 191, 255, 0.14), rgba(57, 255, 20, 0.06));
  color: var(--c-text);
  background: var(--c-space);
}

/* ============ 首屏沉浸式比分看板 ============ */
.page-home__hero {
  position: relative;
  isolation: isolate;
  min-height: 92vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  padding: 112px 20px 40px;
  background: var(--c-space);
}

.page-home__hero-media,
.page-home__hero-img,
.page-home__hero-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-home__hero-media {
  z-index: 0;
}

.page-home__hero-img {
  object-fit: cover;
  opacity: 0.4;
  max-width: 100%;
}

.page-home__hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 26, 46, 0.92) 0%, rgba(26, 26, 46, 0.64) 48%, rgba(17, 17, 35, 0.96) 100%);
}

.page-home__hero-texture {
  z-index: 1;
  pointer-events: none;
}

.page-home__hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: var(--container-w);
  margin: 0 auto;
  width: 100%;
}

.page-home__hero-breadcrumb {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-text-dim);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.page-home__hero-breadcrumb-slash {
  color: var(--c-green);
  margin: 0 8px;
}

.page-home__hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(90deg, rgba(0, 191, 255, 0.22), rgba(57, 255, 20, 0.1));
  border-left: 3px solid var(--c-green);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-green);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  transform: skewX(var(--skew));
}

.page-home__hero-titlewrap {
  width: 100%;
  max-width: 780px;
}

.page-home__hero-title {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(28px, 6vw, 56px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--c-text);
  transform: skewX(var(--skew));
  transform-origin: left center;
  text-shadow: 0 4px 28px rgba(0, 191, 255, 0.26);
  padding-left: 8px;
}

.page-home__hero-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text-dim);
  margin: 16px 0 0;
  max-width: 640px;
  font-weight: 400;
}

.page-home__liveboard {
  width: 100%;
  max-width: 760px;
  margin-top: 28px;
  background: rgba(26, 26, 46, 0.72);
  backdrop-filter: blur(6px);
  position: relative;
  transform: translateY(0);
}

.page-home__liveboard::before,
.page-home__liveboard::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--c-green);
  opacity: 0.55;
}

.page-home__liveboard::before {
  top: 8px;
  left: 8px;
  border-right: none;
  border-bottom: none;
}

.page-home__liveboard::after {
  bottom: 8px;
  right: 8px;
  border-left: none;
  border-top: none;
}

.page-home__liveboard-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px 12px;
  border-bottom: 1px solid rgba(0, 191, 255, 0.26);
}

.page-home__liveboard-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--c-green);
  letter-spacing: 0.1em;
}

.page-home__liveboard-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 12px var(--c-green);
  animation: page-home-live-dot 1.6s ease-in-out infinite;
}

@keyframes page-home-live-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.78); }
}

.page-home__liveboard-round {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--c-gold);
}

.page-home__liveboard-sync {
  font-size: 12px;
  color: var(--c-text-dim);
}

.page-home__liveboard-grid {
  display: grid;
  gap: 1px;
  background: linear-gradient(90deg, rgba(0, 191, 255, 0.2), rgba(57, 255, 20, 0.18));
}

.page-home__liveboard-match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(26, 26, 46, 0.88);
}

.page-home__liveboard-team {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.4;
}

.page-home__liveboard-team:last-child {
  text-align: right;
}

.page-home__liveboard-score {
  font-family: var(--font-data);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-green);
  background: rgba(0, 191, 255, 0.14);
  padding: 4px 12px;
  border-radius: 2px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  animation: page-home-score-pulse 3s ease-in-out infinite;
}

@keyframes page-home-score-pulse {
  0%, 88%, 100% { opacity: 1; transform: translateX(0); }
  91%, 97% { opacity: 0.68; transform: translateX(2px); }
  94% { opacity: 0.9; transform: translateX(-1px); }
}

.page-home__liveboard-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 18px 14px;
  font-size: 12px;
  color: var(--c-text-dim);
}

.page-home__liveboard-link {
  color: var(--c-blue);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-home__liveboard-link:hover,
.page-home__liveboard-link:focus-visible {
  color: var(--c-green);
  text-decoration: underline;
}

/* ============ 联赛排名速查 ============ */
.page-home__rankings {
  padding: 72px 0;
  background: var(--c-surface);
  position: relative;
}

.page-home__rankings::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-green), var(--c-gold));
}

.page-home__section-head {
  position: relative;
  margin-bottom: 28px;
  padding-left: 14px;
  border-left: 4px solid var(--c-blue);
}

.page-home__section-head--dir {
  border-left-color: var(--c-green);
}

.page-home__section-head--hb {
  border-left-color: var(--c-gold);
}

.page-home__section-title {
  margin: 8px 0 10px;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.2;
}

.page-home__section-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text-dim);
  max-width: 680px;
}

.page-home__rankings-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.page-home__rank-card {
  background: var(--c-surface-alt);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.page-home__rank-card--primary {
  border-bottom: 4px solid var(--c-blue);
}

.page-home__rank-card--accent {
  border-bottom: 4px solid var(--c-gold);
}

.page-home__rank-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.page-home__rank-name {
  font-family: var(--font-headline);
  font-size: 20px;
  margin: 0;
  font-weight: 700;
}

.page-home__rank-number {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--c-gold);
  letter-spacing: 0.12em;
  margin-right: 6px;
}

.page-home__rank-round {
  font-size: 12px;
  color: var(--c-text-dim);
  letter-spacing: 0.08em;
}

.page-home__rank-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.page-home__rank-table th {
  color: var(--c-text-dim);
  font-weight: 600;
  text-align: left;
  padding: 8px 4px;
  border-bottom: 1px solid rgba(176, 176, 192, 0.18);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-home__rank-table td {
  padding: 8px 4px;
  border-bottom: 1px solid rgba(176, 176, 192, 0.08);
}

.page-home__rank-table tbody tr:hover {
  background: rgba(0, 191, 255, 0.06);
}

.page-home__rank-table td:first-child {
  color: var(--c-gold);
  font-family: var(--font-data);
}

.page-home__rank-table td:nth-child(2) {
  font-weight: 600;
}

.page-home__rank-table td:last-child {
  text-align: right;
  color: var(--c-text-dim);
  font-family: var(--font-data);
}

.page-home__rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home__rank-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 4px;
  border-bottom: 1px solid rgba(176, 176, 192, 0.08);
}

.page-home__rank-list li:hover {
  background: rgba(255, 215, 0, 0.05);
}

.page-home__rank-list li:last-child {
  border-bottom: none;
}

.page-home__rank-list li span:first-child {
  font-weight: 600;
}

.page-home__rank-list li span:last-child {
  color: var(--c-gold);
}

.page-home__rankings-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid rgba(0, 191, 255, 0.22);
  border-left: 4px solid var(--c-blue);
  background: rgba(0, 191, 255, 0.05);
}

.page-home__rankings-more p {
  margin: 0;
  font-size: 13px;
  color: var(--c-text-dim);
}

/* ============ 数据回访控制台 ============ */
.page-home__console {
  padding: 72px 0;
  background: var(--c-space);
  position: relative;
  overflow: hidden;
}

.page-home__console::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 260px;
  height: 260px;
  background: var(--home-axis);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  pointer-events: none;
}

.page-home__console-inner {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-home__console-visual {
  position: relative;
}

.page-home__console-frame {
  padding: 10px;
  background: rgba(34, 34, 68, 0.72);
}

.page-home__console-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  max-width: 100%;
}

.page-home__console-panel {
  padding: 28px 24px;
  background: var(--c-surface);
}

.page-home__console-title {
  margin: 8px 0 12px;
}

.page-home__console-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text);
  margin: 0 0 16px;
}

.page-home__console-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home__console-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-text);
}

.page-home__console-mark {
  width: 9px;
  height: 9px;
  background: var(--c-green);
  border-radius: 1px;
  transform: skewX(-20deg);
  margin-top: 7px;
  flex-shrink: 0;
}

.page-home__console-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.page-home__stat {
  padding: 12px 6px;
  text-align: center;
  background: var(--c-surface-alt);
}

.page-home__stat-num {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--c-blue);
}

.page-home__stat-label {
  display: block;
  font-size: 11px;
  color: var(--c-text-dim);
  margin-top: 4px;
}

/* ============ 本地365登录站点内容目录 ============ */
.page-home__directory {
  padding: 72px 0;
  background: var(--c-surface-alt);
}

.page-home__directory-grid {
  display: grid;
  gap: 12px;
}

.page-home__dir-cell {
  position: relative;
  padding: 20px;
  text-decoration: none;
  color: var(--c-text);
  background: var(--c-surface);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 150px;
  transition: box-shadow var(--ease), transform var(--ease);
  box-shadow: inset 0 0 0 1px rgba(0, 191, 255, 0.12);
  overflow: hidden;
}

.page-home__dir-cell::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-green));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--ease);
}

.page-home__dir-cell:hover,
.page-home__dir-cell:focus-visible {
  box-shadow: inset 0 0 0 1px var(--c-blue), 0 12px 32px rgba(0, 191, 255, 0.16);
  transform: translateY(-3px);
}

.page-home__dir-cell:hover::before,
.page-home__dir-cell:focus-visible::before {
  transform: scaleX(1);
}

.page-home__dir-index {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--c-gold);
  letter-spacing: 0.1em;
}

.page-home__dir-content h3 {
  margin: 10px 0 6px;
  font-family: var(--font-headline);
  font-size: 19px;
  line-height: 1.3;
}

.page-home__dir-content p {
  font-size: 13px;
  color: var(--c-text-dim);
  line-height: 1.6;
  margin: 0;
}

.page-home__dir-arrow {
  position: absolute;
  right: 16px;
  bottom: 14px;
  font-size: 22px;
  color: var(--c-blue);
}

/* ============ V3版本升级公告 ============ */
.page-home__v3 {
  padding: 72px 0;
  background: var(--c-space);
  position: relative;
  overflow: hidden;
}

.page-home__v3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 62%;
  height: 4px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-blue));
  pointer-events: none;
}

.page-home__v3-inner {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-home__v3-copy .caption-v {
  margin-right: 12px;
}

.page-home__v3-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text);
  max-width: 640px;
  margin: 0 0 18px;
}

.page-home__v3-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home__v3-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-text);
}

.page-home__v3-tick {
  color: var(--c-green);
  font-weight: 800;
  flex-shrink: 0;
}

.page-home__v3-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home__v3-figure {
  height: 220px;
  position: relative;
}

.page-home__v3-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
}

/* ============ 湖北区域热点 ============ */
.page-home__hubei {
  padding: 72px 0;
  background: var(--c-space);
}

.page-home__hubei-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}

.page-home__hubei-img-wrap {
  position: relative;
}

.page-home__hubei-img-wrap::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 48px;
  height: 48px;
  border-right: 3px solid var(--c-green);
  border-bottom: 3px solid var(--c-green);
  z-index: -1;
}

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

.page-home__hubei-items {
  display: grid;
  gap: 14px;
}

.page-home__hubei-item {
  padding: 18px 20px;
  background: var(--c-surface);
  border-left: 4px solid var(--c-blue);
}

.page-home__hubei-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-home__hubei-item h3 {
  font-family: var(--font-headline);
  font-size: 17px;
  margin: 8px 0 6px;
  line-height: 1.3;
}

.page-home__hubei-item p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-text-dim);
  margin: 0;
}

.page-home__hubei-more {
  margin-top: 28px;
  text-align: left;
}

/* ============ 桌面端增强 ============ */
@media (min-width: 768px) {
  .page-home__directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home__dir-cell--xl {
    grid-column: span 2;
  }

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

  .page-home__rank-card--primary {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .page-home__hero {
    min-height: 100vh;
    align-items: center;
  }

  .page-home__hero-content {
    padding-left: 2vw;
  }

  .page-home__hero-desc {
    font-size: 17px;
  }

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

  .page-home__rankings {
    padding: 88px 0;
  }

  .page-home__rankings-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .page-home__rank-card--primary {
    grid-column: span 6;
  }

  .page-home__rank-card {
    grid-column: span 3;
  }

  .page-home__rank-card .page-home__rank-table:only-child {
    margin-top: 4px;
  }

  .page-home__console {
    padding: 88px 0;
  }

  .page-home__console-inner {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 48px;
  }

  .page-home__console-panel {
    padding: 36px 32px;
  }

  .page-home__directory {
    padding: 88px 0;
  }

  .page-home__directory-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(150px, auto);
  }

  .page-home__dir-cell {
    grid-column: span 4;
  }

  .page-home__dir-cell--xl {
    grid-column: span 7;
    grid-row: span 2;
  }

  .page-home__dir-cell--mid {
    grid-column: span 5;
  }

  .page-home__dir-cell--wide {
    grid-column: 1 / -1;
  }

  .page-home__dir-cell--wide .page-home__dir-content {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
  }

  .page-home__dir-cell--wide .page-home__dir-content p {
    margin: 0;
    max-width: 520px;
  }

  .page-home__v3 {
    padding: 88px 0;
  }

  .page-home__v3-inner {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 48px;
  }

  .page-home__v3-figure {
    height: 340px;
  }

  .page-home__hubei {
    padding: 88px 0;
  }

  .page-home__hubei-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .page-home__hubei-img-wrap {
    height: 100%;
  }

  .page-home__hubei-img {
    height: 100%;
    object-fit: cover;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home__liveboard-dot,
  .page-home__liveboard-score {
    animation: none;
  }

  .page-home__dir-cell,
  .page-home__dir-cell::before {
    transition: none;
  }
}
