*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  text-decoration: none ;
}

:root{
--md-dark-color: rgb(65, 90, 119);
--dark-color: rgb(27, 38, 59);
--light-dark-color: rgb(119, 141, 169);
--primary-color:rgb(13, 27, 42);
--white-color:rgb(235, 235, 234);
--brand-logo-size: 34px;
--brand-title-size: 2rem;
--brand-logo-size-mobile: 28px;
--brand-title-size-mobile: 1.55rem;
--list-card-width: 14vw;
--list-card-height: 40vh;
--slider-side-space: 50px;

}


body{
background-color: var(--primary-color);
overflow-x: hidden;
overflow-y: auto;

}

body.loading-view {
  overflow: hidden;
}

.loader {
  background: var(--primary-color);
  background:
    radial-gradient(circle at center, rgb(35, 49, 72), rgb(20, 31, 49) 45%, var(--primary-color) 78%);
  bottom: 0;
  left: 0;
  overflow: hidden;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9999;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.loader-inner {
  bottom: 0;
  height: 60px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 100px;
}

.loader-text {
  bottom: calc(50% - 82px);
  color: var(--white-color);
  font-family: "Oswald", sans-serif;
  font-size: 1.2rem;
  left: 0;
  letter-spacing: 0;
  margin: 0;
  position: absolute;
  right: 0;
  text-align: center;
}

.loader-line-wrap {
  animation: spin 2000ms cubic-bezier(.175, .885, .32, 1.275) infinite;
  box-sizing: border-box;
  height: 50px;
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  transform-origin: 50% 100%;
  width: 100px;
}

.loader-line {
  border: 4px solid transparent;
  border-radius: 100%;
  box-sizing: border-box;
  height: 100px;
  left: 0;
  margin: 0 auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 100px;
}

.loader-line-wrap:nth-child(1) {
  animation-delay: -50ms;
}

.loader-line-wrap:nth-child(2) {
  animation-delay: -100ms;
}

.loader-line-wrap:nth-child(3) {
  animation-delay: -150ms;
}

.loader-line-wrap:nth-child(4) {
  animation-delay: -200ms;
}

.loader-line-wrap:nth-child(5) {
  animation-delay: -250ms;
}

.loader-line-wrap:nth-child(1) .loader-line {
  border-color: var(--white-color);
  height: 90px;
  top: 7px;
  width: 90px;
}

.loader-line-wrap:nth-child(2) .loader-line {
  border-color: var(--light-dark-color);
  height: 76px;
  top: 14px;
  width: 76px;
}

.loader-line-wrap:nth-child(3) .loader-line {
  border-color: var(--md-dark-color);
  height: 62px;
  top: 21px;
  width: 62px;
}

.loader-line-wrap:nth-child(4) .loader-line {
  border-color: rgba(119, 141, 169, 0.58);
  height: 48px;
  top: 28px;
  width: 48px;
}

.loader-line-wrap:nth-child(5) .loader-line {
  border-color: rgba(235, 235, 234, 0.42);
  height: 34px;
  top: 35px;
  width: 34px;
}

body:not(.loading-view) .app-loading-screen {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes spin {
  0%, 15% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

html {
  scroll-behavior: smooth;
}

#popularmovies,
#popularseries,
#watchlist {
  scroll-margin-top: 88px;
}
.body-poster{
  width: 100%;
  min-height: 100dvh;
  height: auto;
  display: flex;
  flex-direction: column;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  
}

.body-poster1,
.body-poster2,
.body-poster3,
.body-poster4,
.body-poster5,
.body-poster6,
.body-poster7,
.body-poster8 {
  width: 100%;
  min-height: 100dvh;
  height: auto;
  display: flex;
  flex-direction: column;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.body-poster1 {
  background-image: linear-gradient(94deg, rgba(13, 27, 42, 0.8842130602240896) 62%, rgba(119, 141, 169, 0.5648853291316527) 94%), url("/assets/posters/500daysofsummer.avif");
}

.body-poster2 {
  background-image: linear-gradient(94deg, rgba(13, 27, 42, 0.8842130602240896) 62%, rgba(119, 141, 169, 0.5648853291316527) 94%), url("/assets/posters/whiplash.jpg");
}

.body-poster3 {
  background-image: linear-gradient(94deg, rgba(13, 27, 42, 0.8842130602240896) 62%, rgba(119, 141, 169, 0.5648853291316527) 94%), url("/assets/posters/everythingeverywhere.jpg");
}

.body-poster4 {
  background-image: linear-gradient(94deg, rgba(13, 27, 42, 0.8842130602240896) 62%, rgba(119, 141, 169, 0.5648853291316527) 94%), url("/assets/posters/joker-2-poster-featured.avif");
}

.body-poster5 {
  background-image: linear-gradient(94deg, rgba(13, 27, 42, 0.8842130602240896) 62%, rgba(119, 141, 169, 0.5648853291316527) 94%), url("/assets/posters/pastlives.jpg");
}

.body-poster6 {
  background-image: linear-gradient(94deg, rgba(13, 27, 42, 0.8842130602240896) 62%, rgba(119, 141, 169, 0.5648853291316527) 94%), url("/assets/posters/miracleincellno7.jpg");
}

.body-poster7 {
  background-image: linear-gradient(94deg, rgba(13, 27, 42, 0.8842130602240896) 62%, rgba(119, 141, 169, 0.5648853291316527) 94%), url("/assets/posters/perks%20of%20being%20a%20wallflower.jpg");
}

.body-poster8 {
  background-image: linear-gradient(94deg, rgba(13, 27, 42, 0.8842130602240896) 62%, rgba(119, 141, 169, 0.5648853291316527) 94%), url("/assets/posters/memoriesofmurder.jpg");
}

.logo{
  width: 20px;
  height: 20px;
  scale: 0.9;
  padding-top: 8px;
  padding-left: 10px;
  

}

.title{
  color: rgb(221, 219, 219);
  padding: 5px;
  padding-left: 7px;
  font-family: "Oswald", sans-serif;
  font-weight: lighter;
  font-size: 1.5rem;
}
.nav-bar{
display: flex;
flex-direction: row;
justify-content: space-between;
font-family: "Oswald", sans-serif;
padding: 10px 40px;
position: sticky;
top: 0;
z-index: 9999;
background-color: transparent;
transition: background-color 0.3s ease;
padding-top: 2vh;


}

.home-view .nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}
.nav-colored { background-color: var(--dark-color);}
.nav-transparent {background-color: transparent; }

.nav-bar-sub{
  display: flex;
  width: 60%;
  font-family: "Oswald", sans-serif;
  text-decoration:none;
  list-style-type: none;
  font-size: 25px;
 justify-content: end;
 align-items: center;
 position: relative;
 
}


.searchbox{
  padding: 5px 0px;
 
}

/* From Uiverse.io by WhiteNervosa */ 
.nav-bar-buttons {
  font-size: 20px;
  color: var(--white-color);
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  border: none;
  background: none;
  text-transform: uppercase;
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: color;
  padding: 10px 0px;  
}

.nav-bar-buttons:focus,
.nav-bar-buttons:hover {
  color: #b3b1b1;
}

.nav-bar-buttons:focus:after,
.nav-bar-buttons:hover:after {
  width: 100%;
  left: 0%;
}

.nav-bar-buttons:after {
  content: "";
  pointer-events: none;
  bottom: 6px;
  left: 50%;
  position: absolute;
  width: 0%;
  height: 3px;
  background-color: #bdbbbb;
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: width, left;
}


.nav-bar-buttons{
  color: white;
  font-size: medium;

}

.nav-bar-text{
  color: rgb(196, 196, 195) !important;
}

.nav-bar-subbuttons{
  padding: 15px;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.439);
  color: var(--white-color);
  padding: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  width: 38px;
  height: 38px;
}

.nav-toggle:hover {
  background-color: rgba(119, 141, 169, 0.55);
}

.nav-toggle-icon {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nav-bar > .logo {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 8px;
  width: auto;
  height: auto;
  padding: 0;
  scale: 1;
}

.nav-bar > .logo img.logo {
  width: var(--brand-logo-size);
  height: var(--brand-logo-size);
  padding: 0;
  margin: 0;
}

.nav-bar > .logo .title {
  margin: 0;
  padding: 0;
  font-size: var(--brand-title-size);
  line-height: 1;
}

/* From Uiverse.io by vnuny */ 
.container {
  position: relative;
  box-sizing: border-box;
  width: fit-content;
  padding-top: 0;
  display: flex;
  align-items: center;
}

.mainbox {
  box-sizing: border-box;
  position: relative;
  width: 230px;
  height: 40px;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  border-radius: 160px;
  background-color: rgba(255, 255, 255, 0.439) ;
  transition: all 0.3s ease;
  scale: 0.9;
}

.checkbox:focus {
  border: none;
  outline: none;
}

.checkbox:checked {
  right: 10px;
}

.checkbox:checked ~ .mainbox {
  width: 50px;
}

.checkbox:checked ~ .mainbox .search_input {
  width: 0;
  height: 0px;
}

.checkbox:checked ~ .mainbox .iconContainer {
  padding-right: 8px;
}

.checkbox {
  box-sizing: border-box;
  width: 25px;
  height: 25px;
  position: absolute;
  right: 17px;
  top: 10px;
  z-index: 9;
  cursor: pointer;
  appearance: none;
}

.search_input {
  box-sizing: border-box;
  height: 100%;
  width: 170px;
  background-color: transparent;
  border: none;
  outline: none;
  padding-bottom: 4px;
  padding-left: 10px;
  font-size: 1em;
  color: #000;
  transition: all 0.3s ease;
  font-family:"Oswald", sans-serif;
  font-weight: 200;
  scale: 0.8;
}

.search_input::placeholder {
  color: rgba(0, 0, 0, 0.72);
}

.iconContainer {
  box-sizing: border-box;
  padding-top: 5px;
  width: fit-content;
  transition: all 0.3s ease;
}

.search_icon {
  box-sizing: border-box;
  fill: white;
  font-size: 1.2em;
  scale: 0.74;
}

.searchbox{
  scale: 0.7;
  
}
.body-button {
  --primary-color: var(--md-dark-color);
  --secondary-color: #fff;
  --hover-color:  var(--dark-color);
  --arrow-width: 10px;
  --arrow-stroke: 2px;
  box-sizing: border-box;
  border: 0;
  border-radius: 20px;
  color: var(--secondary-color);
  padding: 1em 1.8em;
  background: var(--primary-color);
  display: flex;
  transition: 0.2s background;
  align-items: center;
  gap: 0.6em;
  font-weight: bold;
}

.body-button .arrow-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.body-button .arrow {
  margin-top: 1px;
  width: var(--arrow-width);
  background: var(--primary-color);
  height: var(--arrow-stroke);
  position: relative;
  transition: 0.2s;
}

.body-button .arrow::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  border: solid var(--secondary-color);
  border-width: 0 var(--arrow-stroke) var(--arrow-stroke) 0;
  display: inline-block;
  top: -3px;
  right: 3px;
  transition: 0.2s;
  padding: 3px;
  transform: rotate(-45deg);
}

.body-button:hover {
  background-color: var(--hover-color);
}

.body-button:hover .arrow {
  background: var(--secondary-color);
}

.body-button:hover .arrow:before {
  right: 0;
}
 
.body-main{
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  box-sizing: border-box;
  max-width: 100%;
  width: min(100%, 760px);
  min-height: 0;
  height: 100%;
  padding: clamp(18px, 4vh, 42px) 0 clamp(18px, 4vh, 42px) calc(clamp(24px, 7vw, 96px) + 50px);
  position: relative;
}


/* From Uiverse.io by Nawsome */ 
.arrow {
  cursor: pointer;
  height: 60px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  transition: transform 0.1s;
  width: 50px;
}

.arrow-top, .arrow-bottom {
  background-color: var(--white-color);
  height: 4px;
  left: -5px;
  position: absolute;
  top: 50%;
  width: 100%;
  
}

.arrow-top:after, .arrow-bottom:after {
  background-color: var(--md-dark-color);
  content: "";
  height: 100%;
  position: absolute;
  top: 0;
  transition: all 0.15s;
}

.arrow-top {
  transform: rotate(45deg);
  transform-origin: bottom right;
}

.arrow-top:after {
  left: 100%;
  right: 0;
  transition-delay: 0s;
}

.arrow-bottom {
  transform: rotate(-45deg);
  transform-origin: top right;
}

.arrow-bottom:after {
  left: 0;
  right: 100%;
  transition-delay: 0.15s;
}

.arrow:hover .arrow-top:after {
  left: 0;
  transition-delay: 0.15s;
}

.arrow:hover .arrow-bottom:after {
  right: 0;
  transition-delay: 0s;
}

.arrow:active {
  transform: translateX(-50%) translateY(-50%) scale(0.9);
}

#prev-slide {
  z-index: 10;
  top: 40vh;
  left: 4vw;
  position:absolute;
  scale: 0.5;
  transform: rotate(-180deg);
}


