.video-preview-section {
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.video-preview-section h2 {
  text-align: center;
  margin-bottom: 20px;
}

.video-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

/* Card */
.video-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  color: inherit;
}

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

.video-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.video-info {
  padding: 12px;
}

.video-title {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.3;
}

.video-meta {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
}

/* Loader */
.loader {
  margin: 40px auto;
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
