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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: #e0e0e0;
  background: #0a0e27;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.ui-style-7 {
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
  color: #e0e0e0;
}

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

.header {
  background: rgba(10, 14, 39, 0.95);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo a {
  font-size: 24px;
  font-weight: 700;
  color: #ffd700;
  text-decoration: none;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

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

.nav a {
  color: #e0e0e0;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s;
  font-size: 14px;
}

.nav a:hover {
  background: rgba(255, 215, 0, 0.1);
  color: #ffd700;
}

.main {
  flex: 1;
  padding: 40px 0;
}

.hero-section {
  text-align: center;
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 140, 0, 0.1) 100%);
  border-radius: 16px;
  margin-bottom: 40px;
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 16px;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.hero-subtitle {
  font-size: 18px;
  color: #b0b0b0;
}

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

.intro-content {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 0, 0.1);
  line-height: 1.8;
  color: #c0c0c0;
}

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

.section-title {
  font-size: 28px;
  font-weight: 600;
  color: #ffd700;
  margin-bottom: 30px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

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

.video-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.3);
}

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

.video-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a1f3a;
  position: relative;
}

.video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.video-info {
  padding: 16px;
}

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

.video-one-line {
  font-size: 13px;
  color: #b0b0b0;
  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: 12px;
  color: #ffd700;
}

.video-meta span {
  background: rgba(255, 215, 0, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
}

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

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

.video-player-inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

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

.player-play-icon {
  font-size: 32px;
  color: #0a0e27;
  margin-left: 4px;
}

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

.detail-title {
  font-size: 36px;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 30px;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.detail-info {
  background: rgba(255, 255, 255, 0.05);
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.info-title {
  font-size: 20px;
  font-weight: 600;
  color: #ffd700;
  margin-bottom: 16px;
}

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

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

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

.detail-module {
  margin-bottom: 30px;
}

.module-title {
  font-size: 22px;
  font-weight: 600;
  color: #ffd700;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

.module-content {
  color: #c0c0c0;
  line-height: 1.8;
}

.module-content p {
  margin-bottom: 12px;
}

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

.video-card--related {
  background: rgba(255, 255, 255, 0.03);
}

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

.page-header h1 {
  font-size: 36px;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.page-desc {
  font-size: 16px;
  color: #b0b0b0;
}

.page--top {
  max-width: 900px;
  margin: 0 auto;
}

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

.top-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 215, 0, 0.1);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
}

.top-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateX(4px);
}

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

.top-item:nth-child(1) .top-rank {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.top-item:nth-child(2) .top-rank {
  color: #c0c0c0;
}

.top-item:nth-child(3) .top-rank {
  color: #cd7f32;
}

.top-link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  flex: 1;
}

.top-cover {
  width: 120px;
  height: 68px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #1a1f3a;
}

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

.top-info {
  flex: 1;
}

.top-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.top-desc {
  font-size: 13px;
  color: #b0b0b0;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.top-meta {
  display: flex;
  gap: 8px;
  font-size: 11px;
  color: #ffd700;
}

.top-meta span {
  background: rgba(255, 215, 0, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
}

.footer {
  background: rgba(10, 14, 39, 0.95);
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  padding: 24px 0;
  text-align: center;
  color: #b0b0b0;
  margin-top: auto;
}

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  background: rgba(255, 215, 0, 0.9);
  color: #0a0e27;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.back-to-top:hover {
  background: #ffd700;
  transform: translateY(-4px);
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .nav {
    justify-content: space-between;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav a {
    padding: 8px 12px;
    font-size: 13px;
    flex-shrink: 0;
  }

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

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

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

  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-cover {
    aspect-ratio: 16 / 9;
  }

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

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

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

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

  .top-rank {
    font-size: 20px;
    min-width: 30px;
  }

  .top-cover {
    width: 100px;
    height: 56px;
  }

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

  .top-desc {
    font-size: 12px;
  }

  .back-to-top {
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
  }
}
