* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

.site-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.nav-logo {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.nav-links a {
  color: #666;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #007bff;
}

.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px;
}

.hero-section {
  text-align: center;
  padding: 48px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px;
  margin-bottom: 48px;
}

.hero-title {
  font-size: 32px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.hero-desc {
  font-size: 16px;
  opacity: 0.95;
  max-width: 800px;
  margin: 0 auto;
}

.video-section {
  margin-bottom: 48px;
}

.section-title {
  font-size: 24px;
  margin-bottom: 24px;
  color: #333;
}

.page-header {
  margin-bottom: 32px;
}

.page-header h1 {
  font-size: 32px;
  color: #333;
}

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

.video-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  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__link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.video-cover {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #e0e0e0;
  overflow: hidden;
}

.video-cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-info {
  padding: 16px;
}

.video-title {
  font-size: 18px;
  margin-bottom: 8px;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.video-one-line {
  font-size: 14px;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.video-player-section {
  margin-bottom: 32px;
}

.video-player {
  max-width: 100%;
}

.video-player-inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.player-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.player-play-btn:hover {
  background: white;
}

.player-play-icon {
  font-size: 32px;
  color: #333;
  margin-left: 4px;
}

.video-detail {
  margin-bottom: 48px;
}

.video-detail h1 {
  font-size: 32px;
  margin-bottom: 24px;
  color: #333;
}

.video-detail h2 {
  font-size: 20px;
  margin-bottom: 16px;
  color: #333;
}

.video-meta {
  background: white;
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.video-meta ul {
  list-style: none;
}

.video-meta li {
  margin-bottom: 12px;
  font-size: 15px;
  color: #555;
}

.content-module {
  background: white;
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.content-module p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}

.related-section {
  margin-top: 48px;
}

.related-section h2 {
  font-size: 24px;
  margin-bottom: 24px;
  color: #333;
}

.site-footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 32px 20px;
  margin-top: 64px;
}

.ui-style-0 {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 24px;
  }

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

  .section-title {
    font-size: 20px;
  }

  .nav-links {
    gap: 16px;
  }

  .video-cover {
    padding-top: 50%;
  }

  .video-title {
    font-size: 16px;
  }

  .video-one-line {
    font-size: 13px;
  }
}
