@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');


::selection{
  background-color: var(--citrine);
  color:  var(--darkest);
}

::-webkit-scrollbar {
  width: 10px;
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: white;
  border-radius: 4px;
}

::-webkit-scrollbar-track-piece
{
    background-color: transparent;
    -webkit-border-radius: 6px;
}


:root {


  --rich-black-fogra-29: #11141d;
  --rich-black-fogra-39: #0a0f0f;
  --raisin-black: #21232b;
  --eerie-black: #171d21;
  --light-gray: #cecaca;
  --gunmetal-1: #2e303e;
  --gunmetal-2: #242c38;
  --gainsboro: #e3dede;
  --citrine: #00b7ff;
  --xiketic: #1d1a28;
  --gray-x: #bdbdbd;
  --white: #f5f5f5;
  --black: #000000;
  --jet: #333333;
  --darkest:  #090909;

  /**
   * typography
   */

  --ff-poppins: 'Poppins', sans-serif;
  --ff-montserrat: 'Montserrat', sans-serif;
  --ff-dm-sans: 'DM Sans', sans-serif;

  --fs-1: 36px;
  --fs-2: 32px;
  --fs-3: 30px;
  --fs-4: 24px;
  --fs-5: 20px;
  --fs-6: 18px;
  --fs-7: 16px;
  --fs-8: 15px;
  --fs-9: 14px;
  --fs-10: 13px;
  --fs-11: 12px;
  --fs-12: 11px;

  --fw-500: 500;
  --fw-700: 700;

  /**
   * transition
   */

  --transition-1: 0.15s ease;
  --transition-2: 0.25s ease-in;
  --transition-3: 0.6s ease-in-out;

  /**
   * spacing
   */

  --section-padding: 100px;

}





/*-----------------------------------*\
 * #RESET
\*-----------------------------------*/

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li { list-style: none; }

a { text-decoration: none; }

a,
img,
span,
input,
button,
ion-icon { display: block; }

input {
  font: inherit;
  width: 100%;
  border: none;
}

select,
button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

html {
  font-family: var(--ff-poppins);
  scroll-behavior: smooth;
  overflow: overlay;
}

body { background: #111111; }

body.active { overflow: hidden; }





/*-----------------------------------*\
 * #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 15px; }

/**
 * TITLES & SUBTITLES
 */

.h1,
.h2,
.h3 {
  color: var(--white);
  line-height: 1.2;
}

.h1 { font-size: var(--fs-1); }

.h2 { font-size: var(--fs-2); }

.h3 { font-size: var(--fs-6); }

.section-subtitle {
  color: var(--citrine);
  font-size: var(--fs-11);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-align: center;
}


.section-title { text-align: center; }

/**
 * BADGE
 */

.badge {
  color: var(--white);
  font-size: var(--fs-12);
  font-weight: var(--fw-700);
  border: 2px solid transparent;
  padding: 2px 10px;
}

.badge-fill {
  background: var(--white);
  color: var(--raisin-black);
}

.badge-outline { border-color: var(--white); }

/**
 * MOVIE META
 */

.meta-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 15px 25px;
  margin-bottom: 50px;
}

.badge-wrapper,
.ganre-wrapper,
.date-time {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
}

.ganre-wrapper > a {
  color: var(--gainsboro);
  font-size: var(--fs-9);
  font-weight: var(--fw-500);
  transition: var(--transition-1);
}

.ganre-wrapper > a:is(:hover, :focus) { color: var(--citrine); }

.date-time { gap: 15px; }

.date-time > div {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gainsboro);
  font-size: var(--fs-9);
  font-weight: var(--fw-500);
}

.date-time ion-icon {
  --ionicon-stroke-width: 50px;
  color: var(--citrine);
}

/**
 * BUTTONS
 */

.btn {
  color: var(--white);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border: 2px solid var(--citrine);
  border-radius: 50px;
  transition: var(--transition-1);
}

.btn > ion-icon { font-size: 18px; }

.btn-primary { background: var(--rich-black-fogra-29); }

.btn-primary:is(:hover, :focus) {
  background: var(--citrine);
  color: var(--xiketic);
}

.btn-secondary { background: var(--rich-black-fogra-29); }

.btn-secondary:is(:hover, :focus) {
  background: var(--citrine);
  color: var(--xiketic);
}

/**
 * MOVIE CARD
 */

.movies-list {
  display: grid;
  gap: 50px;
}

.shows-list {
  display: grid;
  gap: 50px;
}

.movie-card {
  height: 100%;
  display: flex;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.movie-card .card-banner {
  position: relative;
  background: var(--gunmetal-1);
  border: 2px solid rgba(0, 0, 0, 0.007);
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
  transition: var(--transition-1);
}

/* Media Status Labels - More Specific Selectors */
.movie-card .watched-status,
.movie-card .planned-status,
.trending-card .watched-status,
.trending-card .planned-status {
  position: absolute;
  right: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  pointer-events: none;
  font-family: var(--ff-poppins);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.movie-card .watched-status,
.trending-card .watched-status {
  background-color: rgba(0, 183, 255, 0.95);
  color: var(--rich-black-fogra-29);
  top: 10px;
}

.movie-card .planned-status,
.trending-card .planned-status {
  background-color: rgba(255, 193, 7, 0.95);
  color: var(--rich-black-fogra-29);
  top: 10px;
  right: 120px; /* Position the planned status to the left of watched status */
}

/* For cards that have both statuses */
.movie-card.has-both-status .watched-status {
  right: 10px;
}

.movie-card.has-both-status .planned-status {
  right: 120px;
}

.movie-card {
  position: relative;
  overflow: hidden;
}

.trending-card {
  position: relative;
  overflow: visible;
}

.movie-card .card-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  transition: var(--transition-1);
}

.movie-card .card-banner:hover { box-shadow: 0 1px 2px hsla(0, 0%, 0%, 0.5); }

.movie-card .card-banner:hover::after { background: hsla(0, 0%, 100%, 0.05); }

.movie-card .card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.movie-card .title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}

.movie-card .card-title {
  color: var(--white);
  font-size: var(--fs-7);
  transition: var(--transition-1);
}

.movie-card .card-title:is(:hover, :focus) { color: var(--citrine); }

.movie-card .title-wrapper time {
  color: var(--citrine);
  font-size: var(--fs-9);
  font-weight: var(--fw-500);
}

.movie-card .card-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
}

.movie-card .badge { color: var(--citrine); }

.movie-card .duration { margin-left: auto; }

.movie-card :is(.duration, .rating) {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gainsboro);
  font-size: var(--fs-11);
  font-weight: var(--fw-500);
}

.movie-card :is(.duration, .rating) ion-icon {
  font-size: 13px;
  --ionicon-stroke-width: 50px;
  color: var(--citrine);
}

/**
 * CUSTOM SLIDER & SCROLLBAR
 */

.movies-list.has-scrollbar {
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: inline mandatory;
  padding-bottom: 25px;
}

.shows-list.has-scrollbar {
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: inline mandatory;
  padding-bottom: 25px;
}

.has-scrollbar::-webkit-scrollbar { height: 8px; }

.has-scrollbar::-webkit-scrollbar-track {
  background: transparent;
  box-shadow: 0 0 0 2px var(--citrine);
  border-radius: 10px;
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background: var(--gainsboro);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 var(--black),
              inset 0 -1px 0 var(--black);
}





/*-----------------------------------*\
 * #HEADER
\*-----------------------------------*/

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #16161a60;
  padding-block: 10px;
  backdrop-filter: blur(3px) saturate(0%);
  -webkit-backdrop-filter: blur(3px) saturate(0%);
  transition: var(--transition-3);
  z-index: 4;
}

.header.active {
  top: -100px;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-actions { display: none; }

.menu-open-btn {
  color: var(--white);
  font-size: 40px;
}

.navbar {
  position: fixed;
  top: 0;
  right: -300px;
  background: var(--eerie-black);
  width: 100%;
  max-width: 300px;
  height: 100%;
  box-shadow: -1px 0 3px hsl(0, 0%, 0%, 0.2);
  transition: 0.15s ease-in;
  visibility: hidden;
  z-index: 3;
}

.navbar.active {
  right: 0;
  visibility: visible;
  transition: 0.25s ease-out;
}

.navbar-top {
  padding: 30px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--eerie-black);
}

.menu-close-btn {
  color: var(--white);
  font-size: 25px;
  padding: 5px;
}

.menu-close-btn ion-icon { --ionicon-stroke-width: 80px; }

.navbar-list {
  border-top: 1px solid hsla(0, 0%, 100%, 0.1);
  margin-bottom: 30px;
  background: var(--eerie-black)
}

.navbar-link {
  color: var(--white);
  font-size: var(--fs-8);
  font-weight: var(--fw-500);
  padding: 10px 25px;
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.1);
  transition: var(--transition-1);
}

.navbar-link:is(:hover, :focus) { color: var(--citrine);  fill: var(--citrine); }

.navbar-social-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background: var(--eerie-black);
}

.navbar-social-link {
  font-size: 20px;
  color: var(--white);
  transition: var(--transition-1);
}