#next-slide {
  
  top: 40vh;
  position:absolute;
  scale: 0.5;
  left: 96vw;
}

@media (max-width: 900px) {
  .slider-controls,
  #prev-slide,
  #next-slide {
    display: none !important;
  }
}



.body-title,.body-description,.body-rating{
  color: rgb(208, 207, 207);
  padding-left: 0;
}

.body-title{
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: bold;
  padding-bottom: 10px;

}

.body-title h1 {
  font-size: inherit;
  line-height: 1.08;
  letter-spacing: 0.01em;
  overflow-wrap: break-word;

}
.body-rating{
  font-size: clamp(0.95rem, 1.9vw, 1.2rem);
  color: rgb(47, 135, 48);
  font-weight:lighter;
  width: auto;
  padding-bottom: 5px;

}

.body-rating h1 {
  font-size: inherit;
  line-height: 1.2;
}

.body-description{
  width: min(90vw, 640px);
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.45;
  overflow-wrap: break-word;
}

.body-buttons{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  padding-left: 0;
  padding-top: 15px;

}
.body-button{
  margin-right: 0;
}
.button-body-text{
  color: rgb(223, 221, 221);
}

.body-button2{
  border: 2px solid var(--light-dark-color);
  color:rgb(218, 210, 210);
  padding: 15px;
  border-radius: 15px;
  font-weight: bold ;
  background-color: transparent ;
  color:black;
  
}


.body-button2:hover{
  background-color: var(--light-dark-color);
  color:rgb(212, 208, 208);
  transition: 0.35s;

}
.body-main-gradient{
  background-image:linear-gradient(0deg, rgba(0, 0, 0, 0.955) 0%, rgba(0, 0, 0, 0.469) 77%, rgba(0, 0, 0, 0.051) 100%) ;
  height: 60vh;
  
  
}


/* Styling for Popular Movies title */
#movie-recomen-title {
  z-index: 1;
  color: rgb(201, 198, 198);
  position: relative;
  padding-left: 60px;
  font-size: 25px;
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  padding-top: 20px;
  padding-bottom: 10px;
}

