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

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

.video-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.video-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.video-title a {
  color: inherit;
  transition: color 0.3s;
}

.video-title a:hover {
  color: #e74c3c;
}

.video-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.meta-item {
  font-size: 0.85rem;
  color: #7f8c8d;
  padding: 0.25rem 0.5rem;
  background: #ecf0f1;
  border-radius: 4px;
}

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

/* 页面标题 */
.page-title {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  text-align: center;
}

.section-title {
  font-size: 1.5rem;
  color: #2c3e50;
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e74c3c;
}

/* 首页专属 */
.hero-section {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.site-intro {
  margin-top: 1rem;
  line-height: 1.8;
  color: #555;
}

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

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

.video-item {
  padding: 1rem;
  border-left: 3px solid #e74c3c;
  background: #f8f9fa;
  border-radius: 4px;
}

.item-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.item-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: #7f8c8d;
  margin-bottom: 0.5rem;
}

.item-desc {
  font-size: 0.9rem;
  color: #666;
}

.ranking-intro {
  margin: 1rem 0;
  color: #555;
}

.quick-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.quick-link-btn {
  flex: 1;
  padding: 1rem;
  background: #3498db;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  transition: background 0.3s;
}

.quick-link-btn:hover {
  background: #2980b9;
}

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

.more-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #e74c3c;
  color: #fff;
  border-radius: 6px;
  transition: background 0.3s;
}

.more-link:hover {
  background: #c0392b;
}

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

.page-intro {
  margin: 1rem 0 2rem;
  color: #555;
  line-height: 1.8;
}

.list-container {
  margin-top: 2rem;
}

/* 大全页 */
.daquan-item {
  padding: 1.5rem;
  border-bottom: 1px solid #ecf0f1;
}

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

.daquan-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.daquan-info {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.info-tag {
  font-size: 0.85rem;
  padding: 0.25rem 0.75rem;
  background: #ecf0f1;
  border-radius: 4px;
  color: #555;
}

.daquan-desc {
  color: #666;
  line-height: 1.6;
}

/* 排行页 */
.rank-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid #ecf0f1;
  align-items: flex-start;
}

.rank-number {
  font-size: 2rem;
  font-weight: bold;
  color: #e74c3c;
  min-width: 60px;
  text-align: center;
}

.rank-content {
  flex: 1;
}

.rank-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.rank-meta {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.rank-desc {
  color: #666;
  line-height: 1.6;
}

/* 专题页 */
.topic-group {
  margin-bottom: 2rem;
}

.topic-title {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 4px solid #e74c3c;
}

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

.topic-card {
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 6px;
  transition: background 0.3s;
}

.topic-card:hover {
  background: #e9ecef;
}

.topic-card h4 {
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.topic-meta {
  font-size: 0.85rem;
  color: #7f8c8d;
}

/* 最新页 */
.latest-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  border-bottom: 1px solid #ecf0f1;
}

.latest-date {
  font-size: 1.5rem;
  font-weight: bold;
  color: #3498db;
  min-width: 80px;
}

.latest-content {
  flex: 1;
}

.latest-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.latest-meta {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.latest-summary {
  color: #666;
  line-height: 1.6;
}

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

.detail-header {
  border-bottom: 2px solid #e74c3c;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.detail-title {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.detail-subtitle {
  font-size: 1rem;
  color: #7f8c8d;
}

.section-heading {
  font-size: 1.3rem;
  color: #2c3e50;
  margin: 2rem 0 1rem;
  padding-left: 1rem;
  border-left: 4px solid #e74c3c;
}

.detail-info {
  margin-bottom: 2rem;
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.info-row {
  display: flex;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 4px;
}

.info-label {
  font-weight: bold;
  color: #555;
  min-width: 80px;
}

.info-value {
  color: #666;
}

.detail-oneline {
  margin-bottom: 2rem;
}

.oneline-text {
  padding: 1rem;
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  color: #856404;
  font-size: 1.1rem;
  line-height: 1.8;
}

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

.summary-text,
.review-text {
  color: #555;
  line-height: 1.8;
}

.summary-text p,
.review-text p {
  margin-bottom: 1rem;
}

.detail-related {
  margin-top: 3rem;
}

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

.related-card {
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 6px;
  transition: background 0.3s;
}

.related-card:hover {
  background: #e9ecef;
}

.related-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

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

.related-desc {
  font-size: 0.9rem;
  color: #666;
}

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

  .section-title {
    font-size: 1.3rem;
  }

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

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

  .rank-number {
    font-size: 1.5rem;
  }

  .latest-item {
    flex-direction: column;
    gap: 1rem;
  }

  .quick-links {
    flex-direction: column;
  }

  .detail-title {
    font-size: 1.5rem;
  }
}
