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

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

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

.site-nav {
  background: rgba(0,0,0,0.9);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.site-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #e60023;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-menu a {
  color: #000;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #e60023;
}

.hero-section {
  padding: 4rem 0 3rem;
  text-align: center;
  background: linear-gradient(135deg, #e6002322, transparent);
}

.hero-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #000;
}

.hero-desc {
  font-size: 1.1rem;
  color: #ccc;
  max-width: 800px;
  margin: 0 auto;
}

.site-intro {
  padding: 2rem 0;
  background: rgba(255,255,255,0.05);
}

.site-intro p {
  line-height: 1.8;
  color: #ddd;
}

.video-section {
  padding: 3rem 0;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #000;
}

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

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

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(255,255,255,0.1);
}

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

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

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

.video-info {
  padding: 1rem;
}

.video-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-one-line {
  font-size: 0.9rem;
  color: #aaa;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #888;
}

.meta-year, .meta-genre {
  margin-right: 0.8rem;
}

.list-page {
  padding: 3rem 0;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #000;
}

.page-desc {
  color: #ccc;
  max-width: 800px;
  margin: 0 auto;
}

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

.top-list__item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  
}

.rank-badge {
  font-size: 2rem;
  font-weight: bold;
  color: #e60023;
  min-width: 50px;
  text-align: center;
}

.item-cover {
  width: 160px;
  height: 90px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: #222;
}

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

.item-info {
  flex: 1;
}

.item-info h3 {
  margin-bottom: 0.5rem;
}

.item-info h3 a {
  color: #000;
  text-decoration: none;
}

.item-info h3 a:hover {
  color: #e60023;
}

.item-meta {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.item-desc {
  color: #aaa;
  line-height: 1.6;
}

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

.video-player-section {
  background: #000;
  padding: 2rem 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;
  background: #e60023;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s;
}

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

.player-play-icon {
  color: #fff;
  font-size: 2rem;
}

.detail-header {
  padding: 2rem 0 1rem;
}

.detail-header h1 {
  font-size: 2rem;
  color: #000;
}

.detail-info, .detail-module {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  
}

.detail-info h2, .detail-module h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #000;
}

.info-list {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0.8rem;
}

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

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

.detail-module p {
  line-height: 1.8;
  color: #ddd;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.3rem 0.8rem;
  background: #e6002333;
  color: #e60023;
  border-radius: 20px;
  font-size: 0.9rem;
}

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

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

.site-footer {
  background: rgba(0,0,0,0.5);
  padding: 2rem 0;
  text-align: center;
  color: #aaa;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .nav-menu {
    gap: 0.8rem;
    font-size: 0.85rem;
  }

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

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

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

  .top-list__item {
    flex-direction: column;
    gap: 1rem;
  }

  .item-cover {
    width: 100%;
    height: auto;
    padding-top: 56.25%;
    position: relative;
  }

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

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

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