
/* 全局样式 */
body.ui-style-1 {
  background: #f5f5f5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.hero h1 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #2c3e50;
  line-height: 1.4;
}

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

.section {
  margin: 40px 0;
}

.section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e74c3c;
  color: #2c3e50;
}

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

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

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

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

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

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

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

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

.more-link {
  text-align: center;
  margin-top: 20px;
  font-size: 16px;
}

/* 列表页样式 */
.page-header {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  margin: 30px 0;
  border-radius: 8px;
}

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

.page-intro {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

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

.list-item {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

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

.list-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

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

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

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

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

.list-item .review {
  font-size: 14px;
  color: #888;
  font-style: italic;
  margin-top: 8px;
}

.list-item.ranked {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.list-item.ranked .rank {
  font-size: 28px;
  font-weight: bold;
  color: #e74c3c;
  min-width: 50px;
}

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

.item-group, .item-tag, .item-date {
  display: inline-block;
  padding: 4px 12px;
  background: #e74c3c;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 10px;
}

.item-tag {
  background: #3498db;
}

.item-date {
  background: #27ae60;
}

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

.detail h1 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #2c3e50;
  border-bottom: 3px solid #e74c3c;
  padding-bottom: 15px;
}

.detail h2 {
  font-size: 22px;
  margin: 30px 0 15px;
  color: #34495e;
}

.info-list {
  list-style: none;
  padding: 0;
}

.info-list li {
  padding: 8px 0;
  font-size: 15px;
  line-height: 1.6;
}

.info-list strong {
  color: #555;
  display: inline-block;
  min-width: 80px;
}

.highlight {
  font-size: 18px;
  color: #e74c3c;
  font-weight: 500;
  padding: 15px;
  background: #fef5f5;
  border-left: 4px solid #e74c3c;
  border-radius: 4px;
}

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

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

.related-item {
  padding: 15px;
  background: #f9f9f9;
  border-radius: 6px;
  border: 1px solid #eee;
  transition: all 0.3s;
}

.related-item:hover {
  background: #fff;
  border-color: #e74c3c;
}

.related-item h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.related-item h4 a {
  color: #2c3e50;
  text-decoration: none;
}

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

.related-item p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

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

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

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

  .detail {
    padding: 20px;
  }

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

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