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

.logo {
  text-align: center;
  padding: 20px 0;
  font-size: 28px;
  font-weight: bold;
  background: #fff;
}

.logo a {
  color: #0066cc;
  text-decoration: none;
}

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

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

h1 {
  font-size: 32px;
  color: #222;
  margin-bottom: 20px;
  line-height: 1.3;
}

h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0066cc;
}

h3 {
  font-size: 18px;
  color: #444;
  margin-bottom: 10px;
}

.intro {
  font-size: 18px;
  color: #555;
  line-height: 1.8;
}

/* 卡片网格 */
.video-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

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

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

.video-card .rank {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff6b6b;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
}

.meta {
  color: #777;
  font-size: 14px;
  margin: 10px 0;
}

.one-line {
  color: #555;
  font-size: 15px;
  margin: 10px 0;
  font-style: italic;
}

.review {
  color: #666;
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.6;
}

/* 列表样式 */
.video-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.link-list li {
  margin: 15px 0;
  font-size: 16px;
  line-height: 1.8;
}

.link-list a {
  font-weight: bold;
  color: #0066cc;
  font-size: 18px;
}

/* 详情页样式 */
.info-list {
  list-style: none;
  padding: 0;
}

.info-list li {
  margin: 12px 0;
  font-size: 16px;
  line-height: 1.8;
}

.highlight {
  font-size: 20px;
  color: #0066cc;
  font-weight: 500;
  line-height: 1.6;
  padding: 15px;
  background: #f0f8ff;
  border-left: 4px solid #0066cc;
  border-radius: 4px;
}

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

footer {
  text-align: center;
  padding: 30px 20px;
  color: #777;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  margin-top: 40px;
}

/* 响应式 */
@media (max-width: 768px) {
  .video-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  main {
    padding: 10px;
  }

  section {
    padding: 20px 15px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }
}
