.page-home {
  --page-color-primary: #DC143C;
  --page-color-accent-gold: #FFD700;
  --page-color-accent-blue: #00BFFF;
  --page-color-bg: #0A0A0A;
  --page-color-surface: #1A1A1A;
  --page-color-text: #FFFFFF;
  --page-color-text-secondary: #B0B0B0;
  --page-font-heading: 'Oswald', sans-serif;
  --page-font-body: 'Inter', sans-serif;
  --page-font-mono: 'Fira Code', monospace;
}

/* 页面级重置与容器 */
.page-home {
  background-color: var(--page-color-bg);
  color: var(--page-color-text);
  font-family: var(--page-font-body);
  line-height: 1.6;
  padding: 0 1rem 4rem;
  overflow-x: hidden;
}

.page-home .breadcrumb {
  padding: 1.5rem 0 0.5rem;
  font-size: 0.85rem;
  color: var(--page-color-text-secondary);
}

.page-home .breadcrumb__item--active {
  color: var(--page-color-accent-gold);
  font-weight: 600;
}

/* 章节基础样式 */
.page-home .section {
  margin: 3rem 0;
  position: relative;
}

.page-home .section__number {
  font-family: var(--page-font-heading);
  font-size: 6rem;
  line-height: 1;
  color: var(--page-color-accent-gold);
  opacity: 0.3;
  display: block;
  margin-bottom: -1.5rem;
  pointer-events: none;
  user-select: none;
}

.page-home .section__header {
  margin-bottom: 2rem;
}

.page-home .section__header h2,
.page-home h1 {
  font-family: var(--page-font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.page-home h1 {
  font-size: 3rem;
  margin-top: -1rem;
}

/* 按钮 */
.page-home .btn {
  display: inline-block;
  background-color: var(--page-color-primary);
  color: var(--page-color-text);
  padding: 0.75rem 2rem;
  font-family: var(--page-font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--page-color-primary);
  transition: all 0.2s ease;
  margin-top: 1rem;
}

.page-home .btn:hover {
  background-color: transparent;
  color: var(--page-color-primary);
  border-color: var(--page-color-primary);
}

.page-home .btn--small {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* 标签 */
.page-home .tag {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  border: 1px solid var(--page-color-border, #333);
  color: var(--page-color-text-secondary);
  margin-bottom: 0.75rem;
  background-color: transparent;
}

.page-home .tag--gold {
  border-color: var(--page-color-accent-gold);
  color: var(--page-color-accent-gold);
}

.page-home .tag--blue {
  border-color: var(--page-color-accent-blue);
  color: var(--page-color-accent-blue);
}

/* 网格系统 */
.page-home .grid {
  display: grid;
  gap: 1.5rem;
}

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

/* 图片容器 */
.page-home .img-container {
  display: block;
  overflow: hidden;
  background-color: var(--page-color-surface);
  border: 1px solid var(--page-color-border, #333);
}

.page-home .img-container img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.page-home .img-container:hover img {
  transform: scale(1.05);
}

/* 数据卡片 */
.page-home .data-card {
  background-color: var(--page-color-surface);
  border: 1px solid var(--page-color-border, #333);
  padding: 1.5rem;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-home .data-card:hover {
  border-color: var(--page-color-primary);
  box-shadow: 0 4px 20px rgba(220, 20, 60, 0.2);
}

.page-home .data-card__stats {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 1rem 0;
}

.page-home .stat-value {
  font-family: var(--page-font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--page-color-accent-gold);
  line-height: 1;
}

.page-home .stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--page-color-text-secondary);
}

.page-home .data-card__content {
  font-size: 0.95rem;
  color: var(--page-color-text-secondary);
  line-height: 1.7;
}

/* 首屏章节 */
.page-home .hero-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 1rem;
  position: relative;
  overflow: hidden;
}

.page-home .hero-section__bg-shape {
  display: none;
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 150%;
  background: linear-gradient(135deg, transparent 20%, var(--page-color-primary) 100%);
  transform: skewX(-15deg);
  opacity: 0.15;
  pointer-events: none;
}

.page-home .hero-content {
  position: relative;
  z-index: 1;
}

.page-home .hero-cards {
  margin-bottom: 1rem;
}

.page-home .hero-card {
  padding: 1.2rem;
}

.page-home .hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.page-home .hero-img {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 3 / 2;
  border: 2px solid var(--page-color-accent-gold);
}

.page-home .hero-visual__overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--page-color-bg);
  padding: 0.5rem 1rem;
  border: 1px solid var(--page-color-accent-gold);
}

.page-home .hero-visual__score {
  font-family: var(--page-font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--page-color-accent-gold);
}

/* 归档时间轴 */
.page-home .archive-timeline {
  position: relative;
  padding-left: 1.5rem;
}

.page-home .archive-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--page-color-primary);
  opacity: 0.6;
}

.page-home .timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
}

