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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* 页面标题 */
.page-header {
  padding: 30px 0;
  border-bottom: 3px solid #0066cc;
  margin-bottom: 30px;
}

.page-header h1 {
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 10px;
}

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

/* 站点介绍 */
.site-intro {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 30px;
  border-left: 4px solid #0066cc;
}

.site-intro p {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
}

/* 列表模块 */
.list-section {
  margin-bottom: 40px;
}

.list-section h2 {
  font-size: 1.5rem;
  color: #1a1a1a;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e0e0;
}

.list-section > p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: #555;
}

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

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

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

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

.video-card h3 a {
  color: #1a1a1a;
}

.video-card .meta {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.video-card .desc {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 列表页 */
.video-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.video-item {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px;
  transition: background 0.3s;
}

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

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

.video-item h3 a {
  color: #0066cc;
}

.video-item .meta {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

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

.rank, .year, .genre {
  display: inline-block;
  background: #0066cc;
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.group-title {
  background: #f0f0f0;
  padding: 10px 15px;
  margin: 20px 0 10px 0;
  border-radius: 4px;
  font-size: 1rem;
  color: #666;
}

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

.video-detail header h1 {
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 3px solid #0066cc;
}

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

.video-detail section h2 {
  font-size: 1.3rem;
  color: #1a1a1a;
  margin-bottom: 15px;
  padding-left: 10px;
  border-left: 4px solid #0066cc;
}

.basic-info ul {
  list-style: none;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 6px;
}

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

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

.basic-info strong {
  color: #333;
  margin-right: 10px;
}

.one-line p, .summary p, .review p {
  line-height: 1.8;
  color: #444;
  font-size: 1rem;
}

.related {
  border-top: 2px solid #e0e0e0;
  padding-top: 30px;
}

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

.more-link a {
  display: inline-block;
  padding: 10px 30px;
  background: #0066cc;
  color: #fff;
  border-radius: 4px;
  transition: background 0.3s;
}

.more-link a:hover {
  background: #0052a3;
  text-decoration: none;
}

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

  .page-header h1 {
    font-size: 1.5rem;
  }

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

  .video-detail header h1 {
    font-size: 1.5rem;
  }
}
