
/* 全局样式 */
body.ui-style-3 {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

main {
  min-height: calc(100vh - 200px);
  padding: 40px 0;
}

/* 页面标题 */
.page-title {
  font-size: 32px;
  margin-bottom: 20px;
  color: #d32f2f;
  text-align: center;
}

.page-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #666;
  line-height: 1.8;
}

/* 首页样式 */
.hero-section {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hero-section h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #d32f2f;
  line-height: 1.5;
}

.hero-desc {
  font-size: 16px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.intro-section {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.intro-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

.intro-section p {
  line-height: 1.8;
  color: #666;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 24px;
  color: #333;
}

.more-link {
  color: #d32f2f;
  font-weight: 500;
  transition: color 0.3s;
}

.more-link:hover {
  color: #b71c1c;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.video-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.video-card h3 a {
  color: #333;
  transition: color 0.3s;
}

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

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

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

.links-section {
  margin-top: 40px;
}

.links-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
  color: #333;
}

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

.link-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  color: #d32f2f;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  background: #d32f2f;
  color: #fff;
}

/* 列表页样式 */
.list-container {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.list-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  border-bottom: 1px solid #eee;
  transition: background 0.3s;
}

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

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

.rank-num {
  font-size: 24px;
  font-weight: bold;
  color: #d32f2f;
  min-width: 40px;
  text-align: center;
}

.item-content {
  flex: 1;
}

.item-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.item-content h3 a {
  color: #333;
  transition: color 0.3s;
}

.item-content h3 a:hover {
  color: #d32f2f;
}

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

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

.item-review {
  font-size: 13px;
  color: #888;
  font-style: italic;
  line-height: 1.5;
}

/* 详情页样式 */
.detail-content {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.detail-title {
  font-size: 32px;
  margin-bottom: 20px;
  color: #d32f2f;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid #eee;
  font-size: 14px;
  color: #666;
}

.detail-meta strong {
  color: #333;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.tag {
  display: inline-block;
  padding: 5px 15px;
  background: #f0f0f0;
  border-radius: 20px;
  font-size: 13px;
  color: #666;
}

.detail-oneline,
.detail-summary,
.detail-review {
  margin-bottom: 30px;
}

.detail-oneline h3,
.detail-summary h3,
.detail-review h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.detail-oneline p {
  font-size: 16px;
  color: #d32f2f;
  font-weight: 500;
  line-height: 1.8;
}

.detail-summary p,
.detail-review p {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  text-align: justify;
}

.related-section {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.related-section h2 {
  font-size: 24px;
  margin-bottom: 30px;
  color: #333;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.related-item {
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: all 0.3s;
}

.related-item:hover {
  border-color: #d32f2f;
  box-shadow: 0 2px 8px rgba(211, 47, 47, 0.1);
}

.related-item h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
}

.related-item h4 a {
  color: #333;
  transition: color 0.3s;
}

.related-item h4 a:hover {
  color: #d32f2f;
}

.related-meta {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
}

.related-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

/* 底部样式 */
.footer {
  background: #333;
  color: #fff;
  padding: 30px 0;
  margin-top: 60px;
  text-align: center;
}

.footer p {
  font-size: 14px;
  opacity: 0.8;
}

/* 响应式 */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 22px;
  }

  .hero-desc {
    font-size: 14px;
  }

  .page-title {
    font-size: 24px;
  }

  .detail-content {
    padding: 20px;
  }

  .detail-title {
    font-size: 24px;
  }

  .detail-meta {
    flex-direction: column;
    gap: 10px;
  }

  .video-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .links-grid {
    grid-template-columns: 1fr;
  }
}
