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

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

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

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

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

.site-logo a {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 30px;
}

.site-nav a {
  color: #666;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: #1890ff;
}

.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

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

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

.intro-section {
  background: #fff;
  padding: 40px 0;
}

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

.video-section {
  padding: 50px 0;
}

.section-title {
  font-size: 26px;
  margin-bottom: 30px;
  font-weight: 600;
  color: #222;
}

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

.video-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.video-card:hover {
  transform: translateY(-5px);
  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: 140%;
  background: #e0e0e0;
  overflow: hidden;
}

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

.video-info {
  padding: 15px;
}

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

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

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

.page-header {
  background: #fff;
  padding: 40px 0;
  border-bottom: 1px solid #e0e0e0;
}

.page-header h1 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #222;
}

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

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

.top-item {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.top-item__link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: background 0.3s;
}

.top-item__link:hover {
  background: #f9f9f9;
}

.top-rank {
  font-size: 24px;
  font-weight: 700;
  min-width: 40px;
  text-align: center;
  color: #999;
}

.top-rank--top {
  color: #ff4d4f;
}

.top-item .video-cover {
  width: 120px;
  padding-top: 0;
  height: 160px;
  flex-shrink: 0;
}

.top-item .video-cover img {
  position: static;
}

.top-item .video-info {
  flex: 1;
  padding: 0;
}

.group {
  margin-bottom: 50px;
}

.group__title {
  font-size: 22px;
  margin-bottom: 25px;
  color: #333;
  font-weight: 600;
}

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

.detail-page .video-player-section {
  background: #000;
  padding: 30px 0;
}

.video-player {
  max-width: 900px;
  margin: 0 auto;
}

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

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

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

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

.video-header {
  background: #fff;
  padding: 40px 0;
}

.video-header h1 {
  font-size: 32px;
  color: #222;
  font-weight: 700;
}

.video-basic-info {
  background: #fff;
  padding: 30px 0;
  margin-bottom: 20px;
}

.video-basic-info h2 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #333;
  font-weight: 600;
}

.info-list {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 15px 30px;
  font-size: 15px;
}

.info-list dt {
  color: #999;
  font-weight: 500;
}

.info-list dd {
  color: #333;
}

.content-module {
  background: #fff;
  padding: 40px 0;
  margin-bottom: 20px;
}

.content-module h2 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #333;
  font-weight: 600;
}

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

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

.tag {
  display: inline-block;
  padding: 6px 14px;
  background: #f0f0f0;
  border-radius: 20px;
  font-size: 14px;
  color: #666;
}

.related-section {
  background: #fff;
  padding: 40px 0;
}

.related-section h2 {
  font-size: 22px;
  margin-bottom: 30px;
  color: #333;
  font-weight: 600;
}

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

.site-footer {
  background: #2c2c2c;
  color: #999;
  padding: 30px 0;
  text-align: center;
  margin-top: 50px;
}

.site-footer p {
  font-size: 14px;
}

@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    height: auto;
    padding: 15px 20px;
  }

  .site-nav {
    gap: 15px;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    justify-content: flex-start;
  }

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

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

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

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

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

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

  .top-item__link {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-item .video-cover {
    width: 100%;
    height: 200px;
  }

  .info-list {
    grid-template-columns: 80px 1fr;
    gap: 12px 15px;
    font-size: 14px;
  }

  .video-grid--related {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ui-style-10 {
  --primary-color: #00C75A;
  --primary-dark: #00a04a;
}

.ui-style-10 .site-header {
  background: linear-gradient(to right, #00C75A, #00d964);
}

.ui-style-10 .site-logo a {
  color: #fff;
}

.ui-style-10 .site-nav a {
  color: rgba(255,255,255,0.9);
}

.ui-style-10 .site-nav a:hover,
.ui-style-10 .site-nav a.active {
  color: #fff;
}

.ui-style-10 .hero-section {
  background: linear-gradient(135deg, #00C75A 0%, #00ff7f 100%);
}

.ui-style-10 .video-card:hover {
  border-color: var(--primary-color);
}

.ui-style-10 .section-title {
  color: var(--primary-dark);
}

.ui-style-10 .player-play-btn {
  background: var(--primary-color);
}

.ui-style-10 .player-play-icon {
  color: #fff;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: #1890ff;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  transition: all 0.3s;
  z-index: 99;
}

.back-to-top:hover {
  background: #40a9ff;
  transform: translateY(-3px);
}

.back-to-top.show {
  display: flex;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}
