* {
  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: #f5f5f7;
  background: #000;
  min-height: 100vh;
}

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

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

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

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.nav-logo {
  font-size: 20px;
  font-weight: 600;
  color: #f5f5f7;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: #f5f5f7;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  opacity: 0.8;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .site-nav {
    padding: 12px 20px;
  }

  .nav-logo {
    font-size: 18px;
  }

  .nav-links {
    gap: 16px;
    font-size: 13px;
  }

  .nav-links a {
    font-size: 13px;
  }
}

.main-content {
  padding: 40px 0 80px;
}

.hero-section {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(180deg, #1a1a1a 0%, #000 100%);
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-desc {
  font-size: 18px;
  opacity: 0.8;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 40px 20px;
  }

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

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

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

.intro-section p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  opacity: 0.8;
  line-height: 1.8;
}

section[class^="section-"] {
  margin: 60px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: -0.5px;
}

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

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

  .section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
}

.video-card {
  background: transparent;
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

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

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

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

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

.video-info {
  padding: 0;
}

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

.video-one-line {
  font-size: 14px;
  opacity: 0.6;
  margin-bottom: 8px;
  line-height: 1.4;
  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.5;
}

@media (max-width: 768px) {
  .video-title {
    font-size: 15px;
  }

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

  .video-meta {
    font-size: 12px;
    gap: 8px;
  }
}

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

.top-list__item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  transition: background 0.2s;
}

.top-list__item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.rank-badge {
  font-size: 24px;
  font-weight: 700;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}

.rank-1 {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #000;
}

.rank-2 {
  background: linear-gradient(135deg, #C0C0C0 0%, #808080 100%);
  color: #000;
}

.rank-3 {
  background: linear-gradient(135deg, #CD7F32 0%, #8B4513 100%);
  color: #fff;
}

.rank-other {
  background: rgba(255, 255, 255, 0.1);
  color: #f5f5f7;
}

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

.top-item__cover {
  width: 120px;
  height: 68px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #1a1a1a;
}

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

.top-item__info {
  flex: 1;
  min-width: 0;
}

.top-item__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-item__desc {
  font-size: 14px;
  opacity: 0.6;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.top-item__meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .top-list__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
  }

  .rank-badge {
    font-size: 20px;
    width: 32px;
    height: 32px;
  }

  .top-item__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .top-item__cover {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }

  .top-item__title {
    font-size: 16px;
  }
}

.section-more {
  text-align: center;
  margin-top: 32px;
}

.btn-more {
  display: inline-block;
  padding: 12px 32px;
  background: rgba(255, 255, 255, 0.1);
  color: #f5f5f7;
  text-decoration: none;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s;
}

.btn-more:hover {
  background: rgba(255, 255, 255, 0.15);
}

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

.page-header h1 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-desc {
  font-size: 16px;
  opacity: 0.8;
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .page-header {
    padding: 30px 20px;
    margin-bottom: 30px;
  }

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

  .page-desc {
    font-size: 15px;
  }
}

.grouped-content {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.group__title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

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

@media (max-width: 768px) {
  .grouped-content {
    gap: 40px;
  }

  .group__title {
    font-size: 20px;
    margin-bottom: 16px;
  }

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

.video-player-section {
  background: #000;
  padding: 40px 20px;
  margin-bottom: 40px;
}

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

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

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

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

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

@media (max-width: 768px) {
  .video-player-section {
    padding: 20px;
    margin-bottom: 30px;
  }

  .player-play-btn {
    width: 60px;
    height: 60px;
  }

  .player-play-icon {
    font-size: 24px;
  }
}

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

.detail-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: -1px;
  line-height: 1.1;
}

@media (max-width: 768px) {
  .detail-title {
    font-size: 28px;
    margin-bottom: 24px;
  }
}

.detail-info {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 40px;
}

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

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

.info-list dt {
  font-weight: 500;
  opacity: 0.6;
}

.info-list dd {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .detail-info {
    padding: 20px;
    margin-bottom: 30px;
  }

  .detail-info h2 {
    font-size: 18px;
  }

  .info-list {
    font-size: 14px;
    gap: 10px 12px;
  }
}

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

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

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

@media (max-width: 768px) {
  .detail-module {
    margin-bottom: 36px;
  }

  .detail-module h2 {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .detail-module p {
    font-size: 15px;
  }
}

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

.tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

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

@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
  }
}

.video-card--related .video-cover {
  margin-bottom: 10px;
}

.site-footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px 20px;
  text-align: center;
}

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

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 50%;
  color: #f5f5f7;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, background 0.2s;
  z-index: 999;
}

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

.back-to-top:hover {
  background: rgba(255, 255, 255, 0.25);
}

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