
/* Mirror Sites Banner */
.mirror-banner {
  background: linear-gradient(135deg, #8B1E00 0%, #5A1300 100%);
  padding: 1.5rem 1rem;
  margin-bottom: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(139, 30, 0, 0.4);
  animation: slideDown 0.5s ease;
  border: 1px solid rgba(213, 46, 0, 0.2);
}

.mirror-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  text-align: center;
}

.mirror-icon {
  font-size: 2rem;
  color: #ffffff;
}

.mirror-text {
  flex: 1;
  min-width: 250px;
  max-width: 600px;
}

.mirror-text p {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
}

.mirror-text strong {
  font-weight: 700;
  font-size: 1.1rem;
}

.mirror-btn {
  background: #ffffff;
  color: #8B1E00;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.mirror-btn:hover {
  background: #D52E00;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(213, 46, 0, 0.5);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .mirror-banner {
    padding: 1.25rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
  }

  .mirror-banner-content {
    gap: 1rem;
  }

  .mirror-icon {
    font-size: 1.5rem;
    width: 100%;
  }

  .mirror-text {
    min-width: 100%;
  }

  .mirror-text p {
    font-size: 0.9rem;
  }

  .mirror-text strong {
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
  }

  .mirror-btn {
    padding: 0.65rem 1.75rem;
    font-size: 0.95rem;
    width: 100%;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .mirror-banner {
    padding: 1rem 0.75rem;
  }

  .mirror-text p {
    font-size: 0.85rem;
  }

  .mirror-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}

html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  box-sizing: border-box;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  font-weight: bold; /* Ensures bold appearance */
}
@media (min-width: 768px) {
  body {
      max-width: 100%;
  }
}

@media (min-width: 1024px) {
  /* WebKit browsers (Chrome, Edge, Safari) */
  ::-webkit-scrollbar {
    width: 5px;
  }

  ::-webkit-scrollbar-track {
    background-color: black; /* Dark track for a sleek look */
    border-radius: 5px;
  }

  ::-webkit-scrollbar-thumb {
    background-color: #4a5568; /* Slightly lighter thumb */
    border-radius: 10px;
    border: 3px solid #2d3748; /* Padding around the thumb */
  }

  ::-webkit-scrollbar-thumb:hover {
    background-color: #718096;
  }

  /* Firefox */
  html {
    scrollbar-width: thin;
    scrollbar-color: #2d3748 #000000;
  }
}
@media (max-width: 1023px) {
    ::-webkit-scrollbar {
        display: none;
    }
    html {
        scrollbar-width: none;
    }
}
/* Apply box-sizing to all elements */
*, *::before, *::after {
  box-sizing: border-box;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%; 
  padding: 10px 20px;
}

.logo-image {
  width: 200px;
  height: auto;
}
/* .search-icon {
  width: 48px;
  height: 48px;
} */

@media screen and (max-width: 768px) {
  .logo-image {
    width: 150px;
  }
  /* .search-icon {
    height: 32px;
    width: 32px;
  } */
}

.right-buttons {
  display: flex;
  gap: 10px; /* Adjust gap as needed */
}

.btn {
  padding: 8px 16px; /* Adjust padding as needed */
  font-size: 16px; /* Adjust font size as needed */
  border-radius: 4px; /* Optional: Add border radius */
  background-color: #007bff; /* Optional: Add background color */
  color: #fff; /* Optional: Add text color */
  text-decoration: none;
}

/* Media Query for Mobile Screens */
@media (max-width: 768px) {
  .header-content {
    padding: 8px 16px; /* Reduce padding for mobile screens */
  }

  .logo-text {
    font-size: 20px; /* Reduce font size for mobile screens */
  }

  .btn {
    padding: 6px 12px; /* Reduce padding for mobile screens */
    font-size: 14px; /* Reduce font size for mobile screens */
  }
}



/* Container styles */
.matches-container {
    display: flex;
    gap: 20px; 
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;/* Adds space between cards */
}

/* Match row styles */
.match-row {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distributes content evenly */
    background-color: #1e293b;
    border-radius: 16px;
    padding: 24px;
    margin: 0 auto; /* Centers the match card */
    max-width: 800px; 
    width: 100%;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

/* Team section styles */
.team-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%; /* Adjusts team section width */
    text-align: center;
}

/* Team wrapper */
.team-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.team-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.team-name {
  color: #f8fafc !important;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  text-transform: capitalize;
}

/* Pop-up container */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  animation: slideIn 0.5s ease;
}

/* Pop-up content */
.bookmark-popup-content {
  background: #1a1a1a;
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Close button */
.close-bookmark {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  color: white;
  cursor: pointer;
  transition: color 0.3s;
}

/* Heading */
.popup-content h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* Horizontal line */
.popup-content hr {
  border: 0;
  border-top: 1px solid #fff;
  margin: 10px 0;
}

/* Paragraph */
.popup-content p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #ccc;
}

.carousel-row {
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    align-items: center;
    /* Updated for 15 logos: 15 items x 110px total width per item */
    width: 1650px; 
    will-change: transform;
}

.carousel-left .carousel-track {
    animation: slide-left 30s linear infinite;
    animation-play-state: paused;
}

.carousel-right .carousel-track {
    animation: slide-right 30s linear infinite;
    animation-play-state: paused;
}

.carousel-item {
    flex: 0 0 auto;
    margin: 0 10px;
}

.carousel-item img {
    max-width: 80px;
    height: auto;
    border-radius: 50%;
    background: #4b5563;
    padding: 5px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

@keyframes slide-left {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Updated for 15 logos: Move the width of 15 logos */
        transform: translateX(-1650px); 
    }
}

@keyframes slide-right {
    0% {
        /* Updated for 15 logos: Start offset by the width of 15 logos */
        transform: translateX(-1650px);
    }
    100% {
        transform: translateX(0);
    }
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .carousel-item img {
        max-width: 60px;
    }
    .carousel-item {
        margin: 0 5px;
    }
    .carousel-track {
        /* Updated for 15 logos: 15 items x 80px total width per item */
        width: 1200px;
    }
    @keyframes slide-left {
        0% {
            transform: translateX(0);
        }
        100% {
            /* Updated for 15 logos: Move the width of 15 logos */
            transform: translateX(-1200px); 
        }
    }
    @keyframes slide-right {
        0% {
            /* Updated for 15 logos: Start offset by the width of 15 logos */
            transform: translateX(-1200px);
        }
        100% {
            transform: translateX(0);
        }
    }
}


    .carousel-container {
    padding: 1rem;
}

.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.carousel-section {
  display: none;
}

.carousel-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.overflow-x-auto {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none; /* Hide scrollbar on IE/Edge */
    scrollbar-width: none; /* Hide scrollbar on Firefox */
}

/* Use a modern flexbox approach for the carousel track */
.popular-carousel {
    display: flex;
    gap: 0.75rem;
    -webkit-overflow-scrolling: touch;
    padding: 0 1rem; /* Add padding to the track instead of using negative margins */
}
@media (max-width: 768px) {
    .popular-carousel {
        gap: 0.5rem; /* Reduce gap on mobile */
    }
}
.sport-card-slide {
    flex: 0 0 auto;
    width: 140px; /* Increased width for wider cards */
    padding-left: 0.5rem; /* Reduced space between cards */
    margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
    .sport-card-slide {
        margin-bottom: 0.25rem; /* Reduce bottom margin on mobile */
    }
}

.sport-card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.sport-card-image-container {
    background-color: #6b7280;
    border-radius: 0.75rem;
    width: 150px; /* Increased width to match the slide */
    height: 150px; /* Increased height for taller cards */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 0.5rem;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.sport-card-title {
    font-size: 0.75rem; /* Smaller, more readable font on mobile */
    color: #e2e8f0;
    text-align: center;
}

.sport-card-subtitle {
    font-size: 0.75rem; /* Slightly larger font size */
    text-align: center;
    color: #4b5563;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}
.sport-popular-carousel {
    display: flex;
    gap: 1rem;
    -webkit-overflow-scrolling: touch;
}

.carousel-slide {
    flex-shrink: 0;
    flex-grow: 0;
    width: calc(45% - 0.5rem);  
    scroll-snap-align: start;
    
}

/* Match content styles */
.match-link {
    display: block;
    width: 100%;
    border-radius: 0.5rem;
    transition: all 0.3s ease-in-out;
}

.match-details {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.match-title {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Truncate to 2 lines on all screens */
    line-clamp: 2; /* Standard property for compatibility */
    -webkit-box-orient: vertical;
}

.match-meta {
    font-size: 0.75rem; /* Smaller, more readable font on mobile */
    color: #6b7280;
}

.time-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px; /* For a rounded pill shape */
    font-weight: bold;
    font-size: 0.75rem;
    z-index: 5;
}

.live-badge {
    /* Position the badge absolutely within its parent container */
    position: absolute;
    /* Place it at the top-right corner with some padding */
    top: 0.5rem;
    left: 0.5rem; 
    
    background-color: #ef4444; /* A red color for "LIVE" */
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px; /* For a rounded pill shape */
    font-weight: bold;
    font-size: 0.75rem;
    z-index: 5; /* Ensure the badge is always on top of the image */
}

.favorite-star {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #000; /* Default color */
    z-index: 6;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 9999px;
    width: 2rem; /* Adjust width for a pill-like shape */
    height: 2rem;
    display: flex;
    border: 1px solid #f59e0b;
    justify-content: center;
    align-items: center;
}

.favorite-star.is-favorite {
    color: #f59e0b; /* Solid color when selected */
}

.favorite-star svg {
    width: 60%;
    height: 60%;
}

.match-image-container {
    height: auto;
    overflow: hidden;
    border-radius: 0.5rem;
    position: relative;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.match-image {
    width: 100%;
    border-radius: 0.5rem;
    object-fit: cover;
}

/* Hide arrows by default */
.match-arrow {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hide arrows completely on mobile to avoid taking space */
@media (max-width: 767px) {
    .match-arrow {
        display: none;
    }
}

/* Apply hover effects only for screens wider than 768px */
@media (min-width: 768px) {
    .match-image-container:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    }
    .relative:hover .match-arrow {
        opacity: 1;
    }
    .sport-card-image-container:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    }

}

/* A basic styling for the skeleton container */
.skeleton-slide {
    background-color: #1a1a1a; /* A dark color for the skeleton */
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: pulse 1.5s infinite ease-in-out; /* The pulsing animation */
}

/* Skeleton image container */
.skeleton-img {
    width: 100%;
    height: 150px; /* Adjust to match your image height */
    background-color: #333;
    border-radius: 8px;
}

/* Styling for the skeleton effect on the image container */
.match-image-container.skeleton-img {
    position: relative;
    width: 100%;
    height: 150px; /* Adjust to your match card's image height */
    background-color: #333;
    border-radius: 8px;
    overflow: hidden;
    /* Pulsing animation */
    animation: pulse 1.5s infinite ease-in-out; 
}

/* Hide the actual image while the skeleton is showing */
.match-image-container.skeleton-img .match-image {
    opacity: 0;
}

/* Reveal the image once it's loaded */
.match-image-container.loaded .match-image {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

/* Styling for the skeleton text lines */
.skeleton-details .skeleton-line {
    height: 1rem;
    background-color: #444;
    border-radius: 4px;
    margin-top: 0.5rem;
    animation: pulse 1.5s infinite ease-in-out;
}

.skeleton-title {
    width: 80%; /* Shorter line for the title */
}

.skeleton-meta {
    width: 60%; /* Even shorter line for the meta info */
}

/* Keyframes for the pulsing animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Hide the skeleton text once the real text is appended */
.match-details:has(.match-title) .skeleton-line {
    display: none;
}

/* ------------------------------------------- */
/* DESKTOP-FIRST STYLES */
/* These rules only apply on larger screens, overriding the mobile styles */
/* ------------------------------------------- */
@media (min-width: 640px) {
    .carousel-slide {
        width: calc(33.333% - 0.666rem);
    }
}

@media (min-width: 768px) {
    .carousel-title {
        font-size: 1.5rem; /* Reverts to original size on larger screens */
    }
    .carousel-slide {
        width: calc(25% - 0.75rem);
    }
    .match-meta {
        font-size: 0.875rem; /* Slightly larger font on desktop */
    }
}

@media (min-width: 1024px) {
    .carousel-slide {
         width: calc(16.666% - 0.833rem);
    }
    /* Show arrows only on large screens */
    .match-arrow {
        display: block;
        position: absolute;
        top: 30%;
        transform: translateY(-50%);
        z-index: 10;
        cursor: pointer;
        font-size: 2rem;
        color: #fff;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .relative:hover .match-arrow,
    .carousel-section:hover .match-arrow {
        opacity: 2; /* Show on hover for larger screens */
    }

    .match-carouselLeftNav {
        left: -15px;
    }

    .match-carouselRighttNav {
        right: -15px;
    }
}

.detailsBanner {
    position: relative;
    width: 100%;
    min-height: 600px;
    background: #000;
    color: #fff;
    overflow: visible; /* Changed from hidden to prevent content clipping */
    padding-top: 20px; /* Added padding to ensure content visibility */
}
.posterImg {
    width: 100%;
    max-width: 350px; /* Match .left */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: block;
}

.backdrop-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.backdrop-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px);
}

.opacity-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 1) 100%);
    z-index: 2;
}
.detailContentWrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative; /* Ensure content stays in view */
}
.detailContent {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row !important;
    gap: 30px;
    align-items: flex-start; /* Align content to top */
    position: relative;
    z-index: 3; /* Ensure content is above backdrop */
    width: 100%;
}
.left {
  flex: 0 0 350px;
  max-width: 350px;
  margin: 0;
  display: flex;
  justify-content: center; /* Center child content */
}
/* Mobile devices */
@media (max-width: 767px) {
  .detailContent {
    flex-wrap: wrap !important; /* Stack on mobile */
    flex-direction: column !important;
    justify-content: center; /* Center children */
    gap: 20px; /* Reduce spacing */
    padding: 0; /* Tighter padding */
  }
  .left {
    flex: 0 0 auto;
    max-width: calc(100% - 40px); /* Account for .contentWrapper padding */
    margin: 0 auto; /* Center poster */
  }
  .right {
    flex: 0 0 auto;
    max-width: 100%;
    margin: 0 auto;
  }
  .posterImg {
    max-width: 100%; /* Scale to .left */
  }
  .left > span {
    width: 100% !important; /* Override inline width: 350px */
  }
  .posterImg[width="350px"] {
    width: 100% !important; /* Override inline width attribute */
  }
}

