/* 剧汇影视 - ui-style-3 */

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

.page-header h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #1a73e8;
}

.page-header .intro {
  color: #666;
  line-height: 1.8;
}

.page-header .tags {
  margin-top: 1rem;
  color: #999;
  font-size: 0.9rem;
}

.module {
  margin-bottom: 3rem;
}

.module h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #1a73e8;
}

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

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

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

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

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

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

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

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

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

.video-card .badge,
.video-card .year-badge,
.video-card .date {
  display: inline-block;
  background: #1a73e8;
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.video-card.ranking {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.video-card.ranking .rank {
  font-size: 2rem;
  font-weight: bold;
  color: #1a73e8;
  min-width: 3rem;
  text-align: center;
}

.video-card.ranking .content {
  flex: 1;
}

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

.link-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.2s;
}

.link-card:hover {
  transform: scale(1.05);
}

.link-card h3 a {
  color: #fff;
  font-size: 1.3rem;
}

.link-card p {
  margin-top: 0.5rem;
  opacity: 0.9;
}

.topic-section {
  margin-bottom: 3rem;
}

.topic-section h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #1a73e8;
}

.video-detail {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.video-detail header h1 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #1a73e8;
}

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

.video-detail section h2 {
  font-size: 1.3rem;
  color: #1a73e8;
  margin-bottom: 1rem;
}

.info-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
  line-height: 1.8;
}

.info-list dt {
  font-weight: bold;
  color: #666;
}

.info-list dd {
  color: #333;
}

.highlight {
  font-size: 1.1rem;
  color: #1a73e8;
  font-weight: 500;
  line-height: 1.8;
}

.summary-section p,
.review-section p {
  color: #333;
  line-height: 1.8;
  text-align: justify;
}

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

.related-card {
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 6px;
  border-left: 3px solid #1a73e8;
}

.related-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

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

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

footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }

  .page-header h1 {
    font-size: 1.4rem;
  }

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

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