.page-home {
  --cover-bg: var(--black, #0A0A0A);
  --cover-text: var(--white, #FFFFFF);
  --card-bg: var(--gray, #2D2D2D);
  --card-bg-light: var(--gray-light, #4A4A4A);
  --accent: var(--red, #DC2626);
  --gold: var(--gold, #C9A96E);
  --blue: var(--blue, #00A2FF);
  --font-title: var(--font-title, Impact, 'Arial Black', sans-serif);
  --font-body: var(--font-body, Helvetica, Arial, sans-serif);
  --max-w: var(--max-w, 1240px);
  --transition: var(--transition, 0.3s ease);
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--card-bg);
  color: var(--cover-text);
  font-family: var(--font-body);
  line-height: 1.5;
  min-height: 100vh;
}

/* ── 面包屑 ── */
.page-home .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  font-size: 0.85rem;
  color: var(--gold);
  box-sizing: border-box;
}
.page-home .breadcrumb a {
  color: var(--cover-text);
  text-decoration: none;
  transition: color var(--transition);
}
.page-home .breadcrumb a:hover,
.page-home .breadcrumb a:focus-visible {
  color: var(--accent);
}
.page-home .breadcrumb a::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--gold);
}
.page-home .breadcrumb span[aria-current] {
  color: var(--gold);
  font-weight: 600;
}

/* ── 全局搜索铁路 ── */
.page-home .search-rail {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.5rem 1rem 1rem;
  box-sizing: border-box;
}
.page-home .search-rail-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card-bg-light);
  border: 2px solid var(--blue);
  border-radius: 4px;
  padding: 0.35rem 0.5rem;
  transition: box-shadow var(--transition);
}
.page-home .search-rail-inner:focus-within {
  box-shadow: 0 0 0 3px rgba(0, 162, 255, 0.35);
}
.page-home .search-rail-icon {
  flex-shrink: 0;
  color: var(--blue);
}
.page-home .search-rail-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--cover-text);
  font-size: 1rem;
  padding: 0.4rem 0;
  font-family: var(--font-body);
  outline: none;
}
.page-home .search-rail-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
}
.page-home .search-rail-btn {
  flex-shrink: 0;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 2px;
}

/* ── 首屏杂志封面 ── */
.page-home .cover {
  display: flex;
  flex-direction: column;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem 1rem;
  width: 100%;
  box-sizing: border-box;
  gap: 1.5rem;
}
.page-home .cover-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-home .cover-headline {
  font-family: var(--font-title);
  font-size: 4rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
  text-transform: uppercase;
  word-break: break-word;
}
.page-home .cover-stripe-wrap {
  margin: 0.75rem 0 0.5rem;
}
.page-home .cover-stripe {
  display: block;
  width: 5rem;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
}
.page-home .cover-sub {
  font-size: 1.1rem;
  color: var(--cover-text);
  opacity: 0.8;
  margin: 0.25rem 0 1.25rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}
.page-home .cover-index {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.page-home .cover-index-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cover-text);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color var(--transition), transform var(--transition);
}
.page-home .cover-index-link:hover,
.page-home .cover-index-link:focus-visible {
  color: var(--accent);
  transform: translateX(6px);
}
.page-home .cover-index-num {
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--gold);
  min-width: 2rem;
  font-weight: 900;
}
.page-home .cover-right {
  flex: 1.2;
  min-height: 280px;
}

/* ── CSS-only 轮播 ── */
.page-home .carousel {
  position: relative;
  overflow: hidden;
  background: var(--card-bg-light);
  border-radius: 6px;
  width: 100%;
  height: 100%;
  min-height: 280px;
}
.page-home .carousel-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.page-home .carousel-track {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.page-home .carousel-slide {
  position: relative;
  width: 33.333%;
  flex-shrink: 0;
  overflow: hidden;
}
.page-home .carousel-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}
.page-home .carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.85) 20%, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  pointer-events: none;
}
.page-home .carousel-overlay > * {
  pointer-events: auto;
}
.page-home .carousel-num {
  font-family: var(--font-title);
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 0.35rem;
  letter-spacing: 0.05em;
}
.page-home .carousel-slide-title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--cover-text);
  margin: 0 0 0.3rem;
  line-height: 1.1;
}
.page-home .carousel-slide-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 0.75rem;
  max-width: 28rem;
}
.page-home .carousel-btn {
  align-self: flex-start;
  font-size: 0.8rem;
  padding: 0.4rem 1.2rem;
}
.page-home .carousel-dots {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}
.page-home .carousel-dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.page-home .carousel-dot:hover,
.page-home .carousel-dot:focus-visible {
  background: var(--gold);
  border-color: var(--cover-text);
}
#c1:checked ~ .carousel-dots .carousel-dot:nth-child(1),
#c2:checked ~ .carousel-dots .carousel-dot:nth-child(2),
#c3:checked ~ .carousel-dots .carousel-dot:nth-child(3) {
  background: var(--accent);
  border-color: var(--cover-text);
}
#c1:checked ~ .carousel-track {
  transform: translateX(0);
}
#c2:checked ~ .carousel-track {
  transform: translateX(-33.333%);
}
#c3:checked ~ .carousel-track {
  transform: translateX(-66.666%);
}
#c1:checked ~ .carousel-progress .carousel-progress-bar { width: 33.333%; }
#c2:checked ~ .carousel-progress .carousel-progress-bar { width: 66.666%; }
#c3:checked ~ .carousel-progress .carousel-progress-bar { width: 100%; }

