.video-card-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #111;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
  font-family: inherit;
}

/* Subtle lift on the whole card */
.video-card-container:hover {
  transform: translateY(-4px);
}

/* --- The Image Zoom --- */
.video-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Long duration for a cinematic feel */
  transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.video-card-container:hover .video-card-thumb {
  transform: scale(1.1);
}

.media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.5s ease;
  z-index: 1;
}

.video-card-container:hover .media-overlay {
  background: rgba(0, 0, 0, 0.4);
}

/* --- Badge & Icon --- */
.video-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.video-card-container:hover .video-card-overlay {
  opacity: 1;
}

.view-project-badge {
  background: #ffffff;
  color: #000000;
  padding: 12px 24px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
  transform: scale(0.9) translateY(10px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-card-container:hover .view-project-badge {
  transform: scale(1) translateY(0);
}

/* --- Content Typography --- */
.video-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

.video-title { 
  margin: 4px 0 0; 
  font-size: 1.5rem; 
  font-weight: 700; 
  color: #fff;
  letter-spacing: -0.02em;
}

.video-category { 
  font-size: 0.7rem; 
  text-transform: uppercase; 
  letter-spacing: 0.12em; 
  color: rgba(255,255,255,0.6);
  font-weight: 600;
}

/* ... Keep all your existing CSS above ... */

/* --- Mobile Responsive Updates --- */
@media (max-width: 768px) {
  .video-title {
    font-size: 1rem; /* Specifically requested size */
    margin-top: 2px;
  }

  .video-card-content {
    padding: 20px; /* Reduced from 32px for better screen real estate */
  }

  .video-category {
    font-size: 0.6rem; /* Slightly smaller to maintain hierarchy */
  }

  .view-project-badge {
    padding: 10px 18px; /* Slightly smaller button for mobile tap targets */
    font-size: 0.75rem;
  }
}
