/* 全局样式 */
body.ui-style-5 {
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* 导航激活状态 */
.nav a.active {
  background: #007bff;
  color: #fff;
  font-weight: bold;
}

/* 首页样式 */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 3rem 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero .intro {
  font-size: 1.1rem;
  line-height: 1.8;
}

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

.hot-section h2, .rank-section h2, .latest-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #007bff;
}

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

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

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

.video-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

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

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

.video-card .meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

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

.more-link {
  text-align: center;
  margin-top: 1.5rem;
}

.more-link a {
  color: #007bff;
  font-weight: bold;
  font-size: 1.1rem;
}

.more-link a:hover {
  text-decoration: underline;
}

/* 列表页样式 */
.list-page h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.page-intro {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 2rem;
  padding: 1rem;
  background: #fff;
  border-radius: 6px;
}

.video-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.list-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  gap: 1rem;
  transition: box-shadow 0.3s;
}

.list-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.top-item .rank {
  font-size: 2rem;
  font-weight: bold;
  color: #007bff;
  min-width: 50px;
  text-align: center;
}

.item-content {
  flex: 1;
}

.item-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.item-content h3 a {
  color: #333;
}

.item-content h3 a:hover {
  color: #007bff;
}

.item-content .meta {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.item-content .genre {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.item-content .summary {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.item-content .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.item-content .tags span {
  background: #e0e0e0;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #555;
}

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

.detail-content h1 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: #333;
  border-bottom: 3px solid #007bff;
  padding-bottom: 0.5rem;
}

.detail-content section {
  margin-bottom: 2rem;
}

.detail-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #444;
}

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

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

.basic-info .info-list li strong {
  color: #555;
  margin-right: 0.5rem;
}

.basic-info .tag {
  display: inline-block;
  background: #007bff;
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-right: 0.5rem;
  font-size: 0.9rem;
}

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

.highlight {
  background: #f0f8ff;
  padding: 1.5rem;
  border-radius: 6px;
  border-left: 4px solid #007bff;
}

.review {
  background: #fff9e6;
  padding: 1.5rem;
  border-radius: 6px;
  border-left: 4px solid #ffc107;
}

/* 页脚 */
.footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

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

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

  .list-item {
    flex-direction: column;
  }

  .top-item .rank {
    text-align: left;
  }

  .detail-content h1 {
    font-size: 1.8rem;
  }
}