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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

.ui-style-0 {
  --primary-color: #000;
  --secondary-color: #fff;
  --accent-color: #ff0050;
  --bg-color: #0a0a0a;
  --text-color: #fff;
  --card-bg: #1a1a1a;
  background: var(--bg-color);
  color: var(--text-color);
}

.ui-style-0 .site-header {
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

.main-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: nowrap;
  overflow: visible;
}

.main-nav a {
  padding: 8px 16px;
  color: inherit;
  text-decoration: none;
  border-radius: 20px;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 14px;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255, 0, 80, 0.1);
  color: #ff0050;
}

.ui-style-0 .main-nav a:hover,
.ui-style-0 .main-nav a.active {
  background: rgba(255, 0, 80, 0.2);
  color: #ff0050;
}

.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

.hero-section {
  text-align: center;
  padding: 60px 20px;
  margin-bottom: 40px;
}

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

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

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

.section-title {
  font-size: 28px;
  margin-bottom: 24px;
  font-weight: 700;
}

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

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

.ui-style-0 .video-card {
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.05);
}

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

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

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

.ui-style-0 .video-cover {
  background: #2a2a2a;
}

.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;
  font-weight: 600;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.video-one-line {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 12px;
  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;
  opacity: 0.7;
  flex-wrap: wrap;
}

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

.page-header h1 {
  font-size: 36px;
  margin-bottom: 12px;
  font-weight: 700;
}

.page-desc {
  font-size: 16px;
  opacity: 0.8;
}

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

.top-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  margin-bottom: 16px;
  background: var(--card-bg, #fff);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  align-items: center;
}

.top-rank {
  font-size: 32px;
  font-weight: 700;
  color: #ff0050;
  min-width: 60px;
  text-align: center;
}

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

.top-cover img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.top-info {
  flex: 1;
}

.top-info h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.top-info h3 a {
  color: inherit;
  text-decoration: none;
}

.top-info h3 a:hover {
  color: #ff0050;
}

.top-meta {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 8px;
}

.top-desc {
  font-size: 15px;
  opacity: 0.85;
  line-height: 1.6;
}

.detail-page {
  max-width: 1000px;
}

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

.video-player {
  width: 100%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.video-player-inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

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

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

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

.video-header h1 {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 700;
}

.video-basic-info {
  background: var(--card-bg, #f8f8f8);
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.video-basic-info h2 {
  font-size: 20px;
  margin-bottom: 16px;
  font-weight: 600;
}

.video-basic-info dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 16px;
}

.video-basic-info dt {
  font-weight: 600;
}

.content-module {
  margin-bottom: 40px;
}

.content-module h2 {
  font-size: 24px;
  margin-bottom: 16px;
  font-weight: 600;
}

.content-module p {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.9;
}

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

.tag {
  padding: 6px 16px;
  background: rgba(255, 0, 80, 0.1);
  color: #ff0050;
  border-radius: 20px;
  font-size: 14px;
}

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

.related-section h2 {
  font-size: 28px;
  margin-bottom: 24px;
  font-weight: 600;
}

.site-footer {
  background: var(--card-bg, #f8f8f8);
  padding: 40px 20px;
  text-align: center;
  margin-top: 60px;
}

.ui-style-0 .site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content p {
  font-size: 14px;
  opacity: 0.7;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  background: #ff0050;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 999;
  font-size: 20px;
}

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

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

  .logo {
    margin-bottom: 8px;
  }

  .main-nav {
    gap: 4px;
    font-size: 13px;
  }

  .main-nav a {
    padding: 6px 12px;
    font-size: 13px;
  }

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

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

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

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

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

  .video-info {
    padding: 12px;
  }

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

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

  .page-header h1 {
    font-size: 28px;
  }

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

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

  .top-cover {
    width: 100%;
  }

  .video-header h1 {
    font-size: 24px;
  }

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