.right {
  flex: 1; /* Take remaining space */
  max-width: 750px; /* Cap details width */
  margin: 0; /* Prevent centering */
}
.detailtitle {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.detailsubtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 15px;
}
@media (max-width: 480px) {
    .detailtitle {
        font-size: 1.5rem;
    }
    .detailsubtitle {
        font-size: 1.0rem;
    }
}
.genres {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: flex-end;
    z-index: 1;
}
.genre {
    background-color: #da2f68;
    padding: 3px 5px;
    font-size: 10px;
    border-radius: 4px;
    color: #ffffff;
    white-space: nowrap;
}
@media (max-width: 1024px) {
  .genre {
      font-size: 9px;
      padding: 2px 4px;
  }
}
@media (max-width: 480px) {
  .genre {
      font-size: 8px;
      padding: 1px 3px;
  }
}
.detailgenres {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.detailgenre {
    background-color: #da2f68;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
}
.row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

/* Mobile responsive styles for the action icons row */
@media (max-width: 768px) {
    .row {
        gap: 15px;
        max-width: 100%;
        overflow-x: visible;
        flex-wrap: nowrap;
        justify-content: flex-start;
        margin-left: 0;
        margin-right: 0;
        padding: 0 10px;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .row {
        gap: 8px;
        max-width: calc(100vw - 20px);
        padding: 0 5px;
        justify-content: space-between;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 320px) {
    .row {
        gap: 4px;
        max-width: calc(100vw - 10px);
        padding: 0 2px;
        justify-content: space-around;
    }
}
/* Circular Rating */
.circleRating {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    background-color: #081c22;
    border-radius: 50%;
    padding: 2px;
    z-index: 1;
}
@media (max-width: 1024px) {
  .circleRating {
      width: 35px;
      height: 35px;
  }
}
@media (max-width: 480px) {
  .circleRating {
      width: 30px;
      height: 30px;
  }
}
.progress-circle {
    width: 100%;
    height: 100%;
    position: relative;
}
.progress-circle svg {
    width: 100%;
    height: 100%;
}
.progress-circle .trail {
    stroke: #1e3737;
    stroke-width: 3;
    fill: none;
}
.progress-circle .path {
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease 0s;
}
.progress-circle .path.low {
    stroke: #e90b0b;
}
.progress-circle .path.medium {
    stroke: #e9d40b;
}
.progress-circle .path.high {
    stroke: #21d07a;
}
.progress-circle .text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
@media (max-width: 1024px) {
  .progress-circle .text {
      font-size: 12px;
  }
}
@media (max-width: 480px) {
  .progress-circle .text {
      font-size: 10px;
  }
}
.detailCircleRating {
    max-width: 90px;
    border-radius: 50%;
    padding: 2px;
    background-color: #000000;
    width: 80px;
    height: 80px;
    position: relative;
    flex-shrink: 0;
}

/* Mobile responsive styles for detailCircleRating */
@media (max-width: 768px) {
    .detailCircleRating {
        width: 60px;
        height: 60px;
        max-width: 60px;
    }
}

@media (max-width: 480px) {
    .detailCircleRating {
        width: 45px;
        height: 45px;
        max-width: 45px;
    }
}

@media (max-width: 320px) {
    .detailCircleRating {
        width: 35px;
        height: 35px;
        max-width: 35px;
    }
}

.detailText {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

/* Mobile responsive styles for detailText */
@media (max-width: 768px) {
    .detailText {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .detailText {
        font-size: 12px;
    }
}

@media (max-width: 320px) {
    .detailText {
        font-size: 10px;
    }
}
.playbtn {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.playbtn a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}
.playbtn svg {
    width: 80px;
    height: 80px;
    margin-right: 5px;
}

/* Mobile responsive styles for playbtn */
@media (max-width: 768px) {
    .playbtn {
        gap: 5px;
        flex-shrink: 0;
    }
    .playbtn svg {
        width: 60px;
        height: 60px;
        margin-right: 3px;
    }
}

@media (max-width: 480px) {
    .playbtn {
        gap: 2px;
    }
    .playbtn svg {
        width: 45px;
        height: 45px;
        margin-right: 2px;
    }
}

@media (max-width: 320px) {
    .playbtn {
        gap: 1px;
    }
    .playbtn svg {
        width: 35px;
        height: 35px;
        margin-right: 1px;
    }
}
.triangle {
    stroke-dasharray: 240;
    stroke-dashoffset: 480;
    stroke: #fff;
    transform: translateY(0);
    transition: all .7s ease-in-out;
}
.circle {
    stroke: #fff;
    stroke-dasharray: 650;
    stroke-dashoffset: 1300;
    transition: all .5s ease-in-out;
}
.text {
    font-size: 1rem;
    color: #fff;
}
.answerText {
    font-size: 1rem;
    color: grey;
}
.infoText {
    font-size: 1rem;
    color: #fff;
}
@media (max-width: 480px) {
    .infoText {
        display: none;
    }
}

/* Hover effects for action buttons */
.playbtn {
    transition: all 0.3s ease;
}

.playbtn:hover {
    transform: translateY(-2px) scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0, 244, 255, 0.3));
}

/* Specific hover effects for play button */
.playbtn:hover .triangle {
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
}

.playbtn:hover .circle {
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
}

/* Hover effect for download button */
.playbtn:hover svg {
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.2));
}

/* Enhanced hover effect for download icon specifically */
.playbtn:hover svg path,
.playbtn:hover svg polyline,
.playbtn:hover svg line {
    stroke: #da2f68;
    transition: stroke 0.3s ease;
}

/* Hover effect for circular rating */
.detailCircleRating {
    transition: all 0.3s ease;
}

.detailCircleRating:hover {
    transform: translateY(-2px) scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0, 244, 255, 0.3));
}

.detailCircleRating:hover .path {
    stroke: #da2f68!important;
    transition: stroke 0.3s ease;
}

/* Disable hover effects on touch devices */
@media (hover: none) and (pointer: coarse) {
    .playbtn:hover,
    .bookmark-btn:hover,
    .detailCircleRating:hover {
        transform: none;
        filter: none;
    }
    
    .playbtn:hover .triangle,
    .playbtn:hover .circle,
    .playbtn:hover svg path,
    .playbtn:hover svg polyline,
    .playbtn:hover svg line,
    .bookmark-btn:hover .bookmark-icon,
    .detailCircleRating:hover .path {
        stroke: inherit;
        fill: inherit;
    }
}

.overview {
    margin-bottom: 20px;
}
.heading {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.description {
    font-size: 1rem;
    line-height: 1.5;
    color: grey;
}
.info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}
.infoItem {
    font-size: 1rem;
}
.text.bold {
    font-weight: 600;
}
.videoPopup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.videoPopup.active {
    display: flex;
}
.opacityLayer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 1) 100%);
    z-index: 1;
    cursor: pointer;
}
.videoPlayer {
    position: relative;
    width: 90vw;
    max-width: 1280px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    overflow: visible;
}
.videoFrame {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative; /* Ensure iframe positioning */
    background: transparent; /* Prevent background interference */
}
.videoFrame iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: #000;
    position: absolute; /* Ensure it fills the frame */
}
.closeBtn {
    position: absolute;
    top: -40px;
    right: -40px;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 3;
}
.closeBtn svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
    transition: stroke 0.3s ease;
}
.closeBtn:hover svg {
    stroke: #ff5555;
}
@media (max-width: 768px) {
    .videoPlayer {
        width: 100vw;
        height: 100vh;
        max-width: none;
        aspect-ratio: unset;
        border-radius: 0;
    }
    .videoFrame {
        border-radius: 0;
    }
    .closeBtn {
        top: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.7);
        border-radius: 50%;
        padding: 8px;
    }
    .closeBtn svg {
        width: 20px;
        height: 20px;
    }
}
.castSection {
    background: #000000;
    padding: 40px 0;
    position: relative;
}
.castCarousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}
.castCarousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}
.listItem {
    flex: 0 0 150px;
    text-align: center;
    color: #fff;
    text-decoration: none;
}
.profileImg {
    width: 100%;
    height: 200px;
    margin-bottom: 45px;
}
.profileImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.name {
    font-size: 1rem;
    font-weight: 600;
}
.character {
    font-size: 0.9rem;
    color: #ccc;
}

