* {
  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: #1a1a2e;
}

.ui-style-6 body {
  background: #0f1419;
  color: #f0f0f0;
}

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

.site-header {
  background: #16213e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.ui-style-6 .site-header {
  background: #1c2938;
}

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

.logo a {
  font-size: 1.5rem;
  font-weight: 600;
  color: #00d9ff;
  text-decoration: none;
  letter-spacing: 1px;
}

.ui-style-6 .logo a {
  color: #4fc3f7;
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
  white-space: nowrap;
}

.main-nav a:hover {
  color: #00d9ff;
}

.ui-style-6 .main-nav a:hover {
  color: #4fc3f7;
}

.hero-section {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  padding: 3rem 0;
  text-align: center;
}

.ui-style-6 .hero-section {
  background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
}

.page-title {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #e0e0e0;
}

.site-intro {
  background: #202a3c;
  padding: 2.5rem 0;
}

.ui-style-6 .site-intro {
  background: #1a2332;
}

.intro-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #c0c0c0;
}

.video-module {
  padding: 2.5rem 0;
}

.module-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.module-title {
  font-size: 1.5rem;
  color: #fff;
  font-weight: 600;
}

.more-link {
  color: #00d9ff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.3s;
}

.ui-style-6 .more-link {
  color: #4fc3f7;
}

.more-link:hover {
  opacity: 0.8;
}

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

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

.ui-style-6 .video-card {
  background: #1e2a38;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 217, 255, 0.2);
}

.ui-style-6 .video-card:hover {
  box-shadow: 0 8px 20px rgba(79, 195, 247, 0.2);
}

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

.video-cover {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #1a1a2e;
  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;
  color: #fff;
  margin-bottom: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.video-one-line {
  font-size: 0.85rem;
  color: #b0b0b0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.site-footer {
  background: #16213e;
  padding: 2rem 0;
  text-align: center;
  color: #888;
  margin-top: 3rem;
}

.ui-style-6 .site-footer {
  background: #1c2938;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: #00d9ff;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
}

.ui-style-6 .back-to-top {
  background: #4fc3f7;
}

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

.back-to-top:hover {
  background: #00b8e6;
}

.ui-style-6 .back-to-top:hover {
  background: #29b6f6;
}

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

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

.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;
  background: rgba(0, 217, 255, 0.8);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.ui-style-6 .player-play-btn {
  background: rgba(79, 195, 247, 0.8);
}

.player-play-btn:hover {
  background: rgba(0, 217, 255, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.ui-style-6 .player-play-btn:hover {
  background: rgba(79, 195, 247, 1);
}

.player-play-icon {
  font-size: 2rem;
  color: #fff;
  display: block;
  text-align: center;
}

.detail-page {
  padding: 2rem 0;
}

.detail-header {
  margin-bottom: 2rem;
}

.detail-title {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1rem;
}

.basic-info {
  background: #242d3c;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.ui-style-6 .basic-info {
  background: #1e2a38;
}

.basic-info h2 {
  font-size: 1.3rem;
  color: #00d9ff;
  margin-bottom: 1rem;
}

.ui-style-6 .basic-info h2 {
  color: #4fc3f7;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8rem;
}

.info-item {
  display: flex;
  gap: 0.5rem;
}

.info-label {
  color: #888;
  min-width: 60px;
}

.info-value {
  color: #e0e0e0;
  flex: 1;
}

.content-module {
  background: #242d3c;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.ui-style-6 .content-module {
  background: #1e2a38;
}

.content-module h2 {
  font-size: 1.3rem;
  color: #00d9ff;
  margin-bottom: 1rem;
}

.ui-style-6 .content-module h2 {
  color: #4fc3f7;
}

.content-module p {
  color: #c0c0c0;
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

.content-module p:last-child {
  margin-bottom: 0;
}

.related-section {
  margin-top: 3rem;
}

.related-section h2 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.video-card--related {
  background: #242d3c;
}

.ui-style-6 .video-card--related {
  background: #1e2a38;
}

.page--grid .page-header {
  background: #242d3c;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.ui-style-6 .page--grid .page-header {
  background: #1e2a38;
}

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

.page--grid .page-desc {
  color: #b0b0b0;
  line-height: 1.6;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.page--with-sidebar {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
}

.layout__side--filters {
  background: #242d3c;
  padding: 1.5rem;
  border-radius: 8px;
  height: fit-content;
}

.ui-style-6 .layout__side--filters {
  background: #1e2a38;
}

.layout__side--filters h2 {
  font-size: 1.2rem;
  color: #00d9ff;
  margin-bottom: 1rem;
}

.ui-style-6 .layout__side--filters h2 {
  color: #4fc3f7;
}

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

.page--top .top-list__item {
  background: #242d3c;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.ui-style-6 .page--top .top-list__item {
  background: #1e2a38;
}

.top-rank {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00d9ff;
  min-width: 40px;
  text-align: center;
}

.ui-style-6 .top-rank {
  color: #4fc3f7;
}

.top-rank.rank-1 {
  color: #ffd700;
}

.top-rank.rank-2 {
  color: #c0c0c0;
}

.top-rank.rank-3 {
  color: #cd7f32;
}

.top-cover {
  width: 120px;
  height: 67px;
  border-radius: 4px;
  overflow: hidden;
}

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

.top-info {
  flex: 1;
}

.top-title {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.top-desc {
  font-size: 0.85rem;
  color: #b0b0b0;
}

.page--grouped .group {
  margin-bottom: 2.5rem;
}

.page--grouped .group__header {
  font-size: 1.3rem;
  color: #00d9ff;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #00d9ff;
}

.ui-style-6 .page--grouped .group__header {
  color: #4fc3f7;
  border-bottom-color: #4fc3f7;
}

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

@media (max-width: 768px) {
  .main-nav {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .page-title {
    font-size: 1.3rem;
  }

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

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

  .video-info {
    padding: 0.8rem;
  }

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

  .video-one-line {
    font-size: 0.8rem;
  }

  .page--with-sidebar {
    grid-template-columns: 1fr;
  }

  .layout__side--filters {
    order: 2;
  }

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

  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}
