/* Hero Section */
.page-hero {
  background: var(--primary-color);
  color: white;
  padding: 30px;
  text-align: center;
  margin-bottom: 30px;
}

.page-hero.videos-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-hover) 100%
  );
}

.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.page-hero p {
  opacity: 0.9;
  font-size: 1.1rem;
}

/* Filters Section */
.filters-section {
  margin-bottom: 30px;
}

.search-form {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.search-input-group {
  display: flex;
  flex: 1;
  max-width: 500px;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-input-group .form-control {
  border: none;
  padding: 12px 20px;
  border-radius: 25px 0 0 25px;
}

.search-input-group .btn {
  border-radius: 0 25px 25px 0;
  padding: 12px 25px;
}

.search-results-info {
  margin-top: 15px;
  color: #666;
}

/* Videos Grid */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.video-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

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

.video-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  display: block;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.05);
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(229, 57, 53, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  opacity: 0.9;
  transition: all 0.3s;
}

.video-card:hover .play-overlay {
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 1;
}

.video-thumbnail .badge-featured {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #d84400;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.video-body {
  padding: 15px 20px 20px;
}

.video-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.video-title a {
  color: #333;
  font-family: var(--font-heading);
  text-decoration: none;
  transition: color 0.3s;
}

.video-title a:hover {
  color: #d84400;
}

.video-artist {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.video-artist i {
  margin-right: 5px;
  color: var(--primary-color);
}

.video-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #999;
}

/* Pagination */
.pagination-container {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.pagination {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.pagination-link:hover {
  background: #d84400;
  border-color: #d84400;
  color: white;
}

.pagination-link.active {
  background: #d84400;
  border-color: #d84400;
  color: white;
}

.pagination-ellipsis {
  padding: 10px;
  color: #888;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.empty-state i {
  font-size: 4rem;
  color: #ddd;
  margin-bottom: 20px;
}

.empty-state h3 {
  color: #333;
  margin-bottom: 10px;
}

.empty-state p {
  color: #666;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 1.8rem;
  }

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

  .search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .search-input-group {
    max-width: 100%;
  }
}
