/*Added by lukan87*/



    /* Content table styling */
.content-table {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 1em;
    min-width: 600px; /* Increased the width for better spacing */
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 15px 15px 0 0;
}

.content-table thead tr {
    background-color: rgb(40, 40, 40);
    color: #ffffff;
    text-align: left;
    font-weight: bold;
}

.content-table th,
.content-table td {
    vertical-align: middle;
    padding: 12px 15px;
}

.content-table tbody tr {
    border-bottom: 0.1px solid #dddddd;
}

.content-table tbody tr:nth-of-type(even) {
    background-color: #2e2c2c;
}

.content-table tbody tr:last-of-type {
    border-bottom: 1px solid #2F4F4F;
}

.content-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}

.content-table tbody:nth-child(odd) {
    background-color: rgb(40, 40, 40);
}

/* Poster image styling */
.poster-image {
    width: 100px; /* Fixed width for poster */
    height: 150px; /* Fixed height for poster */
    object-fit: cover; /* Ensures the image scales properly */
    border-radius: 5px; /* No rounding of the image */
}

    /*Content table*/


    .movie-poster {
      z-index: 2;
      width: 27%;
    }

    .movie-poster img {
      width: 100%;
      min-width: 100%;
      border-radius: 15px;
    }

    .meta-info {
      padding-left: 1%;
      width: 73%;
      position: relative;
      overflow: hidden;
    }

    .movie-wrapper {
      padding: 1% 1% 0;
      min-height: 200px;
      position: relative;
      overflow: hidden;
      display: flex;


    }

    .movie-wrapper .badge-user {
      margin-left: 0;
      font-size: 14px;
      background-color: rgba(39, 38, 52, 0.6);
      border-color: rgba(182, 218, 242, 0.3);

    }

    .tagss {
      color: rgba(255, 255, 255, 0.3);
      position: absolute;
      right: 2%;
      top: 25px;
      font-size: 50px;
      font-weight: 700;
      z-index: 2;
    }

    .movie-right {
      position: absolute;
      right: 2%;
      top: 125px;
      z-index: 3;
      max-width: 230px;
      display: flex;
      flex-direction: column;
      align-items: flex-end;

    }

    .movie-overlay {
      z-index: 1;
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      border-top-left-radius: 15px;
      border-top-right-radius: 15px;
      background: rgba(28, 31, 36, 0.75);
      transition: background-color 0.6s;
    }

    .movie-top, .movie-bottom {
      position: absolute;
      z-index: 2;
      left: 3%;
    }

    .movie-top {
      top: 3%;
    }

    .movie-bottom {
      padding-top: 0;
      bottom: 3%;
      width: 95%;
    }

    @media (max-width: 767px) {
        .hidden-mobile {
          display: none;
        }
      }

      .w3-circle{border-radius:50%}
      /* .fade {
         opacity: 0;
         -webkit-transition: opacity 2.25s linear;
         -moz-transition: opacity 2.25s linear;
         -ms-transition: opacity 2.25s linear;
          -o-transition: opacity 2.25s linear;
          transition: opacity 2.25s linear;
   } */

   hr {
    margin: 1rem 0;
    color: inherit;
    background-color: currentColor;
    border: 0;
    opacity: 0.25;
  }

  hr:not([size]) {
    height: 1px;
  }

  a {

    text-decoration: none !important;

    }
    a:hover,
    a:focus,
    a:active {
    background-size: 100% 0.1em;
    background-position-x: 0%;
    }


    td.imdb-photo{width:175px;height:250px;border:0;text-align:center}
  img.imdb-photo{
      width:190px;
      border: 2px solid black;
      border-radius: 10px;
      opacity: 0.6;
      transition: 0.20s ease-in-out;
  }
  img.imdb-photo:hover{
      opacity: 1;
  }

  td.detailsphoto
  {
      max-width: 550px;height:250px;border:0;text-align:center
  }
  img.detailsphoto{
      max-width: 550px;
      border: 1px solid black;
      border-radius: 10px;
      opacity: 0.6;
      transition: 0.20s ease-in-out;
  }
  img.detailsphoto:hover{
      opacity: 2;
  }

  .videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
  }
  .videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .movie-backdrop {
      z-index: 0;
      width: 100%;
      padding-top: 56.25%;
      background: no-repeat;
      background-size: cover;
      border-radius: 15px;
      position: relative;
  }


  .l1 {
      font-size: 1.9rem;
      background: linear-gradient(to left, rgb(112, 101, 214),rgb(230, 106, 213));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      display:inline;
      }

      .l2 {
          /*font-size: 2rem;*/
          background: linear-gradient(to left, rgb(112, 101, 214),rgb(230, 106, 213));
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          display:inline;
          }

        .card-blur{background-color:rgba(44,44,48,.9)!important}


                /* Tooltip */
                .tooltip-inner {
                    max-width: 200px;
                    background-color: #333;
                    color: #fff;
                }

                .tooltip.bs-tooltip-top .arrow::before,
                .tooltip.bs-tooltip-bottom .arrow::before {
                    border-top-color: #333 !important;
                }

                .tooltip.bs-tooltip-start .arrow::before,
                .tooltip.bs-tooltip-end .arrow::before {
                    border-right-color: #333 !important;
                }




