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

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

.site-nav {
  background: #fff;
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #e50914;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  overflow: visible;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #e50914;
}

.home-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

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

.hero-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

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

.intro-section {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 3rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.intro-section p {
  line-height: 1.8;
  color: #555;
}

.video-section {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #333;
  padding-left: 1rem;
  border-left: 4px solid #e50914;
}

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

.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: #ddd;
  overflow: hidden;
}

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

.video-info {
  padding: 1rem;
}

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

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

.video-meta {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #999;
}

.video-meta span {
  padding: 0.2rem 0.5rem;
  background: #f0f0f0;
  border-radius: 4px;
}

.list-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.page-header {
  text-align: center;
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.page-header p {
  color: #666;
  font-size: 1.1rem;
}

.top-list__items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.top-list__item {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.top-rank {
  font-size: 2rem;
  font-weight: bold;
  color: #e50914;
  min-width: 3rem;
  text-align: center;
}

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

.top-list__item .video-cover img {
  position: static;
  width: 100%;
  height: 100%;
}

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

.detail-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.video-player-section {
  margin-bottom: 2rem;
}

.video-player {
  background: #000;
  border-radius: 8px;
  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;
  background: rgba(229, 9, 20, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.player-play-btn:hover {
  background: rgba(229, 9, 20, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.player-play-icon {
  color: white;
  font-size: 2rem;
  display: block;
}

.detail-header {
  text-align: center;
  padding: 2rem 0;
}

.detail-header h1 {
  font-size: 2.5rem;
  color: #333;
}

.detail-info,
.detail-module,
.related-section {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.detail-info h2,
.detail-module h2,
.related-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
  padding-left: 1rem;
  border-left: 4px solid #e50914;
}

.info-list {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.5rem 1rem;
  line-height: 2;
}

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

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

.detail-module p {
  line-height: 1.8;
  color: #555;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.4rem 0.8rem;
  background: #f0f0f0;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #666;
}

.site-footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: #e50914;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.3s;
  z-index: 999;
}

.back-to-top:hover {
  background: #b00710;
  transform: scale(1.1);
}

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

@media (max-width: 768px) {
  .site-nav {
    padding: 0.8rem 1rem;
    flex-wrap: nowrap;
  }

  .nav-links {
    gap: 0.8rem;
    font-size: 0.9rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

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

  .video-card {
    font-size: 0.9rem;
  }

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

  .video-info {
    padding: 0.8rem;
  }

  .video-title {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .top-list__item {
    flex-wrap: wrap;
  }

  .top-rank {
    font-size: 1.5rem;
    min-width: 2rem;
  }

  .detail-header h1 {
    font-size: 1.8rem;
  }

  .info-list {
    grid-template-columns: 100px 1fr;
  }
}

.ui-style-1 {
  /* UI variant specific styles */
}