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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  color: #fff;
  background: #1a1a1a;
}

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

.site-header {
  background: #0a0a0a;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid #00C75A;
}

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

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

.main-nav {
  display: flex;
  gap: 30px;
  white-space: nowrap;
}

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

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

.home-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 60px 20px;
  text-align: center;
}

.home-hero h1 {
  font-size: 32px;
  color: #00C75A;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.4;
}

.home-intro {
  padding: 40px 20px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  font-size: 18px;
  color: #ccc;
  line-height: 1.8;
}

.home-section {
  padding: 40px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.home-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #00C75A;
  padding-left: 10px;
  border-left: 4px solid #00C75A;
}

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

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

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 199, 90, 0.3);
}

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

.video-cover {
  position: relative;
  width: 100%;
  padding-top: 140%;
  overflow: hidden;
  background: #1a1a1a;
}

.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: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

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

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

.layout__side--filters {
  background: #252525;
  padding: 20px;
  border-radius: 12px;
  height: fit-content;
}

.layout__side--filters h2 {
  color: #00C75A;
  margin-bottom: 15px;
  font-size: 20px;
}

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

.top-list__item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: #252525;
  border-radius: 12px;
  margin-bottom: 20px;
  align-items: center;
  transition: background 0.3s;
}

.top-list__item:hover {
  background: #2d2d2d;
}

.top-rank {
  font-size: 32px;
  font-weight: bold;
  color: #00C75A;
  min-width: 50px;
  text-align: center;
}

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

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

.top-info {
  flex: 1;
}

.top-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #fff;
}

.top-info p {
  color: #999;
  margin-bottom: 10px;
  font-size: 14px;
}

.top-info a {
  color: #00C75A;
  text-decoration: none;
  font-size: 14px;
}

.top-info a:hover {
  text-decoration: underline;
}

.group {
  margin-bottom: 50px;
}

.group__title {
  font-size: 24px;
  color: #00C75A;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #00C75A;
}

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

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

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

.video-player {
  max-width: 100%;
}

.video-player-inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: 12px;
  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: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-play-btn:hover {
  background: #00C75A;
  transform: translate(-50%, -50%) scale(1.1);
}

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

.detail-header h1 {
  font-size: 36px;
  color: #fff;
  margin-bottom: 30px;
}

.detail-module {
  background: #252525;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 30px;
}

.detail-module h2 {
  font-size: 24px;
  color: #00C75A;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #333;
}

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

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

.info-list dt {
  color: #999;
  font-weight: normal;
}

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

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

.tag {
  background: #1a1a1a;
  color: #00C75A;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  border: 1px solid #00C75A;
}

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

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

.site-footer {
  background: #0a0a0a;
  padding: 30px 20px;
  text-align: center;
  color: #666;
  margin-top: 60px;
  border-top: 2px solid #00C75A;
}

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

  .logo {
    font-size: 20px;
  }

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

  .home-intro {
    font-size: 16px;
    padding: 30px 20px;
  }

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

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

  .video-info {
    padding: 15px;
  }

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

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

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

  .layout__side--filters {
    margin-bottom: 30px;
  }

  .top-list__item {
    flex-direction: column;
    text-align: center;
  }

  .top-rank {
    min-width: auto;
  }

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

  .detail-header h1 {
    font-size: 28px;
  }

  .detail-module {
    padding: 20px;
  }

  .detail-module h2 {
    font-size: 20px;
  }

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

.ui-style-0, .ui-style-1, .ui-style-2 {
  background: #000;
}

.ui-style-3, .ui-style-4 {
  background: #f5f5f5;
  color: #333;
}

.ui-style-3 .site-header,
.ui-style-4 .site-header {
  background: #fff;
  border-bottom: 2px solid #FF385C;
}

.ui-style-3 .main-nav a,
.ui-style-4 .main-nav a {
  color: #333;
}

.ui-style-3 .logo,
.ui-style-4 .logo {
  color: #FF385C;
}

.ui-style-5, .ui-style-6, .ui-style-7 {
  background: #141414;
}

.ui-style-8 {
  background: #1a1a1a;
}

.ui-style-9 {
  background: #000;
}

.ui-style-10 {
  background: #f8f9fa;
  color: #333;
}

.ui-style-10 .site-header {
  background: #fff;
  border-bottom: 2px solid #00C75A;
}

.ui-style-10 .main-nav a {
  color: #333;
}

.ui-style-10 .video-card {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ui-style-11 {
  background: #fff;
  color: #333;
}

.ui-style-11 .site-header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.ui-style-11 .logo {
  color: #0099FF;
}

.ui-style-11 .main-nav a {
  color: #333;
}

.ui-style-12 {
  background: #fff;
  color: #333;
}

.ui-style-12 .site-header {
  background: linear-gradient(90deg, #FF6700 0%, #FF8A00 100%);
}

.ui-style-12 .logo {
  color: #fff;
}

.ui-style-13 {
  background: #f4f4f5;
  color: #333;
}

.ui-style-13 .site-header {
  background: #fff;
  border-bottom: 2px solid #00A1D6;
}

.ui-style-13 .logo {
  color: #00A1D6;
}

.ui-style-13 .main-nav a {
  color: #333;
}

.ui-style-14 {
  background: #fff;
  color: #333;
}

.ui-style-14 .site-header {
  background: #003A70;
}

.ui-style-14 .logo,
.ui-style-14 .main-nav a {
  color: #fff;
}
