#trn-movies > * {
  font-family: "Poppins", sans-serif !important;
}

.trn-movies {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 220px;
  padding-bottom: 456px;
  background-color: #0c0b0b;
  position: relative;
}

.trn-movies::before {
  opacity: 0;
  content: "";
  position: absolute;
  bottom: -608px;
  width: 100%;
  height: 610px;
  background: linear-gradient(
    181deg,
    #fff 0%,
    #fff 13.46%,
    #2b2a2a 86.54%,
    #0c0b0b 100%
  );
  transform: rotate(180deg);
}

.trn_section-upper_center {
  text-align: center;
}

.trn_section-title {
  color: #d4d4d3;
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 15px;
  font-weight: 700;
}

/* SLIDER DESKTOP */

.trn-movies-slider {
  position: absolute;
  bottom: -267px;
  width: 100%;
  overflow: hidden;
  cursor: grab;
  padding: 0;
}

.trn-movies-slider .swiper-wrapper {
  align-items: center;
}

.trn-movies-slider .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px !important;
  height: 623px !important;
  overflow: hidden;
}

.trn-movies-slider .swiper-img-gray {
  filter: grayscale(100%) brightness(0.6);
  object-fit: cover;
  border-radius: 0;
  height: 513px !important;
}

.trn-movies-slider .swiper-img-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  clip-path: inset(50% 0);
  transition: clip-path 0.8s cubic-bezier(0.61, 0.25, 0.36, 1);
}

.trn-movies-slider .swiper-slide:hover .swiper-img-top,
.trn-movies-slider .swiper-slide-active .swiper-img-top {
  clip-path: inset(0 0);
}

.trn-scrollbar {
  position: relative !important;
  max-width: 500px;
  margin-top: 50px;
  background-color: rgba(255, 255, 255, 0.2);
}

.trn-scrollbar .swiper-scrollbar-drag {
  cursor: pointer;
  background-color: #ffd522;
}

/* SLIDER MOBILE */

.trn-movies-slider-mobile {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  opacity: 0;
  margin-top: 60px;
  position: absolute;
  visibility: hidden;
  pointer-events: none;
}

.trn-movies-slider-mobile .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px !important;
  height: 373px !important;
  overflow: hidden;
}

.trn-movies-slider-mobile .swiper-img-gray {
  filter: grayscale(100%) brightness(0.6);
  object-fit: cover;
  border-radius: 0;
  height: 293px !important;
}

.trn-movies-slider-mobile .swiper-img-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  clip-path: inset(50% 0);
  transition: clip-path 0.8s cubic-bezier(0.61, 0.25, 0.36, 1);
}

.trn-movies-slider-mobile .swiper-slide-active .swiper-img-top {
  clip-path: inset(0 0);
}

@keyframes slideActive {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}

@media (max-width: 1440px) {
}

@media (max-width: 1024px) {
  .trn-movies {
    padding-top: 120px;
  }
}

@media (max-width: 480px) {
  .trn-movies-slider-mobile .swiper-img-gray {
    filter: grayscale(70%) brightness(0.3);
  }
  .trn-scrollbar {
    max-width: 320px;
  }
  .trn-section--black {
    padding-bottom: 100px;
  }
  .trn-movies::after {
    display: none;
  }
  .trn-movies::before {
    opacity: 1;
  }
  .trn-movies-slider {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .trn-movies-slider-mobile {
    opacity: 1;
    position: static;
    visibility: visible;
    pointer-events: auto;
  }
}

@media (max-width: 360px) {
  .trn-scrollbar {
    max-width: 280px;
  }

  .trn-scrollbar {
    margin-top: 30px;
  }

  .trn-movies-slider-mobile {
    margin-top: 30px;
  }

  .trn_section-upper {
    gap: 5px !important;
  }
}
