/* --- Modern UI Reset + Fonts --- */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f7f9fb;
  color: #333;
}

/* --- Section: My Video Picks --- */
#video-picks {
  padding: 60px 20px 40px;
  text-align: center;
  background: linear-gradient(to right, #fbc2eb, #a6c1ee);
}

#video-picks h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #222;
  animation: fadeInDown 1s ease;
  margin-top: 40px;
  margin-bottom: 35px;
}

/* --- Tag Filter Buttons --- */
#tag-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.tag-btn {
  background-color: #e0e0e0;
  border: none;
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tag-btn:hover {
  background-color: #d1d1d1;
}

.tag-btn.active {
  background-color: #333;
  color: #fff;
}

/* --- Video Gallery --- */
#video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  padding: 0 10px;
}

.video-item {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.video-item.hidden {
  display: none;
}

iframe {
  width: 100%;
  height: 200px;
  border: none;
  border-radius: 8px;
}

/* --- Animations --- */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive Fixes --- */
@media (max-width: 1024px) {
  #video-picks h1 {
    font-size: 2rem;
  }
  .tag-btn {
    font-size: 0.85rem;
    padding: 8px 14px;
  }
  iframe {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}


.video-item {
  margin-bottom: 20px;
  transition: opacity 0.5s ease;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.hidden {
  display: none !important;
}