#upcoming-recomen-title,
#toprated-movies-title,
#popular-tv-title,
#toprated-tv-title,
#airing-tv-title {
  z-index: 1;
  color: rgb(201, 198, 198);
  position: relative;
  padding-left: 60px;
  font-size: 25px;
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  padding-top: 20px;
  padding-bottom: 10px;
}

#trending-recomen-title {
  z-index: 1;
  color: rgb(201, 198, 198);
  position: relative;
  padding-left: 60px;
  font-size: 25px;
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  padding-top: 20px;
  padding-bottom: 10px;
}


.movie-recomen-body {
  background-color: var(--primary-color);
  height: 50vh;
  width: 100%;
}

.slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.movie-recomen-moviesbox {
  width: 100%;
  height: calc(var(--list-card-height) + 2vh);
  margin: 0 auto;
  padding: 0 var(--slider-side-space);
  box-sizing: border-box;
  overflow: hidden;
}


.movie-list {
  display: flex;
  transition: transform 0.5s ease;
  list-style: none;
  gap: 8px;
  margin: 0;
  padding: 0;
}


.movie-poster-box {
  flex: 0 0 var(--list-card-width);
  width: var(--list-card-width);
  margin-right: 0;

}

.home-rail-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.recon-poster {
width: 100%;
height: var(--list-card-height);
background-color: #1a1a1a;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
transition: transform 0.25s ease, box-shadow 0.25s ease;
transform-origin: center;
object-fit: cover;
}

.movie-poster-box:hover .recon-poster {
transform: scale(1.05) translateY(-4px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.home-rail-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 22%, rgba(0, 0, 0, 0.94) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.home-rail-card:hover .home-rail-overlay,
.home-rail-card:focus-within .home-rail-overlay {
  opacity: 1;
}

.home-rail-overlay h3 {
  color: var(--white-color);
  font-size: 0.86rem;
  line-height: 1.2;
  margin: 0;
}

.home-rail-overlay p {
  margin: 0;
  color: rgba(235, 235, 234, 0.82);
  font-size: 0.68rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.home-rail-actions {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}

.home-rail-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(13, 27, 42, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  padding: 0;
}

.home-rail-icon-btn img {
  width: 15px;
  height: 15px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.home-rail-icon-btn:hover {
  background: rgba(65, 90, 119, 0.95);
}

.home-rail-icon-btn[aria-pressed="true"] {
  background: rgba(119, 141, 169, 0.95);
  border-color: rgba(255, 255, 255, 0.75);
}

.slider-button {
  background-color: var(--md-dark-color);
  opacity: 0; 
  color: #ffffff;
  border: none;
  cursor: pointer;
  padding: 15px;
  font-size: 25px;
  position: absolute;
  top: calc(50% - 7px);
  transform: translateY(-50%);
  z-index: 2;
  scale: 1;
  transition: opacity 0.8s ease, box-shadow 0.8s ease;
  height: var(--list-card-height);
  width: 45px;
}

.slider-container:hover .slider-button {
  opacity: 0.6;
}

/* Position for previous button */
#recom-prev-slide {
  left: 0px;
}

#trending-prev-slide {
  left: 0px;
}

#upcoming-prev-slide {
  left: 0px;
}

#toprated-movies-prev-slide {
  left: 0px;
}

/* Position for next button */
#recom-next-slide {
  right: 0px;
}

#trending-next-slide {
  right: 0px;
}

#upcoming-next-slide {
  right: 0px;
}

#toprated-movies-next-slide {
  right: 0px;
}

/* Watchlist slider buttons */
#watchlist-prev-slide {
  left: 0px;
}

#watchlist-next-slide {
  right: 0px;
}

/* Optional: Customize pagination bullets */
.swiper-pagination-bullet {
  background: #ffffff00;
}




/* series recomen */

.series-recomen-body {
  background-color: var(--primary-color);
  height: 50vh;
  width: 100%;
}
.series-recomen-seriesbox {
  width: 100%;
  height: calc(var(--list-card-height) + 2vh);
  margin: 0 auto;
  padding: 0 var(--slider-side-space);
  box-sizing: border-box;
  overflow: hidden;
  
}

.series-list {
  display: flex;
  transition: transform 0.5s ease;
  list-style: none;
  gap: 8px;
  margin: 0;
  padding: 0;
}


/* Position for previous button */
#series-prev-slide {
  left: 0px;
}

/* Position for next button */
#series-next-slide {
  right: 0px;
}

#popular-tv-prev-slide,
#toprated-tv-prev-slide,
#airing-tv-prev-slide {
  left: 0px;
}

#popular-tv-next-slide,
#toprated-tv-next-slide,
#airing-tv-next-slide {
  right: 0px;
}

#series-recomen-title {
  z-index: 1;
  color: rgb(201, 198, 198);
  position: relative;
  padding-left: 60px;
  font-size: 25px;
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  padding-bottom: 10px;
  padding-top: 20px;
}

.series-slider-button {
   background-color: var(--md-dark-color);
  opacity: 0; 
  color: #ffffff;
  border: none;
  cursor: pointer;
  padding: 15px;
  font-size: 25px;
  position: absolute;
  top: calc(50% - 7px);
  transform: translateY(-50%);
  z-index: 2;
  scale: 1;
  transition: opacity 0.8s ease, box-shadow 0.8s ease;
  height: var(--list-card-height);
  width: 45px;
}

.slider-container:hover .series-slider-button {
  opacity: 0.6;
}

/* searchbox */

.search-container{
background-color: var(--md-dark-color);
height: 300px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
    -ms-flex-align: center;
        align-items: center;
-webkit-box-pack: center;
    -ms-flex-pack: center;
        justify-content: center;
}
.search-element{
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: stretch;
    -ms-flex-align: stretch;
        align-items: stretch;
-webkit-box-pack: center;
    -ms-flex-pack: center;
        justify-content: center;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
    -ms-flex-direction: column;
        flex-direction: column;
position: relative;
}
.search-element h3{
-ms-flex-item-align: center;
    align-self: center;
margin-right: 1rem;
font-size: 2rem;
color: #fff;
font-weight: 500;
margin-bottom: 1.5rem;
}
.search-element .form-control{
padding: 1rem 2rem;
font-size: 1.4rem;
border: none;
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
outline: none;
color: var(--light-dark-color);
width: 350px;
}
.search-list{
position: absolute;
right: 0;
top: 100%;
max-height: 500px;
overflow-y: scroll;
z-index: 10;
}
.search-list .search-list-item{
background-color: var(--dark-color);
padding: 0.5rem;
border-bottom: 1px solid var(--dark-color);
width: calc(350px - 8px);
color: #fff;
cursor: pointer;
-webkit-transition: background-color 200ms ease;
-o-transition: background-color 200ms ease;
transition: background-color 200ms ease;
}
.search-list .search-list-item:Hover{
background-color: var(--primary-color);
}
.search-list-item{
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
    -ms-flex-align: center;
        align-items: center;
gap: 10px;
}
.search-list .search-item-thumbnail{
width: 50px;
height: 75px;
min-width: 50px;
border-radius: 4px;
overflow: hidden;
background-color: rgba(255, 255, 255, 0.08);
display: flex;
align-items: center;
justify-content: center;
}
.search-list .search-item-thumbnail img{
width: 100% !important;
height: 100% !important;
max-width: none;
max-height: none;
object-fit: contain;
object-position: center;
display: block;
}
.search-item-info h3{
font-weight: 600;
font-size: 1rem;
}
.search-item-info p{
font-size: 0.8rem;
margin-top: 0.5rem;
font-weight: 600;
opacity: 0.6;
}

