* {
  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: #fff;
  background-color: #0a1929;
}

.ui-style-7 {
  --color-primary: #0a1929;
  --color-secondary: #fff;
  --color-accent: #0080ff;
}

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

.site-header {
  background-color: rgba(255,255,255,0.95);
  color: #333;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-accent);
}

.main-nav {
  display: flex;
  gap: 10px;
}

.main-nav a {
  color: inherit;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s;
  white-space: nowrap;
  font-size: 14px;
}

.main-nav a:hover,
.main-nav a.active {
  background-color: var(--color-accent);
  color: #fff;
}

.hero-section {
  background: linear-gradient(135deg, #0080ff22 0%, #0080ff11 100%);
  padding: 60px 0;
  text-align: center;
}

.hero-section h1 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--color-secondary);
}

.hero-desc {
  font-size: 18px;
  color: var(--color-secondary);
  opacity: 0.8;
  max-width: 800px;
  margin: 0 auto;
}

.site-intro {
  padding: 40px 0;
  background: rgba(0,0,0,0.03);
}

.site-intro h2 {
  margin-bottom: 20px;
  color: var(--color-accent);
}

.site-intro p {
  line-height: 1.8;
  font-size: 16px;
}

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

.video-section h2 {
  margin-bottom: 30px;
  color: var(--color-accent);
  font-size: 28px;
}

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

.video-card {
  background: rgba(0,0,0,0.03);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.video-cover {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  background: #ddd;
}

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

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  color: rgba(255,255,255,0.9);
  opacity: 0;
  transition: opacity 0.3s;
}

.video-card:hover .play-icon {
  opacity: 1;
}

.video-info {
  padding: 20px;
}

.video-title {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--color-secondary);
}

.video-one-line {
  font-size: 14px;
  color: var(--color-secondary);
  opacity: 0.7;
  margin-bottom: 10px;
  line-height: 1.5;
}

.video-meta {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--color-secondary);
  opacity: 0.6;
}

.video-player-section {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
}

.video-player {
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.video-player-inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
}

.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.2);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

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

.player-play-icon {
  font-size: 36px;
  color: #fff;
}

.video-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.video-header h1 {
  font-size: 36px;
  margin: 30px 0;
  color: var(--color-secondary);
}

.video-basic-info {
  background: rgba(0,0,0,0.03);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 30px;
}

.video-basic-info h2 {
  color: var(--color-accent);
  margin-bottom: 20px;
}

.info-grid {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 15px;
  line-height: 1.8;
}

.info-grid dt {
  font-weight: bold;
  color: var(--color-accent);
}

.info-grid dd {
  color: var(--color-secondary);
}

.content-module {
  margin-bottom: 30px;
  padding: 25px;
  background: rgba(0,0,0,0.03);
  border-radius: 12px;
}

.content-module h2 {
  color: var(--color-accent);
  margin-bottom: 15px;
  font-size: 24px;
}

.content-module p {
  line-height: 1.8;
  font-size: 16px;
}

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

.tag {
  display: inline-block;
  padding: 6px 12px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 20px;
  font-size: 14px;
}

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

.related-section h2 {
  color: var(--color-accent);
  margin-bottom: 30px;
  font-size: 28px;
}

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

.video-card--related .video-cover {
  padding-top: 60%;
}

.list-page {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
}

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

.page-header h1 {
  font-size: 36px;
  color: var(--color-accent);
  margin-bottom: 15px;
}

.page-header p {
  font-size: 16px;
  opacity: 0.8;
}

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

.layout__side--filters {
  background: rgba(0,0,0,0.03);
  padding: 25px;
  border-radius: 12px;
  height: fit-content;
}

.layout__side--filters h3 {
  color: var(--color-accent);
  margin-bottom: 15px;
}

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

.top-list__item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(0,0,0,0.03);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  transition: transform 0.3s;
}

.top-list__item:hover {
  transform: translateX(5px);
}

.top-rank {
  font-size: 32px;
  font-weight: bold;
  color: var(--color-accent);
  min-width: 50px;
}

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

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

.top-info {
  flex: 1;
}

.top-info h3 {
  margin-bottom: 10px;
}

.top-info h3 a {
  color: var(--color-secondary);
  text-decoration: none;
}

.top-info h3 a:hover {
  color: var(--color-accent);
}

.top-info p {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 8px;
}

.top-meta {
  font-size: 13px;
  opacity: 0.6;
}

.page--grouped .group {
  margin-bottom: 50px;
}

.page--grouped .group h2 {
  color: var(--color-accent);
  margin-bottom: 25px;
  font-size: 24px;
}

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

.site-footer {
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 30px 0;
  text-align: center;
  margin-top: 60px;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 999;
}

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

@media (max-width: 768px) {
  .main-nav {
    gap: 5px;
  }

  .main-nav a {
    padding: 6px 10px;
    font-size: 13px;
  }

  .hero-section h1 {
    font-size: 24px;
  }

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

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

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

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

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

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

  .layout__side--filters {
    display: none;
  }

  .top-list__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;
  }

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