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

.home-main, .list-main, .detail-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Hero Section */
.hero {
  background: rgba(255,255,255,0.95);
  padding: 3rem 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Section Styles */
.hot-section, .topic-section, .latest-section, .links-section {
  background: rgba(255,255,255,0.95);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #667eea;
  padding-bottom: 0.5rem;
}

.section-header h2 {
  font-size: 1.8rem;
  color: #333;
}

.more-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.more-link:hover {
  color: #764ba2;
  transform: translateX(5px);
}

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

.video-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(102,126,234,0.3);
}

.video-card .card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
}

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

.video-card h3 a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

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

/* List Page */
.page-header {
  background: rgba(255,255,255,0.95);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  text-align: center;
}

.page-header h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.page-header p {
  color: #666;
  font-size: 1.05rem;
}

.list-container {
  background: rgba(255,255,255,0.95);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.list-item {
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 1rem;
  transition: background 0.3s ease;
}

.list-item:hover {
  background: rgba(102,126,234,0.05);
}

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

.list-item .item-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: bold;
  height: fit-content;
  white-space: nowrap;
}

.list-item.ranked .rank-badge {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1.2rem;
  height: fit-content;
  min-width: 40px;
  text-align: center;
}

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

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

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

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

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

.list-item .summary, .list-item .oneline {
  color: #555;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.list-item .review {
  color: #666;
  font-style: italic;
  margin-top: 0.5rem;
  padding-left: 1rem;
  border-left: 3px solid #667eea;
}

.list-item .tags {
  color: #999;
  font-size: 0.85rem;
}

/* Detail Page */
.video-detail {
  background: rgba(255,255,255,0.95);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.video-detail h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #333;
  border-bottom: 3px solid #667eea;
  padding-bottom: 0.5rem;
}

.video-info {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.video-info .info-row {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.video-info .info-row:last-child {
  margin-bottom: 0;
}

.video-info .label {
  font-weight: bold;
  color: #667eea;
  min-width: 80px;
  display: inline-block;
}

.one-line, .summary, .review {
  margin-bottom: 2rem;
}

.one-line h2, .summary h2, .review h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.one-line p {
  font-size: 1.2rem;
  color: #667eea;
  font-weight: 500;
  line-height: 1.8;
}

.summary p, .review p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #555;
  text-align: justify;
}

.review p {
  font-style: italic;
  background: #f8f9fa;
  padding: 1rem;
  border-left: 4px solid #667eea;
  border-radius: 4px;
}

/* Related Section */
.related-section {
  background: rgba(255,255,255,0.95);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.related-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #333;
  border-bottom: 2px solid #667eea;
  padding-bottom: 0.5rem;
}

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

.related-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(102,126,234,0.2);
}

.related-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.related-card h4 a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-card h4 a:hover {
  color: #667eea;
}

.related-card .meta {
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

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

/* Links Section */
.links-section h3 {
  margin-bottom: 0.8rem;
  color: #333;
}

.links-section p {
  font-size: 1.05rem;
}

.links-section a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.links-section a:hover {
  color: #764ba2;
}

/* Footer */
footer {
  background: rgba(255,255,255,0.95);
  padding: 1.5rem;
  text-align: center;
  color: #666;
  margin-top: 2rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero .lead {
    font-size: 1rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

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

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

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

  .home-main, .list-main, .detail-main {
    padding: 1rem;
  }
}