/* thumbnail */
.search-list::-webkit-scrollbar{
width: 8px;
}
.search-list::-webkit-scrollbar-track{
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
.search-list::-webkit-scrollbar-thumb{
background-color: var(--primary-color);
outline: none;
border-radius: 10px;
}

/* js related class */
.hide-search-list{
display: none;
}



/* movie details */

.body-movie-poster{
width: 100%;
  min-height: 100dvh;
  height: auto;
  display: flex;
  flex-direction: column;
  background-color: var(--primary-color);
}

.movie-hero-surface {
  width: 100%;
  min-height: 100dvh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

#movie-details-container{
display: flex;
flex-direction: row;
color: white ;
min-height: calc(100dvh - 86px);
height: auto;
justify-content: center;
align-items: center;
gap: 38px;
padding: 10vh 10vw;
width: 100%;
box-sizing: border-box;
}

.movie-main{
display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: auto;
  min-height: 0;
}

.movie-cast-section {
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: 16px 14px 28px;
  box-sizing: border-box;
  background-color: var(--primary-color);
  padding-top: 5vh;
}

.movie-cast-title {
  color: rgb(201, 198, 198);
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 0 0 14px;
  text-align: center;
}

.movie-cast-slider-container {
  display: flex;
  align-items: center;
  margin: 0 auto;
  justify-content: center;
  position: relative;
  width: 82%;
}

.movie-cast-track-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.movie-cast-list {
  list-style: none;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 2px 2px;
  margin: 0;
}

.movie-cast-list::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.movie-page-slider-button-left{
  background-color: var(--md-dark-color);
  opacity: 0;
  color: #ffffff;
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 20px;
  position: absolute;
  top: 48%;
  transform: translateY(-50%) translateX(-100%);
  z-index: 2;
  transition: opacity 0.35s ease;
  height: 112px;
  width: 42px;
}

.movie-page-slider-button-right{
  background-color: var(--md-dark-color);
  opacity: 0;
  color: #ffffff;
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 20px;
  position: absolute;
  top: 48%;
  transform: translateY(-50%) translateX(90%);
  z-index: 2;
  transition: opacity 0.35s ease;
  height: 112px;
  width: 42px;
}
#cast-prev-slide {
  left: 0;
}

#cast-next-slide {
  right: 0;
}

.cast-sliders-hidden #cast-prev-slide,
.cast-sliders-hidden #cast-next-slide {
  display: none;
}

.movie-cast-slider-container:hover .movie-page-slider-button-left,
.movie-cast-slider-container:hover .movie-page-slider-button-right {
  opacity: 0.62;
}

.movie-cast-item {
  flex: 0 0 110px;
  text-align: center;
}

.movie-cast-avatar {
  width: 78px;
  height: 78px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  margin: 0 auto 8px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background-color: rgba(255, 255, 255, 0.12);
}

.movie-cast-name {
  color: var(--white-color);
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}

.movie-cast-character {
  color: #9fb1c3;
  font-size: 12px;
  line-height: 1.2;
  margin: 4px 0 0;
  min-height: 14px;
}

.movie-cast-empty {
  color: #c9c9c9;
  margin-top: 8px;
  text-align: center;
}

.movie-recommend-section {
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: 6px 14px 28px;
  background-color: var(--primary-color);
  padding-top: 5vh;
}

.movie-recommend-title {
  color: rgb(201, 198, 198);
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  margin: 0 0 14px;
}

.movie-recommend-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.movie-recommend-grid .movie-poster-box {
  margin-right: 0;
  position: relative;
}

.recommended-item-link {
  display: block;
  position: relative;
}

.recommended-item-link .recon-poster {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  transform-origin: center;
}

