.section-movie {
  margin: 128px 0 64px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.movie-content {
  width: 100%;
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.movie-youtube,
.movie-wrap {
  width: clamp(300px, calc(var(--aspect-base) * 403), 403px);
  aspect-ratio: 5 / 6;
  height: auto;
}

.movie-item,
.swiper-movie .swiper-slide {
  width: clamp(300px, calc(var(--aspect-base) * 403), 403px);
  height: auto;
}
.swiper-movie .swiper-wrapper {
  height: auto;
}
.swiper-movie {
  width: 100%;
}

.swiper-movie .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0 calc(var(--aspect-base) * 20) 0 calc(var(--aspect-base) * 20);
}
.swiper-movie .movie-title {
  width: 100%;
  text-align: left;
  color: #3aa162;
  font-size: clamp(12px, calc(var(--aspect-base) * 16), 16px);
}

.section-movie .swiper-slide {
  position: relative;
}

.section-movie .movie-item {
  position: relative;
  z-index: 2;
  transform: scale(0.9);
  transform-origin: center bottom;
  transition: transform 0.3s ease;
}
.section-movie .swiper-slide:hover .movie-item {
  transform: scale(1);
}

.movie-title-wrap {
  position: relative;
  --reserve-lines: 1;
  height: calc(var(--reserve-lines) * 1lh);
  margin-top: 8px;
  width: 100%;
}

.movie-title {
  position: absolute;
  top: 0;
  left: 5%;
  margin: 0;
  font-size: 16px;
  color: #ddd;
  transition: all 0.3s ease;
  z-index: 3;
}

.section-movie .swiper-slide:hover .movie-title {
  transform: scale(1) translate(-2%, calc(-100% - 10px));
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  z-index: 3;
  pointer-events: none;
  font-size: clamp(16px, calc(var(--aspect-base) * 20), 20px);
}

.movie-item,
.movie-icon-wrapper {
  position: relative;
  z-index: 2;
  transform: scale(0.9);
  transform-origin: center bottom;
  transition: transform 0.3s ease;
}

.movie-icon-wrapper {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 3;
  pointer-events: auto;
}

.section-movie .swiper-slide:hover .movie-item,
.section-movie .swiper-slide:hover .movie-icon-wrapper {
  transform: scale(1);
}

.section-movie .swiper-wrapper.hovering .swiper-slide:not(:hover) {
  filter: brightness(0.5);
}

.movie-icon-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.movie-swiper-navigate {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}
.movie-swiper-navigate .swiper-button-prev {
  width: 64px;
  height: 64px;
  left: auto;
  right: clamp(760px, calc(var(--aspect-base) * 1426), 1426px);
}
.movie-swiper-navigate .swiper-button-next {
  width: 64px;
  height: 64px;
  left: clamp(760px, calc(var(--aspect-base) * 1426), 1426px);
  right: auto;
}
.movie-swiper-navigate .swiper-button-prev:after,
.movie-swiper-navigate .swiper-button-next:after {
  content: "" !important;
}

.swiper-scrollbar-wrapper {
  display: flex;
  align-items: center;
  gap: 32%;
  justify-content: center;
  position: absolute;
  bottom: -32px;
  width: 100%;
}

.swiper-scrollbar {
  height: 8px !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 2px;
  margin-top: 8px;
  width: 30% !important;
  left: 35% !important;
  bottom: 6px !important;
  z-index: 5 !important;
}

.scroll-btn {
  background: none;
  border: 0;
  padding: 0;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.scroll-btn svg {
  display: block;
}
@media (hover: hover) {
  .scroll-btn:hover svg path {
    fill: #aaa;
  }
}

.swiper-scrollbar:hover {
  cursor: pointer;
}

.swiper-scrollbar-drag {
  background: linear-gradient(90deg, #d9d9d9 0%, #737373 100%) !important;
}

@media only screen and (max-width: 960px) {
  .section-movie {
    margin-top: 0px;
  }
  .swiper-movie .swiper-button-prev,
  .swiper-movie .swiper-button-next {
    display: none !important;
  }

  .movie-item {
    aspect-ratio: 16 / 9;
    height: auto;
    margin: 0 auto 0 auto;
  }
  .movie-wrap {
    width: 100%;
    height: auto;
  }
  .swiper-movie {
    width: 100%;
  }

  .movie-icon-wrapper {
    width: clamp(300px, calc(var(--aspect-base) * 403), 403px);
  }

  .movie-icon-wrapper svg {
    width: clamp(80px, calc(var(--aspect-base) * 120), 120px);
    height: clamp(80px, calc(var(--aspect-base) * 120), 120px);
  }

  .swiper-movie .swiper-slide {
    margin: 0;
  }
  .swiper-movie .swiper-wrapper {
    width: auto;
  }
  .movie-swiper-navigate .swiper-button-prev {
    width: 24px;
    height: 24px;
    left: auto;
    right: calc(100% / 375 * 343);
  }
  .movie-swiper-navigate .swiper-button-next {
    width: 24px;
    height: 24px;
    left: calc(100% / 375 * 343);
    right: auto;
  }
  .movie-swiper-navigate .swiper-button-prev svg,
  .movie-swiper-navigate .swiper-button-next svg {
    width: 24px;
    height: 24px;
  }

  .swiper-scrollbar-wrapper {
    gap: 36%;
  }
}