.videosSection {
    position: relative;
    margin-bottom: 50px;
    width: 100vw; /* Full device width */
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.videos {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 20px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}
.videos::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}
.videoItem {
    flex: 0 0 300px; /* Fixed width for video items */
    cursor: pointer;
}
.videoThumbnail {
    margin-bottom: 15px;
    position: relative;
}
.videoThumbnail img {
    width: 100%;
    height: 169px;
    object-fit: cover;
    border-radius: 8px;
}
.videoThumbnail svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 50px;
    height: 50px;
}
.videoTitle {
    font-size: 16px;
    line-height: 24px;
    color: #fff;
}
.episodesSection {
    background: #000000;
    padding-top: 10px;
    padding-bottom: 30px;
}
.seasonSelector {
    margin-bottom: 20px;
}
.seasonSelector select {
    padding: 8px;
    font-size: 1rem;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    width: 150px;
}
.episodeContainer {
    max-height: 600px;
    overflow-y: auto;
    background: #000;
    border-radius: 8px;
    padding: 10px;
    -webkit-overflow-scrolling: touch;
}
.episodeItems {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.episodeItem {
    width: 100%;
}
.episodeLink {
    text-decoration: none;
    color: inherit;
    display: block;
}
.episodeCard {
    display: flex;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    align-items: center;
}
.episodePoster {
    flex: 0 0 300px;
    height: 169px; /* 16:9 aspect ratio */
    position: relative;
    overflow: hidden;
}
.episodePoster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.episodePoster svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.episodePoster svg .triangle,
.episodePoster svg .circle {
    stroke: #fff;
}
.episodePoster:hover svg {
    opacity: 1;
}
.episodeDetails {
    flex: 1;
    padding: 10px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0; /* Prevent overflow */
}
.episodeTitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.episodeNumber {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 10px;
}
.episodeOverview {
    font-size: 0.9rem;
    color: #ddd;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2; /* Standard property for compatibility */
    -webkit-box-orient: vertical;
}
/* Custom scrollbar styling */
.episodeContainer::-webkit-scrollbar {
    width: 8px;
}
.episodeContainer::-webkit-scrollbar-track {
    background: #333;
    border-radius: 4px;
}
.episodeContainer::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 4px;
}
.episodeContainer::-webkit-scrollbar-thumb:hover {
    background: #888;
}
/* Responsive Design */
@media (max-width: 768px) {
    .episodeContainer {
        max-height: 400px;
    }
    .episodeCard {
        flex-direction: column;
        height: auto;
    }
    .episodePoster {
        flex: 0 0 100%;
        height: 200px; /* Adjusted height for mobile */
    }
    .episodePoster svg {
        width: 60px;
        height: 60px;
    }
    .episodeDetails {
        padding-left: 0;
    }
    .episodeTitle {
        font-size: 1rem;
    }
    .episodeOverview {
        font-size: 0.8rem;
        -webkit-line-clamp: 3;
        line-clamp: 3; /* Standard property for compatibility */
    }
}
@media (max-width: 480px) {
    .episodeContainer {
        max-height: 300px;
    }
    .episodePoster {
        height: 150px; /* Smaller height for very small screens */
    }
    .episodePoster svg {
        width: 50px;
        height: 50px;
    }
    .episodeDetails {
        padding-left: 0;
    }
    .episodeTitle {
        font-size: 0.9rem;
    }
    .episodeOverview {
        font-size: 0.7rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
}

.detailCarouselTitle {
    font-size: 24px;
    color: #fff;
    font-weight: 400;
    margin-bottom: 15px; /* Add space beneath the title */
}
@media (max-width: 1024px) {
  .detailCarouselTitle {
      font-size: 20px; /* Smaller for tablets and mobile */
  }
}
@media (max-width: 480px) {
  .detailCarouselTitle {
      font-size: 18px; /* Even smaller for very small screens */
  }
}
.carousel {
    margin-bottom: 50px;
}
.carouselLeftNav, .carouselRighttNav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #fff;
    font-size: 1.5rem;
    z-index: 5;
}
.carouselLeftNav {
    left: 10px;
}
.carouselRighttNav {
    right: 10px;
}
.arrow {
    font-size: 30px;
    color: #fff;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: .5;
    z-index: 1;
    display: none;
}
@media (min-width: 1024px) {
    .arrow {
        display: block; /* Hide arrows on tablets and mobile */
    }
  }
.carouselItems {
    display: flex;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    width: 100%; /* Ensure it stretches to the full width */
    padding: 0; /* Remove any padding that might constrain width */
    gap: 20px; /* Consistent spacing */
    overflow-x: auto;
    scroll-behavior: smooth;
}
.carouselItems::-webkit-scrollbar {
    display: none;  /* Chrome, Safari, Opera */
}
@media (min-width: 768px) {
    .carouselItems {
      gap: 20px;
      overflow-x: auto;
      margin: 0;
      padding: 0;
      scroll-behavior: smooth;
    }
}
.carouselItem {
    cursor: pointer;
    flex-shrink: 0;
}
@media (min-width: 1025px) {
  .carouselItem {
      width: calc(20% - 16px); /* Original width for large screens */
  }
}
@media (max-width: 1024px) {
  .carouselItem {
      width: calc(40% - 12px); /* Adjusted for tablets */
  }
}
@media (max-width: 480px) {
  .carouselItem {
      width: calc(50% - 10px); /* Adjusted for mobile */
  }
}
.posterBlock {
    position: relative;
    aspect-ratio: 2/3;
    background-size: cover;
    background-position: center;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.textBlock {
    color: #ffffff;
    display: flex;
    flex-direction: column;
}
.recommendTitle {
    font-size: 16px;
    margin-bottom: 5px;
    line-height: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1; /* Standard property for compatibility */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.date {
    font-size: 12px;
    opacity: .7;
}
@media (max-width: 1024px) {
  .recommendTitle {
      font-size: 14px;
      line-height: 18px;
  }
  .date {
      font-size: 11px;
  }
}
@media (max-width: 480px) {
  .recommendTitle {
      font-size: 12px;
      line-height: 16px;
  }
  .date {
      font-size: 10px;
  }
}
    .popup {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 1000;
    }
    .popup-content {
      background-color: #1a1a1a; /* Darker gray for better contrast */
      color: #ffffff; /* White text for readability */
      margin: auto; /* Center */
      padding: 20px;
      border-radius: 10px; /* Softer corners */
      width: 90%;
      max-width: 500px; /* Max width like report popup */
      max-height: 90vh; /* 90% like report popup */
      overflow-y: auto; /* Scroll if content overflows */
      position: relative;
      text-align: center;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
      scrollbar-width: none;
    }
    .popup-content::-webkit-scrollbar {
      display: none;
    }
    .close {
        position: absolute;
        top: 10px;
        right: 10px;
        background: none;
        border: none;
        font-size: 20px;
        color: white;
        cursor: pointer;
        transition: color 0.3s;
    }
    .close:hover {
      color: #cccccc;
    }
    .download-btn {
      display: inline-block;
      padding: 8px 16px;
      background-color: #28a745;
      color: white;
      text-decoration: none;
      border-radius: 5px;
      margin: 5px 0;
      font-size: 14px;
      transition: background-color 0.2s;
    }
    .download-btn:hover {
      background-color: #218838;
    }
    .torrent-container {
      max-height: 400px; /* Larger for large screens */
      overflow-x: hidden;
      overflow-y: auto;
      padding: 10px;
      background-color: #1a1a1a; /* Gray background like popup */
      border: 1px solid #444;
      border-radius: 5px;
      margin-top: 10px;
      scrollbar-width: none;
    }
.torrent-container::-webkit-scrollbar {
  display: none;
}
    .torrent-item {
    max-width: 100%; /* Fit within container */
    box-sizing: border-box; /* Include padding/border in width */
    word-wrap: break-word; /* Wrap long titles */
    overflow-wrap: break-word;
      margin: 8px 0;
      padding: 12px;
      background-color: #333333; /* Card background */
      border: 1px solid #555;
      border-radius: 5px;
      transition: transform 0.2s, box-shadow 0.2s;
    }
   #torrentList p.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 14px;
}
#torrentList p.loading::after {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
    .torrent-item:hover {
      transform: translateY(-2px);
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
    .torrent-item small {
      color: #bbbbbb;
      font-size: 12px;
    }
    .season-selector {
      margin: 10px 0;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .season-selector label {
      color: #ffffff;
      font-size: 16px;
    }
    .season-selector select {
      padding: 6px;
      font-size: 14px;
      border-radius: 4px;
      background-color: #333;
      color: #ffffff;
      border: 1px solid #555;
      flex: 1;
    }
    /* Large screens */
    @media (min-width: 768px) {
      .popup-content {
        width: 90%;
        max-width: 500px;
        margin: 80px auto 20px;
        max-height: 90vh;
      }
      .close {
        font-size: 28px;
      }
      .download-btn {
        padding: 10px 20px;
        font-size: 16px;
      }
      .torrent-container {
        max-height: 400px;
      }
      .torrent-item {
        padding: 14px;
      }
      .season-selector label {
        font-size: 18px;
      }
      .season-selector select {
        padding: 8px;
        font-size: 16px;
      }
    }

    /* Mobile screens */
    @media (max-width: 767px) {
      .popup-content {
        width: 95%;
        margin: 80px 20px 20px;
        max-height: 100vh;
      }
      .close {
        font-size: 20px;
        top: 10px;
        right: 12px;
      }
      .download-btn {
        padding: 6px 12px;
        font-size: 12px;
      }
      .torrent-container {
        max-height: 450px; /* Shorter for mobile */
      }
      .torrent-item {
        padding: 10px;
        margin: 6px 0;
      }
      .torrent-item small {
        font-size: 10px;
      }
      .season-selector {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
      }
      .season-selector label {
        font-size: 14px;
      }
      .season-selector select {
        padding: 5px;
        font-size: 12px;
        width: 100%;
      }
    }
    /* Very small screens */
    @media (max-width: 480px) {
      .popup-content {
        width: 95%;
        margin: 80px 20px 20px;
        max-height: 100vh;
      }
      .close {
        font-size: 18px;
      }
      .download-btn {
        padding: 5px 10px;
        font-size: 11px;
      }
      .torrent-container {
        max-height: 400px;
      }
      .torrent-item {
        padding: 8px;
      }
    }

.notification-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.notification-popup {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  height: 300px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 15px;
}


@keyframes slideIn {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  color: #333;
  cursor: pointer;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #000;
}

.notification-text {
  background: rgba(0, 0, 0, 0.7);
  padding: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.notification-text h2 {
  color: #fff;
  margin: 0;
  font-size: 2em;
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.notification-text p {
  color: #fff;
  font-size: 1em;
  margin: 5px 0 0;
  font-family: 'Arial', sans-serif;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 480px) {
  .notification-popup {
      width: 85%;
      height: 250px;
  }

  .notification-text h2 {
      font-size: 1.5em;
  }

  .notification-text p {
      font-size: 0.9em;
  }

  .close-btn {
      font-size: 18px;
      top: 5px;
      right: 5px;
  }
}

/* Buttons */
.btn {
  display: block;
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 25px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
}

.whatsapp-btn {
  background-color: #25D366;
}

.telegram-btn {
  background-color: #0088cc;
}

/* Footer */
.popup-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  font-size: 12px;
  color: #ccc;
}

.close-footer {
  cursor: pointer;
  color: #ff4d4d;
}

/* Responsive design */
@media (max-width: 600px) {
  .popup-content {
      width: 85%;
      padding: 15px;
  }

  .popup-content h2 {
      font-size: 20px;
  }

  .popup-content p {
      font-size: 14px;
  }

  .btn {
      font-size: 14px;
      padding: 8px;
  }
}

/* Separator between teams and match info */
.separator {
    width: 1px;
    height: 80px; /* Consistent height */
    background-color: rgba(248, 250, 252, 0.1);
    margin: 0 16px;
}
.match-type-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}
.match-type-image {
  width: 50px; /* Adjust the width as needed */
  height: 50px; /* Adjust the height as needed */
  object-fit: contain;
}
/* Match info section */
.match-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 20%; /* Match info takes up a smaller width */
    gap: 8px;
    text-align: center;
}

.countdown-timer {
    color: #f8fafc !important;
    font-size: 16px;
    font-weight: 500;
    opacity: 0.8;
}
/* Play overlay styles */
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
    pointer-events: none;
}

.match-row:hover .play-overlay {
    opacity: 1; /* Shows play overlay on hover */
    pointer-events: auto; /* Allows interaction */
}

.play-button svg {
    width: 48px;
    height: 48px;
    fill: #f8fafc;
    transition: fill 0.3s ease;
}

.play-button:hover svg {
    fill: #10b981; /* Changes color on hover */
}
@media (min-width: 768px) {
  .match-row {
      flex: 1 1 45%;
      max-width: 45%;
  }
}

.channels-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.main-channel-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  width: calc(20% - 16px); /* 5 cards per row on large screens */
  margin-bottom: 16px;
  position: relative;
}