.recommended-item-link:hover .recon-poster {
  transform: scale(1.05) translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.movie-poster-box.home-rail-card .home-rail-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 22%, rgba(0, 0, 0, 0.94) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.movie-poster-box.home-rail-card:hover .home-rail-overlay,
.movie-poster-box.home-rail-card:focus-within .home-rail-overlay {
  opacity: 1;
}

.movie-poster-box.home-rail-card .home-rail-overlay h3 {
  color: var(--white-color);
  font-size: 0.86rem;
  line-height: 1.2;
  margin: 0;
}

.movie-poster-box.home-rail-card .home-rail-overlay p {
  margin: 0;
  color: rgba(235, 235, 234, 0.82);
  font-size: 0.68rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.movie-poster-box.home-rail-card .home-rail-actions {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}

.movie-recommend-empty {
  color: #c9c9c9;
  margin-top: 8px;
  text-align: center;
}
.movie-poster{
width: min(30vw, 390px);
min-width: 240px;
height: auto;
flex-direction: column;
justify-content: center;
align-items: center;
color: white;
}

.movie-poster img{
width: 100%;
height: auto;
aspect-ratio: 2 / 3;
object-fit: cover;
display: block;
margin: 0;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.movie-info{
text-align: center;
color: #fff;
padding-top: 0;
text-align: left;
width: min(56vw, 940px);
max-width: 100%;
font-family: "Oswald", sans-serif;
font-weight: 300;
line-height: 1.45;
}

/* movie info stylings */
.movie-title{
font-size: clamp(2.2rem, 3vw, 3.2rem);
color: var(--white-color);
font-family: "Oswald", sans-serif;
font-weight: 400;
letter-spacing: 0.01em;
}

.movie-title-logo {
  display: block;
  width: min(100%, 520px);
  max-height: 150px;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 8px;
}

.movie-info p,
.movie-info li {
  font-size: 1rem;
  font-weight: 300;
  color: #e5e8ed;
}

.detail-label {
  color: #c6d3e1;
  font-weight: 400;
  font-size: 1rem;
  margin-right: 6px;
}

.button-match-label {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.detail-label::after {
  content: ":";
}
.movie-misc-info{
list-style-type: none;
display: flex;
flex-direction: row;
justify-content: flex-start;
flex-wrap: wrap;
gap: 6px;
padding: 12px 0px;
}
.movie-info .year{
font-weight: 400;
padding: 5px;
}

.released-date-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.released-date-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.movie-info .rated{
background-color: var(--md-dark-color);
padding: 5px;
border-radius: 3px;
font-weight: 400;
margin-left: 0;
}
.movie-info .released{
font-size: 0.9rem;
padding: 5px;
margin-left: 0;
font-weight: 400;
}
.movie-info .writer{
padding-bottom: 10px;

}
.movie-info .genre{
background-color: #233453;
display: inline-block;
padding: 0.5rem;
border-radius: 3px;
margin-bottom: 10px;
font-weight: 300;

}
.movie-info .plot{

width: 100%;
padding: 10px 0px;
overflow-wrap: break-word;
}
.movie-info .language{
color: #d9e3ed;
font-style: italic;
}
.movie-info .awards{
font-weight: 300;
font-size: 0.9rem;
margin: 10px 0px;

}
.movie-info .awards i{
color: var(--primary-color);
margin-bottom: 10px;

}
.movie-info .embed-link{
margin-top: 25px;
}

.movie-action-row {
display: flex;
align-items: center;
gap: 10px;
margin-top: 25px;
flex-wrap: wrap;
}

.available-on-section {
margin-top: 14px;
padding: 0;
border-radius: 0;
background-color: transparent;
border: none;
max-width: min(560px, 100%);
}

.available-on-section h4 {
margin: 0 0 8px;
font-family: "Oswald", sans-serif;
font-weight: 400;
font-size: 1.05rem;
color: var(--white-color);
}

.provider-group {
margin-top: 8px;
}

.provider-group-label {
margin: 0 0 6px;
font-size: 0.85rem;
color: #c6d3e1;
font-weight: 600;
}

.provider-list {
display: flex;
flex-wrap: nowrap;
gap: 8px;
list-style: none;
padding: 0;
margin: 0;
overflow-x: auto;
overflow-y: hidden;
scrollbar-width: thin;
}

.provider-item {
flex: 0 0 auto;
}

.provider-item img {
width: 38px;
height: 38px;
border-radius: 8px;
display: block;
object-fit: cover;
border: 1px solid rgba(255, 255, 255, 0.18);
}

.provider-link {
display: inline-block;
margin-top: 10px;
color: #d8e5f2;
font-size: 0.86rem;
font-weight: 600;
text-decoration: none;
}

.provider-link:hover {
text-decoration: underline;
}

.provider-empty {
margin: 0;
font-size: 0.92rem;
color: #d5dde6;
}

.embed-link a,
.movie-action-btn,
.watchlist-action-btn {
color: #ffffff;
text-decoration: none;
font-weight: 700;
font-family: "Oswald", sans-serif;
padding: 13px 24px;
background-color: var(--md-dark-color);
border-radius: 20px;
transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
border: 1px solid transparent;
font-size: 1rem;
line-height: 1.2;
cursor: pointer;
}

.watchlist-action-btn {
  background-color: transparent;
  border: 2px solid var(--light-dark-color);
  color: rgb(218, 210, 210);
}

.watchlist-action-btn:not(.like-heart-btn):hover {
  background-color: var(--light-dark-color);
  color: rgb(212, 208, 208);
  border-color: var(--light-dark-color);
}

.movie-action-btn:hover {
  background-color: var(--dark-color);
  border-color: transparent;
}

.like-heart-btn {
  width: 46px;
  min-width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
  border-width: 1px;
}

.embed-link a:hover,
.movie-action-btn:hover,
.watchlist-action-btn:hover {
background-color: var(--dark-color);  
color: #fff;     
border: 1px solid white;           
}

.like-heart-btn:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

/* ===== NEW FOOTER STYLES ===== */
.footer {
  background-color: var(--dark-color);
  color: var(--white-color);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.footer-container {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

.footer-content {
  display: flex;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-branding {
  flex: 0 0 220px;
}

.footer-logo-section {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: nowrap;
  white-space: nowrap;
  width: fit-content;
}

.footer-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-logo-section .title {
  margin: 0;
  padding: 0;
  font-size: var(--brand-title-size);
  line-height: 1;
  flex: 0 0 auto;
}

.footer-description {
  margin: 0 0 12px 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.footer-sections {
  display: flex;
  flex: 1;
  gap: 48px;
}

.footer-section {
  flex: 1;
  min-width: 140px;
}

.footer-section-title {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
}

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

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
  transition: color 0.2s ease;
  display: inline-block;
}

.footer-section a:hover {
  color: var(--white-color);
  text-decoration: underline;
}

.footer-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
}

.footer-copyright {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-tmdb-credit {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 5px;
}

.footer-tmdb-credit a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.tmdb-logo {
  height: 10px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer-tmdb-credit a:hover .tmdb-logo {
  opacity: 1;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.2s ease;
  background-color: rgba(255, 255, 255, 0.08);
}

.social-link:hover {
  color: var(--white-color);
  background-color: rgba(255, 255, 255, 0.15);
}

/* ===== FOOTER RESPONSIVE ===== */
@media (max-width: 768px) {
  .footer-container {
    padding: 32px 16px;
  }

  .footer-content {
    flex-direction: column;
    gap: 0;
    margin-bottom: 24px;
    text-align: center;
  }

  .footer-branding {
    flex: none;
    margin: 0 auto;
  }

  .footer-logo-section {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-description {
    max-width: 300px;
    margin: 0 auto 12px auto;
  }

  .footer-sections {
    display: none;
  }

  .footer-divider {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
    padding-top: 16px;
  }

  .footer-copyright {
    order: 1;
  }

  .footer-tmdb-credit {
    order: 2;
    justify-content: center;
  }

  .footer-social {
    order: 3;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 24px 12px;
  }

  .footer-logo-section {
    margin-bottom: 12px;
    justify-content: center;
  }

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

  .footer-description {
    font-size: 12px;
    line-height: 1.5;
    max-width: 280px;
    margin: 0 auto 12px auto;
  }

  .footer-bottom {
    gap: 12px;
    padding-top: 12px;
  }

  .footer-copyright {
    font-size: 12px;
  }

  .footer-tmdb-credit {
    font-size: 11px;
    gap: 4px;
  }

  .tmdb-logo {
    height: 8px;
  }

  .footer-social {
    gap: 8px;
  }

  .social-link {
    width: 32px;
    height: 32px;
  }

  .social-link svg {
    width: 18px !important;
    height: 18px !important;
  }
}

.hidden {
  display: none !important;
}

.auth-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  margin-right: 14px;
}

.profile-link {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.profile-link:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.profile-avatar {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: cover;
  border-radius: 999px;
}

.profile-avatar.is-default {
  filter: none;
}

.auth-status {
  display: none;
}

.auth-btn {
  --primary-color: var(--md-dark-color);
  --secondary-color: #fff;
  --hover-color: var(--dark-color);
  border: 0;
  border-radius: 19px;
  background: var(--primary-color);
  color: var(--secondary-color);
  height: 40px;
  min-width: 112px;
  padding: 0 19px;
  cursor: pointer;
  font-size: medium;
  font-weight: 800;
  font-family: inherit;
  text-transform: uppercase;
  scale: 0.9;
  transition: 0.2s background;
}

.auth-btn:hover {
  background-color: var(--hover-color);
}

.auth-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.auth-btn-secondary {
  background-color: var(--primary-color);
}

.icon-btn {
  width: 40px;
  min-width: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-text-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
}

.icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.main__action {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  pointer-events: auto;
}

.main__scroll {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.main__scroll:hover {
  transform: translateY(5px);
}

.main__scroll-text {
  color: rgba(235, 235, 234, 1);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: "Roboto", sans-serif;
}

.main__scroll-box {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(235, 235, 234, 1);
}

.main__scroll-box svg {
  width: 100%;
  height: 100%;
}

.main__action:hover .main__scroll-box {
  animation: scroll-down 3s infinite;
}

@keyframes scroll-down {
  0%, 100% {
    transform: translateY(0rem);
    opacity: 1;
  }
  35% {
    transform: translateY(1rem);
    opacity: 0;
  }
  70% {
    transform: translateY(-1rem);
    opacity: 0;
  }
}

.watchlist-section {
  background-color: var(--primary-color);
  width: 100%;
}

.watchlist-header-row {
  padding-left: var(--slider-side-space);
  padding-right: var(--slider-side-space);
  padding-top: 20px;
  padding-bottom: 0;
}

#watchlist-title {
  color: rgb(201, 198, 198);
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  font-size: 25px;
  margin: 0;
  padding-bottom: 10px;
  z-index: 1;
  position: relative;
}

.watchlist-subtitle {
  color: #c9c9c9;
  font-size: 14px;
  margin: 0;
}

.watchlist-message {
  color: #c9c9c9;
  margin-bottom: 10px;
  padding: 0 var(--slider-side-space);
}

.watchlist-section .slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.watchlist-section .movie-recomen-moviesbox {
  width: 100%;
  height: calc(var(--list-card-height) + 2vh);
  margin: 0 auto;
  padding: 0 var(--slider-side-space);
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

.watchlist-grid {
  display: flex;
  transition: transform 0.5s ease;
  list-style: none;
  gap: 8px;
  margin: 0;
  padding: 0;
  position: relative;
}

.watchlist-card-preview .recon-poster {
  filter: blur(4px) brightness(0.35);
}

.watchlist-center-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
  text-align: center;
  padding: 10px;
  pointer-events: none;
  background: rgba(43, 43, 43, 0.053);
  border-radius: 20px;
}

.watchlist-center-message h4 {
  color: rgb(208, 207, 207);
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin: 0;
  line-height: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
}

.watchlist-card-blur-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(65, 90, 119, 0.5);
  z-index: 10;
}

.watchlist-preview-message {
  text-align: center;
  padding: 20px;
  max-width: 90%;
}

.watchlist-preview-message h4 {
  color: var(--white-color);
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.movie-poster-box.watchlist-card {
  position: relative;
  overflow: hidden;
  height: var(--list-card-height);
}

.watchlist-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 20%, rgba(0, 0, 0, 0.92) 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.movie-poster-box.watchlist-card:hover .watchlist-card-overlay,
.movie-poster-box.watchlist-card:focus-within .watchlist-card-overlay {
  opacity: 1;
}

.watchlist-card-overlay h3 {
  color: var(--white-color);
  font-size: 15px;
  line-height: 1.2;
  margin: 0;
}

.watchlist-card-overlay p {
  color: #c9c9c9;
  font-size: 12px;
  margin: 0;
}

.watchlist-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.watchlist-card-btn {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: var(--md-dark-color);
  color: var(--white-color);
  border-radius: 6px;
  padding: 7px 8px;
  cursor: pointer;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.watchlist-card-btn:hover {
  background-color: var(--dark-color);
}

.watchlist-card-btn-remove {
  background-color: rgba(224, 73, 73, 0.18);
  border-color: rgba(224, 73, 73, 0.55);
}

.watchlist-section .watchlist-action-btn {
  border-color: transparent;
}

.watchlist-section .watchlist-action-btn[aria-pressed="true"] {
  background-color: #e04949;
  border-color: rgba(255, 255, 255, 0.2);
}

.watchlist-inline-message {
  margin-top: 10px;
  color: #c9c9c9;
}

.profile-page-main {
  background: rgb(10, 15, 24);
  min-height: calc(100vh - 82px);
  padding: 0 12px 42px;
  margin-top: -86px;
}

.profile-view .nav-bar {
  background-color: transparent;
}

.profile-view .nav-bar.nav-colored {
  background-color: var(--dark-color);
}

.profile-dashboard-shell {
  width: min(1240px, 100%);
  margin: 0 auto;
  color: var(--white-color);
  font-family: "Roboto", sans-serif;
}

.profile-image-surface {
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(12px, calc((100vw - 1240px) / 2));
  padding-right: max(12px, calc((100vw - 1240px) / 2));
  background-image: url("/assets/posters/joker-2-poster-featured.avif");
  background-size: cover;
  background-position: center top;
}

.profile-image-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(27, 38, 59, 0.5) 0%,
    rgba(13, 27, 42, 0.7) 40%,
    rgba(10, 15, 24, 0.85) 70%,
    rgb(10, 15, 24) 100%
  );
}

.profile-image-surface > * {
  position: relative;
  z-index: 1;
}

.profile-hero-banner {
  background: transparent;
}

.profile-hero-overlay {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  min-height: 270px;
  padding: 110px 24px 24px;
}

.profile-hero-main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.profile-hero-avatar {
  width: 108px;
  height: 108px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.45);
  object-fit: cover;
  background-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.36);
}

.profile-hero-info h1 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  line-height: 1;
  margin: 0 0 8px;
  font-weight: 300;
}

.profile-member-line {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #d9e2ec;
}

.profile-auth-status-line {
  margin: 8px 0 0;
  color: #c6d1dc;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.7;
}

.profile-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(52px, 1fr));
  gap: 10px;
}

.profile-stat-item {
  border: 2px solid var(--light-dark-color);
  border-radius: 10px;
  padding: 10px 10px;
  min-width: 70px;
  text-align: center;
  background: rgba(13, 27, 42, 0.26);
  backdrop-filter: blur(3px);
}

.profile-stat-value {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
  color: rgb(223, 221, 221);
  font-weight: 300;
  font-family: "Oswald", sans-serif;
}

.profile-stat-label {
  display: block;
  margin-top: 2px;
  color: rgb(212, 208, 208);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "Oswald", sans-serif;
  font-weight: 300;
}

.profile-auth-actions .auth-btn {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
}

.profile-auth-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 8px;
}

.profile-logout-btn {
  background: #e04949;
}

.profile-rails-section {
  margin-top: 20px;
}

.profile-image-surface .profile-rails-section {
  margin-top: 16px;
  padding-bottom: 22px;
}

.profile-image-surface + .profile-rails-section {
  margin-top: 0;
  padding-top: 14px;
}

.profile-rails-section h2,
.profile-editor-section h2 {
  font-family: "Oswald", sans-serif;
  font-size: 25px;
  font-weight: 300;
  margin: 0 0 12px;
  color: rgb(201, 198, 198);
}

.profile-rail-slider {
  position: relative;
}

.profile-rail-viewport {
  overflow: hidden;
}

.profile-rail-viewport.movie-recomen-moviesbox {
  padding-left: 0;
  padding-right: 0;
}

.profile-rail-list {
  display: flex;
  gap: 8px;
  transform: translateX(0);
  transition: transform 0.5s ease;
  will-change: transform;
  margin: 0;
  padding: 0;
}

.profile-rail-card {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.profile-rail-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 20%, rgba(0, 0, 0, 0.92) 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.profile-rail-card:hover .profile-rail-overlay,
.profile-rail-card:focus-within .profile-rail-overlay {
  opacity: 1;
}

.profile-rail-overlay h3 {
  color: var(--white-color);
  font-size: 14px;
  line-height: 1.2;
  margin: 0;
}

.profile-rail-actions {
  display: flex;
  gap: 8px;
}

.profile-rail-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(13, 27, 42, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.profile-rail-icon-btn img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.profile-rail-icon-btn:hover {
  background: rgba(65, 90, 119, 0.95);
}

.profile-rail-icon-btn-remove {
  background: rgba(224, 73, 73, 0.2);
  border-color: rgba(224, 73, 73, 0.55);
}

.profile-rail-icon-btn-remove:hover {
  background: rgba(224, 73, 73, 0.34);
}

#profile-favorites-prev,
#profile-watchlist-prev,
#profile-history-prev {
  left: 0;
}

#profile-favorites-next,
#profile-watchlist-next,
#profile-history-next {
  right: 0;
}

.profile-rail-empty {
  margin: 8px 0 0;
  color: #c9c9c9;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.7;
}

.profile-editor-section {
  margin-top: 26px;
  border-radius: 14px;
  border: 1px solid rgba(119, 141, 169, 0.35);
  background: rgba(6, 14, 25, 0.74);
  padding: 16px;
}

.profile-form {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 10px;
  padding-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 12px;
}

.profile-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.profile-full-row-field {
  grid-column: 1 / -1;
}

.profile-field label {
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: #dbe4ee;
}

.profile-field input {
  height: 40px;
  border: 1px solid rgba(119, 141, 169, 0.55);
  border-radius: 10px;
  background-color: rgba(13, 27, 42, 0.75);
  color: var(--white-color);
  padding: 0 12px;
  outline: none;
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  font-size: 1rem;
}

.profile-field input:focus {
  border-color: rgba(177, 196, 216, 0.85);
}

.profile-backdrop-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.profile-avatar-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.profile-avatar-help {
  color: #c4cfdb;
  font-size: 0.78rem;
}

.profile-backdrop-input {
  flex: 1;
  height: 40px;
  border: 1px solid rgba(119, 141, 169, 0.55);
  border-radius: 10px;
  background-color: rgba(13, 27, 42, 0.75);
  color: var(--white-color);
  padding: 0 12px;
  outline: none;
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  font-size: 1rem;
}

.profile-backdrop-input:focus {
  border-color: rgba(177, 196, 216, 0.85);
}

.profile-backdrop-input::placeholder {
  color: rgba(235, 235, 234, 0.5);
}

.profile-preview-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  grid-column: 1 / -1;
}

.profile-avatar-preview {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
  background-color: rgba(255, 255, 255, 0.12);
}

.profile-preview-note {
  margin: 0;
  color: #c4cfdb;
  font-size: 13px;
}

.profile-save-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  grid-column: 1 / -1;
}

