/* ===== 专题合辑页面 ===== */
.topics-page {
  padding: 60px 24px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.topics-header {
  text-align: center;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease forwards;
}

.topics-header > * {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}
.topics-header > *:nth-child(1) { animation-delay: 0s; }
.topics-header > *:nth-child(2) { animation-delay: 0.1s; }

/* 专题大卡片 */
.topics-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.topic-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  cursor: pointer;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.topic-card:nth-child(1) { animation-delay: 0.15s; }
.topic-card:nth-child(2) { animation-delay: 0.25s; }
.topic-card:nth-child(3) { animation-delay: 0.35s; }
.topic-card:nth-child(4) { animation-delay: 0.45s; }
.topic-card:nth-child(5) { animation-delay: 0.55s; }

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-bronze);
}

.topic-card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}

.topic-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(201,169,110,0.1), transparent);
}

.topic-card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.topic-card-body .topic-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 12px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  background: rgba(201,169,110,0.1);
  color: var(--accent-gold);
  border-radius: 20px;
  margin-bottom: 12px;
}

.topic-card-body h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.topic-card-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.topic-card-stats {
  display: flex;
  gap: 24px;
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--text-muted);
}

.topic-card-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 文明比较 */
.civ-compare {
  margin-top: 80px;
  animation: fadeInUp 0.6s ease 0.5s forwards;
  opacity: 0;
}

.civ-compare h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  text-align: center;
  margin-bottom: 8px;
}

.civ-compare-desc {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 40px;
}

.civ-compare-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.civ-compare-table th,
.civ-compare-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
}

.civ-compare-table th {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
  background: var(--bg-card);
}

.civ-compare-table td {
  color: var(--text-secondary);
  background: var(--bg-card);
}

.civ-compare-table tr:last-child td {
  border-bottom: none;
}

.civ-compare-table .col-label {
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.civ-compare-table tbody tr:hover td {
  background: var(--bg-elevated);
}

@media (max-width: 768px) {
  .topic-card {
    grid-template-columns: 1fr;
  }
  .topic-card-visual {
    height: 160px;
  }
  .topic-card-body {
    padding: 24px;
  }
  .civ-compare-table th,
  .civ-compare-table td {
    padding: 12px;
    font-size: 12px;
  }
}
