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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
  min-height: 100vh;
}

body.ui-style-1 {
  background: linear-gradient(180deg, #000 0%, #1a1a1a 100%);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.header {
  background: rgba(0, 0, 0, 0.95);
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.header__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  letter-spacing: 1px;
}

.logo::before {
  content: "▶";
  color: #fe2c55;
  margin-right: 8px;
  font-size: 20px;
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav__link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.nav__link:hover {
  color: #fe2c55;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #fe2c55;
  transition: width 0.3s ease;
}

.nav__link:hover::after {
  width: 100%;
}

.main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 24px;
}

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

.page-header__title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(45deg, #fe2c55, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header__desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.section {
  margin-bottom: 48px;
}

.section__title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section__title::before {
  content: "";
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, #fe2c55, #ff6b6b);
  border-radius: 2px;
}

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

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

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(254, 44, 85, 0.2);
  border-color: rgba(254, 44, 85, 0.3);
}

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

.video-cover {
  position: relative;
  padding-top: 140%;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}

.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-cover::after {
  content: "▶";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-card:hover .video-cover::after {
  opacity: 0.8;
}

.video-info {
  padding: 16px;
}

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

.video-one-line {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.5;
}

.video-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}

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

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

.top-list__item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(254, 44, 85, 0.3);
  transform: translateX(8px);
}

.top-list__rank {
  font-size: 32px;
  font-weight: 700;
  min-width: 60px;
  text-align: center;
  background: linear-gradient(135deg, #fe2c55, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.top-list__rank--top3 {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.top-list__cover {
  width: 100px;
  height: 140px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

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

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

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

.top-list__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.5;
}

.top-list__meta {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

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

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

.video-player-inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.player-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fe2c55, #ff6b6b);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(254, 44, 85, 0.4);
}

.player-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 24px rgba(254, 44, 85, 0.6);
}

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

.detail-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-section__title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.detail-section__title::before {
  content: "";
  width: 4px;
  height: 22px;
  background: linear-gradient(180deg, #fe2c55, #ff6b6b);
  border-radius: 2px;
}

.detail-section__content {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.8;
}

.info-table {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
}

.info-table__label {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.info-table__value {
  color: rgba(255, 255, 255, 0.9);
}

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

.tag {
  padding: 6px 16px;
  background: rgba(254, 44, 85, 0.1);
  color: #fe2c55;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid rgba(254, 44, 85, 0.2);
  transition: all 0.3s ease;
}

.tag:hover {
  background: rgba(254, 44, 85, 0.2);
  border-color: rgba(254, 44, 85, 0.4);
}

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

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

.footer {
  background: rgba(0, 0, 0, 0.8);
  padding: 32px 24px;
  margin-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer__text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.back-to-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fe2c55, #ff6b6b);
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(254, 44, 85, 0.4);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(254, 44, 85, 0.6);
}

.back-to-top::before {
  content: "↑";
  font-size: 24px;
  color: #fff;
  font-weight: 700;
}

@media (max-width: 768px) {
  .header {
    padding: 12px 16px;
  }

  .logo {
    font-size: 20px;
  }

  .nav {
    gap: 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav__link {
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .main {
    padding: 24px 16px;
  }

  .page-header__title {
    font-size: 28px;
  }

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

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

  .video-info {
    padding: 12px;
  }

  .video-title {
    font-size: 14px;
    min-height: 40px;
  }

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

  .top-list__item {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-list__rank {
    font-size: 24px;
  }

  .top-list__cover {
    width: 100%;
    height: auto;
    padding-top: 140%;
    position: relative;
  }

  .top-list__cover img {
    position: absolute;
    top: 0;
    left: 0;
  }

  .detail-section {
    padding: 20px;
  }

  .info-table {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }
}
