.videos-detail-base-layout {
  align-items: center;
  max-width: 1440px;
}
.videos-detail-body-wrapper {
  margin-top: 142px;
  padding-bottom: 200px;
}

.videos-detail-container {
  padding: 0px;
  max-width: 1216px;
  margin-left: auto;
  margin-right: auto;
}

/* Breadcrumb Section */
.breadcrumb-section {
  padding-top: 40px;
  background-color: #fff;
}

.breadcrumb {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  background: none;
  font-size: 14px;
  font-weight: 400;
}

.breadcrumb-item {
  color: #6c757d;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: #6c757d;
}

.breadcrumb-item a {
  color: #000;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
  font-family: "FS-Regular", sans-serif !important;
}

.breadcrumb-item a:hover {
  color: #2e90fa;
}

.breadcrumb-item.active a {
  color: #2e90fa !important;
}

.video-detail-hero {
  padding: 30px 0;
  background-color: #fff;
}

/* Video Detail Header */
.video-detail-header {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.video-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.video-detail-title {
  font-family: "FS-Regular", sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  color: #000;
  margin: 0;
  text-transform: capitalize;
  flex: 1;
  min-width: 0;
}

.btn-share-video {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid var(--Gray-400, #98A2B3);
  box-shadow: 0 12px 16px -4px rgba(16, 24, 40, 0.08);
  color: #007196;
  background-color: transparent;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-share-video:hover {
  background: #007196;
  color: #ffffff;
}

.btn-share-video:hover .share-icon {
  color: inherit;
}

.btn-share-video i,
.btn-share-video img {
  font-size: 18px;
  color: inherit;
}

.video-detail-description {
  font-family: "FS-Regular", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
  color: #667085;
  margin: 0;
  text-transform: capitalize;
}

/* Video Detail Container */
.video-detail-container {
  margin-bottom: 40px;
  border: 4px solid #0086c9;
  border-radius: 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(6px);
}

.video-player-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f0f0f0;
  overflow: hidden;
  border-radius: 24px;
  padding: 9px;
  box-sizing: border-box;
  margin: 0;
  transition: all 0.3s ease;
}

.video-player-wrapper:hover {
  box-shadow: 0px 8px 16px rgba(16, 24, 40, 0.1);
  transform: translateY(-4px);
}

.video-player-wrapper .video-thumbnail {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 10px;
  width: calc(100% - 18px);
  height: calc(100% - 18px);
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.play-button-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 60px;
  height: 60px;
  background: linear-gradient(94deg, #0DA8FF 0%, #005096 100%);
  border: 0.43px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.3),
    0px 5.14px 6.86px -1.71px rgba(16, 24, 40, 0.08),
    0px 1.71px 2.57px -0.86px rgba(16, 24, 40, 0.03);
  backdrop-filter: blur(2.57px);
}

.play-button-center:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 30px rgba(13, 168, 255, 0.5);
}

.play-button-center i {
  color: #ffffff;
  font-size: 12px;
  margin-left: 2px;
}

/* Share Section */
.video-share-section {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 40px;
  flex-wrap: wrap;
}

.share-label {
  font-family: "FS-Regular", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #000;
  white-space: nowrap;
}

.share-buttons {
  display: flex;
  gap: 24px;
  align-items: center;
}

.share-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667085;
  transition: all 0.3s;
  text-decoration: none;
  font-size: 14px;
}

.share-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.share-btn:hover {
  transform: scale(1.2);
}

/* ========================
   MORE VIDEOS SECTION
   ======================== */

.more-videos-section {
  background-color: #fff;
}

.more-videos-header {
  margin-bottom: 40px;
}

.more-videos-title {
  font-family: "FS-Regular", sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
  color: #000;
  margin: 0;
}

/* Videos Grid */
.more-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

/* Video Card */
.video-card-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background-color: #f9fafb;
  border: 1px solid #eaecf0;
  border-radius: 16px;
  overflow: visible;
  transition: all 0.3s ease;
  height: 100%;
}

.video-card-item:hover {
  box-shadow: 0px 8px 16px rgba(16, 24, 40, 0.1);
  transform: translateY(-4px);
}

.video-card-image {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio */
  overflow: hidden;
  background-color: #f0f0f0;
  padding: 10px;
  border-radius: 20px;
  cursor: pointer;
  margin: 0;
  height: 193.5px;
}

.video-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  border-radius: 20px;
}

.video-card-image:hover .play-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.play-button-small {
  width: 40px;
  height: 40px;
  background: linear-gradient(94deg, #0DA8FF 0%, #005096 100%);
  border: 0.43px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.3),
    0px 5.14px 6.86px -1.71px rgba(16, 24, 40, 0.08),
    0px 1.71px 2.57px -0.86px rgba(16, 24, 40, 0.03);
  backdrop-filter: blur(2.57px);
}

.play-button-small i {
  color: #ffffff;
  font-size: 8px;
  margin-left: 2px;
}