.main-channel-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.main-channel-logo {
  max-width: 100%;
  height: auto;
}

.main-channel-name {
  margin-top: 8px;
  font-size: 16px;
  font-weight: bold;
}
.main-channel-card:hover .play-overlay {
  opacity: 1;
}
@media (max-width: 768px) {
  .main-channel-card {
      width: calc(50% - 16px); /* 2 cards per row on small screens */
  }
}

/* Position indicator */
.position-indicator {
    color: #f8fafc !important;
    font-size: 12px;
    font-weight: 600;
    opacity: 0.7;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
/* Container and Row Styles */
.site-content {
  word-wrap: break-word;
}
.container {
  margin-right: -10px;
 
}
.tie-container {
  height: 100%;
  min-height: 650px;
  position: relative;
  overflow: hidden;
}

.tie-row {
  margin-left: -15px;
  margin-right: -15px;
}
.clearfix::before {
  content: "\0020";
  display: block;
  height: 0;
  overflow: hidden;
}
.clearfix::after {
  clear: both;
  content: "\0020";
  display: block;
  height: 0;
  overflow: hidden;
}

.main-content-row {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.full-width .main-content {
  width: 100%;
}
.post-content.container-wrapper {
  padding: 0;
}
.container-wrapper {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 2px;
  padding: 30px;
}
@media (max-width: 991px) {
  #content {
    margin-top: 15px;
    margin-left: 20px;
  }
}

/* Header Styles */
@media (max-width: 767px) {
  .post-layout-1 .entry-header-outer {
    padding: 20px;
  }
}
.full-width .entry-header-outer {
  text-align: center;
}
.post-layout-1 .entry-header {
  padding: 0;
  margin: 0;
}
@media (max-width: 767px) {
  .entry-header .entry-title {
    font-size: 28px;
  }
}
.entry-header {
  font-size: 45px;
  line-height: 1.2;
}
.post-cat-wrap {
  position: relative;
  z-index: 3;
  pointer-events: auto;
  margin-bottom: 5px;
  font-weight: normal;
  font-family: inherit !important;
  line-height: 0;
  display: block;
}
.post-cat:first-child:last-child {
  margin: 0;
}

.post-cat {
  display: inline-block;
  background: var(--brand-color);
  color: var(--bright-color);
  padding: 0 11px;
  font-size: 13px;
  line-height: 2em;
  position: relative;
  white-space: nowrap;
  word-wrap: normal;
  letter-spacing: 0;
  transition: 0.3s;
  border-radius: 4px;
}

.post-title {
  font-size: 2rem;
  margin: 0;
  text-align: center;
}
.entry-header .entry-title {
  margin-bottom: 15px;
}
h1 {
  font-weight: 700;
  line-height: 1.4;
  color: white;
}

wf-active h1 {
  font-family: 'Poppins';
}

/* Share Buttons Styles */
.share-buttons {
  line-height: 0;
}
.post-layout-1 .share-buttons-top {
  padding-bottom: 18px;
}
.entry-header-outer + .share-buttons-top {
  padding-top: 0;
}
@media (max-width: 768px) {
  .hide_share_post_top .share-buttons-top {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .share-buttons {
    padding: 15px;
  }
}
.share-links {
  overflow: hidden;
  position: relative;
}

.share-btn-icon {
  font-size: 1.5rem;
}
/* Featured Area Styles */
.featured-area {
  position: relative;
  line-height: 1;
}
@media (max-width: 767px) {
  .featured-area {
    margin-bottom: 20px;
  }
}

.featured-area-inner {
  text-align: center;
}
[class~="single-featured-image"] {
  display: none;
}
.single-featured-image {
  position: relative;
  margin: 0;
  line-height: 0;
}
.post-layout-1 div.entry-content {
  padding-top: 0;
}
@media (max-width: 767px) {
  .entry-content {
    padding-right: 15px;
    padding-left: 15px;
  }
}
.entry {
  line-height: 26px;
  font-size: 15px;
}
.entry-content {
  counter-reset: footnotes;
}
.day-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
.day-filter button {
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
  color: white;
  background-color: #1e293b;
  border-radius: 10px;
  border: none;
  outline: none;
}
.day-filter button.selected {
  background-color: red;
  color: white;
  flex-grow: 2;
}
.no-matches {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
  text-align: center;
}
.no-matches img {
  width: 50px; /* Smaller image size */
  height: 50px; /* Smaller image size */
  animation: sorry-animation 2s infinite;
}
@keyframes sorry-animation {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.no-matches p {
  font-size: 1em; /* Smaller font size */
  color: white;
  margin-top: 10px;
}
@media (max-width: 600px) {
  .day-filter button {
      font-size: 14px; /* Smaller font size for smaller screens */
      padding: 8px; /* Smaller padding for smaller screens */
  }
  .no-matches img {
      width: 40px; /* Even smaller image size for smaller screens */
      height: 40px; /* Even smaller image size for smaller screens */
  }
  .no-matches p {
      font-size: 0.9em; /* Even smaller font size for smaller screens */
  }
}

.match-page-container {
    --match-primary: #2c3e50;
    --match-secondary: #34495e;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

.match-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(44,62,80,0.9);
    border-radius: 1rem;
    margin-bottom: 2rem;
    width: 100%;
  }

.match-info-item {
    text-align: center;
    color: #fff;
  }
  .versus {
    font-size: 24px; /* Adjust the size as needed */
    font-weight: bold;
    color: #bdc3c7;
}
.team-container {
  padding-bottom: 10px;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px; /* Adjust the gap as needed */
}

.match-info-label {
    color: #bdc3c7;
  }

.match-info-value {
    font-weight: 700;
    color: #fff !important;
  }

.match-cta {
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
  }

.match-stream-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: linear-gradient(45deg,var(--match-primary),var(--match-secondary));
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: clamp(1rem,2vw,1.25rem);
    color: #fff !important;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .match-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.match-social {
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
  }
  
.match-feature-card {
    padding: 1.5rem;
    background: rgba(44,62,80,0.9);
    border-radius: 0.75rem;
    border: 1px solid rgba(44,62,80,0.3);
    color: #2c3e50;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    width: 100%;
  }

.match-feature-icon {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

.match-feature-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
  }

.match-feature-description {
    color: #7f8c8d;
  }

.match-social-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
  }

.match-social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

.match-social-whatsapp {
    background-color: #25d366 !important;
  }
.match-social-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff !important;
  }
.match-social-telegram {
    background-color: #0088cc !important;
  }

.match-social-discord {
    background-color: #5865F2 !important;
  }

.main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
  }
.video-section {
    position: relative;
  }
.video-wrapper {
    position: relative;
    padding-top: 62.90%;
    background-color: #000;
    border-radius: 4px;
    overflow: hidden;
  }
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.alert-info {
  background-color: rgba(52, 211, 235, 0.2);
  border: 1px solid rgba(52, 211, 235, 0.3);
  color: #35b8e0;
  padding: 10px;
  text-align: center;
  width: 100%;
  border-radius: 8px;
  margin: 20px 0 0 0;
}

.streams-section {
  height: 350px; /* Fixed height for large screens */
  display: flex;
  flex-direction: column;
  scrollbar-width: none;
}
.streams-section::-webkit-scrollbar {
  display: none; /* Webkit browsers */
}
.stream-list {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
}
.stream-list::-webkit-scrollbar {
  display: none;
}
.quality-section {
  overflow-y: auto;
  scrollbar-width: none;
}
.quality-section::-webkit-scrollbar {
  display: none;
}

@media (max-width: 768px) {
  .streams-section {
    height: auto; /* Remove fixed height on mobile */
    max-height: 395px; /* Use max-height for fluid behavior on mobile */
  }
}
 
/* Customize Plyr for JW Player-like aesthetics */
 .channel-stream-list {
    display: flex;
    flex-direction: column;
    scrollbar-width: none;
    margin-top: .208333333in; 
    gap: .104166667in;
    height: 380px; /* Fixed height for large screens */
}
@media (max-width: 768px) {
  .channel-stream-list {
    height: auto; /* Remove fixed height on mobile */
    max-height: 395px; /* Use max-height for fluid behavior on mobile */
  }
} 

.center-container {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically */
}

.center-container p {
  text-align: center; /* Ensures the text inside the paragraph is centered */
}
.jw-player-container {
  width: 100%;
  position: relative;
  aspect-ratio: 16 / 9; /* Changed to 16:9 for JW Player */
  overflow: hidden; /* Ensure content stays within bounds */
}
.plyr--video {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.plyr__control--overlaid {
    background: #cc2346; /* Reddish play button */
    z-index: 20 !important; /* Ensure play button appears above video */
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}
.plyr--full-ui.plyr--video .plyr__control:hover {
    background: #cc2346; /* Reddish hover effect */
}
.plyr__progress input[type="range"] {
    color: #cc2346 !important; /* Reddish progress bar */
}
.plyr__progress__buffer {
    background: rgba(255, 45, 85, 0.3); /* Lighter red for buffer */
}
.plyr__volume input[type="range"] {
    color: #cc2346 !important; /* Reddish volume bar */
}

/* JW Player container - matches iframe positioning */
.jw-player-container {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: black !important;
}

.jw-player-container > div {
    width: 100% !important;
    height: 100% !important;
}

/* Video elements fill their containers */
.plyr-player-container video,
.shaka-player-container video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Plyr wrapper fills container and overrides default positioning */
.plyr {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 10 !important;
}

.plyr__video-wrapper {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 10 !important;
}

.plyr video {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 10 !important;
    object-fit: contain !important;
}

/* Chat section scroll fix */
#chat-section {
    overflow: hidden !important;
    position: relative !important;
    height: 380px !important;
}

#chat-section iframe {
    pointer-events: auto !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    overflow: hidden !important;
}

.plyr__controls {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 15 !important;
}

/* Loading spinner */
.loading-spinner,
.loading-spinner div {
    box-sizing: border-box;
}
.loading-spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    z-index: 25 !important; /* Higher than video and Shaka UI elements */
    pointer-events: none; /* Don't block clicks */
}
.loading-spinner div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #cc2346;
    border-radius: 50%;
    animation: loading-spinner 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #cc2346 transparent transparent transparent;
}
.loading-spinner div:nth-child(1) {
    animation-delay: -0.45s;
}
.loading-spinner div:nth-child(2) {
    animation-delay: -0.3s;
}
.loading-spinner div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes loading-spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.loading-spinner.active {
    display: inline-block;
}
.category-section {
  margin-bottom: 40px;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  padding: 20px 0;
  margin: 0 20px;
}

.channel-card {
  text-align: center;
  padding: 5px;
  border-radius: 5px;
  transition: transform 0.2s;
}