.profile-save-message {
  color: #cfd6de;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.75;
}

.login-page-main {
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 14px 44px;
  background: transparent;
}

.login-view .body-movie-poster {
  background:
    radial-gradient(circle at 18% 0%, rgba(119, 141, 169, 0.3) 0%, rgba(65, 90, 119, 0.22) 24%, rgba(13, 27, 42, 0.96) 58%),
    linear-gradient(180deg, rgba(65, 90, 119, 0.24) 0%, rgba(13, 27, 42, 0.96) 46%, rgba(13, 27, 42, 1) 100%);
}

.login-panel {
  width: min(560px, 100%);
  border: 1px solid rgba(119, 141, 169, 0.34);
  background: linear-gradient(180deg, rgba(27, 38, 59, 0.94), rgba(13, 27, 42, 0.95));
  border-radius: 18px;
  padding: 32px 28px;
  color: var(--white-color);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.34);
}

.login-panel h1 {
  margin: 0 0 10px;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #f1f2f4;
}

.login-toggle-line {
  margin: 0 0 18px;
  color: #c9d3de;
  font-size: 0.95rem;
}

.login-toggle-line a {
  color: #d7e3f0;
  margin-left: 6px;
  text-decoration: underline;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-input {
  height: 52px;
  border: 1px solid rgba(119, 141, 169, 0.58);
  border-radius: 10px;
  background-color: rgba(13, 27, 42, 0.68);
  color: #eceef1;
  padding: 0 14px;
  outline: none;
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  font-size: 1em;
}

.auth-input:focus {
  border-color: rgba(177, 196, 216, 0.9);
}

.auth-input::placeholder {
  color: rgba(201, 210, 220, 0.62);
  font-family: "Oswald", sans-serif;
  font-weight: 300;
}

.auth-input-full {
  width: 100%;
}

.auth-terms-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  color: #d0d8e0;
  font-size: 0.9rem;
}

