.material-symbols-rounded {
  font-variation-settings: "FILL" 1, "wght" 700, "GRAD" 0, "opsz" 24;
}

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

body {
  background-color: #000413;
  width: 100%;
  height: 100vh;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #fff;
}

.container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-shrink: 0;
  background-color: #161A27;
  border-radius: 10px;
  padding: 20px;
  flex-direction: column;
  overflow-y: scroll;
}
.header {
  width: 100%;
  height: auto;
  background-color: #161A27;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  z-index: 1;
}
li {
  list-style-type: none;
}
.logo {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo__img {
  width: 100%;
  height: 100%;
  display: block;
}
.logo__text {
  display: flex;
  width: fit-content;
  height: auto;
  position: relative;
}
.logo__text-name {
  font-size: 20px;
  text-transform: uppercase;
  color: #4B70F5;
  font-family: "Lilita One", sans-serif !important;
  font-weight: 400;
}
.logo__text-country {
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  font-size: 12px;
  position: absolute;
  right: 0;
  top: 0;
  transform: translate(calc(50% + 8px), -50%);
  font-weight: 500;
}

.search {
  width: 30%;
  height: auto;
  background-color: #242A3F;
  border-radius: 999px;
  padding-left: 10px;
}
.search:focus-within {
  outline: 2px solid #4B70F5;
  outline-offset: -1px;
}
.search__enter {
  display: flex;
  align-items: center;
  width: 100%;
  height: auto;
  gap: 10px;
}
.search__enter-icon {
  color: #fff;
  font-size: 20px;
  display: block;
}
.search__enter-input {
  background-color: transparent;
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: white;
  width: 100%;
  flex: 1;
}
.search__enter-input:focus {
  outline: none;
}
.search__enter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.search__enter-button {
  background-color: #4B70F5;
  padding: 8px;
  display: flex;
  align-items: center;
  border-radius: 0 999px 999px 0;
  border: none;
  gap: 4px;
  font-weight: 500;
}
.search__enter-button span:first-child {
  color: #fff;
  font-size: 15px;
  text-transform: capitalize;
}
.search__enter-button span:last-child {
  font-size: 20px;
  color: #fff;
  display: block;
}
.search__filter {
  background-color: #161A27;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
}
.search__filter-group {
  margin-bottom: 10px;
}
.search__filter-label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}
.search__filter-select {
  width: 100%;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.button-login {
  width: auto;
  height: auto;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  background-color: #4B70F5;
  color: #fff;
  text-transform: capitalize;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.button-login:hover {
  outline: 2px solid #4B70F5;
  background-color: transparent;
  outline-offset: -1px;
}
@media screen and (max-width: 768px) {
  .search {
    display: none;
  }
}
.explore {
  width: 100%;
  height: 420px;
  background-color: black;
  position: relative;
  border-radius: 20px;
  padding: 20px;
  transition: background-image 0.5s ease;
  overflow: hidden;
  opacity: 0;
  flex-shrink: 0;
  animation: slideInBanner 1s forwards;
}
.explore::-webkit-scrollbar {
  display: none;
}
.explore::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  z-index: 1;
  backdrop-filter: blur(10px);
  border-radius: inherit;
  top: 0;
  left: 0;
}
.explore__banner {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  background-size: cover;
  top: 0;
  left: 0;
  transform: translateY(-50px);
  animation: slideInImage 1s forwards 0.5s;
}
@keyframes slideInBanner {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInImage {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.explore-wrapper {
  height: 100%;
  position: relative;
  z-index: 1;
  display: flex;
}

.explore__l {
  width: 50%;
  height: 100%;
  display: flex;
  gap: 10px;
  flex-grow: 1;
}

.explore__poster {
  width: 240px;
  height: 100%;
  border-radius: 20px;
  outline: 4px solid #fff;
  outline-offset: -4px;
  flex-shrink: 0;
}
.explore__poster-img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.explore__medata {
  width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.explore__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.explore__title-orginal {
  text-transform: uppercase;
  color: #fff;
  font-size: 56px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 600px;
}
.explore__title-translate {
  font-weight: 900;
  color: #fff;
}

.explore__info {
  height: 100%;
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.explore__info-description {
  max-height: 100%;
  color: #fff;
  line-height: 1.5;
  text-align: justify;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  flex-grow: 1;
}

.explore__info-more {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 100%;
  flex-grow: 1;
  justify-content: flex-end;
}
.explore__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
}
.explore__rating-icon {
  color: #FFB800;
  display: flex;
  gap: 2px;
}
.explore__rating-icon span {
  display: block;
  font-size: 20px;
}
.explore__rating .explore__rating-text {
  display: flex;
  gap: 4px;
  align-items: center;
}
.explore__rating .explore__rating-text .explore__rating-textRatings {
  text-transform: capitalize;
}

.explore__duration {
  color: #fff;
}
.explore__duration-episode {
  color: #fff;
}

.explore__button {
  display: flex;
  gap: 6px;
}
.explore__button button {
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  text-transform: capitalize;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
}
.explore__button-modal {
  background-color: #B97118;
  padding: 10px 20px;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  display: flex;
  align-items: center;
}
.explore__button-modal:hover {
  background-color: transparent;
  outline: 2px solid #B97118;
  outline-offset: -2px;
}
.explore__button-feature {
  outline: 2px solid #B97118;
  outline-offset: -2px;
  background-color: transparent;
}
.explore__button-feature:hover {
  background-color: #B97118;
}

.explore__r {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  align-items: end;
}

.explore__important {
  display: flex;
  align-items: center;
  width: 100%;
  height: 64px;
  gap: 6px;
}
.explore__important-wp {
  width: 100%;
  height: 100%;
  text-align: end;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.explore__important-wp .explore__important-age {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}
.explore__important-wp .explore__important-topic {
  font-size: 16px;
  color: #fff;
}
.explore__important-column {
  width: 8px;
  height: 100%;
  background-color: #B97118;
  flex-shrink: 0;
  border-radius: 999px;
}

.explore__choose {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}
.explore__choose button {
  background-color: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}
.explore__choose button[not-flow] {
  opacity: 40%;
  cursor: not-allowed;
}
.explore__choose button span {
  color: white;
}
.explore__choose-btnPrev {
  transform: rotate(-180deg);
}

.explore__choose-list {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
}

.explore__choose-cardMovie {
  width: 80px;
  height: 100%;
  border-radius: 10px;
  position: relative;
  transition: scale 0.3s ease-in-out;
  cursor: pointer;
}
.explore__choose-cardMovie[active-card] {
  scale: 1.1;
  outline: 3px solid #fff;
  outline-offset: -3px;
}
.explore__choose-cardMovie:hover {
  scale: 1.1;
  outline: 3px solid #fff;
  outline-offset: -3px;
}
.explore__choose-cardMovie img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

@media screen and (min-width: 360px) {
  .explore {
    height: fit-content;
  }
  .explore__r {
    display: none;
  }
  .explore__l {
    text-align: center;
    width: 100%;
    flex-direction: column;
    gap: 6px;
  }
  .explore__poster {
    width: 60%;
    height: 250px;
    margin: 0 auto;
  }
  .explore__title {
    text-align: center;
  }
  .explore__title-orginal {
    font-size: 40px;
    width: 100%;
  }
  .explore__title-translate {
    width: 100%;
  }
  .explore__info-description {
    -webkit-line-clamp: 4;
  }
  .explore__rating {
    width: 100%;
    justify-content: center;
  }
  .explore__rating-text {
    display: none !important;
  }
  .explore__button {
    justify-content: center;
  }
}
@media screen and (min-width: 768px) {
  .explore-wrapper {
    width: 100%;
    flex-direction: column;
  }
  .explore__l {
    width: 100%;
    flex-direction: row;
    gap: 14px;
  }
  .explore__poster {
    width: 240px;
    height: 398px;
  }
  .explore__title {
    text-align: start;
  }
  .explore__info-description {
    width: 100%;
    -webkit-line-clamp: 7;
  }
  .explore__rating {
    justify-content: flex-start;
  }
  .explore__rating-text {
    display: flex !important;
  }
  .explore__duration {
    text-align: start;
  }
  .explore__button {
    justify-content: flex-start;
  }
  .explore__r {
    width: 100%;
    display: flex;
    margin-top: 24px;
  }
  .explore__important {
    display: none;
  }
  .explore__choose {
    width: 100%;
    justify-content: flex-start;
    gap: 0;
  }
  .explore__choose-cardMovie {
    flex-shrink: 0;
  }
  .explore__choose-list {
    overflow: hidden;
  }
}
@media screen and (min-width: 1280px) {
  .explore-wrapper {
    flex-direction: row;
  }
  .explore__r {
    width: 50%;
    margin: 0;
  }
  .explore__important {
    display: flex;
  }
  .explore__choose {
    justify-content: flex-end;
    gap: 10;
  }
  .explore__title-orginal {
    font-size: 64px;
  }
}
@media screen and (min-width: 1920px) {
  .explore__l {
    width: 30%;
  }
}
@media screen and (min-width: 2000px) {
  .explore__l {
    width: 300px;
  }
}
.movie, .movie__comming {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.movie-header, .movie__comming-header {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
}

.movie-heading, .movie__comming-heading {
  font-size: 24px;
  text-transform: capitalize;
  color: #fff;
  flex-shrink: 0;
}

.movie-line, .movie__comming-line {
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  position: relative;
}

.movie-line::before, .movie__comming-line::before,
.movie-line::after, .movie__comming-line::after {
  content: "";
  width: 8px;
  height: 8px;
  background-color: #fff;
  position: absolute;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.movie-line::before, .movie__comming-line::before {
  left: 0;
}

.movie-line::after, .movie__comming-line::after {
  right: 0;
}

/* Control Styles */
.movie-controls, .movie__comming-controls {
  width: fit-content;
  height: fit-content;
  display: flex;
  gap: 6px;
  align-items: center;
}

.movie-controls button, .movie__comming-controls button {
  background-color: transparent;
  padding: 10px;
  color: #4B70F5;
  border: none;
  outline: 2px solid #4B70F5;
  outline-offset: -4px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 20px;
}

.movie-controls button span, .movie__comming-controls button span {
  display: block;
}

.movie-controls button[more-views], .movie__comming-controls button[more-views],
.move-controlsPrev.active, .move-controlsNext.active,
.move__comming-controlsPrev.active, .move__comming-controlsNext.active {
  background-color: #4B70F5;
  color: #fff;
}

.movie-list, .movie__comming-list {
  display: grid;
  grid-auto-columns: calc((100% - 64px) / 5);
  grid-auto-flow: column;
  gap: 16px;
  width: 100%;
  margin-top: 12px;
  overflow-x: hidden;
  overflow-x: auto; 
}

.movie-list::-webkit-scrollbar, .movie__comming-list::-webkit-scrollbar {
  display: none;
}

.movie-card, .movie__comming-card {
  width: 100%;
  height: auto;
  padding: 14px;
  background-color: #242A3F;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0; 
  transform: translateX(20px); 
  transition: opacity 0.5s ease, transform 0.5s ease; 
}

.movie-card.show, .movie__comming-card.show {
  opacity: 1;
}

.movie-poster, .movie__comming-poster {
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-radius: 20px;
  position: relative;
}

.movie-poster img, .movie__comming-poster img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.movie-poster:hover img, .movie__comming-poster:hover img {
  transform: scale(1.1); 
}

.movie-poster a, .movie__comming-poster a {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  left: 0;
}

.movie-medata, .movie__comming-medata {
  display: flex;
  flex-direction: column;
}

.movie-nameMovie, .movie__comming-nameMovie {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  width: 100%;
  height: fit-content;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-feature, .movie__comming-feature {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.movie-date, .movie__comming-date {
  display: flex;
  color: #fff;
  text-transform: capitalize;
  font-size: 14px;
  opacity: 0.5;
  gap: 2px;
}

.movie__comming-btnNotify {
  width: auto;
  height: auto;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.movie__comming-btnNotify span {
  font-size: 20px;
  color: #fff;
}

.movie__comming-filter {
  display: flex;
  width: 100%;
  height: auto;
  gap: 10px;
  margin-top: 4px;
}

.movie__comming-filter .movie__comming-fillterTag {
  width: auto;
  height: auto;
  padding: 10px 20px;
  background-color: #242A3F;
  border-radius: 999px;
  font-size: 15px;
  text-transform: capitalize;
  font-weight: 500;
  color: #fff;
}

.movie__comming-filter .movie__comming-fillterTag:hover {
  background-color: #4B70F5;
  cursor: pointer;
}

.movie__comming-filter .movie__comming-fillterTag[not-movie],
.movie__comming-filter .movie__comming-fillterTag[active] {
  cursor: not-allowed;
  background-color: #4B70F5;
}

@media screen and (min-width: 360px) {
  .movie-list, .movie__comming-list {
    grid-auto-columns: 100%;
    overflow-x: auto;
  }

  .movie-controls, .movie__comming-controls {
    display: none;
  }

  .movie-nameMovie, .movie__comming-nameMovie {
    font-size: 15px;
    font-weight: bold;
  }

  .movie-poster, .movie__comming-poster {
    height: 200px;
    border-radius: 10px;
  }
}

@media screen and (min-width: 390px) {
  .movie-list, .movie__comming-list {
    grid-auto-columns: calc((100% - 16px) / 2);
  }

  .movie-card, .movie__comming-card {
    position: relative;
    padding: 12px;
  }

  .movie-date, .movie__comming-date {
    font-size: 12px;
    white-space: nowrap;
  }

  .movie-btnNotify, .movie__comming-btnNotify {
    position: absolute;
    top: 0;
    right: 12px;
    transform: translateY(12px);
    padding: 4px;
    background-color: #4B70F5;
    z-index: 1;
    border-radius: 0 10px 0 10px;
  }

  .movie-btnNotify span, .movie__comming-btnNotify span {
    font-size: 24px;
  }
}

@media screen and (min-width: 768px) {
  .movie-list, .movie__comming-list {
    grid-auto-columns: calc((100% - 36px) / 3);
  }

  .movie-poster, .movie__comming-poster {
    height: 250px;
  }
}

@media screen and (min-width: 1024px) {
  .movie-list, .movie__comming-list {
    grid-auto-columns: calc((100% - 48px) / 4);
  }

  .movie-poster, .movie__comming-poster {
    height: 250px;
  }
}

@media screen and (min-width: 1280px) {
  .movie-controls, .movie__comming-controls {
    display: flex;
  }

  .movie-list, .movie__comming-list {
    overflow: hidden;
  }

  .movie-btnNotify, .movie__comming-btnNotify {
    position: static;
    transform: none;
    background-color: transparent;
    padding: 0;
  }
}

@media screen and (min-width: 1366px) {
  .movie-list, .movie__comming-list {
    grid-auto-columns: calc((100% - 64px) / 5);
  }

  .movie-poster, .movie__comming-poster {
    height: 300px;
  }
}

@media screen and (min-width: 1600px) {
  .movie-list, .movie__comming-list {
    grid-auto-columns: calc((100% - 80px) / 6);
  }

  .movie-poster, .movie__comming-poster {
    height: 320px;
  }
}

@media screen and (min-width: 1920px) {
  .movie-list, .movie__comming-list {
    grid-auto-columns: calc((100% - 96px) / 7);
  }

  .movie-poster, .movie__comming-poster {
    height: 350px;
  }
}

@media screen and (min-width: 2560px) {
  .movie-list, .movie__comming-list {
    grid-auto-columns: calc((100% - 128px) / 9);
  }

  .movie-poster, .movie__comming-poster {
    height: 400px;
  }
}