.navbar-social-link:is(:hover, :focus) { color: var(--citrine); }

.overlay {
  position: fixed;
  inset: 0;
  background: hsla(204, 18%, 11%, 0.8);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: var(--transition-2);
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}





/*-----------------------------------*\
 * #HERO
\*-----------------------------------*/

.hero {
  background-size: cover, cover; /* set size for both images */
  min-height: 750px;
  height: 100vh;
  max-height: 1000px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-block: var(--section-padding);
}

#spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #333;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
#content {
  display: none;
}





.hero-content { margin-top: 60px; }

.hero-title { margin-bottom: 30px; }

.hero-title > strong { color: var(--citrine); }





/*-----------------------------------*\
 * #UPCOMING
\*-----------------------------------*/

.upcoming {
  background:/* primary image */ linear-gradient(to right, #111111, #111111) no-repeat center top;
  background-size: cover, cover;
  background-position: center;
  padding-block: var(--section-padding);
}

.upcoming .flex-wrapper { margin-bottom: 50px; }

.upcoming .section-title { margin-bottom: 30px; }

.filter-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.upcoming .filter-btn {
  color: var(--white);
  background: var(--raisin-black);
  font-size: var(--fs-11);
  font-weight: var(--fw-500);
  border: 2px solid var(--gunmetal-1);
  padding: 12px 26px;
  border-radius: 50px;
}

.upcoming .filter-btn:focus { border-color: var(--citrine); }

.upcoming .movies-list > li {
  min-width: 100%;
  scroll-snap-align: start;
}

.upcoming .shows-list > li {
  min-width: 100%;
  scroll-snap-align: start;
}






/*-----------------------------------*\
 * #SERVICE
\*-----------------------------------*/

.service {
  background: 
    url(../images/about.png) no-repeat center center, /* primary image */
    linear-gradient(to right, #111111, #111111) no-repeat center top; /* secondary image */
  background-size: cover;
  background-position: center;
  padding-block: var(--section-padding);
  border-top: 2px white solid;
  border-bottom: 2px white solid;;
}

.service-banner {
  position: relative;
  margin-bottom: 50px;
  max-width: max-content;
}

.service-banner-img{
  border: 25px solid #00b7ff;
  box-shadow: #00b7ff 0px 0px 20px 1px;
}

.service-banner img { width: 100%; }

.service-btn {
  position: absolute;
  bottom: 0;
  right: 86px;
  background: var(--citrine);
  color: var(--rich-black-fogra-29);
  font-size: var(--fs-11);
  text-transform: uppercase;
  font-weight: var(--fw-500);
  letter-spacing: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
  transform: rotate(0.25turn);
  transform-origin: bottom right;
  padding: 28px 35px;
  border-radius: 6px;
}

.service-btn ion-icon {
  font-size: 30px;
  transform: rotate(-0.25turn);
}

.service-subtitle {
  position: relative;
  color: var(--gainsboro);
  font-size: var(--fs-11);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-left: 50px;
  margin-bottom: 10px;
}

.service-subtitle::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--citrine);
}

.service-title { margin-bottom: 20px; }

.service-text,
.service-card .card-text {
  color: var(--gray-x);
  font-size: var(--fs-9);
  font-weight: var(--fw-500);
  line-height: 1.8;
}

.service-text { margin-bottom: 40px; }

.service-list > li:first-child {
  padding-bottom: 20px;
  border-bottom: 1px dashed hsla(0, 0%, 100%, 0.1);
  margin-bottom: 30px;
}

.service-card .card-icon {
  color: var(--white);
  width: 85px;
  height: 85px;
  display: grid;
  place-items: center;
  font-size: 40px;
  border-radius: 50%;
  outline: 1px dashed var(--citrine);
  outline-offset: 5px;
  margin: 5px;
  margin-bottom: 20px;
  transition: var(--transition-2);
}

.service-card:hover .card-icon { background: var(--citrine); }

.service-card .card-title { margin-bottom: 10px; }





/*-----------------------------------*\
 * #TOP RATED
\*-----------------------------------*/

.top-rated {
  background: url("../images/bg.png") no-repeat;
  background-size: cover;
  background-position: center;
  padding-block: var(--section-padding);
}

.top-rated .section-title { margin-bottom: 50px; }

.top-rated .filter-list {
  gap: 15px;
  margin-bottom: 50px;
}

.top-rated .filter-btn {
  position: relative;
  background: var(--rich-black-fogra-39);
  color: var(--light-gray);
  font-size: var(--fs-10);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  padding: 17px 25px;
  border-radius: 4px;
  box-shadow: inset 0 3px 7px hsla(0, 0%, 0%, 0.8);
}

.top-rated .filter-btn:focus {
  color: var(--citrine);
  text-shadow: 0 3px 25px hsla(57, 97%, 45%, 0.5);
}

.top-rated .filter-btn:focus::before,
.top-rated .filter-btn:focus::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--citrine);
  width: 2px;
  height: 15px;
}

.top-rated .filter-btn:focus::before { left: 0; }

.top-rated .filter-btn:focus::after { right: 0; }





/*-----------------------------------*\
 * #TV SEREIS
\*-----------------------------------*/

.trending {
  background-size: cover;
  background-position: center;
  padding-block: var(--section-padding);
}

.trending .section-title { margin-bottom: 50px; }

.tv-series {
  background-size: cover;
  background-position: center;
  padding-block: var(--section-padding);
}

.tv-series .section-title { margin-bottom: 50px; }



/*-----------------------------------*\
 * #FOOTER
\*-----------------------------------*/

.footer-top {
  background: url("../images/footer-bg.png") no-repeat;
  border-bottom: 4px white solid;
  background-size: cover;
  background-position: center;
  padding-block: 80px 50px;
}

.footer-brand-wrapper .logo {
  width: max-content;
  margin-inline: auto;
  margin-bottom: 60px;
}

.footer-list,
.quicklink-list,
.social-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.footer-link {
  color: var(--light-gray);
  font-size: var(--fs-9);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  padding: 5px 15px;
  transition: var(--transition-1);
}

:is(.footer-link, .quicklink-link, .social-link):is(:hover, :focus) { color: var(--citrine); }

.divider {
  height: 4px;
  margin-block: 40px;
  border-top: 1px solid var(--rich-black-fogra-29);
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.1);
}

.quicklink-list { margin-bottom: 20px; }

.quicklink-link {
  color: var(--gray-x);
  font-size: var(--fs-10);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  padding: 2px 10px;
  transition: var(--transition-1);
}

.social-list { column-gap: 10px; }

.social-link {
  background: var(--rich-black-fogra-29);
  color: var(--gray-x);
  font-size: 14px;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: inset 0 4px 8px hsla(0, 0%, 0%, 0.25);
  transition: var(--transition-1);
}

.footer-bottom {
  padding-block: 25px;
  background-color: #0d1013;
  border-top: 1px solid white;
}

.copyright {
  color: var(--gray-x);
  font-size: var(--fs-10);
  font-weight: var(--fw-500);
  line-height: 1.7;
  text-align: center;
  margin-bottom: 15px;
}

.copyright > a {
  display: inline-block;
  color: var(--citrine);
}





/*-----------------------------------*\
 * #GO TO TOP
\*-----------------------------------*/

.go-top {
  position: fixed;
  bottom: 20px;
  right: 40px;
  color: white;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 1px 3px hsla(0, 0%, 0%, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-2);
  z-index: 2;
  border: 2px solid white;
  background: #16161a60;
  backdrop-filter: blur(4px) saturate(0%);
  -webkit-backdrop-filter: blur(4px) saturate(0%);
}

.go-top:hover {
  position: fixed;
  bottom: 20px;
  right: 40px;
  background: white;
  color: var(--eerie-black);
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 1px 3px hsla(0, 0%, 0%, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-2);
  z-index: 2;
  border: 2px solid white;
}


.go-top.active {
  opacity: 1;
  visibility: visible;
}





/*-----------------------------------*\
 * #MOVIE DETAIL 
\*-----------------------------------*/

.movie-detail {
  background: 
    url("../images/movie-detail-bg.png") no-repeat center center, /* primary image */
    url("https://image.tmdb.org/t/p/original/8Y43POKjjKDGI9MH89NW0NAzzp8.jpg") no-repeat center top; /* secondary image */
  background-size: cover, cover; /* set size for both images */
  padding-top: 160px;
  padding-bottom: var(--section-padding);
  position: relative; /* Ensure positioning context */
}



.movie-detail-banner {
  position: relative;
  background: var(--gunmetal-1);
  max-width: 300px;
  margin-inline: auto;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 50px;
}

.movie-detail-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.show-detail {
  background: 
    url("../images/movie-detail-bg.png") no-repeat center center, /* primary image */
    url("https://image.tmdb.org/t/p/original/8Y43POKjjKDGI9MH89NW0NAzzp8.jpg") no-repeat center top; /* secondary image */
  background-size: cover, cover; /* set size for both images */
  padding-top: 160px;
  padding-bottom: var(--section-padding);
  position: relative; /* Ensure positioning context */
}