.auth-terms-row input {
  width: 18px;
  height: 18px;
}

.auth-terms-row a {
  color: #d7e3f0;
  text-decoration: underline;
}

.auth-submit-btn {
  margin-top: 6px;
  height: 52px;
  border: 1px solid rgba(119, 141, 169, 0.45);
  border-radius: 10px;
  background: var(--md-dark-color);
  color: var(--white-color);
  font-size: 1.45rem;
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.auth-submit-btn:hover {
  background-color: var(--dark-color);
}

.login-panel .auth-status {
  display: block;
  margin: 12px 0 4px;
  color: #d2dbe5;
  font-size: 0.83rem;
}

.auth-resend-btn {
  border: 1px solid rgba(119, 141, 169, 0.55);
  border-radius: 8px;
  background: rgba(13, 27, 42, 0.5);
  color: #d7e3f0;
  font-family: "Oswald", sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  padding: 8px 12px;
  cursor: pointer;
  margin: 4px 0 8px;
}

.auth-resend-btn:hover {
  background: rgba(27, 38, 59, 0.8);
}

.auth-resend-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #b8c5d1;
  font-size: 0.86rem;
  margin: 12px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid rgba(119, 141, 169, 0.45);
}

.auth-divider span {
  padding: 0 10px;
}

.auth-oauth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.auth-oauth-btn {
  height: 50px;
  border: 1px solid rgba(119, 141, 169, 0.55);
  border-radius: 10px;
  background: rgba(65, 90, 119, 0.86);
  color: #eef0f4;
  font-size: 1.12rem;
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.auth-oauth-logo {
  width: 22px;
  height: 22px;
  display: block;
}

.auth-oauth-btn:hover {
  background: var(--dark-color);
}

#logout-btn {
  margin-top: 12px;
}

@media (max-width: 1024px) {
  :root {
    --list-card-width: 19vw;
    --list-card-height: 34vh;
    --slider-side-space: 44px;
  }

  .nav-bar {
    padding: 10px 20px;
  }

  .movie-recomen-body,
  .series-recomen-body {
    height: auto;
    min-height: 44vh;
    padding-bottom: 16px;
  }

  .auth-controls {
    flex-wrap: wrap;
  }

  .watchlist-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-hero-overlay {
    padding: 18px;
    min-height: 240px;
    align-items: flex-end;
  }

  .profile-stat-value {
    font-size: 17px;
  }

  .login-panel {
    padding: 28px 20px;
  }

  .auth-submit-btn {
    font-size: 1.25rem;
  }

  .footer-main {
    gap: 12px 16px;
    padding: 0 14px;
  }

}

