* {
  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: #e5e5e5;
  background: #0a0a0a;
}

.ui-style-9 {
  background: #000;
  color: #e5e5e5;
}

.ui-style-9 a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.ui-style-9 a:hover {
  opacity: 0.8;
}

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

.site-header {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #fff 0%, #aaa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.site-nav a {
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

.hero-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

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

.site-intro {
  font-size: 16px;
  line-height: 1.8;
  color: #b5b5b5;
  max-width: 900px;
}

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

.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

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

.video-card {
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

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

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

.video-info {
  padding: 20px;
}

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

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

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

.page-header {
  padding: 40px 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 16px;
  color: #999;
  line-height: 1.8;
}

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

.top-item {
  display: flex;
  gap: 20px;
  padding: 25px;
  margin-bottom: 20px;
  background: #1a1a1a;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.top-item:hover {
  transform: translateX(5px);
  background: #222;
}

.top-rank {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.top-cover {
  flex-shrink: 0;
  width: 150px;
  height: 85px;
  overflow: hidden;
  border-radius: 4px;
  background: #2a2a2a;
}

.top-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-info {
  flex: 1;
}

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

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

.top-desc {
  font-size: 14px;
  color: #999;
  line-height: 1.6;
}

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

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

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

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

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

.player-play-icon {
  font-size: 32px;
  color: #000;
  margin-left: 5px;
}

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

.video-basic-info {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 40px;
}

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

.info-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
  font-size: 15px;
}

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

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

.detail-module {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.detail-module h2 {
  font-size: 24px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.detail-module p {
  font-size: 16px;
  line-height: 1.8;
  color: #b5b5b5;
}

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

.tag {
  display: inline-block;
  padding: 6px 15px;
  background: #2a2a2a;
  border-radius: 20px;
  font-size: 14px;
  color: #ddd;
}

.related-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.related-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

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

.site-footer {
  background: #0a0a0a;
  padding: 40px 0;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #666;
  font-size: 14px;
}

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

  .site-nav {
    gap: 15px;
    font-size: 14px;
    overflow-x: auto;
    width: 100%;
  }

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

  .site-intro {
    font-size: 14px;
  }

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

  .video-info {
    padding: 15px;
  }

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

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

  .top-cover {
    width: 100%;
    height: auto;
    padding-top: 56.25%;
    position: relative;
  }

  .top-cover img {
    position: absolute;
    top: 0;
    left: 0;
  }

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

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

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

@media (max-width: 480px) {
  .video-grid {
    grid-template-columns: 1fr;
  }

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