.container {
  max-width: 1200px;
}

.header {
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--youtube-gray);
}

.youtube-logo {
  color: var(--youtube-red);
  font-size: 2rem;
  font-weight: bold;
}

.video-card {
  background-color: var(--youtube-dark);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--youtube-gray);
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.thumbnail-container {
  position: relative;
  overflow: hidden;
}

.video-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

.video-info {
  padding: 16px;
}

.video-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-channel {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.video-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.views-count,
.likes-count {
  display: flex;
  align-items: center;
  gap: 5px;
}

.download-section {
  margin-top: 15px;
}

.download-label {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: #aaa;
}

.progress {
  height: 8px;
  border-radius: 4px;
  background-color: var(--youtube-gray);
}

.progress-bar {
  background-color: green; /* var(--youtube-red); */
  border-radius: 4px;
}

.download-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.85rem;
}

.btn-download {
  background-color: var(--youtube-red);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.btn-download:hover {
  background-color: #cc0000;
}

.btn-download:active {
  transform: scale(0.98);
}

.percentage {
  color: #aaa;
}

.card-footer {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  font-size: 0.8rem;
  color: #aaa;
  display: flex;
  justify-content: space-between;
}

.upload-date {
  font-size: 0.85rem;
  color: #888;
}

@media (max-width: 768px) {
  .video-thumbnail {
    height: 180px;
  }

  .video-stats {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 576px) {
  .video-thumbnail {
    height: 160px;
  }
}
