/* Watch Page Enhanced Styles - Rwanda Premier League Theme */
.watch-section {
  position: relative;
  background: linear-gradient(135deg, #1a5276 0%, #154360 100%);
  padding: 50px 0;
  overflow: hidden;
  min-height: calc(100vh - 100px);
}

/* Rwanda-inspired patterns */
.watch-section .rwanda-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
  opacity: 0.05;
  pointer-events: none;
}

.watch-section .agaseke-pattern {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 0h2v20H9V0zm25.134.84l1.732 1-10 17.32-1.732-1 10-17.32zm-20 20l1.732 1-10 17.32-1.732-1 10-17.32zM58.16 4.134l1 1.732-17.32 10-1-1.732 17.32-10zm-40 40l1 1.732-17.32 10-1-1.732 17.32-10zM80 9v2H60V9h20zM20 69v2H0v-2h20zm79.32-55.134l1 1.732-17.32 10-1-1.732 17.32-10zM103.632 9.732l1.732 1-10 17.32-1.732-1 10-17.32zm-60 60l1.732 1-10 17.32-1.732-1 10-17.32zm-35.368 0l1.732 1-10 17.32-1.732-1 10-17.32zM97 80v2H77v-2h20zm-40 40v2H37v-2h20zm39.32-55.134l1 1.732-17.32 10-1-1.732 17.32-10zM39.32 24.134l1 1.732-17.32 10-1-1.732 17.32-10zM112 0h2v20h-2V0zm-97.32 0l1 1.732-17.32 10-1-1.732 17.32-10zM0 49v2h20v-2H0zm92.32 34.134l1 1.732-17.32 10-1-1.732 17.32-10zm-20 0l1 1.732-17.32 10-1-1.732 17.32-10zM77 49v2H57v-2h20zm-40 40v2H17v-2h20zm-40 0v2H0v-2h17z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
}

/* Rwanda-inspired decorative elements */
.imigongo-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    #ce1126 33.33%,
    #fad201 33.33%,
    #fad201 66.66%,
    #0072c6 66.66%
  );
  z-index: 1;
}

.rpl-accent-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #ce1126, #fad201, #0072c6);
  z-index: 1;
  opacity: 0.9;
}

.rpl-accent-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #0072c6, #fad201, #ce1126);
  z-index: 1;
  opacity: 0.9;
}

.rpl-corner-accent {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #fad201;
  z-index: 5;
}

.rpl-corner-accent.top-left {
  top: 0;
  left: 0;
  border-radius: 0 0 5px 0;
}

.rpl-corner-accent.top-right {
  top: 0;
  right: 0;
  border-radius: 0 0 0 5px;
}

.rpl-corner-accent.bottom-left {
  bottom: 0;
  left: 0;
  border-radius: 0 5px 0 0;
}

.rpl-corner-accent.bottom-right {
  bottom: 0;
  right: 0;
  border-radius: 5px 0 0 0;
}

.rpl-section-accent {
  display: inline-block;
  width: 50px;
  height: 5px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #ce1126, #fad201, #0072c6);
  border-radius: 2.5px;
}

.rpl-tab-accent {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #ce1126, #fad201, #0072c6);
  position: absolute;
  top: 0;
  left: 0;
}

