/* Video Grid Styles */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  padding: 40px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.video-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
  transform: translateY(-5px);
}

.video-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.video-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-item:hover .video-thumb img {
  transform: scale(1.05);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-item:hover .video-overlay {
  opacity: 1;
}

.play-button {
  width: 80px;
  height: 80px;
  background: rgba(252, 185, 0, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  transform: scale(0.8);
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.video-item:hover .play-button {
  transform: scale(1);
}

.play-button i {
  margin-left: 5px;
}

.video-info {
  text-align: center;
  color: #fff;
  padding: 20px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.video-item:hover .video-info {
  transform: translateY(0);
}

.video-info h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.video-info p {
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

/* Platform indicators */
.video-item[data-platform="instagram"] .video-info p {
  color: #E1306C;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .video-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 30px 15px;
  }
  
  .play-button {
    width: 70px;
    height: 70px;
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 10px;
  }
  
  .video-info h4 {
    font-size: 18px;
  }
  
  .play-button {
    width: 60px;
    height: 60px;
    font-size: 20px;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
  }
  
  .video-card {
    border-radius: 12px;
  }
  
  .play-button {
    width: 50px;
    height: 50px;
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .video-info h4 {
    font-size: 16px;
  }
  
  .video-info p {
    font-size: 12px;
  }
}

/* Animation for grid items */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.video-item {
  animation: fadeInUp 0.6s ease forwards;
}

.video-item:nth-child(1) { animation-delay: 0.1s; }
.video-item:nth-child(2) { animation-delay: 0.2s; }
.video-item:nth-child(3) { animation-delay: 0.3s; }
.video-item:nth-child(4) { animation-delay: 0.4s; }
.video-item:nth-child(5) { animation-delay: 0.5s; }
.video-item:nth-child(6) { animation-delay: 0.6s; }
