.page-home {
  position: relative;
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  font-family: var(--font-body);
}

/* ---------- 章节通用头 ---------- */
.page-home .section-head {
  position: relative;
  padding: 40px 0 10px;
}
.page-home .section-index {
  position: absolute;
  top: 0;
  right: 4px;
  font-family: var(--font-headline);
  font-size: 92px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.045);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.page-home .section-head .section-title {
  position: relative;
  z-index: 1;
  margin-top: 2px;
  margin-bottom: 0;
}
.page-home .section-head .section-subtitle {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-top: 8px;
  margin-bottom: 0;
}
.page-home .section-tag {
  display: inline-block;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

/* ---------- 01 全站目录 ---------- */
.page-home .home-hero {
  position: relative;
  padding-top: 36px;
  overflow: hidden;
}
.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -8%;
  width: 48%;
  height: 520px;
  background: linear-gradient(135deg, rgba(123, 47, 247, 0.16), rgba(0, 229, 255, 0.04));
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  pointer-events: none;
  z-index: 0;
}
.page-home .hero-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.page-home .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.page-home .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 16, 38, 0.86) 0%, rgba(11, 16, 38, 0.7) 45%, rgba(11, 16, 38, 0.97) 100%);
}
.page-home .hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 24px;
  padding-bottom: 30px;
}
.page-home .hero-inner .breadcrumb {
  margin-bottom: 16px;
}
.page-home .hero-kicker {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-text-secondary);
  text-transform: uppercase;
}
.page-home .hero-title {
  margin: 0 0 16px;
  font-family: var(--font-headline);
  font-size: clamp(28px, 6vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--color-text-title);
  letter-spacing: 0.01em;
}
.page-home .hero-desc {
  max-width: 700px;
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-secondary);
}
.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.page-home .hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: rgba(21, 29, 59, 0.78);
  border: 1px solid rgba(0, 229, 255, 0.14);
  border-left: 3px solid var(--color-accent);
}
.page-home .hero-stat-num {
  font-family: var(--font-headline);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--color-text-title);
}
.page-home .hero-stat-num i {
  font-style: normal;
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-right: 2px;
}
.page-home .hero-stat-num em {
  font-style: normal;
  font-size: 18px;
  color: var(--color-text-title);
}
.page-home .hero-stat-label {
  font-size: 13px;
  color: var(--color-text-secondary);
}
.page-home .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .directory {
  position: relative;
  z-index: 1;
  padding-bottom: 110px;
}
.page-home .directory .section-head {
  padding-top: 40px;
  padding-bottom: 20px;
}
.page-home .directory-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.page-home .nav-card {
  position: relative;
  display: block;
  padding: 20px 18px 20px;
  background: var(--color-bg-card);
  border: 1px solid rgba(123, 47, 247, 0.18);
  text-decoration: none;
  color: var(--color-text);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.page-home .nav-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0.6;
}
.page-home .nav-card:hover,
.page-home .nav-card:focus-visible {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.25), 0 10px 30px rgba(0, 229, 255, 0.1);
  transform: translateY(-3px);
}
.page-home .nav-card-num {
  display: block;
  font-family: var(--font-headline);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.14);
  margin-bottom: 10px;
}
.page-home .nav-card-name {
  display: block;
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-title);
  margin-bottom: 6px;
}
.page-home .nav-card-desc {
  display: block;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-secondary);
}
.page-home .nav-card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding-top: 10px;
  font-size: 12px;
  color: var(--color-text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.page-home .nav-card-status .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-lime);
  box-shadow: 0 0 8px rgba(166, 255, 0, 0.8);
}
.page-home .nav-card::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 10px);
  left: 16px;
  width: max-content;
  max-width: 220px;
  padding: 8px 12px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-accent);
  color: var(--color-text);
  font-size: 12px;
  line-height: 1.5;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 5;
}
.page-home .nav-card:hover::after,
.page-home .nav-card:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-home .flow-svg {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 60px;
  margin: -40px 0 0;
  pointer-events: none;
}

/* ---------- 02 战队订阅 ---------- */
.page-home .home-subscribe {
  position: relative;
  padding: 20px 0 64px;
  background: linear-gradient(180deg, rgba(11, 16, 38, 1) 0%, rgba(21, 29, 59, 0.55) 100%);
}
.page-home .home-subscribe::before {
  content: "";
  position: absolute;
  left: 0;
  top: 60px;
  width: 160px;
  height: 160px;
  background: rgba(0, 229, 255, 0.05);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.page-home .subscribe-grid {
  display: grid;
  gap: 34px;
  margin-top: 24px;
}
.page-home .subscribe-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.page-home .subscribe-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 18px;
  background: rgba(21, 29, 59, 0.88);
  border-left: 3px solid var(--color-accent);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.page-home .step-num {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--color-accent);
}
.page-home .step-body h3 {
  margin: 0 0 6px;
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-title);
}
.page-home .step-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.68;
  color: var(--color-text-secondary);
}
.page-home .subscribe-steps .btn-subscribe {
  margin-top: 20px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.page-home .subscribe-steps .btn-subscribe:hover {
  background: var(--color-lime);
  border-color: var(--color-lime);
  color: var(--color-bg);
  box-shadow: 0 0 0 1px rgba(166, 255, 0, 0.35), 0 6px 20px rgba(166, 255, 0, 0.18);
}
.page-home .subscribe-figure {
  margin: 0;
}
.page-home .subscribe-figure img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(0, 229, 255, 0.28);
  box-shadow: var(--shadow-accent);
}
.page-home .image-caption {
  margin-top: 10px;
  padding-right: 10px;
  font-size: 13px;
  text-align: right;
  color: var(--color-text-secondary);
  border-right: 3px solid var(--color-accent);
}