/* Rwanda-inspired magical glass effect */
.magical-glass {
  background: rgba(21, 67, 96, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.magical-glass:hover {
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

/* Imigongo-inspired modern styling */
.imigongo-modern {
  position: relative;
  border-radius: 8px;
  border: 1px solid rgba(206, 17, 38, 0.2);
}

.imigongo-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      135deg,
      rgba(206, 17, 38, 0.05) 25%,
      transparent 25%
    ),
    linear-gradient(225deg, rgba(206, 17, 38, 0.05) 25%, transparent 25%),
    linear-gradient(315deg, rgba(206, 17, 38, 0.05) 25%, transparent 25%),
    linear-gradient(45deg, rgba(206, 17, 38, 0.05) 25%, transparent 25%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 0, 10px -10px, 0px 10px;
  border-radius: 8px;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

.watch-section .floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.watch-section .floating-shapes::before,
.watch-section .floating-shapes::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  animation: float 15s infinite linear;
}

/* Video Container Styles */
.video-container {
  position: relative;
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 5px;
  z-index: 1;
}

.video-info {
  padding: 20px;
  margin-bottom: 20px;
  z-index: 1;
}

.video-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.video-meta-item {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.video-meta-item i {
  margin-right: 5px;
  color: #fad201;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  background-color: #ce1126;
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.live-badge .pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  margin-right: 5px;
  animation: pulse 1.5s infinite;
}

/* Video Actions */
.video-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.action-button {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 4px;
  padding: 8px 15px;
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.action-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.action-button i {
  margin-right: 5px;
  color: #fad201;
}

/* Social Share */
.social-share {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.social-share-label {
  margin-right: 10px;
  font-size: 0.9rem;
}

.social-share-buttons {
  display: flex;
  gap: 10px;
}

.social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.2s;
}

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

/* Tabs Section */
.content-tabs {
  position: relative;
  padding: 20px;
  border-radius: 8px;
}

.tab-navigation {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 15px;
  padding-top: 10px;
}

.tab-button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 5px 0;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

.tab-button.active {
  color: white;
  font-weight: 600;
}

/* Comments Section */
.comments-section {
  margin-top: 10px;
}

.comment-item {
  padding: 15px;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.2s;
}

.comment-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.comment-author {
  font-weight: 600;
  color: white;
}

.comment-time {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.comment-text {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.comment-form {
  margin-top: 20px;
}

.comment-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  color: white;
  margin-bottom: 10px;
  resize: none;
  min-height: 80px;
  transition: all 0.2s;
}

.comment-textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.submit-button {
  background: linear-gradient(90deg, #0072c6, #0059a3);
  border: none;
  border-radius: 4px;
  color: white;
  padding: 8px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.submit-button:hover {
  background: linear-gradient(90deg, #0059a3, #00416f);
  transform: translateY(-2px);
}

/* Chat Container */
.chat-container {
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  height: 400px;
  position: relative;
}

.chat-header {
  padding: 15px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-title {
  margin: 0;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
}

.chat-title i {
  color: #fad201;
}

.chat-small-device {
  display: none;
}

/* Episodes Container */
.episodes-container {
  border-radius: 8px;
  margin-top: 20px;
  padding: 20px;
  position: relative;
}

.episodes-title {
  margin: 0 0 15px;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
}

.episodes-title i {
  color: #fad201;
}

.episode-list {
  max-height: 400px;
  overflow-y: auto;
}

.episode-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.2s;
  cursor: pointer;
}

.episode-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.episode-item.active {
  background: rgba(250, 210, 1, 0.2);
  border-left: 3px solid #fad201;
}

.episode-thumbnail {
  width: 80px;
  height: 45px;
  border-radius: 4px;
  overflow: hidden;
  margin-right: 10px;
  background: #000;
}

.episode-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Related Section */
.related-section {
  background: #0c2233;
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-title {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  position: relative;
  display: inline-block;
}

/* Related Items */
.related-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.related-item {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.05);
  height: 100%;
}

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

.related-item-thumbnail {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}

.related-item-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s;
}

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

.related-item-info {
  padding: 15px;
}

.related-item-title {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin: 0 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.related-item-meta {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .chat-large-device {
    display: none;
  }

  .chat-small-device {
    display: block;
  }

  .watch-section {
    padding: 30px 0;
  }
}

@media (max-width: 768px) {
  .video-title {
    font-size: 1.3rem;
  }

  .video-actions {
    flex-wrap: wrap;
  }

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

  .section-title {
    font-size: 1.5rem;
  }
}

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

  .tab-navigation {
    gap: 10px;
  }

  .tab-button {
    font-size: 0.9rem;
  }

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

.watch-section .floating-shapes::after {
  width: 500px;
  height: 500px;
  bottom: -250px;
  left: -250px;
  animation-delay: -5s;
  animation-duration: 20s;
}

/* Video container */
.video-container {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.video-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.video-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #b22222, #e63b30, #b22222);
  z-index: 2;
}

/* Video info */
.video-info {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.video-info:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.video-info::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 15%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 80, 95, 0) 0%,
    rgba(0, 80, 95, 0.05) 40%,
    rgba(0, 80, 95, 0.1) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.video-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.3;
  position: relative;
  padding-left: 15px;
}

.video-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #b22222, #e63b30);
  border-radius: 2px;
}

.video-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
}

.video-meta-item {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.video-meta-item i {
  margin-right: 5px;
  color: #e63b30;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 0, 0, 0.2);
  color: #ff3a3a;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 10px;
}

.live-badge .pulse {
  width: 8px;
  height: 8px;
  background: #ff3a3a;
  border-radius: 50%;
  margin-right: 5px;
  position: relative;
}

.live-badge .pulse::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #ff3a3a;
  border-radius: 50%;
  z-index: -1;
  animation: pulse 1.5s infinite;
}

.video-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.action-button {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.action-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.action-button i {
  font-size: 16px;
  color: #e63b30;
}

.social-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}

.social-share-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.social-share-buttons {
  display: flex;
  gap: 10px;
}

.social-button {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  transition: all 0.3s;
}

.social-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Tabs section */
.content-tabs {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 5px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
}

.content-tabs::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: -1;
  opacity: 0.05;
  pointer-events: none;
}

.tab-navigation {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
}

.tab-button {
  padding: 12px 20px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.tab-button.active {
  color: #fff;
}

.tab-button.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #e63b30;
}

.tab-content {
  padding: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

/* Comments section */
.comments-section {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 10px;
}

.comment-item {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.comment-item:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: translateX(3px);
  border-radius: 5px;
  padding-left: 10px;
}

.comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.comment-author {
  font-weight: 600;
  color: #fff;
}

.comment-time {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.comment-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
}

.comment-form {
  margin-top: 25px;
}

.comment-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #fff;
  padding: 12px 15px;
  min-height: 100px;
  resize: vertical;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.comment-textarea:focus {
  outline: none;
  border-color: rgba(230, 59, 48, 0.5);
  box-shadow: 0 0 0 2px rgba(230, 59, 48, 0.2);
}

.submit-button {
  background: linear-gradient(135deg, #b22222, #e63b30);
  border: none;
  color: white;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-button:hover {
  background: linear-gradient(135deg, #e63b30, #b22222);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(178, 34, 34, 0.3);
}

/* Chat section */
.chat-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 500px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.chat-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.chat-header {
  padding: 12px 15px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
}

.chat-title i {
  margin-right: 8px;
  color: #e63b30;
}

/* Episodes list */
.episodes-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.episodes-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.episodes-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1a5276, #2980b9, #1a5276);
  z-index: 2;
}

.episodes-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
}

.episodes-title i {
  margin-right: 8px;
  color: #3498db;
}

.episode-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.episode-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  transition: all 0.3s;
}

.episode-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.episode-item.active {
  background: rgba(26, 82, 118, 0.3);
  border-left: 3px solid #3498db;
}

.episode-thumbnail {
  width: 80px;
  height: 45px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.episode-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.episode-info {
  flex: 1;
}

.episode-name {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.episode-duration {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* Related items */
.related-section {
  padding: 50px 0;
  position: relative;
  background: #123456;
  overflow: hidden;
}

.related-section .rwanda-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
  opacity: 0.05;
  pointer-events: none;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff !important ;
  position: relative;
  padding-left: 15px;
}

.section-title::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #ce1126, #fad201, #0072c6);
  border-radius: 2px;
}

/* RPL specific elements */
.rpl-section-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.rpl-section-icon {
  background: linear-gradient(135deg, #b22222, #e63b30);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  box-shadow: 0 5px 15px rgba(178, 34, 34, 0.3);
}

.rpl-section-icon i {
  font-size: 24px;
  color: white;
}

.rpl-section-title {
  font-size: 28px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.rpl-section-divider {
  width: 150px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #e63b30, transparent);
  margin: 15px auto 30px;
  margin-left: unset;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(10px, 10px) rotate(5deg);
  }
  50% {
    transform: translate(5px, 15px) rotate(10deg);
  }
  75% {
    transform: translate(-5px, 10px) rotate(5deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Responsive styles */
@media (max-width: 991px) {
  .video-title {
    font-size: 20px;
  }

  .chat-container {
    margin-top: 20px;
    height: 400px;
  }

  .chat-small-device {
    display: block;
  }

  .chat-large-device {
    display: none;
  }

  .rpl-section-title {
    font-size: 24px;
  }

  .rpl-section-icon {
    width: 50px;
    height: 50px;
  }

  .rpl-section-icon i {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .video-title {
    font-size: 18px;
  }

  .video-meta {
    gap: 10px;
  }

  .tab-button {
    padding: 10px 15px;
    font-size: 14px;
  }

  .episode-thumbnail {
    width: 60px;
    height: 35px;
  }

  .episode-name {
    font-size: 13px;
  }

  .rpl-section-title {
    font-size: 20px;
  }

  .rpl-section-icon {
    width: 40px;
    height: 40px;
  }

  .rpl-section-icon i {
    font-size: 16px;
  }
}

@media (min-width: 992px) {
  .chat-small-device {
    display: none;
  }

  .chat-large-device {
    display: block;
  }
}
