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

/* 视频卡片 */
.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;
  position: relative;
}

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

.video-card .rank {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #e74c3c;
  color: white;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
}

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

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

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

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

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

/* UI Style 8 */
body.ui-style-8 {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
}

/* 响应式 */
@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr !important;
  }

  h1 {
    font-size: 1.8rem !important;
  }
}
