/* UI Style 10 */
* {
  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: #f5f5f5;
}

a {
  text-decoration: none;
  color: #0066cc;
  transition: color 0.3s;
}

a:hover {
  color: #0052a3;
}

/* 导航栏 */
.nav {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #0066cc;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  flex-wrap: nowrap;
}

.nav-menu li a {
  color: #333;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s;
}

.nav-menu li a:hover {
  background: #f0f0f0;
  color: #0066cc;
}

/* 移动端导航 */
@media (max-width: 768px) {
  .nav-container {
    height: auto;
    min-height: 50px;
    flex-direction: column;
    padding: 10px;
  }

  .logo {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .nav-menu {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 0;
    overflow: hidden;
  }

  .nav-menu li {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
  }

  .nav-menu li a {
    display: block;
    padding: 6px 4px;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* 容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* 标题 */
h1 {
  font-size: 32px;
  color: #222;
  margin-bottom: 20px;
}

h2 {
  font-size: 24px;
  color: #333;
  margin: 30px 0 15px;
}

/* 段落 */
p {
  margin-bottom: 15px;
  line-height: 1.8;
}

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

.video-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.video-title {
  font-size: 18px;
  font-weight: bold;
  color: #222;
  margin-bottom: 10px;
}

.video-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.video-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-top: 10px;
}

/* 列表样式 */
.video-list {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.video-list-item {
  padding: 15px;
  border-bottom: 1px solid #eee;
  transition: background 0.3s;
}

.video-list-item:last-child {
  border-bottom: none;
}

.video-list-item:hover {
  background: #f9f9f9;
}

/* 详情页 */
.detail-header {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.detail-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.info-item {
  font-size: 14px;
}

.info-label {
  font-weight: bold;
  color: #666;
  display: inline-block;
  min-width: 60px;
}

.detail-section {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.section-title {
  font-size: 20px;
  font-weight: bold;
  color: #222;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0066cc;
}

/* 标签 */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tag {
  background: #e3f2fd;
  color: #0066cc;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 13px;
}

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

  h1 {
    font-size: 24px;
  }

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