/* Watch Page Light Mode - Rwanda Premier League Theme (Home Page Match) */
.watch-section {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
  padding: 60px 0;
  overflow: hidden;
  min-height: calc(100vh - 100px);
}

/* Ensure light theme across entire page */
body {
  background-color: #ffffff !important;
  color: #2d3748 !important;
}

/* Rwanda-inspired patterns - Light Mode (Subtle and Clean) */
.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='%23a0aec0' fill-opacity='0.015'%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.02;
  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='%23cbd5e0' fill-opacity='0.008' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
}

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

/* Clean Modern Accents (Like Home Page) */
.rpl-accent-top {
  display: none; /* Simplified for cleaner look */
}

.rpl-accent-bottom {
  display: none; /* Simplified for cleaner look */
}
/* Modern Clean Corner Accents */
.rpl-corner-accent {
  position: absolute;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
  z-index: 5;
  opacity: 0.3;
  border-radius: 3px;
}

/* .rpl-corner-accent.top-left {
  top: 8px;
  left: 8px;
}

.rpl-corner-accent.top-right {
  top: 8px;
  right: 8px;
}

.rpl-corner-accent.bottom-left {
  bottom: 8px;
  left: 8px;
} */

/* .rpl-corner-accent.bottom-right {
  bottom: 8px;
  right: 8px;
} */

.rpl-section-accent {
  display: inline-block;
  width: 50px;
  height: 3px;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #4299e1, #3182ce);
  border-radius: 1.5px;
}

.rpl-tab-accent {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, #4299e1, #3182ce);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.7;
}

/* Modern Light Mode Glass Effect (Home Page Style) */
.magical-glass {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.magical-glass:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 1);
  transform: translateY(-2px);
  border-color: #cbd5e0;
}

/* Modern Light Mode Imigongo styling (Minimal) */
.imigongo-modern {
  position: relative;
  border-radius: 16px;
  border: 1px solid #3366991f;
  background: #ffffff;
}

.imigongo-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      135deg,
      rgba(66, 153, 225, 0.008) 25%,
      transparent 25%
    ),
    linear-gradient(225deg, rgba(66, 153, 225, 0.008) 25%, transparent 25%),
    linear-gradient(315deg, rgba(66, 153, 225, 0.008) 25%, transparent 25%),
    linear-gradient(45deg, rgba(66, 153, 225, 0.008) 25%, transparent 25%);
  background-size: 30px 30px;
  background-position: 0 0, 15px 0, 15px -15px, 0px 15px;
  border-radius: 16px;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}

/* Video Container Styles - Modern Light Mode */
.video-container {
  position: relative;
  width: 100%;
  border-radius: 16px;
  margin-bottom: 25px;
  padding: 8px;
  z-index: 1;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

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

.video-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a5276;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 25px;
  color: #4a5568;
}

.video-meta-item {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 16px;
  background: #f7fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.video-meta-item i {
  margin-right: 10px;
  color: #4299e1;
  font-size: 1.1rem;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(229, 62, 62, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.live-badge .pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  margin-right: 8px;
  /* animation: pulse 1.5s infinite; */
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

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

.action-button {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  color: #4a5568;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.9rem;
}

.action-button:hover {
  background: #4299e1;
  color: white;
  border-color: #4299e1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

.action-button i {
  margin-right: 8px;
  font-size: 1rem;
}

/* Chat Section - Modern Light Mode */
.chat-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 25px;
  height: 650px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
    transform: scale(1);
  }
}

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

.action-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #4a5568;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.action-button:hover {
  background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
  border-color: #4299e1;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

.action-button i {
  font-size: 1rem;
}

/* Social Share - Light Mode */
.social-share {
  border-top: 1px solid #e2e8f0;
  padding-top: 15px;
}

.social-share-title {
  font-size: 1rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 10px;
}

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

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 1.1rem;
}

.social-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-button.facebook {
  background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
}
.social-button.twitter {
  background: linear-gradient(135deg, #1da1f2 0%, #1a91da 100%);
}
.social-button.linkedin {
  background: linear-gradient(135deg, #0a66c2 0%, #0a5fa8 100%);
}
.social-button.whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #22c55e 100%);
}

/* Chat Section - Light Mode */
.chat-section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 20px;
  height: 600px;
  display: flex;
  flex-direction: column;
}