.channel-card img {
  max-width: 80px;
  height: auto;
  border-radius: 50%;
  background: #4b5563;
  padding: 5px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.channel-card:hover {
  transform: scale(1.05);
}

.channel-card a {
  text-decoration: none;
  color: #333;
  display: block;
}

.channel-card h3 {
  font-size: 1rem;
  margin: 5px 0 0;
  color: white;
}

@media (max-width: 1024px) {
  .channel-grid {
      grid-template-columns: repeat(4, 1fr);
  }
  .channel-card img {
      max-width: 80px;
  }
}

@media (max-width: 480px) {
  .channel-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr)); /* Use minmax to prevent overflow */
      padding: 20px 0; /* Increase left/right padding for more margin */
      margin: 0 20px;
      box-sizing: border-box; /* Ensure padding is included in width */
  }
  .category-banner h2 {
      font-size: 1.5rem;
  }
  .category-banner {
      height: 150px;
  }
  .channel-card {
      min-width: 0; /* Prevent cards from growing too wide */
      box-sizing: border-box; /* Include padding in width calculation */
  }
  .channel-card img {
      max-width: 60px;
  }
  .channel-card h3 {
      font-size: 0.9rem; /* Slightly smaller font to reduce width */
      white-space: nowrap; /* Prevent wrapping */
      overflow: hidden; /* Hide overflow */
      text-overflow: ellipsis; /* Add ellipsis for long names */
      max-width: 60px; /* Match the image width to prevent overflow */
      margin: 5px auto; /* Center the h3 by setting auto margins */
      display: block; /* Ensure it behaves as a block element for centering */
  }
}


/* Classes for the carousel section */
.carouselSection {
    position: relative;
    margin-bottom: 70px;
}
.contentWrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Align items to the start (left) */
  margin-bottom: 20px;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Reset padding to align with carousel left edge */
}
.carouselTitle {
    font-size: 24px;
    color: #fff;
    font-weight: 400;
    margin-bottom: 15px; /* Add space beneath the title */
}
@media (max-width: 1024px) {
  .carouselTitle {
      font-size: 20px; /* Smaller for tablets and mobile */
  }
}
@media (max-width: 480px) {
  .carouselTitle {
      font-size: 18px; /* Even smaller for very small screens */
  }
}
.carousel {
    margin-bottom: 50px;
}
.carouselLeftNav {
    left: 0px;
}
.carouselRighttNav {
    right: 0;
}
.arrow {
    font-size: 30px;
    color: #fff;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: .5;
    z-index: 1;
    display: none;
}
@media (min-width: 1024px) {
  .arrow {
      display: block; /* Hide arrows on tablets and mobile */
  }
}
.carouselItems {
  display: flex;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
  width: 100%; /* Ensure it stretches to the full width */
  padding: 0; /* Remove any padding that might constrain width */
  gap: 20px; /* Consistent spacing */
  overflow-x: auto;
  scroll-behavior: smooth;
}
.carouselItems::-webkit-scrollbar {
    display: none;  /* Chrome, Safari, Opera */
}
@media (min-width: 768px) {
    .carouselItems {
      gap: 20px;
      overflow-x: auto;
      margin: 0;
      padding: 0;
      scroll-behavior: smooth;
    }
}
.carouselItem {
    cursor: pointer;
    flex-shrink: 0;
}
@media (min-width: 1025px) {
  .carouselItem {
      width: calc(20% - 16px); /* Original width for large screens */
  }
}
@media (max-width: 1024px) {
  .carouselItem {
      width: calc(40% - 12px); /* Adjusted for tablets */
  }
}
@media (max-width: 480px) {
  .carouselItem {
      width: calc(50% - 10px); /* Adjusted for mobile */
  }
}
/* Poster Block */
.posterBlock {
    position: relative;
    aspect-ratio: 2/3;
    background-size: cover;
    background-position: center;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}
.posterBlock img {
      position: absolute;
      object-fit: cover;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: block;
      border-radius: 8px;
  }
.lazy-load-image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}
.blur {
    filter: blur(15px);
    transition: filter 0.3s ease;
}
.lazy-load-image-loaded {
    filter: blur(0);
    transition: filter .3s;
}
.lazy-load-image-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Circular Rating */
.circleRating {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    background-color: #081c22;
    border-radius: 50%;
    padding: 2px;
    z-index: 1;
}
@media (max-width: 1024px) {
  .circleRating {
      width: 35px;
      height: 35px;
  }
}
@media (max-width: 480px) {
  .circleRating {
      width: 30px;
      height: 30px;
  }
}
.progress-circle {
    width: 100%;
    height: 100%;
    position: relative;
}
.progress-circle svg {
    width: 100%;
    height: 100%;
}
.progress-circle .trail {
    stroke: #1e3737;
    stroke-width: 3;
    fill: none;
}
.progress-circle .path {
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease 0s;
}
.progress-circle .path.low {
    stroke: #e90b0b;
}
.progress-circle .path.medium {
    stroke: #e9d40b;
}
.progress-circle .path.high {
    stroke: #21d07a;
}
.progress-circle .text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
@media (max-width: 1024px) {
  .progress-circle .text {
      font-size: 12px;
  }
}
@media (max-width: 480px) {
  .progress-circle .text {
      font-size: 10px;
  }
}

/* Genres */
.genres {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: flex-end;
    z-index: 1;
}
.genre {
    background-color: #da2f68;
    padding: 3px 5px;
    font-size: 10px;
    border-radius: 4px;
    color: #ffffff;
    white-space: nowrap;
}
@media (max-width: 1024px) {
  .genre {
      font-size: 9px;
      padding: 2px 4px;
  }
}
@media (max-width: 480px) {
  .genre {
      font-size: 8px;
      padding: 1px 3px;
  }
}


/* Text Block */
.textBlock {
    color: #ffffff;
    display: flex;
    flex-direction: column;
}
.movietitle {
    font-size: 16px;
    margin-bottom: 5px;
    line-height: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1; /* Standard property for compatibility */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.date {
    font-size: 12px;
    opacity: .7;
}
@media (max-width: 1024px) {
  .movietitle {
      font-size: 14px;
      line-height: 18px;
  }
  .date {
      font-size: 11px;
  }
}
@media (max-width: 480px) {
  .movietitle {
      font-size: 12px;
      line-height: 16px;
  }
  .date {
      font-size: 10px;
  }
}
  /* Search Bar and Results Styles */
  .search-bar {
    position: relative; 
    top: 0;
    padding: 20px;
    text-align: center;
    background-size: cover;
    background-position: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    z-index: 2;
}
/* Hide smartTV wrapper on large screens (smart TVs) */
 @media (min-width: 1280px) and (min-height: 720px) {
  .smartTV {
      display: none;
  }
  .search-bar {      
    min-height: 50vw;  
  }
  .search-bar::before {
    backdrop-filter: blur(2px);
  }
}

.search-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 1;
}
@media (max-width: 1024px) {
    .search-bar {
        min-height: 150px;
        padding: 15px;
    }
}
@media (max-width: 480px) {
    .search-bar {
        min-height: 120px;
        padding: 10px;
    }
}
.search-form {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
}
.search-form input {
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    border-radius: 25px;
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
@media (max-width: 480px) {
    .search-form input {
        font-size: 14px;
        padding: 8px 12px;
    }
}
.search-results {
    display: none; /* Hidden by default */
    background: #1a1a1a;
    min-height: calc(100vh - 200px); /* Full height minus search bar */
    padding: 20px;
    z-index: 1;
}
  @media (max-width: 1024px) {
      .search-results {
          min-height: calc(100vh - 150px); /* Adjust for tablet */
      }
  }
  @media (max-width: 480px) {
      .search-results {
          min-height: calc(100vh - 120px); /* Adjust for mobile */
      }
  }
  .search-results.active {
      display: block; /* Show when active */
  }
  .results-grid {
    display: grid;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Fallback for smaller screens */
}

/* Responsive grid: 2 columns on mobile, 3 on tablet, 5 on desktop */
@media (max-width: 480px) {
    .results-grid {
        grid-template-columns: repeat(2, minmax(150px, 1fr)); /* Explicit 2 columns for mobile */
    }
}
@media (min-width: 481px) and (max-width: 1024px) {
    .results-grid {
        grid-template-columns: repeat(3, minmax(180px, 1fr)); /* Explicit 3 columns for tablet */
    }
}
@media (min-width: 1025px) {
    .results-grid {
        grid-template-columns: repeat(5, minmax(200px, 1fr)); /* Explicit 5 columns for desktop */
    }
}

.search-result-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s ease;
    overflow: hidden; 
    padding: 0;
}

.search-result-item:hover {
    transform: scale(1.05);
    z-index: 1; /* Ensure hovered item stays above others */
}

.search-result-item img {
    width: 100%;
    aspect-ratio: 2/3; /* Standard poster aspect ratio */
    object-fit: contain; /* Avoid cropping, show full image */
    border-radius: 8px;
    max-height: 300px; /* Consistent max height */
    display: block;
    transition: all ease 0.5s;
    
}

.search-result-item .result-text {
    margin-top: 8px;
    text-align: left;
    flex-grow: 1;
    margin-left: 0; /* Ensure no left margin */
    padding-left: 0;
}

.search-result-item .result-title {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #ffffff;
    margin-left: 0; /* Explicitly remove any left margin */
    padding-left: 0;
    padding-bottom: 2px;
}

.search-result-item .result-year {
    font-size: 12px;
    color: #aaa;
    margin-top: 2px;
}

.search-result-item .result-category {
    font-size: 12px;
    color: #cccccc;
    margin-top: 2px;
    padding-bottom: 5px;
}
@media (min-width: 1025px) {
  .search-result-item .result-title {
    padding-left: 10px;
}
.search-result-item .result-year {
  padding-left: 10px;
}
.search-result-item .result-category {
  padding-left: 10px;
}
}

.no-results {
    text-align: center;
    padding: 20px;
    color: #888;
    font-size: 16px;
}

.quality-toggle-buttons {
  margin-top: 10px;
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
}
.quality-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}
.quality-btn.active {
  background-color: #2563eb;
}
.quality-btn:not(.active) {
  background-color: #808080;
}
.quality-btn:hover {
  opacity: 0.9;
}

.stream-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
} 
  .stream-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background-color: rgba(44,62,80,0.9);
    color: #fff;
    border-radius: 4px;
    margin-bottom: 10px;
    width: 100%;
  }.match-page-title {
    font-size: 1.3rem;
    font-weight: bold;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-indicator {
    background: linear-gradient(45deg, #ff4444, #ff1111);
    padding: 4px 8px;
    border-radius: 3px;
    font-weight: bold;
    animation: livepulse 2s infinite;
    flex-shrink: 0;
    margin-left: auto;
}

@keyframes livepulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.live-now img {
  animation: pulse 4s infinite ease-in-out; /* Smooth easing for a natural effect */
}

.stream-info {
  color: white;
}
.streams-panel {
    background-color: rgba(44,62,80,0.9);
    padding: 10px;
    border-radius: 4px;
    width: 100%; /* Ensure it takes full width */
    /* Include padding in the width calculation */
}
  
@media (min-width: 992px) {
  .main-content-row {
    display: flex;
    flex-direction: column;
    align-items: stretch; /* Ensure child elements stretch to full width */
}

.video-section, .streams-panel {
    width: 100%; /* Ensure both sections take full width */
}
}
.panel-title {
    margin-bottom: 10px;
    display: flex;
    font-size: 1rem;
    font-weight: bold;
    justify-content: space-between;
    align-items: center;
    color: white;
  }
.stream-quality {
    font-size: 0.8rem;
    background-color: #4CAF50;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
  }
  .quality-badge {
    background-color: #4caf50;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: auto;
}
  .stream-list {
    display: flex;
    flex-direction: column;
    scrollbar-width: none;
    margin-top: .208333333in;   
    overflow-x: auto;
    gap: .104166667in;
    height: 340px; /* Fixed height for large screens */
}
@media (max-width:768px) {
  .stream-list {
    height: auto;
    max-height: 340px;
  }
}

.stream-header {
  flex-wrap: wrap;
  gap: 8px;
}

.match-page-title {
  font-size: 1.1rem;
  min-width: 120px;
}

.live-indicator {
  order: unset;
  flex-shrink: 0;
  margin-left: auto;
}
.loading-text {
  filter: blur(4px); /* Adjust the blur amount as needed */
  color: transparent; /* Makes the text invisible */
  background-color: #4a5568; /* A temporary background color to show the loading block */
  border-radius: 4px;
  width: 80%; /* Give it a width to look like a text block */
  height: 1.2em; /* Set a height to match the text line height */
  margin: 0 auto;
  animation: pulse-effect 1.5s infinite ease-in-out;
}

@keyframes pulse-effect {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.5; }
}
.stream-btn.active {
    border-color: #001f3f !important;
    background-color: #001f3f !important;
    color: #fff !important;
    font-weight: bold !important;
  }
.server-info {
    flex-grow: 1;
    font-size: 0.9rem;
    
    align-items: center;
    width: 100%;
  }
.status-wave {
    display: flex;
    align-items: center;
    margin-top: 5px;
  }
  .status-wave span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: green;
    margin: 0 1px;
    animation: wave 1.5s infinite;
}
.status-wave span:nth-child(2) {
    animation-delay: 0.2s;
}
.status-wave span:nth-child(3) {
    animation-delay: 0.4s;
}
@keyframes wave {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-10px);
        opacity: 0.5;
    }
}
.server-status {
    display: block;
    font-size: 0.8rem;
    margin-top: 10px;
    color: #666;
    margin-left: auto;
  }
  .stream-btn {
    white-space: nowrap;
    width: 100%; /* Ensure each button takes full width */
    box-sizing: border-box; /* Include padding and border in the width calculation */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #ddd;
    text-align: center;
    cursor: pointer;
    margin-bottom: 2px;  
    align-items: center;
}
.stream-btn:hover {
  background-color: #f0f0f0;
}
  @media (min-width: 768px) {
    .match-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .stream-list {
        flex-wrap: nowrap;
    }
    .stream-btn {
        flex: 1 1 20%;
        width: 100%;
    }
    .match-features {
      display: flex;
      flex-wrap: wrap;
    }
    .match-feature-card {
      flex: 1 1 calc(33.333% - 20px);
      margin: 10px;
  }
    .main-grid {
      display: flex;
      flex-direction: row;
}
    .video-section {
        flex: 2;
    }
    .streams-panel {
        flex: 1;
        margin-right: 20px;
        margin-left: 20px;
    }
}