/* ---------- 03 赛季筛选 ---------- */
.page-home .home-season {
  position: relative;
  padding: 20px 0 64px;
  background: linear-gradient(180deg, rgba(11, 16, 38, 0.7) 0%, rgba(11, 16, 38, 1) 100%);
}
.page-home .season-filter {
  position: relative;
  margin-top: 26px;
  padding: 24px 18px;
  background: linear-gradient(135deg, rgba(21, 29, 59, 0.95), rgba(11, 16, 38, 0.9));
  border: 1px solid rgba(166, 255, 0, 0.15);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
.page-home .season-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.page-home .season-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.page-home .season-label {
  display: inline-block;
  padding: 10px 18px;
  background: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-headline);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.page-home .season-label:hover {
  border-color: var(--color-lime);
  color: var(--color-text-title);
}
.page-home #season-2025s:checked ~ .season-labels label[for="season-2025s"],
.page-home #season-2024w:checked ~ .season-labels label[for="season-2024w"],
.page-home #season-2024s:checked ~ .season-labels label[for="season-2024s"] {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
}
.page-home .season-panels {
  position: relative;
}
.page-home .season-panel {
  display: none;
}
.page-home #season-2025s:checked ~ .season-panels .panel-2025s,
.page-home #season-2024w:checked ~ .season-panels .panel-2024w,
.page-home #season-2024s:checked ~ .season-panels .panel-2024s {
  display: block;
}
.page-home .panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.page-home .season-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 18px;
  background: var(--color-bg-card);
  border: 1px solid rgba(166, 255, 0, 0.16);
  border-top: 3px solid var(--color-lime);
}
.page-home .season-card-label {
  font-size: 13px;
  color: var(--color-text-secondary);
}
.page-home .season-card-value {
  font-family: var(--font-headline);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text-title);
}
.page-home .season-card-meta {
  font-size: 12px;
  color: var(--color-text-secondary);
}
.page-home .season-tip {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--color-lime);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* ---------- 04 IM电竞V4公告 ---------- */
.page-home .home-version {
  position: relative;
  padding: 20px 0 64px;
  background: linear-gradient(180deg, rgba(11, 16, 38, 1) 0%, rgba(21, 29, 59, 0.7) 100%);
}
.page-home .home-version::before {
  content: "";
  position: absolute;
  right: 0;
  top: 24px;
  width: 200px;
  height: 200px;
  background: rgba(255, 107, 53, 0.04);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.page-home .version-grid {
  display: grid;
  gap: 32px;
  margin-top: 24px;
}
.page-home .version-info {
  position: relative;
  padding: 30px 24px;
  background: linear-gradient(135deg, rgba(123, 47, 247, 0.16), rgba(255, 107, 53, 0.05) 62%, transparent);
  border: 1px solid rgba(255, 107, 53, 0.26);
  border-top: 4px solid var(--color-orange);
}
.page-home .version-chip {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  background: var(--color-orange);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.page-home .version-info h3 {
  margin: 0 0 10px;
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-title);
}
.page-home .version-info p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--color-text-secondary);
}
.page-home .version-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.page-home .version-list li {
  position: relative;
  margin: 9px 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
}
.page-home .version-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  background: var(--color-accent);
  transform: rotate(45deg);
}
.page-home .version-figure {
  margin: 0;
}
.page-home .version-figure img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(123, 47, 247, 0.35);
  box-shadow: var(--shadow-primary);
}

/* ---------- 05 本地电竞评测入口 ---------- */
.page-home .home-local {
  position: relative;
  padding: 24px 0 80px;
  background: linear-gradient(180deg, rgba(21, 29, 59, 0.65) 0%, rgba(11, 16, 38, 1) 100%);
}
.page-home .local-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}
.page-home .local-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}
.page-home .local-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 16, 38, 0.92) 0%, rgba(11, 16, 38, 0.8) 100%);
}
.page-home .local-content {
  position: relative;
  z-index: 1;
  padding-top: 24px;
}
.page-home .local-desc {
  max-width: 660px;
  margin: 18px 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-secondary);
}
.page-home .local-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.page-home .local-list li {
  position: relative;
  margin: 9px 0;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text);
}
.page-home .local-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 11px;
  height: 11px;
  background: var(--color-teal);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(62, 230, 181, 0.55);
}
.page-home .local-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 平板与桌面适配 ---------- */
@media (min-width: 768px) {
  .page-home .section-index {
    font-size: 132px;
  }
  .page-home .hero-title {
    font-size: clamp(38px, 5vw, 58px);
  }
  .page-home .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-home .directory-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }
  .page-home .nav-card-01 {
    grid-column: 1 / span 2;
  }
  .page-home .nav-card-02 {
    grid-column: 3 / span 2;
  }
  .page-home .nav-card-03 {
    grid-column: 5 / span 1;
  }
  .page-home .nav-card-04 {
    grid-column: 1 / span 2;
  }
  .page-home .nav-card-05 {
    grid-column: 3 / span 2;
  }
  .page-home .subscribe-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
  }
  .page-home .panel-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .version-grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 48px;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .page-home .hero-inner {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .page-home .directory {
    padding-bottom: 130px;
  }
  .page-home .home-subscribe,
  .page-home .home-season,
  .page-home .home-version,
  .page-home .home-local {
    padding-top: 40px;
    padding-bottom: 100px;
  }
  .page-home .directory-grid {
    gap: 20px;
  }
  .page-home .nav-card {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .page-home .local-content {
    padding-top: 40px;
  }
}

@media (max-width: 767px) {
  .page-home .nav-card::after {
    display: none;
  }
}
