/* 全局样式 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* 站点头部 */
.site-header {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.site-header h1 {
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: 600;
}

.site-intro {
  font-size: 16px;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.95;
}

/* 页面头部 */
.page-header {
  padding: 30px 0;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 30px;
}

.page-header h1 {
  font-size: 26px;
  margin-bottom: 10px;
  color: #2c3e50;
}

.page-header p {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
}

/* 章节 */
.section {
  margin-bottom: 50px;
}

.section h2 {
  font-size: 22px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid #1890ff;
  color: #2c3e50;
}

/* 视频卡片网格 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.video-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.video-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

.video-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.video-card h3 a {
  color: #2c3e50;
  text-decoration: none;
}

.video-card h3 a:hover {
  color: #1890ff;
}

.video-card .meta {
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
}

.video-card .desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* 链接卡片 */
.link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.link-card {
  display: block;
  background: white;
  padding: 30px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  border-left: 4px solid #1890ff;
}

.link-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateX(5px);
}

.link-card h3 {
  font-size: 18px;
  color: #2c3e50;
  margin-bottom: 10px;
}

.link-card p {
  font-size: 14px;
  color: #666;
}

/* 视频列表 */
.video-list {
  background: white;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.video-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
}

.video-item:last-child {
  border-bottom: none;
}

.video-item:hover {
  background: #f8f9fa;
}

.video-item a {
  color: #2c3e50;
  text-decoration: none;
  flex: 1;
}

.video-item a:hover {
  color: #1890ff;
}

.video-item .year {
  color: #999;
  font-size: 13px;
  margin-left: 15px;
}

/* 更多链接 */
.more-link {
  text-align: right;
  margin-top: 15px;
}

.more-link a {
  color: #1890ff;
  text-decoration: none;
  font-size: 14px;
}

.more-link a:hover {
  text-decoration: underline;
}

.center-links {
  text-align: center;
  padding: 20px;
  font-size: 15px;
}

.center-links a {
  color: #1890ff;
  text-decoration: none;
  margin: 0 10px;
}

.center-links a:hover {
  text-decoration: underline;
}

/* 列表容器 */
.list-container {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.list-item {
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  transition: background 0.2s;
}

.list-item:last-child {
  border-bottom: none;
}

.list-item:hover {
  background: #f8f9fa;
}

.list-item .rank {
  font-size: 24px;
  font-weight: bold;
  color: #1890ff;
  min-width: 40px;
  text-align: center;
}

.list-item .date {
  font-size: 14px;
  color: #999;
  min-width: 50px;
  padding: 4px 8px;
  background: #f0f0f0;
  border-radius: 4px;
  text-align: center;
}

.list-item .item-content {
  flex: 1;
}

.list-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.list-item h3 a {
  color: #2c3e50;
  text-decoration: none;
}

.list-item h3 a:hover {
  color: #1890ff;
}

.list-item .meta {
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
}

.list-item .desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* 详情页 */
.detail article {
  background: white;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.detail header h1 {
  font-size: 28px;
  color: #2c3e50;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #1890ff;
}

.info-section,
.highlight-section,
.summary-section,
.review-section,
.related-section {
  margin-bottom: 40px;
}

.info-section h2,
.highlight-section h2,
.summary-section h2,
.review-section h2,
.related-section h2 {
  font-size: 20px;
  color: #2c3e50;
  margin-bottom: 15px;
  padding-left: 12px;
  border-left: 4px solid #1890ff;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.info-item {
  padding: 12px;
  background: #f8f9fa;
  border-radius: 6px;
  font-size: 14px;
}

.info-item strong {
  color: #555;
}

.highlight {
  font-size: 18px;
  color: #1890ff;
  line-height: 1.8;
  padding: 20px;
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
  border-radius: 8px;
  border-left: 4px solid #1890ff;
}

.summary-section p,
.review-section p {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  text-align: justify;
}

/* 响应式 */
@media (max-width: 768px) {
  .container {
    padding: 15px;
  }

  .site-header {
    padding: 30px 15px;
  }

  .site-header h1 {
    font-size: 22px;
  }

  .site-intro {
    font-size: 14px;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .detail article {
    padding: 20px;
  }

  .detail header h1 {
    font-size: 22px;
  }

  .list-item {
    flex-direction: column;
  }

  .list-item .rank,
  .list-item .date {
    align-self: flex-start;
  }
}

/* UI 风格变体 */
.ui-style-0 body { background: #f5f5f5; }
.ui-style-1 body { background: #fafafa; }
.ui-style-2 body { background: #f0f2f5; }
.ui-style-3 body { background: #f8f9fa; }
.ui-style-4 body { background: #f4f4f5; }
.ui-style-5 body { background: #f6f7f8; }
.ui-style-6 body { background: #f2f3f5; }
.ui-style-7 body { background: #f5f6f7; }
.ui-style-8 body { background: #f7f8f9; }
.ui-style-9 body { background: #f3f4f6; }
.ui-style-10 body { background: #f9fafb; }
.ui-style-11 body { background: #f1f2f4; }
.ui-style-12 body { background: #f8f8f9; }
.ui-style-13 body { background: #f4f5f6; }
.ui-style-14 body { background: #f6f6f7; }
.ui-style-15 body { background: #f2f2f3; }
