/* 基础样式 */
body.ui-style-3 {
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* 首页 */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero .intro {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}

section {
  margin-bottom: 3rem;
}

section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
  padding-bottom: 0.5rem;
}

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

.video-card {
  background: white;
  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-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

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

.video-card h3 a:hover {
  color: #3498db;
}

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

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

/* 入口链接 */
.entrance-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.entrance-card {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  padding: 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.3s;
}

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

.entrance-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.entrance-card p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* 简单列表 */
.video-list-simple {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.video-card-small {
  background: white;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.video-card-small a {
  color: #2c3e50;
  text-decoration: none;
  margin-right: 0.5rem;
}

.video-card-small a:hover {
  color: #3498db;
}

.video-card-small .year {
  color: #95a5a6;
  font-size: 0.85rem;
}

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

.more-link a {
  color: #3498db;
  text-decoration: none;
  font-size: 1rem;
}

/* 列表页 */
.list-page h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

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

.list-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.list-item {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: relative;
}

.list-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

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

.list-item h3 a:hover {
  color: #3498db;
}

.list-item .meta {
  color: #7f8c8d;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.list-item .summary {
  color: #555;
  line-height: 1.6;
}

.list-item.top .rank {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #e74c3c;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.9rem;
}

.list-item.topic .tag {
  display: inline-block;
  background: #9b59b6;
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.list-item.latest .date {
  display: inline-block;
  background: #27ae60;
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

/* 详情页 */
.detail-page h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #2c3e50;
}

.detail-page article {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.detail-page section h2 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  border-bottom: 2px solid #3498db;
  padding-bottom: 0.5rem;
}

.basic-info ul {
  list-style: none;
  padding: 0;
}

.basic-info li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #ecf0f1;
}

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

.basic-info strong {
  color: #2c3e50;
  margin-right: 0.5rem;
}

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

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

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

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

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

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

.related-card h4 a:hover {
  color: #3498db;
}

.related-card p {
  font-size: 0.85rem;
  color: #7f8c8d;
  line-height: 1.5;
}

/* 页脚 */
footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 1.5rem;
  margin-top: 3rem;
}

footer p {
  font-size: 0.9rem;
}

/* 响应式 */
@media (max-width: 768px) {
  .container {
    padding: 1rem 0.5rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

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

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

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

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