.show-detail-banner {
  position: relative;
  background: var(--gunmetal-1);
  max-width: 300px;
  margin-inline: auto;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 50px;
}

.show-detail-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 120px;
  color: var(--white);
  transition: var(--transition-1);
}

.play-btn:hover { background: hsla(0, 0%, 0%, 0.25); }

.detail-subtitle {
  font-size: var(--fs-5);
  color: var(--citrine);
  font-weight: var(--fw-700);
  margin-bottom: 10px;
}

.detail-title { margin-bottom: 20px; }

.detail-title strong { color: var(--citrine); }

.movie-detail .meta-wrapper { margin-bottom: 30px; }

.show-detail .meta-wrapper { margin-bottom: 30px; }


.storyline {
  color: var(--gray-x);
  font-size: var(--fs-9);
  font-weight: var(--fw-500);
  line-height: 1.8;
  margin-bottom: 20px;
}

.details-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 460px;
  background: var(--gunmetal-2);
  padding: 25px;
  border: 1px solid var(--jet);
  border-radius: 4px;
  margin-bottom: 30px;
}

.details-actions .share ion-icon {
  font-size: 25px;
  color: var(--white);
  margin-inline: auto;
}

.details-actions .share span {
  color: var(--gainsboro);
  font-size: var(--fs-11);
  transition: var(--transition-1);
}

.details-actions .share:is(:hover, :focus) span { color: var(--citrine); }

.details-actions .title {
  color: var(--white);
  font-weight: var(--fw-700);
}

.details-actions .text {
  font-size: var(--fs-11);
  color: var(--gainsboro);
}

.details-actions .btn-primary .btn-secondary {
  font-size: 10px;
  padding: 13px 26px;
  letter-spacing: 0;
  background: transparent;
}

.details-actions .btn-primary:is(:hover, :focus) { background: var(--citrine); }

.download-btn {
  max-width: max-content;
  background: var(--citrine);
  color: var(--rich-black-fogra-29);
  font-size: var(--fs-11);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 35px;
  letter-spacing: 5px;
  border-radius: 6px;
}

.download-btn ion-icon { font-size: 16px; }

/* New Download Options Button */
.goto-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--rich-black-fogra-29);
  color: var(--white);
  border: 1px solid var(--citrine);
  border-radius: 6px;
  font-size: var(--fs-11);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-left: 10px;
}

.goto-download-btn:hover {
  background: var(--citrine);
  color: var(--rich-black-fogra-29);
  border-color: var(--citrine);
}

.goto-download-btn ion-icon {
  font-size: 14px;
  --ionicon-stroke-width: 32px;
}

.download-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
}

.dir-download-btn {
  max-width: max-content;
  background: #ffffff;
  color: var(--rich-black-fogra-29);
  font-size: var(--fs-11);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 40px 13px 40px 10px;
  letter-spacing: 5px;
  border-radius: 6px;
  z-index: 2;
}

.dir-download-btn ion-icon { font-size: 16px; }

.file-size {
  max-width: max-content;
  background: var(--citrine);
  color: var(--rich-black-fogra-29);
  font-size: 10px;
  font-weight: var(--fw-500);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 40px 13px 40px 10px;
  letter-spacing: 5px;
  border-radius: 6px;
  z-index: 1;
  user-select: none;
  outline: none;
  cursor: pointer;
}

.file-size ion-icon { font-size: 16px; }

.stream-btn {
  max-width: max-content;
  background: #ffffff;
  color: #000000;
  font-size: var(--fs-11);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 35px;
  margin-top: 20px;
  letter-spacing: 5px;
  border-radius: 6px;
  z-index: 101;
  box-shadow: #000000 0px 0px 15px;
}

.stream-btn ion-icon { font-size: 16px; }

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

.stream-btn, .hd-stream-btn, .sd-stream-btn {
  flex: 1; /* Ensure buttons take equal space */
  text-align: center; /* Center the text inside the buttons */
}

/*-----------------------------------*
 * #DOWNLOAD & STREAM BUTTONS - MOBILE
\*-----------------------------------*/

/* Base styles for download container */
.download-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
  align-items: center;
}

/* Base styles for stream buttons */
.stream-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}

/* Language display styling */
.language-display {
  display: inline-block;
  margin: 10px 0;
  padding: 5px 10px;
  background: var(--gunmetal-2);
  border-radius: 4px;
  color: var(--white);
  font-size: var(--fs-10);
}

/* Mobile styles */
@media (max-width: 768px) {
  /* Fix language display positioning on mobile */
  .language-display {
    position: static !important;
    margin: 10px 0 !important;
    width: 100%;
    justify-content: center;
    display: flex !important;
    height: auto;
    padding: 8px 12px !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    order: 1; /* Move below download buttons */
  }

  .download-container {
    flex-direction: column;
    align-items: stretch;
    position: relative; /* Reset any absolute positioning context */
  }
  
  .download-btn,
  .goto-download-btn,
  .dir-download-btn,
  .file-size {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 15px 10px !important;
    margin: 5px 0;
    position: relative;
    transform: none !important;
  }
  
  .stream-buttons {
    flex-direction: column;
  }
  
  .stream-btn,
  .hd-stream-btn,
  .sd-stream-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    margin: 5px 0;
  }
  
  .language-display {
    display: block;
    width: 100%;
    text-align: center;
    margin: 10px 0;
  }
  
  /* Adjust popup for mobile */
  #quality-popup .popup-content {
    width: 90%;
    max-width: 320px;
    padding: 15px;
  }
  
  #quality-popup button {
    width: 100%;
    margin: 5px 0;
  }
}

/* Smaller phones */
@media (max-width: 480px) {
  .download-btn span,
  .goto-download-btn span,
  .stream-btn span,
  .hd-stream-btn span {
    font-size: 12px;
  }
  
  .download-btn ion-icon,
  .goto-download-btn ion-icon,
  .stream-btn ion-icon,
  .hd-stream-btn ion-icon,
  .sd-stream-btn ion-icon {
    font-size: 14px;
  }
  
  .language-display {
    font-size: 11px;
    padding: 4px 8px;
  }
}

/*-----------------------------------*
 * #ADDITIONAL INFO SECTION - MOBILE
\*-----------------------------------*/

