/* Video Detail Page Styles */
.cnt-video-detail {
  padding: 40px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumb {
  margin-bottom: 30px;
  font-size: 14px;
  color: #888;
}

.breadcrumb a {
  color: #888;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #fff;
}

.separator {
  margin: 0 10px;
}

.current {
  color: #fff;
}

.video-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #fff;
  font-weight: bold;
  line-height: 1.2;
}

/* Video Player */
.video-player {
  margin-bottom: 30px;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  background: #000;
  border-radius: 8px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}

/* Video Metadata */
.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.meta-item .label {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.meta-item .value {
  font-size: 16px;
  color: #fff;
  font-weight: 500;
}

/* Video Description */
.video-description {
  margin-bottom: 40px;
}

.video-description h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #fff;
}

.description-content {
  font-size: 16px;
  line-height: 1.8;
  color: #ccc;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.description-content p {
  margin-bottom: 20px;
}

.description-content p:last-child {
  margin-bottom: 0;
}

/* Additional Information */
.video-additional {
  margin-bottom: 40px;
}

.video-additional h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #fff;
}

.tags {
  margin-bottom: 30px;
}

.tags .label {
  font-size: 14px;
  color: #888;
  margin-right: 10px;
}

.tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  margin-right: 8px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Related Videos */
.related-videos h3 {
  font-size: 1.4em;
  margin-bottom: 20px;
  color: #fff;
}

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

.related-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.related-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.related-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.related-thumbnail {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.related-title {
  padding: 15px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  margin: 0;
  line-height: 1.4;
}

/* Back Button */
.back-button {
  text-align: center;
  margin-top: 40px;
}

.btn-back {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-back:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Video Not Found */
.video-not-found {
  text-align: center;
  padding: 60px 20px;
}

.video-not-found h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #fff;
}

.video-not-found p {
  font-size: 1.2em;
  color: #ccc;
  margin-bottom: 30px;
}

/* Videos List Page Styles */
.cnt-videos-list {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-title {
  font-size: 3em;
  margin-bottom: 50px;
  color: #fff;
  text-align: center;
  font-weight: bold;
}

.videos-section {
  margin-bottom: 60px;
}

.section-title {
  font-size: 2em;
  margin-bottom: 30px;
  color: #fff;
  font-weight: bold;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.video-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.15);
}

.video-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 169px;
  overflow: hidden;
}

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

.video-item:hover .video-thumbnail img {
  transform: scale(1.05);
}

.new-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff4444;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  z-index: 10;
}

.video-info {
  padding: 20px;
}

.video-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #fff;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.video-description {
  font-size: 14px;
  color: #ccc;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cnt-video-detail {
    padding: 20px 15px;
  }

  .video-title {
    font-size: 2em;
  }

  .video-meta {
    gap: 20px;
    padding: 15px;
  }

  .description-content {
    padding: 20px;
  }

  .related-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
  }

  .cnt-videos-list {
    padding: 20px 15px;
  }

  .page-title {
    font-size: 2.5em;
  }

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

@media (max-width: 480px) {
  .video-meta {
    flex-direction: column;
    gap: 15px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .videos-grid {
    grid-template-columns: 1fr;
  }
}