/* 全局样式 */
body.ui-style-7 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-attachment: fixed;
}

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

/* 首页 */
.hero {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
  border-radius: 8px;
  margin-bottom: 30px;
}

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

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

section {
  margin-bottom: 40px;
}

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

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

.video-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 6px;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

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

.video-card h3 a {
  color: #667eea;
  text-decoration: none;
}

.video-card h3 a:hover {
  text-decoration: underline;
}

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

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

.entry-links {
  display: flex;
  gap: 20px;
}

.entry-card {
  flex: 1;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: #fff;
  padding: 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s;
}

.entry-card:hover {
  transform: scale(1.05);
}

.entry-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.entry-card p {
  font-size: 14px;
  opacity: 0.9;
}

.video-list {
  list-style: none;
}

.video-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.video-list a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
}

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

.video-list span {
  color: #999;
  font-size: 13px;
  margin-left: 10px;
}

.more-link {
  text-align: right;
  margin-top: 15px;
}

.more-link a {
  color: #667eea;
  text-decoration: none;
  font-weight: bold;
}

/* 列表页 */
.list-page h1 {
  font-size: 32px;
  margin-bottom: 15px;
}

.page-desc {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.8;
}

.list-item {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 6px;
  margin-bottom: 15px;
}

.list-item .rank {
  font-size: 24px;
  font-weight: bold;
  color: #667eea;
  min-width: 40px;
}

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

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

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

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

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

.year-tag {
  display: inline-block;
  background: #667eea;
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  margin-left: 8px;
}

/* 详情页 */
.detail-page h1 {
  font-size: 32px;
  color: #2c3e50;
  margin-bottom: 20px;
}

.basic-info ul {
  list-style: none;
}

.basic-info li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}

.highlight, .summary, .review {
  margin-top: 30px;
}

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

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

.related-card {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 6px;
}

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

.related-card h3 a {
  color: #667eea;
  text-decoration: none;
}

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

/* 响应式 */
@media (max-width: 768px) {
  main { padding: 15px; }
  .hero h1 { font-size: 22px; }
  .video-grid { grid-template-columns: 1fr; }
  .entry-links { flex-direction: column; }
  .related-grid { grid-template-columns: 1fr; }
}