.video-card-image:hover .play-button-small {
  transform: scale(1.1);
  box-shadow: 0 5px 25px rgba(13, 168, 255, 0.5);
}

.video-card-content {
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.video-card-title {
  font-family: "FS-Regular", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #000;
  margin: 0;
  padding: 10px 0 0 0;
}

.video-card-description {
  font-family: "FS-Regular", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
  color: #667085;
  margin: 0;
  flex: 1;
  height: 81px;
}

.video-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-watch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 44px;
  padding: 12px 18px;
  background: transparent;
  border-radius: 8px;
  border: 1px solid #98a2b3;
  box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08);
  color: #007196;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}

.btn-watch:hover {
  background: #007196;
  color: #ffffff;
}

.btn-watch i {
  font-size: 20px;
}

.video-duration {
  font-size: 18px;
  font-weight: 400;
  color: #667085;
  white-space: nowrap;
  text-align: right;
  flex: 1;
  line-height: 32px;
}

/* View More Button */
.view-more-container {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.btn-view-more {
  padding: 12px 32px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background-color: #fff;
  color: #161616;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
}

.btn-view-more:hover {
  background: #007196;
  color: #ffffff;
}

/* ========================
   HEADER ADJUSTMENTS
   ======================== */

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-language {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  background-color: transparent;
  color: #98a2b3;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-language:hover {
  background-color: #f9fafb;
}

.btn-language i {
  font-size: 14px;
}

.btn-try-free {
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(100.77deg, rgba(13, 168, 255, 1) 0%, rgba(0, 80, 150, 1) 100.98%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
}

.btn-try-free:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */

/* Tablet - 1024px */
@media (max-width: 1024px) {
  .video-detail-hero {
    padding: 50px 0;
  }

  .more-videos-section {
    padding: 50px 0;
  }

  .more-videos-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 28px;
  }

  .video-detail-title {
    font-size: 28px;
  }

  .video-detail-description {
    font-size: 16px;
    line-height: 28px;
  }

  .btn-share-video {
    padding: 10px 20px;
    font-size: 15px;
  }

  .play-button-center {
    width: 100px;
    height: 100px;
  }

  .play-button-center i {
    font-size: 20px;
  }

  .more-videos-title {
    font-size: 26px;
  }

  .video-card-title {
    font-size: 19px;
  }

  .btn-watch {
    padding: 11px 17px;
    font-size: 15px;
    gap: 14px;
  }
}

/* Mobile - 500px */
@media (max-width: 500px) {
  .videos-detail-base-layout {
    padding: 0px;
  }
  .videos-detail-container{
    padding: 0 16px;
  }
  .video-detail-hero {
    padding: 25px 0;
  }

  .more-videos-section {
    padding: 25px 0;
  }

  .videos-detail-breadcrumb-section {
    padding: 15px 0;
  }

  .video-detail-header {
    margin-bottom: 25px;
    gap: 15px;
  }

  .video-header-top {
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
  }

  .video-detail-title {
    font-size: 22px;
    text-align: left;
  }

  .video-detail-description {
    font-size: 14px;
    line-height: 22px;
  }

  .btn-share-video {
    width: auto;
    padding: 10px 16px;
    font-size: 14px;
    gap: 6px;
    justify-content: center;
    align-self: auto;
  }

  .video-detail-container {
    margin-bottom: 25px;
    border: 3px solid #0086c9;
    border-radius: 24px;
  }

  .video-player-wrapper {
    padding: 6px;
    border-radius: 18px;
  }

  .play-button-center {
    width: 60px;
    height: 60px;
  }

  .play-button-center i {
    font-size: 12px;
  }

  .video-share-section {
    margin-top: 25px;
    padding-top: 25px;
    gap: 16px;
  }

  .share-label {
    font-size: 14px;
  }

  .share-buttons {
    gap: 18px;
  }

  .more-videos-header {
    margin-bottom: 25px;
  }

  .more-videos-title {
    font-size: 20px;
  }

  .more-videos-grid {
    gap: 16px;
    margin-bottom: 40px;
  }

  .video-card-item {
    gap: 4px;
    padding: 15px;
    border-radius: 12px;
  }

  .video-card-image {
    padding: 8px;
    border-radius: 16px;
    height: 160px;
  }

  .video-card-title {
    font-size: 17px;
    padding: 8px 0 0 0;
  }

  .video-card-description {
    font-size: 13px;
    line-height: 20px;
    height: 60px;
  }

  .video-card-footer {
    gap: 12px;
  }

  .btn-watch {
    padding: 8px 14px;
    font-size: 13px;
    height: 40px;
    gap: 6px;
  }

  .btn-watch i {
    font-size: 16px;
  }

  .video-duration {
    font-size: 14px;
    line-height: 20px;
  }

  .view-more-container {
    padding: 15px 0;
  }

  .btn-view-more {
    width: 40%;
    padding: 10px 24px;
    font-size: 14px;
  }
}