
/* 全局样式增强 */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* 主内容区 */
main {
  flex: 1;
  background: #fff;
  margin: 20px auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  max-width: 1240px;
  width: 100%;
}

/* 首页样式 */
.home-title {
  font-size: 32px;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
  padding-top: 20px;
  font-weight: 700;
}

.home-intro {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.home-intro a {
  color: #667eea;
  text-decoration: underline;
}

.home-section {
  margin-bottom: 50px;
}

.section-title {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid #667eea;
}

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

.video-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  transition: all 0.3s;
}

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

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

.video-title a {
  color: #333;
  text-decoration: none;
}

.video-title a:hover {
  color: #667eea;
}

.video-meta {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
}

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

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

.topic-item {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 30px;
  border-radius: 8px;
}

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

.topic-link {
  display: inline-block;
  margin-top: 15px;
  color: #fff;
  text-decoration: underline;
}

.video-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.video-item {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #667eea;
}

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

.video-item h3 a {
  color: #333;
  text-decoration: none;
}

.video-item h3 a:hover {
  color: #667eea;
}

.item-info {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #666;
}

.item-desc {
  color: #555;
  line-height: 1.6;
}

.section-more {
  text-align: center;
  margin-top: 30px;
}

.btn-more {
  display: inline-block;
  padding: 12px 30px;
  background: #667eea;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s;
}

.btn-more:hover {
  background: #764ba2;
  transform: scale(1.05);
}

/* 列表页样式 */
.list-title {
  font-size: 32px;
  color: #333;
  margin-bottom: 20px;
  padding-top: 20px;
  font-weight: 700;
}

.list-intro {
  background: #f5f7fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  line-height: 1.8;
  color: #555;
}

.region-section {
  margin-bottom: 50px;
}

.region-title {
  font-size: 24px;
  color: #667eea;
  margin-bottom: 20px;
  padding-left: 10px;
  border-left: 5px solid #667eea;
}

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

.daquan-card {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.daquan-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.daquan-card h3 a {
  color: #333;
  text-decoration: none;
}

.daquan-card h3 a:hover {
  color: #667eea;
}

.daquan-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 13px;
}

.meta-year, .meta-type {
  background: #667eea;
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
}

.daquan-genre {
  color: #666;
  font-size: 13px;
  margin-bottom: 8px;
}

.daquan-desc {
  color: #555;
  font-size: 14px;
  line-height: 1.5;
}

/* 排行页样式 */
.top-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.top-item {
  display: flex;
  gap: 20px;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  transition: all 0.3s;
}

.top-item:hover {
  background: #f0f0f0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.top-rank {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  border-radius: 8px;
}

.top-content {
  flex: 1;
}

.top-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.top-title a {
  color: #333;
  text-decoration: none;
}

.top-title a:hover {
  color: #667eea;
}

.top-meta {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
}

.top-desc {
  color: #555;
  line-height: 1.6;
  margin-bottom: 8px;
}

.top-review {
  color: #667eea;
  font-style: italic;
  font-size: 14px;
}

/* 专题页样式 */
.topic-section {
  margin-bottom: 50px;
}

.topic-header {
  font-size: 26px;
  color: #333;
  margin-bottom: 10px;
  font-weight: 700;
}

.topic-desc {
  color: #666;
  margin-bottom: 20px;
  font-size: 15px;
}

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

.topic-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  border-top: 3px solid #667eea;
}

.topic-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.topic-card h3 a {
  color: #333;
  text-decoration: none;
}

.topic-card h3 a:hover {
  color: #667eea;
}

.topic-tags {
  color: #667eea;
  font-size: 13px;
  margin-bottom: 10px;
}

.topic-text {
  color: #555;
  line-height: 1.6;
  font-size: 14px;
}

/* 最新页样式 */
.latest-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.latest-item {
  display: flex;
  gap: 20px;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
}

.latest-date {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: #667eea;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  border-radius: 8px;
}

.latest-content {
  flex: 1;
}

.latest-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.latest-title a {
  color: #333;
  text-decoration: none;
}

.latest-title a:hover {
  color: #667eea;
}

.latest-info {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
}

.latest-desc {
  color: #555;
  line-height: 1.6;
}

/* 详情页样式 */
.detail-main {
  padding: 20px 0;
}

.detail-content {
  background: #fff;
}

.detail-title {
  font-size: 32px;
  color: #333;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #667eea;
  font-weight: 700;
}

.detail-content section {
  margin-bottom: 30px;
}

.detail-content h2 {
  font-size: 22px;
  color: #667eea;
  margin-bottom: 15px;
  font-weight: 600;
}

.info-list {
  list-style: none;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
}

.info-list li {
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
}

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

.oneline-text {
  font-size: 18px;
  color: #667eea;
  background: #f5f7fa;
  padding: 20px;
  border-radius: 8px;
  font-weight: 500;
  line-height: 1.8;
}

.summary-text p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: #555;
  text-indent: 2em;
}

.review-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 20px;
  border-radius: 8px;
  line-height: 1.8;
  font-style: italic;
}

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

.related-item {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #667eea;
}

.related-item h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.related-item h3 a {
  color: #333;
  text-decoration: none;
}

.related-item h3 a:hover {
  color: #667eea;
}

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

.related-meta {
  color: #666;
  font-size: 13px;
}

/* 页脚 */
.footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  margin-top: auto;
}

.footer p {
  margin: 0;
}

/* 响应式 */
@media (max-width: 768px) {
  .home-title, .list-title, .detail-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 22px;
  }

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

  .top-item, .latest-item {
    flex-direction: column;
  }

  .top-rank, .latest-date {
    width: 100%;
    height: 60px;
  }

  .container {
    padding: 15px;
  }

  main {
    margin: 10px;
  }
}
