/* 雅韵影视 - UI风格: ui-style-1, 布局: C */

/* 基础样式 */
body.ui-style-1 {
  font-size: 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

.main-nav {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #667eea;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  list-style: none;
}

.nav-links li {
  flex: 1 1 0;
  min-width: 0;
}

.nav-links a {
  color: #2c3e50;
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: block;
  text-align: center;
  transition: all 0.3s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links a:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
}

/* 主要内容区 */
.home-main, .list-main, .detail-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background: white;
  min-height: calc(100vh - 180px);
}

.hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border-radius: 10px;
  margin-bottom: 40px;
}

.hero h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 20px;
}

/* 区块样式 */
section {
  margin-bottom: 60px;
}

section h2 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid #667eea;
}

.site-intro {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  line-height: 1.8;
}

.site-intro p {
  margin-bottom: 15px;
  color: #555;
}

.links-intro {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

/* 视频卡片网格 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.video-card {
  background: white;
  border: 1px solid #e1e8ed;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

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

.video-card .meta {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.video-card .oneline {
  color: #555;
  line-height: 1.6;
}

/* 入口卡片 */
.entry-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.entry-card {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s;
}

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

.entry-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.entry-card a {
  color: white;
  text-decoration: none;
}

/* 最新列表 */
.latest-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.video-item, .latest-item {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #667eea;
}

.date, .update-date {
  display: inline-block;
  background: #667eea;
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-right: 10px;
}

.video-item h4, .latest-item h3 {
  display: inline;
  font-size: 1.1rem;
}

/* 列表页样式 */
.list-intro {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.year-group {
  margin-bottom: 50px;
}

.year-title {
  font-size: 1.5rem;
  color: #667eea;
  margin-bottom: 20px;
  padding-left: 20px;
  border-left: 5px solid #667eea;
}

.year-items {
  display: grid;
  gap: 20px;
}

.dq-item {
  background: white;
  border: 1px solid #e1e8ed;
  padding: 20px;
  border-radius: 8px;
  transition: all 0.3s;
}

.dq-item:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.dq-item h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.dq-item .meta {
  color: #7f8c8d;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

/* Top列表 */
.top-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.top-item {
  display: flex;
  gap: 20px;
  background: white;
  border: 1px solid #e1e8ed;
  padding: 25px;
  border-radius: 8px;
  transition: all 0.3s;
}

.top-item:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.rank-num {
  font-size: 2rem;
  font-weight: bold;
  color: #667eea;
  min-width: 60px;
  text-align: center;
  padding-top: 10px;
}

.top-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.top-content .meta {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.top-content .tags {
  color: #667eea;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.top-content .recommend {
  line-height: 1.7;
  color: #555;
}

/* Topic列表 */
.topic-intro {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  padding: 40px;
  border-radius: 10px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.topic-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.topic-item {
  background: white;
  border: 1px solid #e1e8ed;
  padding: 30px;
  border-radius: 8px;
  border-left: 5px solid #764ba2;
}

.topic-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.topic-item .intro {
  line-height: 1.8;
  color: #555;
}

/* 详情页样式 */
.video-detail {
  max-width: 900px;
  margin: 0 auto;
}

.video-detail h1 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #667eea;
}

.video-detail section {
  margin-bottom: 40px;
}

.video-detail h2 {
  font-size: 1.4rem;
  color: #667eea;
  margin-bottom: 15px;
}

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

.basic-info li {
  padding: 8px 0;
  border-bottom: 1px solid #e1e8ed;
}

.basic-info li:last-child {
  border-bottom: none;
}

.oneline p, .summary p, .review p {
  line-height: 1.8;
  color: #555;
  font-size: 1.05rem;
}

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

.related-item {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 3px solid #667eea;
  transition: all 0.3s;
}

.related-item:hover {
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-item h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}

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

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

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

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

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

.copyright {
  color: #95a5a6;
  font-size: 0.9rem;
}

.more-link {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1rem;
}

/* 响应式 */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    height: auto;
    padding: 10px;
  }

  .logo {
    margin-bottom: 10px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links a {
    padding: 0.5rem 0.3rem;
    font-size: 0.85rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

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

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

  .rank-num {
    min-width: auto;
  }

  .entry-cards {
    grid-template-columns: 1fr;
  }

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