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

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

.ui-style-5 {
  background-color: #141414;
  color: #fff;
}

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

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

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

.site-logo a {
  font-size: 24px;
  font-weight: 700;
  color: #e50914;
  text-decoration: none;
  letter-spacing: 1px;
}

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

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

.site-nav a:hover {
  color: #e50914;
}

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

.hero-section {
  padding: 80px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, rgba(229, 9, 20, 0.1) 0%, rgba(20, 20, 20, 0) 100%);
}

.hero-section h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.intro-section {
  padding: 40px 0;
  background-color: rgba(255, 255, 255, 0.03);
}

.intro-section p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  max-width: 1000px;
  margin: 0 auto;
}

.video-module {
  padding: 60px 0;
}

.video-module--alt {
  background-color: rgba(255, 255, 255, 0.02);
}

.module-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #fff;
}

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

.video-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

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

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

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

.video-info {
  padding: 16px;
}

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

.video-meta {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

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

.page-header {
  padding: 60px 0 40px;
  text-align: center;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 700;
}

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

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

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

.video-player-inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(229, 9, 20, 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-color: #e50914;
  transform: translate(-50%, -50%) scale(1.1);
}

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

.detail-page {
  padding-bottom: 80px;
}

.detail-header {
  padding: 40px 0 30px;
  text-align: center;
}

.detail-header h1 {
  font-size: 40px;
  font-weight: 700;
}

.detail-info {
  padding: 40px 0;
  background-color: rgba(255, 255, 255, 0.03);
}

.detail-info h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
}

.info-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 24px;
  max-width: 800px;
}

.info-list dt {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

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

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

.detail-module:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.02);
}

.detail-module h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

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

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag {
  display: inline-block;
  padding: 8px 16px;
  background-color: rgba(229, 9, 20, 0.2);
  border: 1px solid rgba(229, 9, 20, 0.4);
  border-radius: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.related-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.03);
}

.related-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
}

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

.site-footer {
  background-color: #0a0a0a;
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background-color: rgba(229, 9, 20, 0.9);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
}

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

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

.page--top .video-grid {
  display: block;
}

.page--top .video-card {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
}

.page--top .video-cover {
  width: 200px;
  padding-top: 0;
  min-height: 120px;
  flex-shrink: 0;
}

.page--top .video-cover img {
  position: static;
  width: 100%;
  height: 100%;
}

.page--top .video-info {
  flex: 1;
  padding: 16px 24px;
}

@media (max-width: 768px) {
  .header-inner {
    height: auto;
    padding: 16px 0;
  }

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

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

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

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

  .video-info {
    padding: 12px;
  }

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

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

  .info-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .page--top .video-card {
    flex-direction: column;
    align-items: stretch;
  }

  .page--top .video-cover {
    width: 100%;
    padding-top: 56.25%;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}
