/* Videos Page Styles */

.videos-hero-banner {
  background: linear-gradient(90deg, #D81324, #B31020, #D81324);
  background-size: 200% auto;
  color: white;
  padding: 15px 30px;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  animation: gradient 3s ease infinite;
  box-shadow: 0 4px 15px rgba(216, 19, 36, 0.3);
  margin-bottom: 0;
}

@keyframes gradient {
  0% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
  100% {
    background-position: 0% center;
  }
}

.videos-container {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
  min-height: 100vh;
  padding: 60px 20px;
}

.videos-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 50px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 15px;
}

.videos-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #D81324, #B31020);
  border-radius: 2px;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.video-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
}

.video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(216, 19, 36, 0.2);
}

.video-thumbnail-container {
  position: relative;
  overflow: hidden;
  height: 320px;
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

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

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

.play-icon-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(216, 19, 36, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 2;
}

.play-icon-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: rgba(216, 19, 36, 0.5);
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent white;
  margin-left: 5px;
  position: relative;
  z-index: 3;
}

.video-card:hover .play-icon-overlay {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(216, 19, 36, 1);
}

.video-info {
  padding: 25px 20px;
  text-align: center;
}

.video-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.video-view-btn {
  display: inline-block;
  background: linear-gradient(135deg, #D81324 0%, #B31020 100%);
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(216, 19, 36, 0.3);
}

.video-view-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 19, 36, 0.5);
  color: white;
}

.bottom-banner {
  background: linear-gradient(90deg, #D81324, #B31020, #D81324);
  background-size: 200% auto;
  color: white;
  padding: 20px 30px;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  animation: gradient 3s ease infinite;
  box-shadow: 0 -4px 15px rgba(216, 19, 36, 0.3);
  margin-top: 60px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .videos-hero-banner {
    font-size: 1.2rem;
    padding: 12px 20px;
  }

  .videos-title {
    font-size: 2rem;
  }

  .videos-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .video-thumbnail-container {
    height: 280px;
  }

  .play-icon-overlay {
    width: 60px;
    height: 60px;
  }

  .play-icon {
    border-width: 12px 0 12px 20px;
  }

  .video-title {
    font-size: 1.1rem;
  }

  .video-view-btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }

  .bottom-banner {
    font-size: 1.2rem;
    padding: 15px 20px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .videos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1025px) {
  .videos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
