/* Video Gallery Styles */
.video-gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
  color: #fff;
}

.video-gallery-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, #FFD700, #f5f2ed, #AA00FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #FFD700;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5), 0 0 10px rgba(170, 0, 255, 0.3);
}

/* Category Filter */
.video-category-filter {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(178, 0, 255, 0.3);
}

.video-category-filter label {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
}

.video-category-filter select {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: 1px solid #B200FF;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  flex-grow: 1;
  max-width: 300px;
}

.video-category-filter a {
  color: #00E0FF;
  margin-left: 1rem;
  text-decoration: none;
}

.video-category-filter a:hover {
  text-decoration: underline;
}

/* Video Grid */
.video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.video-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(178, 0, 255, 0.2);
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(178, 0, 255, 0.3);
  border-color: rgba(178, 0, 255, 0.5);
}

.video-player-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-player-container iframe,
.video-player-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
}

.video-info {
  padding: 1.5rem;
}

.video-caption {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.video-category {
  display: inline-block;
  background: rgba(178, 0, 255, 0.2);
  color: #00E0FF;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* No Videos Message */
.no-videos-message {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 1px dashed rgba(178, 0, 255, 0.3);
}

.no-videos-message a {
  color: #00E0FF;
  text-decoration: none;
}

.no-videos-message a:hover {
  text-decoration: underline;
}

/* Back Link */
.video-gallery-back-link {
  display: inline-block;
  margin-top: 2rem;
  color: #00E0FF;
  text-decoration: none;
  transition: all 0.3s ease;
}

.video-gallery-back-link:hover {
  color: #FF00E6;
  text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .video-gallery-container {
    padding: 1.5rem;
  }
  
  .video-gallery-title {
    font-size: 2rem;
  }
  
  .video-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .video-gallery-title {
    font-size: 1.8rem;
  }
  
  .video-category-filter {
    padding: 1rem;
  }
  
  .video-category-filter label {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .video-category-filter select {
    max-width: 100%;
    width: 100%;
  }
  
  .video-gallery-grid {
    grid-template-columns: 1fr;
  }
}
.video-card:hover {
  animation: shimmer 2s infinite;
}
@keyframes shimmer {
  0% { box-shadow: 0 0 15px rgba(178,0,255,0.5); }
  50% { box-shadow: 0 0 30px rgba(0,224,255,0.7); }
  100% { box-shadow: 0 0 15px rgba(178,0,255,0.5); }
}