/* Mobile Chat Styling - Modern */
.chat-small-device {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.chat-large-device {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  height: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Content Tabs - Modern Light Mode */
.content-tabs {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.tab-navigation {
  display: flex;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.tab-button {
  flex: 1;
  padding: 16px 24px;
  border: none;
  background: transparent;
  color: #4a5568;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  font-size: 0.95rem;
}

.tab-button:hover {
  background: rgba(66, 153, 225, 0.08);
  color: #4299e1;
}

.tab-button.active {
  background: white;
  color: #1a202c;
  border-bottom: 3px solid #4299e1;
}

.tab-content {
  padding: 30px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Comments Section - Modern Light Mode */
.comments-section {
  max-height: 450px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e0 #f7fafc;
}

.comments-section::-webkit-scrollbar {
  width: 6px;
}

.comments-section::-webkit-scrollbar-track {
  background: #f7fafc;
  border-radius: 3px;
}

.comments-section::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 3px;
}

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

.comment-author {
  font-weight: 700;
  color: #1a202c;
  font-size: 0.95rem;
}

.comment-time {
  font-size: 0.8rem;
  color: #a0aec0;
}

.comment-text {
  color: #4a5568d9;
  line-height: 1.6;
  font-size: 0.95rem;
}

.comment-form {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid #e2e8f0;
}

.comment-textarea {
  width: 100%;
  min-height: 100px;
  padding: 16px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  resize: vertical;
  font-family: inherit;
  font-size: 0.95rem;
  color: #2d3748;
  background: #ffffff;
  transition: all 0.3s ease;
}




/* Description Content */
.description-content {
  color: #4a5568;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Episodes Container - Modern Light Mode */
.episodes-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 25px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.episodes-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  letter-spacing: -0.025em;
}

.episodes-title i {
  color: #4299e1;
  margin-right: 12px;
  font-size: 1.3rem;
}

.episode-list {
  max-height: 450px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e0 #f7fafc;
}

.episode-list::-webkit-scrollbar {
  width: 6px;
}

.episode-list::-webkit-scrollbar-track {
  background: #f7fafc;
  border-radius: 3px;
}

.episode-list::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 3px;
}

/* Related Section - Modern Light Mode */
.related-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 60px 0;
  position: relative;
}

.related-section .rwanda-pattern.light {
  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='%23a0aec0' fill-opacity='0.01'%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.3;
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a202c;
  margin: 0;
  letter-spacing: -0.025em;
}



.section-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0;
}



/* Alert styling for modern light mode */
.alert.alert-info {
  background: linear-gradient(135deg, #ebf8ff 0%, #f0f9ff 100%);
  border: 2px solid #bee3f8;
  color: #2c5aa0;
  padding: 18px 24px;
  border-radius: 12px;
  margin-top: 20px;
  box-shadow: 0 4px 12px rgba(66, 153, 225, 0.1);
}

.alert.alert-info a {
  color: #2c5aa0;
  font-weight: 600;
  text-decoration: none;
}

.alert.alert-info a:hover {
  text-decoration: underline;
}

.text-underline {
  text-decoration: underline;
}

/* Social Share - Modern Enhanced Light Mode */
.social-share {
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
}

.social-share-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a202c;
  margin-right: 18px;
}

.social-share-buttons {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: white;
}

.social-button.facebook, 
.social-button:has(.fa-facebook-f) { 
  background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%); 
}

.social-button.twitter, 
.social-button:has(.fa-twitter) { 
  background: linear-gradient(135deg, #1da1f2 0%, #1a91da 100%); 
}

.social-button.whatsapp, 
.social-button:has(.fa-whatsapp) { 
  background: linear-gradient(135deg, #25d366 0%, #22c55e 100%); 
}

.social-button.linkedin, 
.social-button:has(.fa-linkedin) { 
  background: linear-gradient(135deg, #0a66c2 0%, #0a5fa8 100%); 
}

/* Add missing pulse animation */
@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
  .video-title {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .video-meta {
    flex-direction: column;
    gap: 12px;
  }
  
  .social-share-buttons {
    justify-content: center;
  }
  
  .social-share-label {
    display: block;
    margin-bottom: 10px;
    text-align: center;
  }
}.chat-header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.chat-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0;
}

.chat-count {
  font-size: 0.9rem;
  color: #718096;
  margin-top: 5px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 20px;
  padding-right: 5px;
}

.chat-message {
  margin-bottom: 15px;
  padding: 12px 15px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid #4299e1;
  transition: all 0.2s ease;
}

.chat-message:hover {
  background: #edf2f7;
  border-left-color: #2b6cb0;
}

.chat-user {
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.chat-text {
  color: #4a5568;
  font-size: 0.9rem;
  line-height: 1.4;
}

.chat-time {
  font-size: 0.75rem;
  color: #a0aec0;
  margin-top: 5px;
}

.chat-input-form {
  display: flex;
  gap: 10px;
}

.chat-input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9rem;
  background: white;
  color: #2d3748;
  transition: all 0.2s ease;
}

.chat-input:focus {
  outline: none;
  border-color: #4299e1;
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.chat-send-btn {
  padding: 12px 20px;
  background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chat-send-btn:hover {
  background: linear-gradient(135deg, #3182ce 0%, #2c5aa0 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(66, 153, 225, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
  .watch-section {
    padding: 30px 0;
  }

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

  .video-info {
    padding: 20px;
  }

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

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

  .video-actions {
    flex-direction: column;
  }

  .action-button {
    justify-content: center;
  }

  .social-buttons {
    justify-content: center;
  }

  .chat-input-form {
    flex-direction: column;
  }

  .chat-send-btn {
    align-self: flex-end;
    width: 100px;
  }
}
