
/* 全局样式 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* 头部 */
.site-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.site-header h1 {
  font-size: 1.8rem;
  color: #2c3e50;
  line-height: 1.5;
}

/* 介绍区 */
.intro-section {
  background: white;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  line-height: 1.8;
}

.nav-links {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

/* 卡片网格 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 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;
}

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

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

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

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

/* 区块 */
section {
  background: white;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

/* 链接网格 */
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.link-card {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #3498db;
}

.link-card h3 {
  margin-bottom: 0.5rem;
}

.link-card p {
  color: #7f8c8d;
  font-size: 0.9rem;
}

/* 视频列表 */
.video-list {
  display: grid;
  gap: 1rem;
}

.video-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 4px;
}

.video-item a {
  flex: 1;
  font-weight: 500;
}

.video-item .year {
  color: #7f8c8d;
  font-size: 0.9rem;
}

/* 列表页 */
.page-intro {
  background: #f8f9fa;
  padding: 1rem;
  margin-bottom: 2rem;
  border-radius: 4px;
  border-left: 4px solid #3498db;
}

.list-container {
  display: grid;
  gap: 1.5rem;
}

.list-item {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
}

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

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

.list-item .desc {
  margin: 0.5rem 0;
  line-height: 1.6;
}

.list-item .tags {
  color: #3498db;
  font-size: 0.85rem;
}

/* 排行榜 */
.top-list {
  display: grid;
  gap: 1rem;
}

.top-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.top-item .rank {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3498db;
  color: white;
  border-radius: 50%;
  font-weight: bold;
}

.top-item .item-content {
  flex: 1;
}

.top-item h3 {
  margin-bottom: 0.3rem;
}

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

.top-item .review {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

/* 专题 */
.topic-container {
  display: grid;
  gap: 2rem;
}

.topic-group {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.topic-title {
  margin-bottom: 1rem;
  color: #2c3e50;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #3498db;
}

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

.topic-card {
  padding: 1rem;
  background: white;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topic-card .year {
  color: #7f8c8d;
  font-size: 0.85rem;
}

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

.latest-card {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.latest-card .date {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: #3498db;
  color: white;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.latest-card h3 {
  margin: 0.5rem 0;
}

.latest-card .oneline {
  margin: 0.5rem 0;
  line-height: 1.6;
}

.latest-card .meta {
  color: #7f8c8d;
  font-size: 0.85rem;
}

/* 详情页 */
.video-detail {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.video-detail h1 {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid #3498db;
  color: #2c3e50;
}

.video-detail section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  box-shadow: none;
}

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

.info-list {
  list-style: none;
}

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

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

.oneline {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2c3e50;
  font-weight: 500;
}

.summary {
  line-height: 1.9;
  color: #333;
  text-align: justify;
}

.review {
  line-height: 1.8;
  color: #555;
  font-style: italic;
  padding: 1rem;
  background: white;
  border-left: 4px solid #3498db;
}

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

.related-card {
  padding: 1rem;
  background: white;
  border-radius: 4px;
  border: 1px solid #eee;
  transition: all 0.3s;
}

.related-card:hover {
  border-color: #3498db;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

.related-card h4 {
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

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

/* 页脚 */
footer {
  text-align: center;
  padding: 2rem 1rem;
  color: #7f8c8d;
  background: white;
  margin-top: 2rem;
}

/* 响应式 */
@media (max-width: 768px) {
  .container { padding: 1rem 0.5rem; }
  .site-header h1 { font-size: 1.3rem; }
  section { padding: 1rem; }
  .video-grid { grid-template-columns: 1fr; }
  .link-grid { grid-template-columns: 1fr; }
  .latest-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .topic-items { grid-template-columns: 1fr; }
}