/* Base styles for additional info section */
.additional-info {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.left-column {
  flex: 2;
}

.right-column {
  flex: 1;
  min-width: 300px;
}

.quick-functions {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.quick-functions > div {
  text-align: center;
  flex: 1;
  min-width: 80px;
}

.quick-functions a {
  color: var(--white);
  font-size: 24px;
  margin-bottom: 5px;
  display: inline-block;
}

.quick-functions p {
  font-size: 12px;
  color: var(--gray-x);
  margin: 0;
}

.scraper-rating {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

/* Mobile styles */
@media (max-width: 768px) {
  .additional-info {
    flex-direction: column;
    gap: 20px;
  }
  
  .left-column, 
  .right-column {
    width: 100%;
    min-width: 100%;
  }
  
  .quick-functions {
    justify-content: space-around;
  }
  
  .quick-functions > div {
    min-width: 60px;
  }
  
  .ai-rating-wrapper {
    text-align: center;
    margin: 20px 0;
  }
  
  .scraper-rating {
    grid-template-columns: 1fr 1fr;
  }
  
  /* Adjust spacing for mobile */
  .section-subtitle {
    margin-top: 40px !important;
  }
}

/* Smaller phones */
@media (max-width: 480px) {
  .quick-functions {
    gap: 5px;
  }
  
  .quick-functions > div {
    min-width: 45px;
  }
  
  .quick-functions a {
    font-size: 20px;
  }
  
  .quick-functions p {
    font-size: 10px;
  }
  
  .scraper-rating {
    grid-template-columns: 1fr;
  }
}

/*-----------------------------------*
 * #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for large than 550px screen
 */

@media (min-width: 550px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 42px;

  }



  /**
   * REUSED STYLE
   */

  .container {
    max-width: 540px;
    margin-inline: auto;
  }

  /* MOVIE CARD */

  .movies-list {
    grid-template-columns: 1fr 1fr;
    gap: 60px 30px;
  }

  .shows-list {
    grid-template-columns: 1fr 1fr;
    gap: 60px 30px;
  }



  /**
   * HERO
   */

  .hero { min-height: unset; }

  .hero-content { margin-top: 20px; }



  /**
   * UPCOMING
   */

  .upcoming .movies-list > li { min-width: calc(50% - 15px); }

  .upcoming .shows-list > li { min-width: calc(50% - 15px); }



  /**
   * SERVICE
   */

  .service-list > li:first-child { padding-bottom: 30px; }

  .service-card {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .service-card .card-icon { margin-bottom: 0; }

  .service-card .card-content { width: calc(100% - 115px); }



  /**
   * MOVIE DETAIL
   */

  .detail-subtitle { --fs-5: 22px; }

  .detail-title { --fs-1: 46px; }

}





/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */
  

  :root {

    /**
     * typography
     */

    --fs-2: 36px;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 720px; }

  /**
   * HEADER
   */

  .header .container { gap: 30px; }

  .header-actions {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: 35px;
  }

  .header-actions .btn-primary { display: none; }

  .search-btn {
    position: relative;
    color: var(--white);
  }

  .search-btn ion-icon { --ionicon-stroke-width: 80px; }

  .search-btn::after {
    position: absolute;
    top: 1px;
    right: -20px;
    background: hsla(0, 0%, 100%, 0.1);
    width: 2px;
    height: 14px;
  }

  .lang-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .lang-wrapper label {
    color: var(--citrine);
    font-size: 20px;
  }

  .lang-wrapper select {
    color: var(--white);
    font-size: var(--fs-9);
    font-weight: var(--fw-700);
  }

  .lang-wrapper option { color: var(--black); }



  /**
   * HERO
   */

  .hero-content { margin-top: 90px; }



  /**
   * SERVICE
   */

  .service-btn {
    right: -20px;
    padding: 40px 50px;
  }  

  .service-content { padding-inline: 40px; }



  /**
   * CTA
   */

  .cta-form {
    position: relative;
    max-width: 530px;
    margin-inline: auto;
  }

  .cta .email-field { margin-bottom: 0; }

  .cta-form-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
  }



  /**
   * FOOTER
   */

  .footer-brand-wrapper .logo { margin: 0; }

  .footer-brand-wrapper,
  .quicklink-wrapper,
  .footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .quicklink-list { margin-bottom: 0; }

  .copyright { margin-bottom: 0; }

  .footer-bottom-img { margin-inline: 0; }



  /**
   * MOVIE DETAIL
   */

  .detail-subtitle { --fs-5: 26px; }

  .detail-title { --fs-1: 50px; }

}





/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 960px; }

  /* MOVIE CARD */

  .movies-list { grid-template-columns: repeat(3, 1fr); }

  .shows-list { grid-template-columns: repeat(3, 1fr); }

  /**
   * HEADER
   */

  .header.active { padding-block: 5px; }

  .menu-open-btn,
  .navbar-top,
  .navbar-social-list { display: none; }

  .navbar {
    all: unset;
    margin-left: auto;
  }

  .header-actions {
    order: 1;
    margin-left: 0;
  }

  .navbar-list {
    all: unset;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .navbar-link {
    border-bottom: none;
    font-size: var(--fs-9);
    font-weight: var(--fw-700);
    text-transform: uppercase;
    padding: 10px 15px;
  }

  .overlay { display: none; }



  /**
   * HERO
   */

  .hero { background-position: right; }

  .hero .container { width: 950px; }

  .hero-content {
    margin-top: 100px;
    max-width: 600px;
  }



  /**
   * UPCOMING
   */

  .upcoming .flex-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .upcoming :is(.section-subtitle, .section-title) { text-align: left; }

  .upcoming .section-title { margin-bottom: 0; }

  .upcoming .movies-list > li { min-width: calc(33.33% - 20px); }

  .upcoming .shows-list > li { min-width: calc(33.33% - 20px); }



  /**
   * SERVICE
   */

  .service .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 70px;
  }

  .service-content {
    padding-inline: 0;
    width: calc(100% - 470px);
  }

  .service-banner { margin-bottom: 0; }

  .service-btn { right: 111px; }



  /**
   * CTA
   */

  .cta { text-align: left; }

  .cta .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .cta .title-wrapper {
    margin-bottom: 0;
    width: 100%;
  }

  .cta-form {
    margin-inline: 0;
    max-width: unset;
    width: 100%;
  }



  /**
   * MOVIE DETAIL
   */

  .movie-detail { padding-bottom: 200px; }

  .movie-detail .container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 50px;
  }

  .movie-detail-banner,
  .details-actions { margin: 0; }

  .show-detail { padding-bottom: 200px; }

  .show-detail .container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 50px;
  }

  .show-detail-banner,
  .details-actions { margin: 0; }

  .download-btn {
    position: absolute;
    left: 15px;
    bottom: -80px;
  }

  .dir-download-btn {
    position: absolute;
    left: 15px;
    bottom: -80px;
  }

  .file-size {
    position: absolute;
    left: 15px;
    bottom: -80px;
  }

  .stream-btn {
    position: absolute;
    right: 65px;
    margin-top: 22px;
  }
}





/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 60px;
    --fs-4: 26px;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 1320px; }

  /* MOVIE CARD */

  .movies-list { grid-template-columns: repeat(4, 1fr); }

  .shows-list { grid-template-columns: repeat(4, 1fr); }



  /**
   * HEADER
   */

  .navbar { margin-inline: auto; }

  .header-actions .btn-primary {
    display: block;
    --fs-11: 14px;
    padding: 10px 35px;
    letter-spacing: 1px;
  }



  /**
   * HERO
   */

  .hero .container { width: 1320px; }



  /**
   * UPCOMING
   */

  .upcoming .movies-list > li { min-width: calc(25% - 22.5px); }

  .upcoming .shows-list > li { min-width: calc(25% - 22.5px); }



  /**
   * SERVICE
   */

  .service-content { width: calc(100% - 700px); }

  .service-btn { right: -20px; }

  .service-list,
  .service-title { max-width: 480px; }



  /**
   * CTA
   */

  .cta .container { max-width: 1150px; }



  /**
   * MOVIE DETAIL
   */

  .movie-detail { padding-bottom: 220px; }

  .movie-detail-content { max-width: 620px; }

  .show-detail { padding-bottom: var(--section-padding); }

  .show-detail-content { max-width: 620px; }

  .detail-title { --fs-1: 54px; }

    .download-btn {
        left: auto;
        right: 15px;
        bottom: 0px;
        transform: rotate(0.25turn) translateY(100%);
        transform-origin: bottom right;
        padding: 40px 35px;
        z-index: 9;
    }

  .download-btn ion-icon {
    font-size: 20px;
    transform: rotate(-0.25turn);
  }

    .dir-download-btn {
        left: auto;
        right: 15px;
        bottom: -56px;
        transform: rotate(0.25turn) translateY(100%);
        transform-origin: bottom right;
        padding: 40px 16px 40px 13px;
    }


  .dir-download-btn ion-icon {
    font-size: 20px;
    transform: rotate(-0.25turn);
  }

  .file-size {
    left: auto;
    right: 28px;
    bottom: -56px;
    transform-origin: bottom right;
    padding: 11px 6px 5px 10px;
    transition: .3s ease-in-out;
}


.file-size ion-icon {
font-size: 20px;
transform: rotate(-0.25turn);
}

  .stream-btn {
    left: auto;
    right: 65px;
    transform-origin: bottom right;
    padding: 30px 35px;
    bottom: 282px;
  }

  .stream-btn ion-icon {
    font-size: 26px;
  }

}

/* Modal container */
#trailerModal, .modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */
}

/* Modal content */
.modal-content {
  position: relative;
  margin: auto;
  display: block;
  width: 90%;
  max-width: 960px; /* Max width for the modal */
  max-height: 80%; /* Ensure modal doesn't overflow the screen */
  padding: 20px;
  height: 500px;
  top: 160px;
}

/* Close button */
.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 2em;
  color: white; /* Close button color */
  cursor: pointer;
}

/* Modal iframe */
.modal-content iframe {
  width: 100%; /* Make iframe width 100% of modal width */
  height: 100%; /* Adjust iframe to take up full height */
  border: none; /* Remove iframe border */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  /* For smaller screens, scale down modal content */
  .modal-content {
    width: 95%;
    max-width: none; /* Remove max-width restriction */
    max-height: 70%; /* Allow more space for content */
    top: 216px;
  }

  .modal-content iframe {
    width: 100%; /* Ensure iframe fits inside the modal */
    height: 250px; /* Set a smaller height for smaller screens */
  }
}

@media (max-width: 480px) {
  /* For very small screens, make further adjustments */
  .modal-content {
    width: 95%;
    max-width: none;
    max-height: 60%;
    top: 215px;
    height: 220px;
  }

  .modal-content iframe {
    width: 100%;
    height: 200px; /* Further reduce iframe height for small screens */
  }

  .close {
    font-size: 1.5em; /* Make the close button smaller */
  }
}


.movie-detail-banner{
  border: 2px solid rgba(0, 0, 0, 0.007);
  border-radius: 15px;
}

.show-detail-banner{
  border: 2px solid rgba(0, 0, 0, 0.007);
  border-radius: 15px;
}

iframe{
  border-radius: 8px;
  border: 5px solid rgba(0, 0, 0, 0.363);
}