.page-home .carousel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 5;
}
.page-home .carousel-progress-bar {
  display: block;
  height: 100%;
  background: var(--blue);
  transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 33.333%;
  border-radius: 0 2px 2px 0;
}

/* ── 数据速览 ── */
.page-home .snapshot {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem 1rem;
  width: 100%;
  box-sizing: border-box;
}
.page-home .snapshot-card {
  background: var(--card-bg-light);
  border-left: 4px solid var(--gold);
  padding: 1.25rem;
  border-radius: 0 6px 6px 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.page-home .snapshot-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: var(--gold);
  margin: 0;
  font-weight: 900;
}
.page-home .snapshot-chart {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 4px;
  background: var(--card-bg);
  object-fit: cover;
}
.page-home .snapshot-desc {
  font-size: 0.95rem;
  color: var(--cover-text);
  opacity: 0.9;
  margin: 0;
}
.page-home .snapshot-desc .highlight-red {
  color: var(--accent);
  font-weight: 700;
}
.page-home .snapshot-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--cover-text);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  align-self: flex-start;
  letter-spacing: 0.03em;
}

/* ── 30天轮次日历 ── */
.page-home .schedule {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1rem;
  width: 100%;
  box-sizing: border-box;
}
.page-home .section-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  margin: 0 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.1;
}
.page-home .section-title-num {
  font-size: 1rem;
  color: var(--gold);
  opacity: 0.6;
  font-weight: 400;
}
.page-home .schedule-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  background: var(--card-bg-light);
  padding: 4px;
  border-radius: 6px;
}
.page-home .schedule-day {
  background: var(--card-bg);
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cover-text);
  border-radius: 3px;
  position: relative;
  transition: background var(--transition);
  min-height: 48px;
}
.page-home .schedule-day--header {
  background: transparent;
  color: var(--gold);
  font-weight: 900;
  font-size: 0.8rem;
  text-transform: uppercase;
  aspect-ratio: auto;
  padding: 0.4rem 0;
  min-height: auto;
}
.page-home .schedule-day--empty {
  background: transparent;
}
.page-home .schedule-day--event {
  background: var(--accent);
  color: var(--cover-text);
  font-weight: 800;
}
.page-home .schedule-day-label {
  position: absolute;
  bottom: 2px;
  left: 2px;
  right: 2px;
  font-size: 0.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(0, 0, 0, 0.3);
  padding: 1px 3px;
  border-radius: 2px;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-home .schedule-footnote {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0.75rem 0 0.5rem;
  text-align: center;
}
.page-home .schedule-more {
  display: inline-flex;
  margin-top: 0.75rem;
}

/* ── 最新战报时间轴 ── */
.page-home .timeline {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1rem;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}
.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 2rem;
  top: 5rem;
  bottom: 3rem;
  width: 2px;
  background: var(--gold);
  opacity: 0.35;
}
.page-home .timeline-track {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-left: 1rem;
}
.page-home .timeline-card {
  background: var(--card-bg);
  border-left: 4px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 1.25rem;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.page-home .timeline-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}
.page-home .timeline-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.page-home .timeline-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}
.page-home .timeline-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.page-home .timeline-round {
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
}
.page-home .timeline-date {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
}
.page-home .timeline-card-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--cover-text);
  margin: 0.25rem 0 0.5rem;
  line-height: 1.2;
}
.page-home .timeline-details {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}
.page-home .timeline-summary {
  cursor: pointer;
  list-style: none;
  display: inline;
  color: var(--cover-text);
  opacity: 0.85;
  transition: color var(--transition);
}
.page-home .timeline-summary::-webkit-details-marker {
  display: none;
}
.page-home .timeline-summary::before {
  content: "📄 展开全文";
  display: inline-block;
  font-size: 0.75rem;
  color: var(--blue);
  font-weight: 700;
  margin-right: 0.4rem;
  cursor: pointer;
  transition: color var(--transition);
}
.page-home .timeline-summary:hover::before {
  color: var(--accent);
}
.page-home .timeline-details[open] .timeline-summary::before {
  content: "📄 收起";
}
.page-home .timeline-fulltext {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--cover-text);
  opacity: 0.9;
  font-size: 0.95rem;
  line-height: 1.6;
}
.page-home .timeline-more {
  display: inline-flex;
  margin-top: 1.25rem;
  align-self: flex-start;
}