.page-home .timeline-item::before {
  content: '';
  position: absolute;
  left: -0.6rem;
  top: 0.5rem;
  width: 1.2rem;
  height: 1.2rem;
  background-color: var(--page-color-accent-blue);
  border-radius: 50%;
  border: 2px solid var(--page-color-bg);
  z-index: 1;
}

.page-home .timeline-item__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: var(--page-color-text-secondary);
}

.page-home .timeline-item__meta time {
  font-family: var(--page-font-mono);
  font-size: 0.95rem;
  color: var(--page-color-accent-gold);
}

.page-home .timeline-item__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: var(--page-color-surface);
  padding: 1.2rem;
  border: 1px solid var(--page-color-border, #333);
}

.page-home .timeline-item__content h3 {
  font-family: var(--page-font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.page-home .timeline-item__content p {
  font-size: 0.9rem;
  color: var(--page-color-text-secondary);
  margin-bottom: 0.5rem;
}

.page-home .timeline-img {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3 / 2;
  flex-shrink: 0;
}

/* 日历章节 */
.page-home .calendar-container {
  background-color: var(--page-color-surface);
  border: 1px solid var(--page-color-border, #333);
  padding: 1.5rem;
}

.page-home .calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.4rem;
}

.page-home .calendar-grid__header {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--page-color-text-secondary);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--page-color-border, #333);
}

.page-home .day {
  text-align: center;
  padding: 0.6rem 0.2rem;
  font-size: 0.9rem;
  border-radius: 4px;
  background-color: transparent;
  color: var(--page-color-text-secondary);
  transition: all 0.15s ease;
}

.page-home .day--has-match {
  background-color: var(--page-color-primary);
  color: var(--page-color-text);
  font-weight: 700;
  cursor: pointer;
}

.page-home .day--has-match:hover {
  background-color: #ff1a4a;
  transform: scale(1.1);
}

.page-home .calendar-hint {
  font-size: 0.8rem;
  color: var(--page-color-text-secondary);
  margin-top: 1rem;
  text-align: center;
  opacity: 0.8;
}

/* 专家章节 */
.page-home .expert-section {
  margin-bottom: 2rem;
}

.page-home .expert-grid {
  gap: 1.5rem;
}

.page-home .expert-card {
  display: flex;
  flex-direction: column;
  background-color: var(--page-color-surface);
  border: 1px solid var(--page-color-border, #333);
  transition: border-color 0.2s ease, transform 0.3s ease;
}

.page-home .expert-card:hover {
  border-color: var(--page-color-accent-gold);
  transform: translateY(-4px);
}

.page-home .expert-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--page-color-border, #333);
}

.page-home .expert-card__content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-home .expert-card__content h3 {
  font-family: var(--page-font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.page-home .expert-card__content p {
  font-size: 0.9rem;
  color: var(--page-color-text-secondary);
  margin-bottom: auto;
}

/* 响应式布局 - 桌面端 */
@media (min-width: 768px) {
  .page-home {
    padding: 0 2rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
  }

  .page-home .section {
    margin: 5rem 0;
  }

  .page-home .section__number {
    font-size: 8rem;
    margin-bottom: -2rem;
  }

  .page-home .section__header h2,
  .page-home h1 {
    font-size: 3.5rem;
  }

  .page-home h1 {
    font-size: 4rem;
    margin-top: -1.5rem;
  }

  /* 首屏桌面布局 */
  .page-home .hero-section {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 80vh;
    padding-top: 2rem;
  }

  .page-home .hero-section__bg-shape {
    display: block;
  }

  .page-home .hero-card {
    padding: 1.5rem;
  }

  .page-home .hero-visual {
    justify-content: center;
  }

  /* 网格 */
  .page-home .grid--2 {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .expert-grid {
    gap: 2rem;
  }

  /* 归档时间轴桌面端 */
  .page-home .archive-timeline {
    padding-left: 3rem;
  }

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

  .page-home .timeline-img {
    width: 150px;
    aspect-ratio: 3 / 2;
  }

  /* 日历桌面端 */
  .page-home .calendar-grid {
    gap: 0.5rem;
  }

  .page-home .day {
    padding: 1rem 0.5rem;
    font-size: 1rem;
  }

  /* 专家卡片桌面端 */
  .page-home .expert-card {
    flex-direction: row;
    align-items: stretch;
  }

  .page-home .expert-card__img {
    width: 250px;
    aspect-ratio: auto;
    border-bottom: none;
    border-right: 1px solid var(--page-color-border, #333);
  }

  .page-home .expert-card__content {
    padding: 2rem;
  }
}

/* 超大桌面屏幕 */
@media (min-width: 1200px) {
  .page-home {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .page-home .hero-section {
    gap: 4rem;
  }

  .page-home .timeline-item__content {
    padding: 1.5rem;
  }

  .page-home .timeline-img {
    width: 180px;
  }

  .page-home .expert-card__img {
    width: 300px;
  }
}

.page-home {
  --page-color-border: var(--color-border);
}
