/* 光影探索影视 - 温馨粉橙 */

/* 全局样式已在head中内联，此处为增强样式 */

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

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.hero-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-section .subtitle {
  font-size: 1.1rem;
  opacity: 0.95;
}

/* 各个区块 */
.intro-section,
.hot-section,
.latest-section {
  padding: 60px 20px;
}

.intro-section {
  background: #fff;
}

.intro-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
}

.intro-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 2rem;
}

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

.link-card {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s;
  border: 1px solid #e0e0e0;
}

.link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border-color: #667eea;
}

.link-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.link-card p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
}

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

.video-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

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

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

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

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

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

.tag {
  background: #e8eaf6;
  color: #5c6bc0;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.85rem;
}

.year, .genre {
  background: #f5f5f5;
  color: #666;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.85rem;
}

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

/* 视频列表 */
.video-list {
  margin-top: 2rem;
}

.video-item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: all 0.3s;
}

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

.video-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.video-item h3 a {
  color: #2c3e50;
  text-decoration: none;
}

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

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

.more-link a {
  display: inline-block;
  padding: 12px 30px;
  background: #667eea;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s;
}

.more-link a:hover {
  background: #5568d3;
  transform: translateY(-2px);
}

/* 列表页 */
.list-page {
  padding: 40px 20px;
  background: #fff;
}

.page-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #e0e0e0;
}

.page-header h1 {
  font-size: 2.2rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.page-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
}

/* 年代分组 */
.decade-group {
  margin-bottom: 3rem;
}

.decade-title {
  font-size: 1.6rem;
  color: #667eea;
  margin-bottom: 1.5rem;
  padding-left: 15px;
  border-left: 4px solid #667eea;
}

/* 排行榜 */
.ranking-list {
  margin-top: 2rem;
}

.ranking-item {
  display: flex;
  gap: 20px;
  background: #fff;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: all 0.3s;
}

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

.rank-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 8px;
}

.ranking-content {
  flex: 1;
}

.ranking-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.ranking-content h3 a {
  color: #2c3e50;
  text-decoration: none;
}

.ranking-content h3 a:hover {
  color: #667eea;
}

.ranking-reason {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin-top: 0.8rem;
}

/* 专题列表 */
.topic-list {
  margin-top: 2rem;
}

.topic-item {
  background: #fff;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.topic-item h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.topic-item h3 a {
  color: #2c3e50;
  text-decoration: none;
}

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

.topic-analysis {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}

.topic-analysis h4 {
  font-size: 1.1rem;
  color: #667eea;
  margin-bottom: 0.8rem;
}

.topic-analysis p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

/* 最新列表 */
.latest-list {
  margin-top: 2rem;
}

.latest-item {
  display: flex;
  gap: 20px;
  background: #fff;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.latest-date {
  flex-shrink: 0;
  width: 100px;
  height: 50px;
  background: #f0f2f5;
  color: #667eea;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
}

.latest-content {
  flex: 1;
}

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

.latest-content h3 a {
  color: #2c3e50;
  text-decoration: none;
}

.latest-content h3 a:hover {
  color: #667eea;
}

/* 详情页 */
.detail-page {
  padding: 40px 20px;
  background: #fff;
}

.video-detail {
  max-width: 900px;
  margin: 0 auto;
}

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

.detail-header h1 {
  font-size: 2rem;
  color: #2c3e50;
  line-height: 1.4;
}

.detail-info,
.detail-oneline,
.detail-summary,
.detail-review,
.detail-related {
  margin-bottom: 2.5rem;
}

.detail-info h2,
.detail-oneline h2,
.detail-summary h2,
.detail-review h2,
.detail-related h2 {
  font-size: 1.6rem;
  color: #2c3e50;
  margin-bottom: 1.2rem;
  padding-left: 12px;
  border-left: 4px solid #667eea;
}

.info-list {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
}

.info-list dt {
  font-weight: 600;
  color: #667eea;
  margin-top: 0.8rem;
  margin-bottom: 0.3rem;
}

.info-list dt:first-child {
  margin-top: 0;
}

.info-list dd {
  color: #555;
  margin-left: 0;
  margin-bottom: 0.5rem;
}

.highlight-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #667eea;
  font-weight: 500;
  padding: 15px 20px;
  background: #f0f2f5;
  border-radius: 8px;
}

.summary-text p,
.review-text p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #444;
  margin-bottom: 1rem;
}

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

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

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

.related-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.related-card h3 a {
  color: #2c3e50;
  text-decoration: none;
}

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

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

/* Footer */
.main-footer {
  background: #2c3e50;
  color: #fff;
  padding: 40px 20px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 1.5rem;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #667eea;
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.8;
}

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

  .hero-section .subtitle {
    font-size: 1rem;
  }

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

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

  .quick-links {
    grid-template-columns: 1fr;
  }

  .ranking-item {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .latest-date {
    width: auto;
    height: auto;
    padding: 8px 15px;
  }

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