/* Style for both devices */
.left-device, .right-device {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  height: 80%; /* Adjust based on your design */
  max-height: 600px; /* Prevent devices from getting too large */
  display: block !important; /* Override any display: none */
}

/* Symmetrical positioning for large screens */
.left-device {
  left: -10%; /* 30% off-screen on the left */
}

.right-device {
  right: -10%; /* 30% off-screen on the right */
}

/* Adjust positioning for mobile screens */
@media (max-width: 768px) {
  .left-device, .right-device {
      height: 60%;
      max-height: 400px;
  }

  .left-device {
      left: -20%; /* Pull further left on mobile */
  }

  .right-device {
      right: -20%; /* Ensure partial visibility on mobile */
  }
}

@media (max-width: 480px) {
  .left-device, .right-device {
      height: 50%;
      max-height: 300px;
  }

  .left-device {
      left: -50%; /* Even further left on smaller screens */
  }

  .right-device {
      right: -50%; /* Symmetrical partial visibility */
  }
}

/* Override inline styles on the nested span and img to ensure proper sizing */
.left-device span, .right-device span {
  max-width: none !important; /* Allow the image to take its natural size */
  width: auto !important;
  height: 100% !important;
}

.left-device img, .right-device img {
  max-width: 100% !important; /* Allow the image to take its natural size */
  width: auto !important;
  height: 100% !important;
  min-width: 0 !important; /* Override inline min-width: 100% */
  min-height: 0 !important; /* Override inline min-height: 100% */
}

.directory-wrapper-1 {
  display: flex;
  justify-content: space-between;
  gap: 20px; /* Adjust the gap as needed */
}

.section-container {
  flex: 1;
}

.section-container h3 {
  margin-bottom: 10px; /* Adjust the margin as needed */
}

.section-container ul {
  list-style: none;
  padding: 0;
}

.section-container ul li {
  margin-bottom: 5px; /* Adjust the margin as needed */
}

.section-container ul li a {
  text-decoration: none;
  color: inherit;
}

.divider {
  border-top: 1px solid #e1e3ef;
  margin: 20px 0;
}

.directory-wrapper-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row; 
  flex-wrap: wrap;
  gap: 20px;
}

.directory-wrapper-2 .logo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 8px;
}

.directory-wrapper-2 .copyright-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.social-media-icons-container ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 10px; /* Adjust the gap as needed */
}

.social-media-icons-container ul li {
  margin: 0;
}

.social-media-icons-container ul li a {
  text-decoration: none;
  color: inherit;
}

.copyright-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.copyright-wrapper .copyright-text {
  text-align: left;
  color: #777;
}

.legal-list {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin: 0;
  flex-direction: row;
}

.legal-list li {
  margin: 0;
}

.legal-list li a {
  text-decoration: none;
  color: inherit;
}
.css-pyzmf3 {
  padding: 48px 32px 24px; /* Add padding to the sides of the footer */
  background-color: rgb(0, 2, 21);
  width: 100%;
  font-family: FT Regola Neue;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-decoration: none;
  text-transform: none; /* Optional: Add a background color to the footer */
}

.directory-wrapper-1 {
  display: flex;
  justify-content: space-between;
  gap: 20px; /* Adjust the gap as needed */
}

.section-container {
  flex: 1;
}

.section-container h3 {
  margin-bottom: 10px; /* Adjust the margin as needed */
  color: white; /* Dark color for headings */
  font-weight: bold; /* Bold font for headings */
}

.section-container ul {
  list-style: none;
  padding: 0;
}

.section-container ul li {
  margin-bottom: 5px; /* Adjust the margin as needed */
}

.section-container ul li a {
  text-decoration: none;
  color: #777; /* Weaker, faint color for links */
  font-weight: normal; /* Normal font weight for links */
}

.divider {
  border-top: 1px solid rgb(51, 53, 68);;
  margin: 20px 0;
}

.social-media-icons-container ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 10px; /* Adjust the gap as needed */
  justify-content: flex-start; /* Align items to the left */
}

.social-media-icons-container ul li {
  margin: 0;
}

.social-media-icons-container ul li a {
  text-decoration: none;
  color: inherit;
}

.copyright-wrapper {
  text-align: left; /* Align text to the left */
  color: #777; /* Weaker, faint color for copyright text */
  margin-top: 10px; /* Add margin to separate from social media icons */
}

.legal-list {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin: 0;
  flex-direction: row; /* Keep horizontal on all screens */
}

.legal-list li {
  margin: 0;
}

.legal-list li a {
  text-decoration: none;
  color: inherit; /* Use same color as sections above */
}

/* Media Query for Mobile Screens */
@media (max-width: 768px) {
  .directory-wrapper-1 {
    flex-direction: column; /* Stack sections vertically */
    align-items: flex-start; /* Align items to the left */
  }

  .section-container {
    width: 100%; /* Make each section take full width */
  }

  .directory-wrapper-2 {
    flex-direction: column;
    align-items: flex-start;
  }

  .directory-wrapper-2 .logo-row {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
  }

  .directory-wrapper-2 .logo-row > * {
    margin-bottom: 10px;
  }

  .directory-wrapper-2 .copyright-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .copyright-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .copyright-wrapper .copyright-text {
    margin-bottom: 10px;
  }

  .legal-list {
    justify-content: flex-start;
    flex-direction: row; /* Keep horizontal even on mobile */
    gap: 10px; /* Smaller gap on mobile */
  }

  .social-media-icons-container,
  .copyright-wrapper,
  .legal-list {
    width: 100%;
  }
}

/* Bookmark and Progress Bar Styles */

/* Progress bar for continue watching */
.progressBar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.progressFill {
  height: 100%;
  background: linear-gradient(90deg, #00f4ff, #0099cc);
  transition: width 0.3s ease;
}

.progressText {
  font-size: 0.8em;
  color: #ccc;
  margin-top: 2px;
  display: block;
}

/* Bookmark badge */
.bookmarkBadge {
  position: absolute;
  top: 8px;
  right: 8px;
  color: white;
  padding: 6px 8px;
  border-radius: 50%;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.bookmarkBadge i {
  display: block;
}

/* Bookmark button styles for content detail pages */
.bookmark-btn {
  background: transparent;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease; 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
}

.bookmark-btn:hover {
  transform: translateY(-2px) scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(0, 244, 255, 0.3));
}

/* Enhanced hover effect for bookmark icon */
.bookmark-btn:hover .bookmark-icon {
  stroke: #da2f68;
  fill: rgba(0, 244, 255, 0.1);
  transition: all 0.3s ease;
}

.bookmark-btn.bookmarked {
  background: transparent;
}

.bookmark-btn.bookmarked:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Hover effects for carousel sections */
.carouselSection:hover .arrow {
  opacity: 1;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
  .arrow {
    display: none !important;
  }
  
  .progressText {
    font-size: 0.7em;
  }
  
  .bookmarkBadge {
    padding: 4px 6px;
    font-size: 10px;
  }
  
  .bookmark-btn {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .bookmark-btn {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 320px) {
  .bookmark-btn {
    width: 35px;
    height: 35px;
  }
}

/* Bookmark Feedback Message Styles */
.bookmark-feedback {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: #333;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  max-width: 90%;
  white-space: nowrap;
}

/* Redirect/Error Feedback Message Styles */
.redirect-feedback {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: #333;
  padding: 16px 28px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  max-width: 90%;
  white-space: nowrap;
}

.redirect-feedback.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-10px);
}

.redirect-feedback.error {
  background: rgba(255, 255, 255, 0.95);
  color: #ef4444;
  border-left: 4px solid #ef4444;
}

.redirect-feedback.warning {
  background: rgba(255, 255, 255, 0.95);
  color: #f59e0b;
  border-left: 4px solid #f59e0b;
}

.redirect-feedback.info {
  background: rgba(255, 255, 255, 0.95);
  color: #3b82f6;
  border-left: 4px solid #3b82f6;
}

.bookmark-feedback.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-10px);
}

.bookmark-feedback.success {
  background: rgba(255, 255, 255, 0.95);
  color: #22c55e;
  border-left: 4px solid #22c55e;
}

.bookmark-feedback.removed {
  background: rgba(255, 255, 255, 0.95);
  color: #ef4444;
  border-left: 4px solid #ef4444;
}

/* Responsive styles for bookmark feedback */
@media (max-width: 768px) {
  .bookmark-feedback {
    bottom: 60px;
    font-size: 13px;
    padding: 10px 20px;
    max-width: 85%;
    border-radius: 20px;
  }
  
  .redirect-feedback {
    bottom: 60px;
    font-size: 13px;
    padding: 12px 24px;
    max-width: 85%;
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .bookmark-feedback {
    bottom: 50px;
    font-size: 12px;
    padding: 8px 16px;
    max-width: 80%;
    border-radius: 18px;
    white-space: normal;
    line-height: 1.3;
  }
  
  .redirect-feedback {
    bottom: 50px;
    font-size: 12px;
    padding: 10px 20px;
    max-width: 80%;
    border-radius: 18px;
    white-space: normal;
    line-height: 1.3;
  }
}

@media (max-width: 320px) {
  .bookmark-feedback {
    bottom: 40px;
    font-size: 11px;
    padding: 6px 12px;
    max-width: 75%;
    border-radius: 15px;
  }
  
  .redirect-feedback {
    bottom: 40px;
    font-size: 11px;
    padding: 8px 16px;
    max-width: 75%;
    border-radius: 15px;
  }
}

/* Animation keyframes for feedback message */
@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
  }
}

@keyframes slideDownFade {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
}

.bookmark-feedback.animate-in {
  animation: slideUpFade 0.3s ease forwards;
}

.bookmark-feedback.animate-out {
  animation: slideDownFade 0.3s ease forwards;
}

