
/* 全局样式 */
body.ui-style-5 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* 首页 */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 60px 30px;
  border-radius: 12px;
  margin-bottom: 40px;
  text-align: center;
}

.hero h1 {
  font-size: 2em;
  margin-bottom: 20px;
  line-height: 1.4;
}

.site-intro {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.05em;
  line-height: 1.8;
  opacity: 0.95;
}

section {
  margin-bottom: 50px;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

section h2 {
  font-size: 1.8em;
  margin-bottom: 25px;
  color: #2c3e50;
  border-bottom: 3px solid #e74c3c;
  padding-bottom: 10px;
}

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

.video-card {
  background: #fafafa;
  padding: 20px;
  border-radius: 8px;
  transition: all 0.3s;
  border: 1px solid #eee;
  position: relative;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  border-color: #e74c3c;
}

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

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

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

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

.video-card .genre {
  color: #95a5a6;
  font-size: 0.85em;
  margin-bottom: 8px;
}

.video-card .desc {
  color: #555;
  font-size: 0.95em;
  line-height: 1.6;
}

.video-card .tags {
  color: #999;
  font-size: 0.85em;
  margin-top: 10px;
}

.card-id {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e74c3c;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8em;
}

.video-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.video-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #fafafa;
  border-radius: 6px;
  border-left: 4px solid #e74c3c;
  transition: all 0.3s;
}

.video-item:hover {
  background: #f0f0f0;
  transform: translateX(5px);
}

.video-item .rank {
  font-size: 1.5em;
  font-weight: bold;
  color: #e74c3c;
  min-width: 40px;
  text-align: center;
}

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

.video-item h3 {
  margin-bottom: 5px;
}

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

.video-item p {
  color: #666;
  font-size: 0.9em;
}

.video-item .year {
  color: #95a5a6;
  font-size: 0.9em;
}

.video-simple-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.simple-item {
  padding: 15px;
  background: #fafafa;
  border-radius: 6px;
  border: 1px solid #eee;
}

.simple-item h3 {
  margin-bottom: 8px;
}

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

.simple-item .meta {
  color: #7f8c8d;
  font-size: 0.85em;
  margin-bottom: 8px;
}

.simple-item .brief {
  color: #555;
  font-size: 0.95em;
  line-height: 1.6;
}

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

.more-link a {
  text-decoration: none;
  color: #e74c3c;
  font-weight: bold;
  padding: 10px 20px;
  border: 2px solid #e74c3c;
  border-radius: 25px;
  display: inline-block;
  transition: all 0.3s;
}

.more-link a:hover {
  background: #e74c3c;
  color: #fff;
}

.links-section {
  text-align: center;
  font-size: 1.1em;
}

/* 列表页 */
.intro-text {
  background: #ecf0f1;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  line-height: 1.8;
}

.video-list-ranked {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ranked-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: #fafafa;
  border-radius: 8px;
  border: 1px solid #eee;
  transition: all 0.3s;
}

.ranked-item:hover {
  background: #f0f0f0;
  border-color: #e74c3c;
}

.rank-badge {
  width: 50px;
  height: 50px;
  background: #e74c3c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  border-radius: 50%;
  flex-shrink: 0;
}

.item-main {
  flex: 1;
}

.item-main h3 {
  margin-bottom: 10px;
}

.item-main h3 a {
  text-decoration: none;
  color: #2c3e50;
  font-size: 1.2em;
}

.item-main .meta {
  color: #7f8c8d;
  font-size: 0.9em;
  margin-bottom: 10px;
}

.item-main .summary {
  color: #555;
  line-height: 1.6;
  margin-bottom: 8px;
}

.item-main .review {
  color: #666;
  font-style: italic;
  font-size: 0.95em;
  padding-left: 15px;
  border-left: 3px solid #e74c3c;
}

.topic-group {
  margin-bottom: 40px;
}

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

.topic-card {
  padding: 15px;
  background: #fafafa;
  border-radius: 6px;
  border: 1px solid #eee;
  transition: all 0.3s;
}

.topic-card:hover {
  border-color: #e74c3c;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.topic-card h3 {
  margin-bottom: 8px;
  font-size: 1.1em;
}

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

.topic-card .meta {
  color: #7f8c8d;
  font-size: 0.85em;
  margin-bottom: 8px;
}

.topic-card .brief {
  color: #555;
  font-size: 0.9em;
  line-height: 1.5;
}

.latest-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.latest-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: #fafafa;
  border-radius: 8px;
  border: 1px solid #eee;
}

.date-badge {
  background: #3498db;
  color: #fff;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 0.9em;
  white-space: nowrap;
  height: fit-content;
}

.item-body {
  flex: 1;
}

.item-body h3 {
  margin-bottom: 10px;
}

.item-body h3 a {
  text-decoration: none;
  color: #2c3e50;
  font-size: 1.15em;
}

.item-body .meta {
  color: #7f8c8d;
  font-size: 0.9em;
  margin-bottom: 10px;
}

.item-body .summary {
  color: #555;
  line-height: 1.7;
  margin-bottom: 10px;
}

.item-body .tags {
  color: #999;
  font-size: 0.85em;
}

/* 详情页 */
.video-detail h1 {
  font-size: 2em;
  color: #2c3e50;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #e74c3c;
}

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

.video-detail h2 {
  font-size: 1.5em;
  color: #34495e;
  margin-bottom: 15px;
  border-bottom: 2px solid #ecf0f1;
  padding-bottom: 8px;
}

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

.basic-info li {
  padding: 10px 0;
  border-bottom: 1px solid #ecf0f1;
  line-height: 1.6;
}

.basic-info strong {
  color: #2c3e50;
  min-width: 80px;
  display: inline-block;
}

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

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

.related-card {
  padding: 18px;
  background: #fafafa;
  border-radius: 6px;
  border: 1px solid #eee;
  transition: all 0.3s;
}

.related-card:hover {
  border-color: #e74c3c;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-card h3 {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

.related-card .meta {
  color: #7f8c8d;
  font-size: 0.85em;
  margin-bottom: 8px;
}

.related-card .desc {
  color: #555;
  font-size: 0.95em;
  line-height: 1.6;
}

/* 响应式 */
@media (max-width: 768px) {
  .hero {
    padding: 40px 20px;
  }

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

  section {
    padding: 20px 15px;
  }

  section h2 {
    font-size: 1.4em;
  }

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

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

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

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

  .topic-items {
    grid-template-columns: 1fr;
  }
}