/* ── 会员权益精选 ── */
.page-home .membership {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1rem 2.5rem;
  width: 100%;
  box-sizing: border-box;
}
.page-home .membership-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.page-home .membership-card {
  background: var(--card-bg);
  border-radius: 6px;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  border: 1px solid rgba(201, 169, 110, 0.2);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.page-home .membership-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.15);
}
.page-home .membership-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-home .membership-icon {
  width: 64px;
  height: 64px;
  display: block;
}
.page-home .membership-card-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--gold);
  margin: 0;
}
.page-home .membership-card-desc {
  font-size: 0.9rem;
  color: var(--cover-text);
  opacity: 0.8;
  margin: 0;
  line-height: 1.5;
  max-width: 24rem;
}
.page-home .membership-cta {
  display: inline-flex;
  margin: 1.25rem auto 0;
  font-size: 1rem;
  padding: 0.6rem 2rem;
  border-radius: 4px;
}

/* ── 信任声明 ── */
.page-home .page-trust {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.page-home .page-trust a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-home .page-trust a:hover {
  color: var(--accent);
}

/* ── 共用微调 ── */
.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  line-height: 1.2;
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  border-radius: 3px;
}
.page-home .btn-primary {
  background: var(--accent);
  color: var(--cover-text);
  border-color: var(--accent);
}
.page-home .btn-primary:hover,
.page-home .btn-primary:focus-visible {
  background: #b91c1c;
  border-color: #b91c1c;
}
.page-home .btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.page-home .btn-outline:hover,
.page-home .btn-outline:focus-visible {
  background: var(--gold);
  color: var(--black);
}
.page-home .highlight-red {
  color: var(--accent);
  font-weight: 700;
}

/* ── 桌面端 (min-width: 768px) ── */
@media (min-width: 768px) {
  .page-home .breadcrumb {
    padding: 1rem 2rem;
  }
  .page-home .search-rail {
    padding: 0.75rem 2rem 1.25rem;
  }
  .page-home .search-rail-inner {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-home .cover {
    flex-direction: row;
    padding: 0 2rem 2rem;
    gap: 2.5rem;
    align-items: stretch;
  }
  .page-home .cover-left {
    padding: 0.5rem 0;
  }
  .page-home .cover-headline {
    font-size: 5.5rem;
  }
  .page-home .cover-stripe {
    width: 6rem;
  }
  .page-home .cover-sub {
    font-size: 1.25rem;
  }
  .page-home .cover-index-link {
    font-size: 1.2rem;
  }
  .page-home .cover-right {
    min-height: 360px;
  }
  .page-home .carousel {
    min-height: 360px;
  }
  .page-home .carousel-slide-title {
    font-size: 2rem;
  }
  .page-home .carousel-overlay {
    padding: 2rem;
  }

  .page-home .snapshot {
    flex-direction: row;
    padding: 2rem 2rem;
    gap: 1.5rem;
  }
  .page-home .snapshot-card {
    flex: 1;
  }
  .page-home .snapshot-chart {
    max-width: 100%;
  }

  .page-home .schedule {
    padding: 3rem 2rem;
  }
  .page-home .section-title {
    font-size: 2.8rem;
  }
  .page-home .schedule-day {
    aspect-ratio: auto;
    min-height: 64px;
    justify-content: center;
    padding: 0.25rem;
  }
  .page-home .schedule-day-label {
    font-size: 0.6rem;
    position: static;
    background: transparent;
    padding: 0;
  }

  .page-home .timeline {
    padding: 3rem 2rem;
  }
  .page-home .timeline::before {
    left: 3.5rem;
  }
  .page-home .timeline-track {
    padding-left: 2rem;
  }
  .page-home .timeline-card {
    padding: 1.5rem 2rem;
  }
  .page-home .timeline-card-title {
    font-size: 1.3rem;
  }

  .page-home .membership {
    padding: 3rem 2rem 3.5rem;
  }
  .page-home .membership-grid {
    flex-direction: row;
    gap: 1.5rem;
  }
  .page-home .membership-card {
    flex: 1;
    padding: 2rem 1.5rem;
  }

  .page-home .page-trust {
    padding: 2rem 2rem 2.5rem;
  }
}

/* ── 大桌面端 (min-width: 1024px) ── */
@media (min-width: 1024px) {
  .page-home .cover {
    padding: 0 2rem 2.5rem;
    gap: 3.5rem;
  }
  .page-home .cover-headline {
    font-size: 7rem;
  }
  .page-home .cover-right {
    min-height: 420px;
  }
  .page-home .carousel {
    min-height: 420px;
  }
  .page-home .carousel-slide-title {
    font-size: 2.4rem;
  }
  .page-home .schedule-day {
    min-height: 72px;
  }
}
</style>
