/* 全局样式 */
body.ui-style-3 {
  --primary-color: #1a73e8;
  --secondary-color: #34a853;
  --text-color: #202124;
  --bg-color: #f8f9fa;
  --card-bg: #ffffff;
  --border-color: #dadce0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-header {
  text-align: center;
  margin-bottom: 48px;
  padding: 32px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  color: white;
}

.page-header h1 {
  font-size: 32px;
  margin-bottom: 12px;
  font-weight: 700;
}

.page-desc {
  font-size: 16px;
  opacity: 0.95;
  line-height: 1.6;
}

.site-intro {
  background: var(--card-bg);
  padding: 32px;
  border-radius: 12px;
  margin-bottom: 48px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  line-height: 1.8;
}

.site-intro a {
  color: var(--primary-color);
  text-decoration: underline;
}

.video-section {
  margin-bottom: 56px;
}

.section-title {
  font-size: 28px;
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--primary-color);
  color: var(--text-color);
}

.section-desc {
  margin: 16px 0 24px;
  color: #5f6368;
}

.section-desc a {
  color: var(--primary-color);
  text-decoration: underline;
}

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

.video-card {
  background: var(--card-bg);
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

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

.video-title {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 600;
}

.video-title a {
  color: var(--text-color);
  transition: color 0.3s;
}

.video-title a:hover {
  color: var(--primary-color);
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.meta-item {
  font-size: 13px;
  padding: 4px 12px;
  background: #e8f0fe;
  color: #1967d2;
  border-radius: 12px;
}

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

.video-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.video-item {
  background: var(--card-bg);
  padding: 20px 24px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

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

.item-title {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 600;
}

.item-title a {
  color: var(--text-color);
}

.item-title a:hover {
  color: var(--primary-color);
}

.item-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
  color: #5f6368;
  font-size: 14px;
}

.item-desc {
  color: #5f6368;
  font-size: 14px;
  line-height: 1.6;
}

.video-list-detailed {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.video-card-large {
  background: var(--card-bg);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: relative;
}

.rank-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
}

.update-time {
  font-size: 13px;
  color: #34a853;
  margin-bottom: 8px;
}

.video-oneline {
  font-size: 16px;
  color: var(--primary-color);
  margin: 12px 0;
  font-weight: 500;
}

.video-summary {
  color: #5f6368;
  line-height: 1.7;
  margin-bottom: 12px;
}

.video-review {
  padding: 16px;
  background: #f8f9fa;
  border-left: 4px solid #34a853;
  color: #202124;
  font-style: italic;
  line-height: 1.6;
  margin-top: 12px;
}

.video-detail {
  background: var(--card-bg);
  padding: 48px;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.detail-header {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--border-color);
}

.detail-header h1 {
  font-size: 36px;
  margin-bottom: 8px;
  color: var(--text-color);
}

.detail-subtitle {
  font-size: 16px;
  color: #5f6368;
}

.detail-info,
.detail-oneline,
.detail-summary,
.detail-review,
.detail-related {
  margin-bottom: 40px;
}

.detail-info h2,
.detail-oneline h2,
.detail-summary h2,
.detail-review h2,
.detail-related h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--text-color);
  border-left: 4px solid var(--primary-color);
  padding-left: 16px;
}

.info-list {
  display: grid;
  gap: 12px;
}

.info-list li {
  padding: 12px 16px;
  background: #f8f9fa;
  border-radius: 6px;
  font-size: 15px;
}

.info-list strong {
  color: var(--primary-color);
  margin-right: 8px;
}

.detail-oneline p,
.detail-summary p,
.detail-review p {
  line-height: 1.8;
  color: #202124;
  font-size: 16px;
}

.detail-review p {
  padding: 20px;
  background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
  border-radius: 8px;
  font-style: italic;
}

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

.related-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.related-card:hover {
  background: #e8f0fe;
  transform: translateY(-2px);
}

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

.related-card h3 a {
  color: var(--text-color);
}

.related-card h3 a:hover {
  color: var(--primary-color);
}

.related-meta {
  font-size: 13px;
  color: #5f6368;
  margin-bottom: 8px;
}

.related-desc {
  font-size: 14px;
  color: #5f6368;
  line-height: 1.5;
}

.site-footer {
  background: #202124;
  color: #9aa0a6;
  text-align: center;
  padding: 32px 20px;
  margin-top: 80px;
}

@media (max-width: 768px) {
  .container {
    padding: 20px 16px;
  }

  .page-header h1 {
    font-size: 24px;
  }

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

  .video-detail {
    padding: 24px 20px;
  }

  .detail-header h1 {
    font-size: 28px;
  }

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