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

:root {
  --primary-color: #00C75A;
  --text-dark: #1a1a1a;
  --text-light: #666;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --transition: all 0.3s ease;
}

body.ui-style-10 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nav-link {
  color: var(--text-dark);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: var(--transition);
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  background-color: rgba(0, 199, 90, 0.1);
  color: var(--primary-color);
}

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

.hero-section {
  background: linear-gradient(135deg, rgba(0, 199, 90, 0.1) 0%, rgba(0, 199, 90, 0.05) 100%);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
}

.intro-section {
  padding: 3rem 0;
  background: var(--bg-light);
}

.intro-content p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1rem;
}

.featured-section,
.ranking-section,
.latest-section {
  padding: 3rem 0;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

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

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

.video-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

.video-cover {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  background: var(--bg-light);
}

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

.video-cover--small {
  padding-top: 40%;
}

.video-info {
  padding: 1.25rem;
}

.video-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  line-height: 1.4;
}

.video-meta {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.video-one-line {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card--ranking {
  display: flex;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.video-card--ranking .video-card__link {
  display: flex;
  width: 100%;
}

.video-card--ranking .video-cover {
  flex-shrink: 0;
  width: 160px;
  padding-top: 0;
  height: 120px;
}

.video-card--ranking .video-info {
  flex: 1;
  padding: 1rem;
}

.detail-main {
  padding-bottom: 3rem;
}

.video-player-section {
  background: #000;
  padding: 2rem 0;
}

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

.video-player-inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: var(--radius);
  overflow: hidden;
}

.player-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(0, 199, 90, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-play-btn:hover {
  background: var(--primary-color);
  transform: translate(-50%, -50%) scale(1.1);
}

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

.detail-header {
  padding: 2rem 0 1rem;
  background: var(--bg-light);
}

.detail-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.detail-info {
  padding: 2rem 0;
  background: var(--bg-white);
}

.info-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--radius);
}

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

.info-item--full {
  grid-column: 1 / -1;
}

.info-label {
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

.info-value {
  color: var(--text-light);
  flex: 1;
}

.detail-module {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-color);
}

.module-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.module-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.module-content {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1rem;
}

.module-content p {
  margin-bottom: 1rem;
}

.module-tags-content {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(0, 199, 90, 0.1);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.related-section {
  padding: 3rem 0;
  background: var(--bg-light);
}

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

.video-card--related {
  background: var(--bg-white);
}

.list-main {
  min-height: 60vh;
  padding: 3rem 0;
}

.page-header {
  margin-bottom: 2.5rem;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.page-desc {
  color: var(--text-light);
  font-size: 1rem;
}

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

.top-list__item {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  align-items: center;
}

.top-list__item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.top-rank {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  min-width: 60px;
  text-align: center;
}

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

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

.top-info {
  flex: 1;
}

.top-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.top-meta {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.top-desc {
  color: var(--text-light);
  line-height: 1.6;
}

.site-footer {
  background: var(--text-dark);
  color: #fff;
  padding: 2rem 0;
  text-align: center;
  margin-top: 3rem;
}

.site-footer p {
  opacity: 0.8;
  font-size: 0.9rem;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 90;
}

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

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

@media (max-width: 768px) {
  .main-nav {
    gap: 0.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

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

  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }

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

  .video-grid,
  .ranking-grid {
    grid-template-columns: 1fr;
  }

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

  .video-card--ranking {
    flex-direction: column;
  }

  .video-card--ranking .video-cover {
    width: 100%;
    height: 200px;
  }

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

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

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

  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero-section {
    padding: 2rem 1rem;
  }

  .hero-title {
    font-size: 1.25rem;
  }
}
