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

.video-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.video-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.video-card h3 a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s;
}

.video-card h3 a:hover {
  color: #667eea;
}

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

.video-card .tags {
  color: #667eea;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.video-card .desc {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

.video-list {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.video-item {
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
  transition: background 0.3s;
  position: relative;
}

.video-item:last-child {
  border-bottom: none;
}

.video-item:hover {
  background: #f9f9f9;
}

.video-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.video-item h3 a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s;
}

.video-item h3 a:hover {
  color: #667eea;
}

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

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

.video-item .rank {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 50%;
  font-weight: bold;
  margin-right: 1rem;
  font-size: 1rem;
}

.video-item .genre,
.video-item .year {
  display: inline-block;
  background: #667eea;
  color: white;
  padding: 0.2rem 0.8rem;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-right: 1rem;
}

.info-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.info-card:hover {
  transform: translateY(-4px);
}

.info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #2c3e50;
}

.info-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.3s;
  font-size: 0.95rem;
}

.btn:hover {
  opacity: 0.9;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.info-item {
  padding: 0.5rem 0;
  color: #555;
}

.info-item strong {
  color: #2c3e50;
}

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

.related-card {
  background: #f9f9f9;
  padding: 1.2rem;
  border-radius: 6px;
  transition: background 0.3s;
}

.related-card:hover {
  background: #f0f0f0;
}

.related-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.related-card h3 a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s;
}

.related-card h3 a:hover {
  color: #667eea;
}

.related-card .meta {
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.related-card .desc {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }

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

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