/* General hover effects for all movie/series items */
.posterBlock {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.posterBlock:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.posterBlock img {
  transition: filter 0.3s ease;
}

.posterBlock:hover img {
  filter: brightness(1.1);
}

/* Navigation arrows - hide by default, show on carousel hover */
.carouselLeftNav, .carouselRighttNav {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel:hover .carouselLeftNav,
.carousel:hover .carouselRighttNav {
  opacity: 1;
}

/* Continue Watching Professional Overlay */
.continue-watching-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.continue-watching-item:hover .continue-watching-overlay {
  opacity: 1;
}

.continue-watching-overlay .play-button {
  width: 60px;
  height: 60px;
  background: rgba(218, 47, 104, 0.95); /* Your red color */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 15px rgba(218, 47, 104, 0.3);
}

.continue-watching-overlay .play-button:hover {
  transform: scale(1.15);
  background: rgba(218, 47, 104, 1);
  box-shadow: 0 6px 20px rgba(218, 47, 104, 0.5);
}

.continue-watching-overlay .play-button svg {
  margin-left: 2px; /* Slight offset for better visual centering */
}

.continue-watching-overlay .continue-text {
  color: white;
  font-size: 16px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.5px;
}

/* Continue watching progress bar - change to red */
.progressBar .progressFill {
  background: linear-gradient(90deg, #da2f68, #ff4081); /* Your red gradient */
}

/* Enhanced hover effects for better visual feedback */
.carouselItem:hover .posterBlock {
  transform: scale(1.08);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .posterBlock:hover {
    transform: scale(1.03);
  }
  
  .continue-watching-overlay .play-button {
    width: 50px;
    height: 50px;
  }
  
  .continue-watching-overlay .continue-text {
    font-size: 14px;
  }
  
  .carouselItem:hover .posterBlock {
    transform: scale(1.05);
  }
  
  /* Always show arrows on mobile */
  .carouselLeftNav, .carouselRighttNav {
    opacity: 0.7;
  }
}

/* Mobile adjustments for continue watching */
@media (max-width: 768px) {
  .continue-watching-overlay {
    background: rgba(0, 0, 0, 0.7);
  }
  
  .continue-watching-overlay .play-button {
    width: 40px;
    height: 40px;
  }
  
  .continue-watching-overlay .continue-text {
    font-size: 12px;
  }
}


.material-icons-round {
    font-family: 'Material Icons' !important;
    font-weight: normal !important;
    font-style: normal !important;
    font-size: 24px !important;
    line-height: 1 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    display: inline-block !important;
    white-space: nowrap !important;
    word-wrap: normal !important;
    direction: ltr !important;
}

/* Style the overflow menu button to show quality icon */
.shaka-overflow-menu-button .material-icons-round::before {
    content: "high_quality" !important;
}

.shaka-overflow-menu-button .material-icons-round {
    font-size: 20px !important;
}

/* Fix Shaka player container positioning */
.shaka-player-container {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important; /* Remove black background causing dimming */
}

/* Shaka player video element */
.shaka-player-container video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    z-index: 1 !important; /* Lower z-index so UI elements appear above */
    pointer-events: none !important; /* Let touches pass through to controls */
}

/* Ensure Shaka UI controls appear at bottom */
.shaka-player-container .shaka-controls-container {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 15 !important;
    pointer-events: auto !important;
    touch-action: auto !important;
}

/* Ensure all control buttons are interactive */
.shaka-player-container .shaka-controls-button-panel {
    z-index: 15 !important;
    pointer-events: auto !important;
    touch-action: auto !important;
}

.shaka-player-container .shaka-controls-button-panel button {
    pointer-events: auto !important;
    touch-action: auto !important;
}

/* Big play button in center - make sure it's above video */
.shaka-player-container .shaka-play-button-container {
  z-index: 15 !important; /* below bottom controls */
  pointer-events: none !important; /* container should not capture taps */
  touch-action: none !important;
}

.shaka-player-container .shaka-play-button {
    z-index: 15 !important;
  pointer-events: auto !important; /* button remains clickable */
  touch-action: manipulation !important;
}

/* Spinner overlay - make sure it's above video */
.shaka-player-container .shaka-spinner-container {
    z-index: 20 !important;
    pointer-events: none !important;
}

.shaka-player-container .shaka-spinner {
    z-index: 20 !important;
}

/* Scrim (overlay background when controls are visible) */
.shaka-player-container .shaka-scrim-container {
    z-index: 5 !important;
    pointer-events: none !important;
}

/* General UI overlay container */
.shaka-player-container .shaka-overlay-parent {
    z-index: 10 !important;
    pointer-events: none !important;
}

.shaka-player-container .shaka-text-container {
    z-index: 8 !important;
    pointer-events: none !important;
}

/* Mobile specific fixes for Shaka player */
@media (max-width: 768px) {
    .shaka-player-container {
        position: absolute !important; /* Keep absolute positioning on mobile */
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    .shaka-player-container video {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1 !important; /* Keep video below UI elements */
        pointer-events: none !important; /* Let touches pass through to controls */
    }
    
    /* Ensure Shaka controls stay at bottom on mobile */
    .shaka-player-container .shaka-controls-container {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 15 !important;
        pointer-events: auto !important;
        touch-action: auto !important;
    }
    
    .shaka-player-container .shaka-controls-button-panel {
        z-index: 15 !important;
        pointer-events: auto !important;
        touch-action: auto !important;
    }
    
    /* Big play button - ensure it's visible and clickable on mobile */
    .shaka-player-container .shaka-play-button-container {
      z-index: 15 !important;
      pointer-events: none !important; /* do not block bottom controls */
      touch-action: none !important;
    }
    
    .shaka-player-container .shaka-play-button {
      z-index: 15 !important;
      pointer-events: auto !important;
      touch-action: manipulation !important;
    }
    
    /* Spinner - ensure it's visible on mobile */
    .shaka-player-container .shaka-spinner-container {
        z-index: 20 !important;
        pointer-events: none !important;
    }
    
    /* Enable touch events on the play button overlay */
    .shaka-player-container .shaka-overlay-parent {
      z-index: 10 !important;
      pointer-events: none !important; /* overlay should not capture taps */
    }
}

/* Search Bar Styles */
.search-bar-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.search-bar-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.search-bar-wrapper:hover {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(239, 68, 68, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.2);
}

.search-bar-icon {
    width: 20px;
    height: 20px;
    color: #ef4444;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.search-bar-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: rgba(226, 232, 240, 0.6);
    font-size: 1rem;
    cursor: pointer;
    pointer-events: none;
    user-select: none;
}


/* Search Bar Responsive */
@media (max-width: 640px) {
    .search-bar-container {
        margin: 1.5rem auto;
    }

    .search-bar-wrapper {
        padding: 0.6rem 1.2rem;
    }

    .search-bar-input {
        font-size: 0.9rem;
    }

    .search-bar-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .search-bar-wrapper {
        padding: 0.5rem 1rem;
    }

    .search-bar-input {
        font-size: 0.85rem;
    }
}

/* Modal Styles for Search */
.search-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 100;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0.5rem; /* Reduced padding on mobile */
}

@media (min-width: 480px) {
    .search-modal-overlay {
        padding: 1rem;
    }
}

@media (min-width: 640px) {
    .search-modal-overlay {
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .search-modal-overlay {
        padding: 2.5rem;
    }
}

.search-modal-overlay.show {
    display: flex;
}

.search-modal-content {
    background: #000000;
    color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 32rem; /* Slightly smaller on mobile */
    margin: 0 auto;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    max-height: calc(100vh - 1rem);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.search-modal-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

@media (min-width: 480px) {
    .search-modal-content {
        max-width: 36rem;
        max-height: calc(100vh - 2rem);
    }
}

@media (min-width: 640px) {
    .search-modal-content {
        max-width: 40rem;
        max-height: calc(100vh - 4rem);
    }
}

@media (min-width: 1024px) {
    .search-modal-content {
        max-width: 42rem;
    }
}

.search-modal-overlay.show .search-modal-content {
    transform: scale(1);
    opacity: 1;
}

.search-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.75rem; /* Reduced padding on mobile */
    border-bottom: 1px solid #374151;
    flex-shrink: 0;
}

@media (min-width: 480px) {
    .search-modal-header {
        padding-bottom: 1rem;
    }
}

@media (min-width: 640px) {
    .search-modal-header {
        padding-bottom: 1.25rem;
    }
}

.search-modal-title {
    font-size: 1.25rem; /* Smaller on mobile */
    font-weight: 700;
}

@media (min-width: 480px) {
    .search-modal-title {
        font-size: 1.5rem;
    }
}

.search-modal-close {
    color: #9CA3AF;
    transition: color 0.3s;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}

.search-modal-close:hover {
    color: #ffffff;
}

.search-modal-body {
    padding: 0.75rem; /* Reduced padding on mobile */
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (min-width: 480px) {
    .search-modal-body {
        padding: 1rem;
    }
}

@media (min-width: 640px) {
    .search-modal-body {
        padding: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .search-modal-body {
        padding: 2rem;
    }
}

.search-input-wrapper {
    margin-top: 0.75rem; /* Reduced margin on mobile */
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 480px) {
    .search-input-wrapper {
        margin-top: 1rem;
    }
}

.search-input {
    width: 100%;
    background: #1F2937;
    border: 1px solid #374151;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    color: #ffffff;
    font-size: 1rem;
    box-sizing: border-box;
}

.search-input::placeholder {
    color: #6B7280;
}

.search-input:focus {
    outline: none;
    border-color: #cc2346;
}

.search-loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 6rem;
}

.search-loading-spinner.hidden {
    display: none;
}

.search-spinner {
    animation: spin 1s linear infinite;
    border-radius: 9999px;
    height: 2.5rem;
    width: 2.5rem;
    border-top: 2px solid #cc2346;
    border-bottom: 2px solid #cc2346;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.search-results-container {
    margin-top: 0.75rem;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 50vh; /* Reduced height on mobile */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.search-results-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

@media (min-width: 480px) {
    .search-results-container {
        max-height: 55vh;
    }
}

@media (min-width: 640px) {
    .search-results-container {
        max-height: 60vh;
    }
}

@media (min-width: 1024px) {
    .search-results-container {
        max-height: 65vh;
    }
}

.search-results-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}

.no-results-message {
    display: none;
    text-align: center;
    color: #6B7280;
    margin-top: 1rem;
}

.no-results-message.show {
    display: block;
}

/* Flex utilities */
.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

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

.justify-between {
    justify-content: space-between;
}

.flex-col {
    flex-direction: column;
}

.overflow-y-auto {
    overflow-y: auto;
}

/* Text utilities */
.text-center {
    text-align: center;
}

.text-white {
    color: #ffffff;
}

.text-gray-400 {
    color: #9CA3AF;
}

.text-gray-500 {
    color: #6B7280;
}

/* Background utilities */
.bg-black {
    background-color: #000000;
}

.bg-gray-800 {
    background-color: #1F2937;
}

/* Border utilities */
.border-b {
    border-bottom: 1px solid;
}

.border-gray-700 {
    border-color: #374151;
}

/* Spacing utilities */
.pb-4 {
    padding-bottom: 1rem;
}

.mt-4 {
    margin-top: 1rem;
}

.p-4 {
    padding: 1rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.my-8 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Width/Height utilities */
.w-full {
    width: 100%;
}

.h-24 {
    height: 6rem;
}

.max-w-xl {
    max-width: 36rem;
}

/* Border radius */
.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-md {
    border-radius: 0.375rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* Box shadow */
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Font utilities */
.font-bold {
    font-weight: 700;
}

.text-2xl {
    font-size: 1.5rem;
}

/* Position utilities */
.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Z-index utilities */
.z-100 {
    z-index: 100;
}

/* Transform utilities */
.transform {
    transform: scale(0.95);
}

.transition-transform {
    transition: transform 0.3s;
}

.duration-300 {
    transition-duration: 0.3s;
}

.scale-95 {
    transform: scale(0.95);
}

.opacity-0 {
    opacity: 0;
}

/* Hover utilities */
.hover\:text-white:hover {
    color: #ffffff;
}

.transition-colors {
    transition: color 0.3s;
}

/* Focus utilities */
.focus\:outline-none:focus {
    outline: none;
}

.focus\:ring-2:focus {
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.focus\:ring-blue-500:focus {
    --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity));
}

/* Animation utilities */
.animate-spin {
    animation: spin 1s linear infinite;
}

/* Hidden utility */
.hidden {
    display: none;
}

/* Responsive utilities */
@media (min-width: 640px) {
    .sm\:p-8 {
        padding: 2rem;
    }
}

/* Modal Search Result Item Styles */
.modal-search-result-item {
    display: flex;
    align-items: center; /* Center match details vertically with poster */
    gap: 0.75rem; /* Reduced gap for tighter layout */
    padding: 0.75rem 0.75rem 0.375rem 0.75rem; /* Reduced bottom padding */
    border-radius: 0.5rem;
    transition: background-color 0.3s;
    text-decoration: none;
    color: inherit;
    min-width: 0; /* Allow flex items to shrink below their content size */
    flex-wrap: nowrap; /* Prevent wrapping */
    width: 100%; /* Ensure full width */
}

.modal-search-result-item:hover {
    background-color: #1F2937;
}

.modal-search-result-img-container {
    position: relative;
    width: 9rem; /* Increased width for better image fit */
    height: 5rem;
    flex-shrink: 0;
    flex-grow: 0; /* Prevent growing */
}

.modal-search-result-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.25rem;
}

.modal-search-result-live-badge {
    position: absolute;
    top: 0.25rem;
    left: 0.25rem;
    padding: 0.125rem 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    background-color: #DC2626;
    border-radius: 9999px;
}

.modal-search-result-time-badge {
    position: absolute;
    top: 0.25rem;
    left: 0.25rem;
    padding: 0.125rem 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    background-color: rgba(17, 24, 39, 0.75);
    border-radius: 9999px;
}

.modal-search-result-star-icon {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    cursor: pointer;
}

.modal-search-result-details {
    flex: 1;
    overflow: hidden;
    min-width: 0; /* Allow flex items to shrink below their content size */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-left: 0.5rem; /* Add small left padding for better spacing */
}

.modal-search-result-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 0.25rem;
    color: #ffffff;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    line-clamp: 2; /* Standard property */
    text-overflow: ellipsis;
}

.modal-search-result-meta {
    font-size: 0.875rem;
    color: #9CA3AF;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* Limit to 1 line */
    -webkit-box-orient: vertical;
    line-clamp: 1; /* Standard property */
    text-overflow: ellipsis;
    margin: 0;
}

.modal-search-result-channel-badge {
    position: absolute;
    top: 0.25rem;
    left: 0.25rem;
    padding: 0.125rem 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    background-color: #7C3AED; /* Purple color for TV channels */
    border-radius: 9999px;
}

.modal-search-result-subtitle {
    color: #9CA3AF; 
}

.modal-search-result-category {
    color: #9CA3AF;
}

/* Header flex utilities */
.header-logo-link {
    display: flex;
    align-items: center;
}

.search-icon-container {
    cursor: pointer;
}

/* JW Player Error Display */
.jw-error-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
}

.jw-error-message {
    margin-bottom: 30px;
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.error-text {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #cc2346;
}

/* Error Report Section Below Player */
.error-report-section {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.error-report-btn {
    background: linear-gradient(135deg, #cc2346 0%, #aa1e3c 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(204, 35, 70, 0.3);
}

.error-report-btn:hover {
    background: linear-gradient(135deg, #aa1e3c 0%, #991b32 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(204, 35, 70, 0.4);
}

.error-report-btn svg {
    flex-shrink: 0;
}

/* Mobile Responsive for Error Display */
@media (max-width: 768px) {
    .error-report-section {
        margin-top: 10px;
        padding: 8px;
    }

    .error-report-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Report Stream Issue Popup */
.report-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.report-popup {
    background: #000000;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    animation: popupFadeIn 0.3s ease;
    border: 2px solid #cc2346;
}

.report-popup::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.report-popup-header {
    background: linear-gradient(to right, #dc2626, #991b1b);
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.report-popup-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.report-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.report-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.report-popup-body {
    padding: 24px;
}

.report-popup-body p {
    margin: 0 0 20px 0;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.5;
}

.report-options {
    margin-bottom: 24px;
}

.report-option {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
    color: #ffffff;
    user-select: none;
}

.report-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #333333;
    border: 2px solid #666666;
    border-radius: 4px;
    transition: all 0.2s;
}

.report-option:hover .checkmark {
    border-color: #cc2346;
}

.report-option input:checked ~ .checkmark {
    background-color: #cc2346;
    border-color: #cc2346;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.report-option input:checked ~ .checkmark:after {
    display: block;
}

.report-technical {
    margin-bottom: 24px;
    padding: 16px;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
}

.report-technical small {
    display: block;
    margin-top: 8px;
    color: #7f1d1d;
    font-weight: 500;
}

.report-additional {
    margin-bottom: 24px;
}

.report-additional label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #ffffff;
}

.report-additional textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 2px solid #666666;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.2s;
    box-sizing: border-box;
    background-color: #333333;
    color: #ffffff;
}

.report-additional textarea:focus {
    outline: none;
    border-color: #cc2346;
    box-shadow: 0 0 0 3px rgba(204, 35, 70, 0.1);
}

.report-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.report-cancel-btn,
.report-submit-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.report-cancel-btn {
    background-color: #333333;
    color: #ffffff;
    border: 2px solid #666666;
}

.report-cancel-btn:hover {
    background-color: #555555;
    border-color: #888888;
}

.report-submit-btn {
    background: #dc2626;
    color: white;
}

.report-submit-btn:hover {
    background: linear-gradient(135deg, #aa1e3c 0%, #991b32 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(204, 35, 70, 0.3);
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Blocked Reporter Popup Styles */
.blocked-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s, transform 0.2s;
}

.blocked-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.blocked-message {
    margin: 0 0 24px 0;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}

.blocked-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blocked-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex: 1;
    font-size: 1rem;
}

.blocked-button i {
    font-size: 1.2rem;
}

.blocked-button-discord {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
}

.blocked-button-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(88, 101, 242, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.blocked-button-telegram {
    background: linear-gradient(135deg, #229ED9 0%, #0088cc 100%);
}

.blocked-button-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 158, 217, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .report-popup {
        width: 95%;
        margin: 20px;
        max-height: calc(100vh - 40px);
    }

    .report-popup-header {
        padding: 16px;
    }

    .report-popup-header h3 {
        font-size: 1.25rem;
    }

    .report-popup-body {
        padding: 20px;
    }

    .report-buttons {
        flex-direction: column;
    }

    .report-cancel-btn,
    .report-submit-btn {
        width: 100%;
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .report-popup-header {
        padding: 12px 16px;
    }

    .report-popup-header h3 {
        font-size: 1.1rem;
    }

    .report-popup-body {
        padding: 16px;
    }

    .report-option {
        font-size: 0.95rem;
        padding-left: 30px;
    }

    .checkmark {
        height: 18px;
        width: 18px;
    }

    .checkmark:after {
        left: 5px;
        top: 1px;
        width: 5px;
        height: 8px;
    }
}

 /* Shaka Player Flag Button Styling */
.shaka-flag-button {
    color: white;
    font-size: 24px;
    padding: 0;
    margin: 0 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.shaka-flag-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* FAQ Container - Add equal spacing top and bottom */
.css-13j7g00[data-testid="faq-container"] {
    padding-bottom: 40px;
}

/* FAQ Container - Centered and 60% width */
.css-13j7g00[data-testid="faq-container"] .questionnaire {
    max-width: 40%;
    margin-top: -40px;
}

/* FAQ Dropdown Styles - Transparent with white text */
.faq-dropdown {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 0;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: transparent;
    cursor: pointer;
    transition: opacity 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-header:hover {
    opacity: 0.8;
}

.faq-question {
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    flex: 1;
    padding-right: 15px;
}

.faq-arrow {
    font-size: 14px;
    color: #fff;
    transition: transform 0.3s ease;
    margin-left: auto;
    flex-shrink: 0;
    min-width: 20px;
    text-align: right;
}

.faq-dropdown.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: transparent;
}

.faq-dropdown.active .faq-content {
    max-height: 500px;
}

.faq-answer {
    padding: 0 0 20px 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 15px;
}

.faq-answer strong {
    color: #fff;
}

/* Responsive - Full width on mobile */
@media (max-width: 768px) {
    .css-13j7g00[data-testid="faq-container"] .questionnaire {
        max-width: 90%;
    }
}

/* Iframe Modal Styles */
.iframe-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.iframe-modal-overlay.active {
    display: flex;
}

.iframe-modal-content {
    background-color: #1f2937;
    border-radius: 8px;
    max-width: 768px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.iframe-modal-header {
    background: linear-gradient(to right, #dc2626, #991b1b);
    padding: 16px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
    margin-bottom: 8px;
}

.iframe-modal-header h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    margin: 0;
}

@media (max-width: 768px) {
    .iframe-modal-header h3 {
        font-size: 0.875rem;
    }
}

.iframe-modal-header p {
    font-size: 0.875rem;
    color: #fecaca;
    margin: 4px 0 0 0;
}

.iframe-modal-close {
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.iframe-modal-close:hover {
    color: #fecaca;
}

.iframe-modal-close svg {
    width: 24px;
    height: 24px;
}

.iframe-modal-body {
    padding: 24px;
}

.iframe-code-section {
    margin-bottom: 16px;
}

.iframe-code-section:last-child {
    margin-bottom: 0;
}

.iframe-code-label {
    color: #d1d5db;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.iframe-code-container {
    background-color: #000;
    border-radius: 6px;
    border: 1px solid #374151;
    padding: 16px;
    max-height: 200px;
    overflow-y: auto;
}

.iframe-code-container.scroll-container {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.iframe-code-container.scroll-container::-webkit-scrollbar {
    display: none;
}

.iframe-code-container pre {
    font-size: 0.875rem;
    color: #a78bfa;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-all;
}

.iframe-code-container.simple-code pre {
    color: #4ade80;
    white-space: nowrap;
}

.iframe-copy-btn {
    width: 100%;
    margin-top: 12px;
    background: #dc2626;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 200ms;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.iframe-copy-btn:hover {
    background: #b91c1c;
}

.iframe-copy-btn.secondary {
    background: #1f2937;
    border: 1px solid #374151;
}

.iframe-copy-btn.secondary:hover {
    background: #374151;
    border-color: #4b5563;
}

.iframe-copy-btn svg {
    width: 16px;
    height: 16px;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 16px;
    right: 16px;
    background-color: #dc2626;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(150%);
    transition: transform 300ms;
    z-index: 50;
}

.toast-notification.active {
    transform: translateY(0);
}

.toast-notification .toast-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast-notification svg {
    width: 20px;
    height: 20px;
}

/* Copy Iframe Button */
.copy-iframe-btn {
    width: 100%;
    background: rgba(52, 211, 235, 0.2);
    border: 1px solid rgba(52, 211, 235, 0.3);
    color: #35b8e0;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 200ms linear, border-color 200ms linear, box-shadow 0.25s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    
    margin-top: 16px;
    margin-bottom: 8px;
    outline: none;
}

.copy-iframe-btn:hover {
    background: rgba(52, 211, 235, 0.4);
    border-color: rgba(52, 211, 235, 0.5);
}

.copy-iframe-btn svg {
    width: 16px;
    height: 16px;
}