@media (max-width: 992px) {
  .header.active {
    background: #16161a;
    padding-block: 20px;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .stream-btn{
    padding: 20px 52px;
  }
}

@font-face {
  font-family: Nevrade-Neue;
  src: url(../fonts/Nevrade-Neue.ttf);
}

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');


.special{
  background-image: linear-gradient( 109.6deg,  rgb(206, 158, 255) 11.2%, rgba(125,89,252,1) 91.1% );
  cursor: url(https://cdn.custom-cursor.com/db/12222/32/material-cloud-cursor.png), default !important;
  margin: 20px;
}


.special-wrap:nth-child(1){
  border: 2px solid rgb(255, 255, 255);
  padding: 50px;
}

.special-wrap2{
  border: 2px solid white;
  padding: 20px 40px 20px 40px;
  border-radius: 100px;
}

.special-wrap3{
  border: 2px solid white;
  padding: 20px 40px 20px 40px;
  border-radius: 150px;
}

.special-wrap4{
  border: 2px solid white;
  border-radius: 150px;
}


.special-h1{
  font-family: "Nevrade-Neue", sans-serif;
  color: var(--white);
  text-align: center;
  font-size: 8vw;
  font-weight: 100;
}

.special-p{
  font-family: "Source Sans 3", sans-serif;
  color: var(--white);
  font-size: 16px;
  font-weight: 200;
  font-style: italic;
  text-align: center;
}

.special-a{
  cursor: url(https://cdn.custom-cursor.com/db/12221/32/material-cloud-pointer.png), pointer !important;
  text-align: center;
  border: 2px solid white;
  padding: 10px;
  width: 350px;
  margin: 30px auto 10px auto;
  border-radius: 20px;
  color: #ffffff;
  font-weight: 200;
  font-size: 16px;
  font-family: "Source Sans 3", sans-serif;
  transition: .5s ease-in-out;
}

.special-a:hover {
  background-color: #ffffff28;
  box-shadow: 0px 5px 10px #ffffff28;
}

.special-container{
  padding: 30px;
}

.special-line{
  border-top: 1px solid white;
  width: 350px;
  margin: 20px auto 30px auto;

  @media (max-width: 824px) {
    .special-a{
      width: 100px;
    }
    
    .special-line{
      width: 100px;
    }
    
  }
}

@media (max-width: 790px) {
  .special-a{
    width: 100px;
  }
  
  .special-line{
    width: 100px;
  }
  
}

@media (max-width: 466px) {
  .special-wrap:nth-child(1){
    border: 2px solid rgb(255, 255, 255);
    padding: 0;
  }
  
  .special-wrap2{
    border: 2px solid rgba(255, 255, 255, 0);
    padding: 0;
  }
  
  .special-wrap3{
    border: 2px solid rgba(255, 255, 255, 0);
    padding: 0;
  }
  
  .special-wrap4{
    border: 2px solid rgba(255, 255, 255, 0);
    padding: 0;
  }
  
  
  .special-h1{
    font-size: 14vw;
  }
  
  .special-a{
    width: 200px;
  }

  .special-line{
    width: 200px;
  }
  
}

.powered-by {
    color: var(--gray-x);
    font-size: var(--fs-10);
    font-weight: var(--fw-500);
    line-height: 1.7;
    text-align: center;
}

.powered-by a {
  color: #00b7ff;
  display: inline;
}

.cast{
  margin: 0px 0px 20px 10px;
  border-radius: 6px;
}

.actors {
  color: var(--gainsboro);
  font-size: var(--fs-9);
  font-weight: var(--fw-500);
}

.actor {
  text-align: center;
  margin: 10px 0;
}

.actors-stars{
  display: inline-block;
}


.column {
  width: 48%; /* Adjust width as needed */
}

.actors img {
    border-radius: 50%;
    width: 100px; /* Adjust this value as needed */
    height: 100px; /* Ensure this matches the width to make it square */
    object-fit: cover;
}

.actors a {
  color: var(--black);
  font-size: var(--fs-9);
  font-weight: var(--fw-500);
  text-decoration: none;
  transition: var(--transition-1);
}

.actor a {
  display: inline-block;
}


.actor-name {
  font-weight: bold; /* Make actor name bold */
}

.actor-character {
  color: var(--gainsboro); /* Keep character name styling */
}

.actors-info{
  width: 139px;
  margin-right: 0px;
  text-align: center;
}

.stars{
    color: var(--citrine);
    font-size: var(--fs-9);
    font-weight: var(--fw-700);
}

.director a {
  color: var(--gray-x);
  font-size: var(--fs-9);
  font-weight: var(--fw-500);
  display: inline;
  text-decoration: none;
  transition: var(--transition-1);
}

.director a:hover{
  color: var(--gainsboro);
}

.director {
  color: var(--gainsboro);
  font-size: var(--fs-9);
  font-weight: var(--fw-500);
  display: inline;
  text-decoration: none;
}

.director span{
  color: var(--citrine);
  font-size: var(--fs-9);
  font-weight: var(--fw-700);
  display: inline;
}

.producer a {
  color: var(--gray-x);
  font-size: var(--fs-9);
  font-weight: var(--fw-500);
  display: inline;
  text-decoration: none;
  transition: var(--transition-1);
}

.producer a:hover{
  color: var(--gainsboro);
}

.producer {
  color: var(--gainsboro);
  font-size: var(--fs-9);
  font-weight: var(--fw-500);
  display: inline;
  text-decoration: none;
}

.producer span{
  color: var(--citrine);
  font-size: var(--fs-9);
  font-weight: var(--fw-700);
  display: inline;
}

.writer a {
  color: var(--gray-x);
  font-size: var(--fs-9);
  font-weight: var(--fw-500);
  display: inline;
  text-decoration: none;
  transition: var(--transition-1);
}

.writer a:hover{
  color: var(--gainsboro);
}

.writer {
  color: var(--gainsboro);
  font-size: var(--fs-9);
  font-weight: var(--fw-500);
  display: inline;
  text-decoration: none;
}

.writer span{
  color: var(--citrine);
  font-size: var(--fs-9);
  font-weight: var(--fw-700);
  display: inline;
}

.navbar-list > li > ul {
  display: none;
  position: absolute; /* This makes the dropdown appear as a popup */
  margin-top: 0; /* Optional: Adjusts the positioning */
  padding: 8px 0px 8px 0px; /* Optional: Adjusts the positioning */
  list-style: none; /* Removes default list style */
  background-color: #fff;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: .25rem;
}

/* Show the nested ul elements when hovering over the main li */
.navbar-list > li:hover > ul {
  display: block;
}

.navbar-list > li ul li {
  display: block;
}

.navbar-list > li ul li:hover {
  background-color: #f8f9fa;
}

.navbar-list > li ul li a {
  color: #212529;
  padding: 3px 1.5rem;
  padding-right: calc(3rem + 16px);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  text-transform: none;
}

.navbar-list > li ul li a:hover {
  color: #212529;
}

.logo img{
  padding: 15px 0px 15px 0px;
}

.tomato-rating{
  padding: 0px 0px 30px 0px;
}

.tomatometer {
  display: inline-block;
  vertical-align: top;
  margin-right: 20px;
}

.tomatometer p {
  color: white;
  display: block;
  margin: -40px 0px 7px 54px; /* Adjust as needed */
}

.tomatometer a:nth-child(3) {
  color: var(--gray-x);
  display: block; /* Ensure the third paragraph is displayed as a block element */
  margin: -10px 0px 0px 54px; /* Adjust as needed */
  font-size: 12px;
}

.tomatometer img {
  height: 40px;
  vertical-align: middle;
  display: inline;
  margin-right: 10px;
}


.audience-score{
  display: inline-block;
  vertical-align: top;
}

.audience-score p{
  color: white;
  display: block;
  margin: -40px 0px 7px 54px; /* Adjust as needed */
}

.audience-score a:nth-child(3){
  color: var(--gray-x);
  display: block; /* Ensure the third paragraph is displayed as a block element */
  margin: -10px 0px 0px 54px; /* Adjust as needed */
  font-size: 12px;
}


.audience-score img{
  height: 40px;
  vertical-align: middle;
  display: inline;
  margin-right: 10px;
}

.tomato-rating div{
  display: inline-block;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: 999;
}

.tomatometer-info,
.audience-info {
    background-color: #ffffff;
    padding: 20px;
    border: 1px solid white;
    border-radius: 18px;
    position: fixed;
    z-index: 1000; /* Ensure info divs are above the overlay */
    /* Centering */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.search-container {
  display: flex;
  align-items: center;
}

#search-input {
  padding: 15px;
  font-size: 16px;
}

.results-container {
  background-color: #1f1f1f;
  border-radius: 10px;
}

.result-item {
  align-items: center;
  color: #ffffff;
  padding: 10px;
  border-bottom: 1px solid #4d4c4c;
}

.result-item:last-child {
  border-bottom: 1px solid #4d4c4c00;
}


.result-item div img {
  width: 43px;
  height: 63px;
  margin-right: 20px;
  float: left;
  background-color: #272626;
  border-radius: 3px;
}

.result-item .release{
  color: #a1a1a1;
}

.result-item .actors{
  color: #a1a1a1;
}

.result-item div {
  display: block;
}

.result-item:hover {
  background-color: #302f2f;
}

.result-item:hover:last-child {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.result-item:hover:first-child {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.result-item:active {
  background-color: #4d4c4c;
}

.search-input {
  display: none;
}

.default-results {
  display: none;
}

.visible {
  display: block !important; /* Use !important as a last resort */
}

#search-input {
  display: none;
}

#default-results {
  display: none;
}

.input-main{
  border-radius: 25px;
  width: 500px;
  box-shadow: var(--white) 5px 5px;
  background-color: #1f1f1f;
  color: white;
  margin-bottom: 15px;
  transition: var(--transition-3);
}

/* this */
.input-main.active{
  width: 600px;
  box-shadow: var(--citrine) 7px 7px;
}

.input-main-div{
  display: grid;
  width: 100%;
  place-content: center center;
}

.search-el{
  margin: 110px 0px 0px 0px;
  display: grid;
  place-content: center center;
  width: 100%;
  position: fixed;
  z-index: 2;
}

#movies{
  width: 70%;
}

.tv-only {
  display: none;
}

#app {
  text-align: center;
  color:  var(--white);
}

.input-container {
  display: inline-block;
  margin: 10px;
  position: relative;
  color: black;
  background-color: #000000a4;
}

.movie-box {
  width: 300px;
  height: 450px;
  background-color: #000000a4;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  border: 2px solid var(--white);
}

.movie-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

.movie-box div {
  position: absolute;
  background: linear-gradient(309deg, rgba(39,39,39,1) 0%, rgba(21,21,21,1) 100%);
  border-radius: 18px;
  width: 91px;
  height: 91px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(255, 255, 255);
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
}

.plus-button {
  font-size: 3rem;
  color: var(--white);
  display: block;
}

.add-button {
  position: absolute;
  top: 50%;
  transform: translateY(-507%);
  right: -236px;
  font-size: 2.2rem;
  border-radius: 50%;
  border: 1px solid #0000003d;
  cursor: pointer;
  color: var(--white);
  background: linear-gradient(309deg, rgba(0,99,255,1) 0%, rgba(0,198,255,1) 100%);
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
}

.remove-button {
  position: absolute;
  top: 50%;
  transform: translateY(-507%);
  right: 177px;
  font-size: 2.2rem;
  border-radius: 50%;
  border: 1px solid #0000003d;
  cursor: pointer;
  color: var(--white);
  background: linear-gradient(309deg, rgb(119, 0, 255) 0%, rgb(195, 0, 255) 100%);
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
}

.movies-list {
  list-style: none;
  padding: 0;
}

.search-result {
  cursor: pointer;
  padding: 5px;
  background-color: #1a1a1a;
  margin: 5px 0;
  border: 1px solid #ccc;
}

#recommendations {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

#recommendations li {
  display: flex;
  align-items: center;
  margin: 10px 0;
}

