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

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

.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #FF6700;
}

.logo a {
  color: inherit;
  text-decoration: none;
}

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

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

.main-nav a:hover,
.main-nav a.active {
  color: #FF6700;
}

.hero-section {
  background: linear-gradient(135deg, #FF6700 0%, #FF8533 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.hero-section h1 {
  font-size: 32px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.hero-desc {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.site-intro {
  padding: 40px 0;
  background: #f9f9f9;
}

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

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

.section-title {
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
  border-left: 4px solid #FF6700;
  padding-left: 15px;
}

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

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

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

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

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

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

.video-info {
  padding: 20px;
}

.video-title {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.video-meta {
  font-size: 14px;
  color: #999;
  margin-bottom: 10px;
}

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

.page-header {
  background: linear-gradient(135deg, #FF6700 0%, #FF8533 100%);
  color: white;
  padding: 50px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.list-content {
  padding: 50px 0;
}

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

.layout__side--filters {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  height: fit-content;
  position: sticky;
  top: 90px;
}

.layout__side--filters h3 {
  margin-bottom: 15px;
  color: #333;
  font-size: 18px;
}

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

.top-list__item {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.top-list__item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.top-rank {
  background: #FF6700;
  color: white;
  font-size: 24px;
  font-weight: bold;
  padding: 20px;
  min-width: 70px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-item-link {
  display: flex;
  flex: 1;
  text-decoration: none;
  color: inherit;
  padding: 15px;
  gap: 20px;
}

.top-list__item .video-cover {
  width: 180px;
  padding-top: 0;
  height: 120px;
  flex-shrink: 0;
}

.top-list__item .video-info {
  flex: 1;
  padding: 0;
}

.group {
  margin-bottom: 50px;
}

.group__title {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
  border-left: 4px solid #FF6700;
  padding-left: 15px;
}

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

.video-player-section {
  background: #000;
  padding: 40px 0;
}

.video-player {
  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;
  border: none;
  background: rgba(255, 103, 0, 0.9);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.player-play-icon {
  font-size: 32px;
  color: white;
  margin-left: 5px;
}

.video-header {
  padding: 40px 0 20px;
}

.video-header h1 {
  font-size: 32px;
  color: #333;
}

.video-basic-info {
  padding: 30px 0;
  background: #f9f9f9;
}

.video-basic-info h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

.info-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
  font-size: 16px;
  line-height: 1.8;
}

.info-list dt {
  font-weight: bold;
  color: #666;
}

.info-list dd {
  color: #333;
}

.content-module {
  padding: 40px 0;
}

.content-module h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
  border-left: 4px solid #FF6700;
  padding-left: 15px;
}

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

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-block;
  padding: 8px 16px;
  background: #f0f0f0;
  border-radius: 20px;
  font-size: 14px;
  color: #666;
  transition: all 0.3s;
}

.tag:hover {
  background: #FF6700;
  color: white;
}

.related-section {
  padding: 50px 0;
  background: #f9f9f9;
}

.related-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
  border-left: 4px solid #FF6700;
  padding-left: 15px;
}

.site-footer {
  background: #333;
  color: white;
  padding: 30px 0;
  text-align: center;
}

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

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

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

.back-to-top:hover {
  background: #FF8533;
  transform: translateY(-5px);
}

.ui-style-12 {
  --primary-color: #FF6700;
  --secondary-color: #FF8533;
  --text-color: #333;
  --bg-color: #fff;
  --border-color: #e5e5e5;
}

.ui-style-12 .hero-section,
.ui-style-12 .page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.ui-style-12 .section-title,
.ui-style-12 .content-module h2,
.ui-style-12 .group__title,
.ui-style-12 .related-section h2 {
  border-left-color: var(--primary-color);
}

.ui-style-12 .logo,
.ui-style-12 .main-nav a:hover,
.ui-style-12 .main-nav a.active {
  color: var(--primary-color);
}

.ui-style-12 .top-rank,
.ui-style-12 .player-play-btn {
  background: rgba(255, 103, 0, 0.9);
}

.ui-style-12 .tag:hover {
  background: var(--primary-color);
}

.ui-style-12 .back-to-top {
  background: var(--primary-color);
}

.ui-style-12 .back-to-top:hover {
  background: var(--secondary-color);
}

@media (max-width: 768px) {
  .main-nav {
    gap: 15px;
    font-size: 14px;
  }

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

  .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-info {
    padding: 15px;
  }

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

  .section-title {
    font-size: 22px;
  }

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

  .layout__side--filters {
    position: static;
  }

  .top-list__item {
    flex-direction: column;
  }

  .top-rank {
    width: 100%;
    padding: 15px;
  }

  .top-item-link {
    flex-direction: column;
  }

  .top-list__item .video-cover {
    width: 100%;
    padding-top: 56.25%;
    height: auto;
  }

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

  .back-to-top {
    right: 15px;
    bottom: 15px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}