blockquote.quote {
    background-color: #797878;
    border-left: 5px solid #ccc;
    padding: 10px 15px;
    margin: 10px 0;
    font-style: italic;
    font-weight: bold;
    font-size: 1em;
    color: #dad8d8;
}

blockquote.quote p {
    margin: 0;
}




/*Movie Details Page*/ 

/* =====================================
   Movie Header
   ===================================== */
.movie-header-container {
    position: relative;
    margin-bottom: 30px;
    padding-top: 60px;
}

.movie-header-card {
    backdrop-filter: blur(1px) saturate(50%);
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 15px 30px rgba(0,0,0,0.9);
    border: 4px solid rgba(255,255,255,0.08);
}

.movie-header-content {
    padding: 25px;
}

/* Media Type Badge */
.media-type-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #6e48aa, #9d50bb);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* =====================================
   Poster & Actions
   ===================================== */
.poster-column {
    margin-bottom: 20px;
}

.poster-wrapper {
    position: relative;
    margin-top: -75px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    transition: transform 0.3s ease;
}

.movie-poster {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.poster-wrapper:hover {
    transform: translateY(-5px);
}

.poster-wrapper:hover .movie-poster {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.poster-wrapper:hover::after {
    transform: translate(-50%, -50%);
    opacity: 0.8;
}

/* =====================================
   Info Column
   ===================================== */
.info-column {
    color: #fff;
}

/* Title Section */
.title-section {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.movie-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0,0,0,0.7);
}

.release-year {
    font-size: 1.5rem;
    color: #aaa;
    font-weight: 400;
}

.tagline {
    font-size: 1.1rem;
    color: #ddd;
    font-style: italic;
}

/* Genres */
.genres-section {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.genre-tag {
    display: inline-block;
    background: rgba(110,72,170,0.3);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(110,72,170,0.5);
    transition: all 0.3s ease;
}

.genre-tag:hover {
    background: rgba(110,72,170,0.5);
    transform: translateY(-2px);
}

/* Ratings */
.ratings-section {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
}
.rating-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}


.g-rating { background: linear-gradient(135deg,#4CAF50,#66BB6A);}
.pg-rating { background: linear-gradient(135deg,#8BC34A,#CDDC39); color:#000;}
.pg13-rating { background: linear-gradient(135deg,#FFC107,#FFB300); color:#000;}
.r-rating { background: linear-gradient(135deg,#FF5722,#E64A19);}
.nc17-rating { background: linear-gradient(135deg,#D32F2F,#B71C1C);}
.unrated-rating { background: linear-gradient(135deg,#757575,#9E9E9E);}
.tmdb-rating { background: linear-gradient(135deg,#01b4e4,#1a73e8);}
.imdb-rating { background: linear-gradient(135deg,#f5c518,#e2b616); color:#000;}
.rt-rating { background: linear-gradient(135deg,#fa320a,#e00909);}

.rating-value { font-size: 1.3rem; line-height:1; }
.rating-source { font-size:0.7rem; opacity:0.9; }

/* Overview */
.overview-section { margin-bottom:20px; }
.overview-section p { font-size:1rem; line-height:1.6; color:#ddd; }

/* Quick Facts */
.quick-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.fact-item { display:flex; align-items:center; }
.fact-label { font-weight:600; color:#aaa; margin-right:5px; }
.fact-value { color:#fff; }

/* Trailer */
.trailer-section { margin-top:15px; }
.trailer-link {
    display: inline-flex;
    align-items: center;
    gap:8px;
    color:#fff;
    font-weight:600;
    padding:8px 16px;
    background: rgba(80,77,77,0.7);
    border-radius:8px;
    transition: all 0.3s ease;
}
.trailer-link:hover {
    background: rgba(48,46,46,0.9);
    transform: translateY(-2px);
}
.no-trailer { color:#aaa; font-style:italic; }

/* =====================================
   Cast Section
   ===================================== */
.actor-image { width:130px; height:130px; object-fit:cover; border-radius:50%; }
.select { gap:3px 20px; border-radius:16px; padding:6px 26px 6px 6px; overflow:hidden; flex:0 0 auto; }
.select:hover { backdrop-filter: brightness(130%) blur(3px); }

.cast-row {
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    gap:50px;
    padding:10px 0;
    -webkit-overflow-scrolling:touch;
}

.cast-row::-webkit-scrollbar { height:6px; }
.cast-row::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.3); border-radius:3px; }

@media (min-width:1700px){
    .cast-row { flex-wrap:wrap; justify-content:center; overflow-x:visible; }
    .select { width:auto; }
}

/* =====================================
   Responsive
   ===================================== */
@media(max-width:992px){
    .movie-title{ font-size:1.8rem; }
    .release-year{ font-size:1.2rem; }
}

@media(max-width:768px){
    .movie-header-content{ padding:15px; }
    .movie-title{ font-size:1.6rem; }
    .rating-value{ font-size:1.1rem; }
}

@media(max-width:576px){
    .movie-title{ font-size:1.4rem; }
    .poster-actions{ opacity:1; padding:10px; }
    .action-btn{ width:35px; height:35px; font-size:1rem; }
}

/* =====================================
   Similar Movies
   ===================================== */
.similar-section { position:relative; }
.similar-row {
    display:flex;
    gap:20px;
    overflow-x:auto;
    padding:10px 5px 20px;
    -webkit-overflow-scrolling:touch;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.similar-row::-webkit-scrollbar{ height:6px; }
.similar-row::-webkit-scrollbar-thumb{ background: rgba(255,255,255,.2); border-radius:10px; }

.similar-card {
    flex:0 0 160px;
    border-radius:14px;
    overflow:hidden;
    text-decoration:none;
    box-shadow: 0 12px 30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.05);
    transition: transform .35s ease, box-shadow .35s ease;
}
.similar-card img{ width:100%; height:240px; object-fit:cover; }
.similar-card:hover { transform: translateY(-6px) scale(1.04); box-shadow:0 20px 50px rgba(0,0,0,.8),0 0 25px rgba(110,72,170,.35); }
.similar-overlay { position:absolute; inset:0; display:flex; flex-direction:column; justify-content:flex-end; padding:12px; background: linear-gradient(to top, rgba(0,0,0,.85), transparent 60%); }
.similar-title{ font-size:.9rem; font-weight:700; color:#fff; line-height:1.2; }
.similar-rating{ font-size:.75rem; color:#f5c518; margin-top:4px; }
@media(min-width:1600px){ .similar-row{ flex-wrap:wrap; justify-content:center; overflow-x:visible; } }



.bbcode-code {
    background: #0d1117;
    color: #e6edf3;
    padding: 12px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.9rem;
}

.bbcode-quote {
    border-left: 4px solid #3fb950;
    padding: 10px 15px;
    margin: 10px 0;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    font-style: italic;
}


.glass {
    background: rgba(36, 36, 36, 0.759);
    backdrop-filter: blur(5px);
    border-radius: 14px;
    overflow: visible;
    isolation: isolate;
    border: 1px solid rgba(255,255,255,0.08);
}




/* Pagination */
.pagination {
    gap: 6px;
}

.page-link {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 10px;
}

.page-link:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    border: none;
    color: #fff;
}

.page-item.disabled .page-link {
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.4);
}

/* Pagination */



/* ===============================
   ELITE BREADCRUMB
================================*/

.elite-breadcrumb{

    display:flex;
    align-items:center;
    flex-wrap:wrap;

    gap:8px;

    padding:10px 14px;

    background:#161b22;

    border:1px solid rgba(255,255,255,0.06);

    border-radius:10px;

    font-size:0.9rem;

    box-shadow:0 8px 20px rgba(0,0,0,0.45);

}

.breadcrumb-item{

    display:flex;
    align-items:center;

    gap:6px;

    text-decoration:none;

    color:#8b949e;

    transition:0.2s ease;

}

.breadcrumb-item:hover{

    color:#58a6ff;

    transform:translateY(-1px);

}

.breadcrumb-separator{

    color:#6e7681;

    font-size:0.75rem;

}

.breadcrumb-current{

    display:flex;
    align-items:center;

    gap:6px;

    color:#e6edf3;

    font-weight:600;

}


/* Mobile */

@media (max-width:768px){

.elite-breadcrumb{

    font-size:0.85rem;

    padding:8px 10px;

}

}