#recommendations img {
  margin-right: 20px;
}

.selected-movies {
  margin-top: 20px;
}

.selected-movies div {
  margin: 10px 0;
}

.input-container input {
  background-color: #000000a4;
  border: 2px solid white;
  border-top: none;
  color: white;
  padding: 10px;
}

@media (max-width: 767px) {
  .hero .hero-content h2,
  .hero .hero-content .meta-wrapper,
  .hero .hero-content .btn-primary {
      display: none;
  }
  .hero .hero-movie {
      display: none;
  }
}

.input-main-mobile{
    border-radius: 25px;
    height: 50px;
    width: 80%;
    padding: 0px 0px 0px 10px;
    background: var(--rich-black-fogra-29);
    color: var(--white);
    margin-bottom: 15px;
    border: 2px solid var(--citrine);
    transition: var(--transition-3);
}

/* Hide the input by default */
.input-main-div-mobile,
#default-results {
    display: none;
}

/* Show the input only on screens with a max width of 768px (commonly used threshold for mobile devices) */
@media only screen and (max-width: 768px) {
    .input-main-div-mobile,
    #default-results {
        display: block;
    }
}

.calendar-container {
  margin: 20px;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 20px;
}


.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-top: 20px;
}

.calendar-day {
  border: 1px solid #ddd;
  background-color: #fff;
  border-radius: 4px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.calendar-day:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.calendar-day.new-season {
  border-left: 4px solid #ff6b6b;
}

.calendar-day .type-badge.new-season {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calendar-day .type-badge {
  display: inline-block;
  margin: 2px;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calendar-day .type-badge.movie {
  background: linear-gradient(135deg, #4e54c8, #8f94fb);
  color: white;
}

.calendar-day .type-badge.tv {
  background: linear-gradient(135deg, #00b09b, #96c93d);
  color: white;
}

.date-header {
  font-weight: bold;
  color: #555;
}

.movie-title {
  font-size: 14px;
  color: #e74c3c;
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-day:nth-child(7n) {
  color: #e74c3c; /* Highlight Sundays */
}

@media (max-width: 600px) {
  .calendar-grid {
      grid-template-columns: repeat(4, 1fr);
  }
}


.sparkscreen{
  width: 169px;
  height: 74px;
}

.github{
  background: -webkit-linear-gradient(#ffffff, #404040);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}


.language-display {
  margin-left: 811px;
  top: 220.5px;
  position: absolute;
  z-index: 999;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 12px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  height: 32px;
  backdrop-filter: blur(5px);
  border: 1px solid rgb(255 255 255 / 29%);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Basic popup styles */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-content {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  min-width: 200px;
}

button {
  padding: 10px 20px;
  margin: 5px;
  cursor: pointer;
}

/* Modal container */
#stream-magnet {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */
}

/* Modal content */
.stream-magnet div {
  position: relative;
  margin: auto;
  display: block;
  width: 90%;
  max-width: 960px; /* Max width for the modal */
  max-height: 80%; /* Ensure modal doesn't overflow the screen */
  padding: 20px;
  height: 500px;
  top: 130px;
}


/* Modal iframe */
.stream-magnet div iframe {
  width: 100%; /* Make iframe width 100% of modal width */
  height: 100%; /* Adjust iframe to take up full height */
  border: none; /* Remove iframe border */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  /* For smaller screens, scale down modal content */
  .stream-magnet div {
    width: 95%;
    max-width: none; /* Remove max-width restriction */
    max-height: 70%; /* Allow more space for content */
    top: 220px;
  }

  .stream-magnet div iframe {
    width: 100%; /* Ensure iframe fits inside the modal */
    height: 250px; /* Set a smaller height for smaller screens */
  }
}

@media (max-width: 480px) {
  /* For very small screens, make further adjustments */
  .stream-magnet div {
    width: 95%;
    max-width: none;
    max-height: 60%;
    height: 150px;
  }

  .stream-magnet div iframe {
    width: 100%;
    height: 200px; /* Further reduce iframe height for small screens */
  }

}


#btn-cancel{
  background: #000000;
  color: white;
  border: 2px solid white;
  border-radius: 9px;
  margin: 0px auto 0px auto;
}

#closeAdBlockPopup{
  background: #000000;
  color: white;
  border: 2px solid white;
  border-radius: 9px;
  margin: 10px auto 0px auto;
}

details {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	margin-top: 2rem;
	color: #6b7280;
	display: flex;
	flex-direction: column;
  z-index: 999;

	div {
		background-color: #1e1e27;
		box-shadow: 0 5px 10px rgba(#000, 0.15);
		padding: 1.25rem;
		border-radius: 8px;
		position: absolute;
		max-height: calc(100vh - 100px);
		width: 400px;
		max-width: calc(100vw - 2rem);
		bottom: calc(100% + 1rem);
		right: 0;
		overflow: auto;
		transform-origin: 100% 100%;
		color: #95a3b9;
		&::-webkit-scrollbar {
			width: 15px;
			background-color:#1e1e27;
		}

		&::-webkit-scrollbar-thumb {
			width: 5px;
			border-radius: 99em;
			background-color: #95a3b9;
			border: 5px solid #1e1e27;
		}
		& > * + * {
			margin-top: 0.75em;
		}

		p > code {
			font-size: 1rem;
			font-family: monospace;
		}

		pre {
			white-space: pre-line;
			border: 1px solid #95a3b9;
			border-radius: 6px;
			font-family: monospace;
			padding: 0.75em;
			font-size: 0.875rem;
			color: #fff;
		}
	}

	&[open] div {
		animation: scale 0.25s ease;
	}
}

summary {
	display: inline-flex;
	margin-left: auto;
	margin-right: auto;
	justify-content: center;
	align-items: center;
	font-weight: 600;
	padding: 32px;
	border-radius: 50%;
  z-index: 9999;
	color: var(--black);
	background-color: var(--citrine);
	box-shadow: 0 5px 15px rgba(#000, 0.1);
	list-style: none;
	text-align: center;
	cursor: pointer;
	transition: 0.15s ease;
	position: relative;
	&::-webkit-details-marker {
		display: none;
	}

	&:hover,
	&:focus {
		background-color: mix(#000, #185adb, 20%);
	}

	svg {
		position: absolute;
		right: 1.25em;
		top: 50%; 
		transform: translateY(-50%);
		width: 1.5em;
		height: 1.5em;
	}
}

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


.actors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.actors-stars {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 150px;
}

.actors-stars img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.actors-stars img:hover {
  transform: scale(1.1);
}

.actors-info {
  margin-top: 10px;
}

.actors-info p {
  color: var(--gainsboro);
  font-size: var(--fs-9);
  font-weight: var(--fw-500);
  margin: 5px 0;
}

.actors-info p:first-child {
  font-weight: var(--fw-700);
  color: var(--white);
}

/* General Discover Page Layout */
.discover-wrapper {
  padding: 20px;
  background-color: #1a1820;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Discover Title Styling */
.discover-title {
  color: var(--citrine);
  font-size: var(--fs-2);
  text-align: center;
  margin-bottom: 20px;
  font-weight: var(--fw-700);
}

/* Filter Section Styling */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.filters h3 {
  font-size: var(--fs-6);
  color: var(--light-gray);
}

.filters select {
  background-color: var(--gunmetal-1);
  color: var(--white);
  border: 1px solid var(--citrine);
  border-radius: 5px;
  padding: 10px;
}

/* Genres Section */
.genres {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.genres span {
  display: inline-block;
  padding: 8px 12px;
  background-color: var(--gunmetal-1);
  color: var(--white);
  border-radius: 5px;
  transition: background-color 0.3s;
  cursor: pointer;
}

.genres span:hover {
  background-color: var(--citrine);
  color: var(--raisin-black);
}

/* Media Cards - Full Page Width with auto-fill */
.media-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Increase the min width */
  gap: 20px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}


/* Media Item Styling */
.media-item {
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  padding-bottom: 20px;
}

.media-item:hover {
  transform: scale(1.01);
}

.media-item img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.media-item h3 {
  font-size: 1.35rem;
  font-family: var(--ff-dm-sans);
  color: #e5eeff;
  text-align: left;
  margin: 13px 0px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.media-item p {
  font-size: var(--fs-9);
  color: var(--gray-x);
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-item .rating {
  display: flex;
  align-items: center;
  font-family: var(--ff-dm-sans);
  font-size: 16.5px;
  color: #e5eeff;
}

.media-item .rating img {
  margin-right: 5px;
  width: 20px;
  height: 20px;
}

.media-item .year-rating {
  display: flex;
  justify-content: space-between;
  align-items: center;
  bottom: 0px;
  width: 100%;
  font-size: 16.5px;
  color: white;
  font-weight: 900;
  font-family: var(--ff-dm-sans);
  border-radius: 4px;
}

.media-item .year {
  background-color: #313036;
  font-size: 16.5px;
  color: white;
  font-weight: 900;
  font-family: var(--ff-dm-sans);
  padding: 2px 6px 2px 6px;
  border-radius: 4px;
}

.fetched-sorted{
  width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .filters {
    flex-direction: column;
    align-items: center;
  }
  .media-item img {
    height: 250px;
  }
}


.ai-finder {
  padding: 100px;
}

.ai-finder-heading {
  font-size: var(--fs-1);
  text-align: center;
  margin-bottom: 20px;
}

.ai-finder-form {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ai-user-input, .ai-age-select {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: var(--fs-7);
}

.ai-user-input:focus, .ai-age-select:focus {
  outline: none;
  border-color: var(--citrine);
}

.ai-find {
  width: 100%;
  padding: 10px;
  background: var(--citrine);
  color: var(--rich-black-fogra-29);
  border: none;
  border-radius: 5px;
  font-size: var(--fs-7);
  cursor: pointer;
  transition: var(--transition-1);
}

.ai-find:hover {
  background: var(--light-gray);
}

.char-counter {
  text-align: right;
  font-size: var(--fs-9);
  color: var(--gray-x);
}

.ai-results {
  margin-top: 20px;
}

.disclaimer {
  background-color: #1a1a1a;
  color: var(--light-gray);
  font-size: var(--fs-9);
  padding: 10px 20px;
  border-radius: 5px;
  margin-top: 20px;
  text-align: center;
  border: 1px solid var(--citrine);
}

/* Responsive Design */
@media (max-width: 768px) {
  .ai-finder {
    padding: 30px;
  }
}

.ai-results ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ai-results li {
  display: flex;
  align-items: flex-start;
  background: var(--gunmetal-1);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.ai-results li:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.movie-item a {
  display: flex;
  text-decoration: none;
  color: inherit;
}

.movie-poster {
  flex: 0 0 auto;
  margin-right: 20px;
}

.movie-poster img {
  max-width: 150px;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}

.movie-poster img:hover {
  transform: scale(1.05);
}

.movie-info {
  flex: 1;
}

.movie-info h3 {
  font-size: var(--fs-5);
  color: var(--citrine);
  margin-bottom: 10px;
}

.movie-info p {
  font-size: var(--fs-7);
  color: var(--light-gray);
  margin-top: 10px;
}

/* .ai-wrapper {
  display: inline-block;
  position: relative;
  padding: 5px 10px;
  border-radius: 5px;
  background: var(--gunmetal-1);
  transition: background 0.3s ease-in-out;
}

.ai-wrapper:hover {
  background: var(--gunmetal-2);
}

.ai-wrapper:hover .sparkle {
  fill: var(--citrine);
  transform: rotate(20deg) scale(1.2);
}

.sparkle {
  display: inline-block;
  margin-right: 5px;
  position: relative;
  top: 2px;
  height: 16px;
  fill: var(--white);
  animation: sparkle-animation 1.5s ease-in-out infinite;
  transition: transform 0.3s ease-in-out, fill 0.3s ease-in-out;
}

.ai-stamp {
  display: inline-block;
  font-weight: var(--fw-700);
  font-size: var(--fs-7);
  background: linear-gradient(135deg, var(--citrine), #ff00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-animation 3s ease-in-out infinite;
  transition: background 0.3s ease-in-out;
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
} */


.watched-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  z-index: 1;
}


.watch-later-label {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  z-index: 1;
}

.mark-watched-btn {
  margin-top: 10px;
  padding: 5px 10px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.mark-watched-btn:hover {
  background-color: #218838;
}

.movie-banner {
  position: relative;
}

#stream-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);  /* Dark overlay */
  z-index: 999;
  display: none;  /* Hidden by default */
}



/* Style for the iframe */
#stream-container iframe {
  width: 90%;
  height: 90%;
  border: none;
}

/* Style for the close button */
#close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 10px 15px;
  background-color: #ff0000;
  color: white;
  border: none;
  cursor: pointer;
}


.hd-stream-btn {
  max-width: max-content;
  background: #00b7ff;
  color: #000000;
  font-size: 11px;
  font-weight: var(--fw-500);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 17px 10px 10px 15px;
  letter-spacing: 3px;
  border-radius: 6px;
  position: absolute;
  top: 154px;
  right: 64px;
  margin-top: 5px;
  cursor: pointer;
  box-shadow: #000000 4px 0px 15px;
  transition: transform 0.2s ease-in-out;
  z-index: 100;
}

.hd-stream-btn ion-icon { font-size: 14px; }

.sd-stream-btn {
  max-width: max-content;
  background: #00b7ff;
  color: #000000;
  font-size: 11px;
  font-weight: var(--fw-500);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 53.5px 14px 53.5px 15px;
  letter-spacing: 3px;
  border-radius: 6px;
  position: absolute;
  top: 76px;
  right: 15px;
  margin-top: 5px;
  cursor: pointer;
  box-shadow: -20px -1px 13px rgb(0 0 0 / 16%);
  transition: transform 0.2sease-in-out;
  z-index: 100;
}

.sd-stream-btn ion-icon { font-size: 14px; }


@media screen and (min-width: 992px) and (max-width: 1199px) {
  .hd-stream-btn {
    top: 457px;
    right: 21px;
  }

  .sd-stream-btn {
    top: 457px;
    right: 21px;
  }
}

@media screen and (max-width: 991px) {
    .hd-stream-btn {
        top: unset;
        right: unset;
        max-width: max-content;
        background: #00b7ff;
        color: #000000;
        font-size: var(--fs-11);
        font-weight: var(--fw-500);
        text-transform: uppercase;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 20px 35px;
        margin-top: 98px;
        letter-spacing: 5px;
        border-radius: 6px;
        z-index: 101;
        box-shadow: #000000 0px 2px 10px;
  }

  .sd-stream-btn {
    top: unset;
    right: unset;
    max-width: max-content;
    background: #00b7ff;
    color: #000000;
    font-size: var(--fs-11);
    font-weight: var(--fw-500);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 35px;
    margin-top: 98px;
    letter-spacing: 5px;
    border-radius: 6px;
    z-index: 101;
    box-shadow: #000000 0px 2px 10px;
}

  .add-to-list-container{
    margin: 100px 0px 0px 0px;
  }

}

.runtime-stats {
  margin: 20px 0;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.runtime-stats h2 {
  margin-top: 0;
  color: #333;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.runtime-stats p {
  margin: 8px 0;
  font-size: 16px;
}

.runtime-stats strong {
  color: #2c3e50;
}

.meta-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 15px 20px;
  margin-bottom: 50px;
}

.watched-icon {
  display: flex;
  align-items: center;
  font-size: 20px; /* Adjust the size as needed */
  color: var(--gainsboro); /* Adjust the color as needed */
  --ionicon-stroke-width: 50px;
  color: var(--citrine);
}

.watched-icon a {
  color: inherit; /* Ensure the link inherits the color */
  text-decoration: none; /* Remove underline from the link */
}

.add-to-list-container ion-icon {
  font-size: 24px;
  color: #007bff;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.add-to-list-container ion-icon:hover {
  transform: scale(1.2);
  color: #0056b3;
}

.watch-later-icon {
  display: flex;
  align-items: center;
  font-size: 18px; /* Adjust the size as needed */
  color: var(--gainsboro); /* Adjust the color as needed */
  --ionicon-stroke-width: 50px;
  color: var(--citrine);
}

.watch-later-icon a {
  color: inherit; /* Ensure the link inherits the color */
  text-decoration: none; /* Remove underline from the link */
}


.auth-container {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  padding: 0.5rem;
  display: none;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  text-decoration: none;
  color: #333;
}

.dropdown-item ion-icon {
  margin-left: 1rem;
}

.ai-rating-wrapper{
  background-color: #fff0d6;
  color: #dd850b;
  text-align: center;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 400px;
  height: 100px; /* Adjust height */
  position: relative;
}

.ai-rating{
    font-size: 36px;
    font-weight: bold;
    margin: 0;
    position: relative;
    display: inline;
}

.ai-rating-percentage{
  display: inline;
  font-size: 20px;
  font-weight: bold;
}

.ai-rating-badge{
  background-color: #dd850b;
  color: white;
  font-size: 10px;
  font-weight: bold;
  border-radius: 4px;
  padding: 1px 5px;
  position: absolute;
  top: 18px;
  right: 114px;
}

.ai-rating-desc{
  display: block;
  bottom: 7px;
  position: relative;
  font-weight: 600;
  font-size: 13px;
}

.ai-rating-score{
  display: block;
  top: 5px;
  position: relative;
}


.additional-info {
  display: flex;
  gap: 30px;
  width: 100%;
  margin-top: 50px;
}

.left-column {
  flex: 3;
  padding: 50px;
  border-radius: 8px;
  background-color: #151515;
  max-width: 800px;
}

.right-column {
  flex: 1;
  padding: 20px;
  border-radius: 8px;
  background-color: #151515;
  max-width: 375px;
}

.quick-functions {
  display: flex;
  justify-content: space-between; /* Distributes items evenly */
  align-items: center; /* Aligns items vertically */
  gap: 15px; /* Adds space between items */
  padding: 10px;
}

.quick-functions div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.quick-functions a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  border-radius: 50%;
  border: 1px solid #3a3a3a;
  padding: 15px;
  transition: .3s ease-in-out;
}

.quick-functions a:hover {
  background-color: #232323;
  border: 1px solid #5f5f5f;
}

.quick-functions ion-icon {
  font-size: 24px; /* Adjust icon size */
  color: #fff; /* Default color */
}

.quick-functions p {
  font-size: 14px;
  margin: 0;
  color: white;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(158deg, rgba(0, 0, 0, 0.997) 0%, rgba(45, 45, 45, 0.964) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader {
  text-align: center;
  padding: 20px;
  margin: 20px 0;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 15px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#loading-progress {
  font-size: 1.2em;
  margin-bottom: 5px;
}

#loading-count {
  color: #666;
}

.logo-preloader {
  position: relative;
  width: 150px;
  height: 150px;
}

.logo-prel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fadeIn 2s ease-in-out forwards, fadeOut 2s ease-in-out 2s forwards;
}

.loading-text {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: var(--ff-poppins) !important;
  letter-spacing: -2px;
  color: #fff;
  font-size: 1.5em;
  opacity: 0;
  animation: fadeInText 2s ease-in-out forwards, fadeOutText 2s ease-in-out 4s forwards;
}

.loading-text span {
  display: inline-block;
  animation: bounce 1s infinite;
  font-family: var(--ff-poppins) !important;
}


.loading-text span:nth-child(1) { animation-delay: 0s; }
.loading-text span:nth-child(2) { animation-delay: 0.1s; }
.loading-text span:nth-child(3) { animation-delay: 0.2s; }
.loading-text span:nth-child(4) { animation-delay: 0.3s; }
.loading-text span:nth-child(5) { animation-delay: 0.4s; }
.loading-text span:nth-child(6) { animation-delay: 0.5s; }
.loading-text span:nth-child(7) { animation-delay: 0.6s; }
.loading-text span:nth-child(8) { animation-delay: 0.7s; }
.loading-text span:nth-child(9) { animation-delay: 0.8s; }
.loading-text span:nth-child(10) { animation-delay: 0.9s; }

@keyframes fadeIn {
  0% { opacity: 0; transform: scale(0.5); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes fadeOut {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.5); }
}

@keyframes fadeInText {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOutText {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(20px); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Dark theme */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: hsl(var(--hue), 10%, 10%);
    --fg: hsl(var(--hue), 10%, 90%);
  }


.scraper-rating {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  background: var(--gunmetal-2);
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4);
  margin-top: 20px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Base styling for all rating sections */
.scraper-rating > div {
  padding: 15px;
  border-radius: 8px;
  background: var(--eerie-black);
  border: 1px solid var(--gunmetal-1);
}



/* Metacritic Layout */
.metacritic-rating {
  border-left: 4px solid #ffcc00;
}

.metacritic-rating .scores {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.metacritic-rating .score-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.metacritic-rating .text {
  font-size: var(--fs-8);
  font-weight: var(--fw-500);
  color: var(--white);
  text-align: left;
}

.metacritic-rating img {
  width: 35px;
  height: 35px;
}

/* ČSFD Layout */
.csfd-rating {
  border-left: 4px solid #ff6600;
}

.csfd-rating .scores {
  display: flex;
  justify-content: space-between;
  width: 100%;
  text-align: center;
}

.csfd-rating div {
  flex: 1;
}

.scraper-rating div p {
  font-size: var(--fs-8);
  color: var(--white);
}

#popcornmeter{
  margin-top: 20px;
}
.left-column {
  position: relative;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: url('path/to/play-icon.png') no-repeat center center; /* Path to your play icon */
  background-size: contain;
  cursor: pointer;
  z-index: 10;
}

.main-video, .behind-the-scenes-video {
  margin-top: 20px; /* Adjust margin as needed */
  width: 100%;
  position: relative;
}

.slider-list{
  overflow-x: overlay;
  width: 100%;
}

.slider-list .slider-inner{
  position: relative;
  display: flex;
  gap: 16px;
}

.video-card{
  background-image: url(../images/video-bg-icon.png);
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
}

.poster-box, .video-card{
  background-repeat: no-repeat;
  background-size: 50px;
  background-position: center;
  background-color: var(--banner-background);
  border-radius: var(--radius-16);
  overflow: hidden;
}

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

@media (min-width: 768px) {
  .movie-detail .slider-list {
      margin-inline-start: 0;
      border-radius: var(--radius-16) 0 0 var(--radius-16);
  }
}

@media (min-width: 768px) {
  .slider-list {
      margin-inline: -24px;
  }
}

.slider-list {
  margin-inline: 0px;
  overflow-x: overlay;
  padding-block-end: 16px;
  margin-block-end: 21px;
}

.slider-list::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 8px;
}

.slider-list:is(:hover, :focus-within)::-webkit-scrollbar-thumb {
  background-color: #737373;
}

.slider-list::-webkit-scrollbar {
  height: 8px; /* Adjust height if it's horizontal */
}

.status {
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Language display */
#language-display {
  opacity: 0;
  transition: opacity 0.3s ease;
}

#language-display:not(:empty) {
  opacity: 1;
}

/* Color coding */
.released { background-color: green; }
.in-production { background-color: orange; }
.planned { background-color: blue; }
.rumored { background-color: darkorange; }
.post-production { background-color: purple; }
.canceled { background-color: red; }
.unknown { background-color: gray; }


.section-subtitle {
  font-size: 1.2rem;
  color: #00aaff;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}

.description p {
  font-size: 1rem;
  color: #ddd;
  margin: 5px 0;
}

.original-name, .release-date-full, .status {
  font-weight: 500;
}

.original-name strong, .release-date-full strong {
  color: #00aaff;
}

.cast-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.actor-singular {
  background: rgba(255, 255, 255, 0.07);
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease-in-out;
  width: 120px;
}

.actor-singular:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.15);
}

.actor-singular img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.actor-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-top: 5px;
}

.actor-character {
  font-size: 0.8rem;
  color: #aaa;
}


.franchise {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0; /* Extra spacing top & bottom */
}

.franchise-box {
  position: relative;
  background: 
      linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05)),
      var(--collection-backdrop);
  background-size: cover;
  background-blend-mode: overlay;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: auto;
  max-width: 600px;
  min-width: 300px;
  aspect-ratio: 16/9; /* Keeps a nice horizontal layout */
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.37);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.franchise-box:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 48px 0 rgba(31,38,135,0.5);
}

.franchise-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
}

.franchise-box h3 {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.franchise-box a {
  position: relative;
  z-index: 1;
  background: linear-gradient(45deg, #00b7ff, #009ddb);
  color: var(--darkest);
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.franchise-box a:hover {
  background: linear-gradient(45deg, #009ddb, #0077aa);
  transform: translateY(-3px);
}

.studio {
  cursor: pointer;
  margin: 5px;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: inline-block;
}

.studio.selected {
  background-color: #00b7ff;
  color: white;
  border-color: #00b7ff;
}
}
