* {
  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: #0f1419;
}

.ui-style-7 body {
  background: #141414;
  color: #ffffff;
}

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

.site-header {
  background: #1a1f2e;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.ui-style-7 .site-header {
  background: #1c1c1c;
}

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

.site-logo a {
  font-size: 24px;
  font-weight: bold;
  color: #00a1d6;
  text-decoration: none;
}

.ui-style-7 .site-logo a {
  color: #e5a00d;
}

.main-nav {
  display: flex;
  gap: 24px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: auto;
}

.main-nav a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
  white-space: nowrap;
}

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

.ui-style-7 .main-nav a:hover {
  color: #e5a00d;
}

.site-main {
  min-height: calc(100vh - 200px);
  padding: 32px 0;
}

.hero-section {
  background: linear-gradient(135deg, #1a1f2e 0%, #2d3548 100%);
  padding: 48px 0;
  margin-bottom: 32px;
  border-radius: 12px;
}

.ui-style-7 .hero-section {
  background: linear-gradient(135deg, #1c1c1c 0%, #2a2a2a 100%);
}

.hero-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 16px;
  text-align: center;
  color: #b0b0b0;
}

.site-intro {
  margin-bottom: 48px;
  padding: 24px;
  background: #1a1f2e;
  border-radius: 8px;
  line-height: 1.8;
}

.ui-style-7 .site-intro {
  background: #1c1c1c;
}

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

.module-title {
  font-size: 24px;
  margin-bottom: 24px;
  padding-left: 12px;
  border-left: 4px solid #00a1d6;
}

.ui-style-7 .module-title {
  border-left-color: #e5a00d;
}

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

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

.ui-style-7 .video-card {
  background: #1c1c1c;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

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

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

.video-cover img {
  position: absolute;
  top: 0;
  left: 0;
  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;
  margin-bottom: 8px;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.page-header {
  margin-bottom: 32px;
  padding: 24px;
  background: #1a1f2e;
  border-radius: 8px;
}

.ui-style-7 .page-header {
  background: #1c1c1c;
}

.page-title {
  font-size: 28px;
  margin-bottom: 12px;
}

.page-desc {
  font-size: 15px;
  color: #b0b0b0;
  line-height: 1.8;
}

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

.top-list__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  margin-bottom: 16px;
  background: #1a1f2e;
  border-radius: 8px;
  transition: transform 0.3s;
}

.ui-style-7 .top-list__item {
  background: #1c1c1c;
}

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

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

.ui-style-7 .top-rank {
  color: #e5a00d;
}

.top-list__item:nth-child(1) .top-rank {
  color: #ffd700;
}

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

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

.top-cover {
  width: 120px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
}

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

.top-info {
  flex: 1;
}

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

.top-meta {
  font-size: 14px;
  color: #b0b0b0;
}

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

.video-player {
  position: relative;
  width: 100%;
  max-width: 1000px;
  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;
  background: rgba(0, 161, 214, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ui-style-7 .player-play-btn {
  background: rgba(229, 160, 13, 0.9);
}

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

.ui-style-7 .player-play-btn:hover {
  background: rgba(229, 160, 13, 1);
}

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

.detail-main {
  max-width: 1000px;
  margin: 0 auto;
}

.detail-title {
  font-size: 32px;
  margin-bottom: 24px;
  color: #ffffff;
}

.detail-section {
  margin-bottom: 32px;
  padding: 24px;
  background: #1a1f2e;
  border-radius: 8px;
}

.ui-style-7 .detail-section {
  background: #1c1c1c;
}

.section-title {
  font-size: 20px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #00a1d6;
}

.ui-style-7 .section-title {
  border-bottom-color: #e5a00d;
}

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

.info-item {
  display: flex;
  gap: 8px;
}

.info-label {
  font-weight: 600;
  color: #00a1d6;
}

.ui-style-7 .info-label {
  color: #e5a00d;
}

.info-value {
  color: #e0e0e0;
}

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

.video-card--related {
  background: #0f1419;
}

.ui-style-7 .video-card--related {
  background: #141414;
}

.site-footer {
  background: #1a1f2e;
  padding: 24px 0;
  text-align: center;
  color: #b0b0b0;
}

.ui-style-7 .site-footer {
  background: #1c1c1c;
}

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

.ui-style-7 .back-to-top {
  background: #e5a00d;
}

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

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

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

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

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

  .main-nav {
    gap: 16px;
    font-size: 14px;
  }

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

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

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

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

  .main-nav {
    gap: 12px;
  }
}