@media (max-width: 900px) {
  :root {
    --list-card-width: 24vw;
    --list-card-height: 30vh;
    --slider-side-space: 38px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .nav-bar {
    align-items: center;
    flex-wrap: wrap;
    position: relative;
  }

  .nav-bar-sub {
    display: none;
    width: 100%;
    margin-top: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background-color: rgba(27, 38, 59, 0.96);
    border: 1px solid rgba(119, 141, 169, 0.55);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
  }

  .nav-open .nav-bar-sub {
    display: flex;
  }

  .nav-bar-buttons {
    width: 100%;
    text-align: left;
    border-radius: 8px;
    padding: 0;
  }

  .nav-bar-subbuttons {
    display: block;
    width: 100%;
    padding: 10px 12px;
  }

  .nav-bar-buttons:after {
    display: none;
  }

  .auth-controls {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin-left: 0;
    padding: 4px 12px 8px;
    gap: 10px;
  }

  .auth-controls .auth-btn {
    width: 100%;
    min-width: 0;
    height: auto;
    padding: 10px 12px;
    border-radius: 8px;
    text-align: left;
    font-size: 16px;
    line-height: 1.2;
    scale: 1;
  }

  .auth-status {
    width: 100%;
  }

  .container {
    width: 100%;
    padding: 8px 12px;
  }

  .mainbox {
    width: min(100%, 320px);
    justify-content: flex-start;
    flex-direction: row;
    border-radius: 12px;
    padding: 0 10px;
    scale: 1;
    margin: 0;
  }

  .checkbox {
    display: none;
  }

  .checkbox:checked ~ .mainbox {
    width: min(100%, 320px);
  }

  .checkbox:checked ~ .mainbox .search_input {
    width: 100%;
    height: 100%;
  }

  .checkbox:checked ~ .mainbox .iconContainer {
    padding-right: 8px;
  }

  .iconContainer {
    padding-top: 0;
    padding-right: 8px;
  }

  .search_input {
    width: 100%;
    height: 100%;
    padding-left: 0;
    scale: 1;
  }

  .search_input {
    width: 100%;
  }

  .slider-button,
  .series-slider-button {
    opacity: 0.5;
    width: 38px;
  }

  .footer-main {
    justify-content: center;
    gap: 10px 14px;
  }

  .footer-links,
  .footer-logo,
  .sub-footer {
    flex: 1 1 210px;
  }

  .profile-hero-overlay {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .profile-hero-stats {
    width: 100%;
  }

}

@media (max-width: 768px) {
  :root {
    --list-card-width: 34vw;
    --list-card-height: 28vh;
    --slider-side-space: 32px;
  }

  .title {
    font-size: 32px;
  }

  #trending-recomen-title,
  #movie-recomen-title,
  #upcoming-recomen-title,
  #toprated-movies-title,
  #series-recomen-title,
  #popular-tv-title,
  #toprated-tv-title,
  #airing-tv-title {
    padding-left: 20px;
    font-size: 22px;
  }

  #watchlist-title {
    font-size: 22px;
    padding-left: 0;
  }

  .watchlist-header-row {
    padding-left: var(--slider-side-space);
    padding-right: var(--slider-side-space);
  }

  .watchlist-message {
    padding: 0 var(--slider-side-space);
  }

  .watchlist-section .movie-recomen-moviesbox {
    padding: 0;
  }

  .watchlist-grid {
    padding: 0 var(--slider-side-space);
  }

  .movie-recomen-moviesbox,
  .series-recomen-seriesbox {
    width: 100%;
    padding: 0 var(--slider-side-space);
  }

  .slider-button,
  .series-slider-button {
    width: 34px;
    padding: 10px;
    font-size: 18px;
  }

  .nav-bar > .logo .title {
    font-size: var(--brand-title-size-mobile);
  }

  .nav-bar > .logo img.logo {
    width: var(--brand-logo-size-mobile);
    height: var(--brand-logo-size-mobile);
  }

  .footer-logo-section .title {
    font-size: var(--brand-title-size-mobile);
  }

  .footer-logo-section .footer-logo {
    width: 30px;
    height: 30px;
  }

  .footer-main {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 12px;
  }

  .footer-links,
  .footer-logo,
  .sub-footer {
    width: 100%;
    max-width: 400px;
    flex: 0 1 auto;
    padding: 8px 0;
  }

  .footer-copyright {
    padding-top: 14px;
  }

  .footer-caption {
    width: 100%;
    max-width: 420px;
    padding: 6px 10px 0;
    box-sizing: border-box;
  }

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

  .profile-page-main {
    padding: 16px 8px 32px;
    margin-top: -84px;
  }

  .profile-hero-main {
    align-items: center;
  }

  .profile-hero-avatar {
    width: 82px;
    height: 82px;
  }

  .profile-member-line {
    font-size: 15px;
  }

  .profile-hero-stats {
    grid-template-columns: repeat(2, minmax(48px, 1fr));
  }

  .profile-hero-overlay {
    padding-top: 100px;
  }

  .profile-image-surface .profile-rails-section {
    padding-bottom: 16px;
  }

  .profile-stat-item {
    padding: 4px 5px;
  }

  .profile-stat-value {
    font-size: 16px;
  }

  .profile-rails-section h2,
  .profile-editor-section h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .profile-form {
    grid-template-columns: 1fr;
  }

  .profile-backdrop-controls {
    flex-wrap: wrap;
    gap: 6px;
  }

  .profile-backdrop-input {
    width: 100%;
    min-width: 100%;
  }

  .profile-backdrop-controls .auth-btn {
    flex: 1;
    min-width: calc(50% - 3px);
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .icon-text-btn span {
    font-size: 0.8rem;
  }

  .profile-save-row {
    flex-direction: column;
    gap: 12px;
  }

  .auth-status {
    font-size: 11px;
  }

  .nav-toggle {
    width: 36px;
    height: 36px;
    padding: 7px;
  }

  #movie-details-container {
    flex-direction: column;
    min-height: calc(100dvh - 76px);
    height: auto;
    padding: 4vh 6vw;
    gap: 16px;
  }

  .movie-main {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .movie-poster {
    width: min(75vw, 320px);
    min-width: 0;
  }

  .movie-info {
    width: 100%;
    padding-top: 0;
  }

  .movie-recommend-title {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .movie-cast-title {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .movie-cast-list {
    gap: 12px;
  }

  .movie-page-slider-button-left,
  .movie-page-slider-button-right {
    width: 34px;
    height: 96px;
    font-size: 16px;
    opacity: 0.5;
  }

  .movie-cast-item {
    flex-basis: 96px;
  }

  .movie-cast-avatar {
    width: 68px;
    height: 68px;
  }

  .movie-cast-name {
    font-size: 13px;
  }

  .movie-cast-character {
    font-size: 11px;
  }

  .movie-action-row {
    gap: 8px;
  }

  .movie-action-btn,
  .watchlist-action-btn {
    width: auto;
    padding: 10px 14px;
  }

  .available-on-section {
    width: 100%;
    padding: 10px;
  }

  .provider-item img {
    width: 34px;
    height: 34px;
  }

  .auth-name-row,
  .auth-oauth-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --list-card-width: 44vw;
    --list-card-height: 26vh;
    --slider-side-space: 26px;
  }

  .movie-recomen-moviesbox,
  .series-recomen-seriesbox {
    padding: 0 var(--slider-side-space);
  }

  .watchlist-section .movie-recomen-moviesbox {
    padding: 0;
  }

  .watchlist-header-row {
    padding-left: var(--slider-side-space);
    padding-right: var(--slider-side-space);
  }

  .watchlist-message {
    padding: 0 var(--slider-side-space);
  }

  .watchlist-grid {
    padding: 0 var(--slider-side-space);
  }

  .footer-links h1 {
    font-size: 20px;
  }

  .footer-links a,
  .sub-footer a,
  .sub-footer p {
    font-size: 14px;
  }

  .footer-logo {
    gap: 6px;
  }

  .profile-backdrop-controls {
    flex-direction: column;
  }

  .profile-backdrop-controls .auth-btn {
    width: 100%;
    min-width: unset;
  }

  .profile-editor-section {
    padding: 12px;
  }

  .profile-field {
    margin-bottom: 8px;
  }

  .profile-save-row {
    gap: 8px;
  }
}

@media (max-width: 900px) {
  .body-poster {
    min-height: 100dvh;
    height: auto;
    background-position: 62% center;
  }

  .body-main {
    width: min(100%, 680px);
    min-height: 0;
    justify-content: center;
    padding: clamp(16px, 4vh, 28px) 16px clamp(16px, 4vh, 28px) 28px;
  }

  .body-description {
    width: min(92vw, 560px);
  }
}

@media (max-width: 768px) {
  .body-main {
    width: 100%;
    min-height: 0;
    justify-content: center;
    padding: 14px 14px 18px 20px;
  }

  .body-title {
    font-size: clamp(1.5rem, 7.2vw, 2.3rem);
  }

  .body-rating {
    font-size: clamp(0.92rem, 3.5vw, 1.05rem);
  }

  .body-description {
    width: min(92vw, 500px);
    font-size: clamp(0.96rem, 3.5vw, 1.05rem);
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .body-poster {
    background-position: 66% center;
  }

  .body-main {
    width: 100%;
    min-height: 0;
    justify-content: center;
    padding: 12px 12px 14px 16px;
  }

  .body-description {
    width: 100%;
  }
}
