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

:root {
  --primary-color: #FF6700;
  --secondary-color: #FF8533;
  --text-color: #333;
  --bg-color: #fff;
  --border-color: #e0e0e0;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

.ui-style-12 {
  --primary-color: #FF6700;
  --secondary-color: #FF8533;
}

.ui-style-12 .video-card:hover {
  transform: translateY(-4px);
  transition: transform 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  background: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.site-logo a {
  color: var(--primary-color);
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 24px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.site-nav a {
  color: var(--text-color);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.site-nav a:hover,
.site-nav a.nav-link--active {
  background: var(--primary-color);
  color: #fff;
}

.site-main {
  min-height: calc(100vh - 200px);
  padding: 32px 0;
}

.hero-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  padding: 60px 0;
  margin-bottom: 40px;
  border-radius: 12px;
}

.hero-title {
  font-size: 32px;
  margin-bottom: 16px;
  font-weight: 700;
}

.hero-desc {
  font-size: 18px;
  opacity: 0.95;
  line-height: 1.8;
}

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

.intro-text {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  text-align: justify;
}

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

.section-title {
  font-size: 28px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--primary-color);
  font-weight: 600;
}

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

.video-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.video-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.video-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

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

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

.video-card:hover .video-cover img {
  transform: scale(1.05);
}

.video-info {
  padding: 16px;
}

.video-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
}

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

.video-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: #999;
}

.video-meta span {
  padding: 2px 8px;
  background: #f5f5f5;
  border-radius: 4px;
}

.page-header {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-color);
}

.page-header h1 {
  font-size: 32px;
  margin-bottom: 12px;
  color: var(--primary-color);
}

.page-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}

.top-list__items {
  list-style: none;
}

.top-list__item {
  display: flex;
  gap: 16px;
  padding: 16px;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.top-list__item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.top-rank {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  min-width: 50px;
  text-align: center;
  line-height: 1;
  padding-top: 8px;
}

.top-cover {
  width: 150px;
  flex-shrink: 0;
}

.top-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.top-info {
  flex: 1;
}

.top-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.top-title a {
  color: var(--text-color);
  text-decoration: none;
}

.top-title a:hover {
  color: var(--primary-color);
}

.top-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.6;
}

.top-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: #999;
}

.top-meta span {
  padding: 2px 8px;
  background: #f5f5f5;
  border-radius: 4px;
}

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

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

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

.player-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 103, 0, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.player-play-btn:hover {
  background: var(--primary-color);
  transform: translate(-50%, -50%) scale(1.1);
}

.player-play-icon {
  font-size: 32px;
  color: #fff;
  display: block;
  margin-left: 6px;
}

.detail-page {
  padding: 0;
}

.detail-content {
  max-width: 900px;
  margin: 0 auto;
}

.detail-title {
  font-size: 36px;
  margin-bottom: 24px;
  color: var(--text-color);
  line-height: 1.3;
}

.detail-module {
  margin-bottom: 32px;
  padding: 24px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-module h2 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--primary-color);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-color);
}

.info-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  font-size: 16px;
}

.info-list dt {
  font-weight: 600;
  color: #666;
}

.info-list dd {
  color: var(--text-color);
}

.highlight-text,
.summary-text,
.review-text {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  text-align: justify;
}

.highlight-text {
  font-weight: 500;
  color: var(--primary-color);
  font-size: 18px;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag {
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  border-radius: 20px;
  font-size: 14px;
}

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

.site-footer {
  background: #f8f8f8;
  padding: 32px 0;
  margin-top: 48px;
  text-align: center;
  color: #999;
  border-top: 1px solid var(--border-color);
}

.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--secondary-color);
  transform: translateY(-4px);
}

@media (max-width: 768px) {
  .site-header .container {
    flex-direction: row;
    align-items: center;
  }

  .site-nav {
    gap: 8px;
    font-size: 14px;
  }

  .site-nav a {
    padding: 6px 8px;
  }

  .hero-section {
    padding: 40px 0;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-desc {
    font-size: 16px;
  }

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

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

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

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

  .top-list__item {
    flex-direction: column;
  }

  .top-rank {
    font-size: 24px;
  }

  .top-cover {
    width: 100%;
  }

  .detail-title {
    font-size: 28px;
  }

  .detail-module {
    padding: 16px;
  }

  .detail-module h2 {
    font-size: 20px;
  }

  .related-section .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

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

  .video-info {
    padding: 12px;
  }

  .player-play-btn {
    width: 60px;
    height: 60px;
  }

  .player-play-icon {
    font-size: 24px;
  }
}
