.uc-posters-wrapper .t396__group.poster {
    z-index: 1 !important;
}
.poster .t-bgimg {
    position: relative;
    overflow: hidden !important;
}
.poster .t-bgimg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(203, 38, 40, 0) 75.76%, #cb2628 100%);
    z-index: 1 !important;
}
.dots {
    display: flex;
    align-items: center;
    justify-content: center;
}
.dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 100%;
    background: #D9D9D9;
    cursor: pointer;
    margin-left: 5px;
    margin-right: 5px;
}
.dots .dot.active {
    background: #CB2628;
    pointer-events: none;
}
.t1118 .t-col.t-col_6 {
    margin-left: 10px;
    margin-right: 10px;
}
.t_faq__header {
    border-radius: 12px;
    background: #222220;
    padding-left: 32px;
    padding-right: 32px;
}
.t_faq__accordion {
    border: none !important;
    margin-bottom: 20px;
}
.t1118__title {
    color: #FFFFFF;
}
.t1118__icon {
    stroke: #fff;
}
.t1118__trigger-button {
    padding: 22px 3px 22px 0;
}
.t1118__content {
    padding: 24px 32px;
    border: 1px solid #CFCFCF;
    border-radius: 12px;
}
.t1118__textwrapper {
    padding-bottom: 0 !important;
}
.yamaps {
    border-radius: 24px !important;
    overflow: hidden;
}
.links {
    text-decoration: underline;
    transition: all 0.15s ease-in-out;
}
.links:hover {
    opacity: .75;
}
.uc-reviews,
/*.uc-reviews .t396__artboard,*/
.uc-reviews .t396__elem,
.uc-reviews .sw-app {
    height: auto !important;
}

/* Стили для каталога постеров */
.uc-posters-header,
.uc-posters-bottom {
    overflow: visible;
    position: relative;
    z-index: 10;
}
.uc-posters-header .t396__artboard,
.uc-posters-bottom .t396__artboard{
    overflow: visible;
}
.uc-posters-wrapper .t396__group:not(.t396__elem-flex) {
    z-index: auto !important;
}
.uc-posters-wrapper .poster-div {
    position: relative;
    z-index: 20 !important;
}
.uc-posters-wrapper {
    position: relative;
}
.uc-posters-wrapper .t396__artboard {
    height: auto !important;
}
.uc-posters-all,
.uc-posters-family,
.uc-posters-adult {
    position: absolute;
    left: 0;
    top: 0;
    /*transition: opacity 0.15s ease-in-out;*/
}
.uc-posters-all .poster-div,
.uc-posters-family .poster-div,
.uc-posters-adult .poster-div,
.uc-posters-all.hidden .poster-div,
.uc-posters-family.hidden .poster-div,
.uc-posters-adult.hidden .poster-div {
    opacity: 0;
    transform: translateY(300px);
    transition: opacity 0.25s ease-in-out, transform 0.5s ease-in-out;
}
.uc-posters-family,
.uc-posters-adult {
    /*display: none;*/
    /*opacity: 0;*/
    /*transform: translateY(300px);*/
}
.uc-posters-all.hidden,
.uc-posters-family.hidden,
.uc-posters-adult.hidden {
    /*display: none !important;*/
    opacity: 0;
    /*transform: translateY(300px);*/
}
.uc-posters-all.visible,
.uc-posters-family.visible,
.uc-posters-adult.visible {
    position: relative;
    /*display: block;*/
    opacity: 1;
}
.uc-posters-all.visible .poster-div,
.uc-posters-family.visible .poster-div,
.uc-posters-adult.visible .poster-div {
    opacity: 1;
    transform: translateY(0px);
}
.posters-all.active,
.posters-family.active,
.posters-adult.active {
    pointer-events: none;
}
.posters-all .tn-molecule,
.posters-family .tn-molecule,
.posters-adult .tn-molecule {
    transition: background-color 0.15s ease-in-out !important;
}
.posters-all .tn-molecule .tn-atom,
.posters-family .tn-molecule .tn-atom,
.posters-adult .tn-molecule .tn-atom {
    transition: color 0.15s ease-in-out !important;
}
.posters-all.active .tn-molecule,
.posters-family.active .tn-molecule,
.posters-adult.active .tn-molecule {
    background-color: #f4f2db !important;
}
.posters-all:hover .tn-molecule,
.posters-family:hover .tn-molecule,
.posters-adult:hover .tn-molecule {
    background: #fffef3 !important;
}
.posters-all:hover .tn-molecule .tn-atom,
.posters-family:hover .tn-molecule .tn-atom,
.posters-adult:hover .tn-molecule .tn-atom {
    color: #23221f !important;
}
.posters-all.active .tn-molecule .tn-atom,
.posters-family.active .tn-molecule .tn-atom,
.posters-adult.active .tn-molecule .tn-atom {
    color: #23221f !important;
}

.t331 .t-popup__container {
    border-radius: 22px;
    overflow: hidden;
}

@media screen and (max-width: 660px) {
    .uc-faq,
    .uc-reviews-classic {
        zoom: 1 !important;
    }
    .uc-faq .t1118 .t-col.t-col_6 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .uc-faq .t_faq__accordion {
        margin-bottom: 6px !important;
    }
    .uc-faq .t_faq__header {
        padding-left: 20px !important;
        padding-right: 10px !important;    
    }
    .uc-faq .t1118__trigger-button {
        padding: 27px 50px 27px 0;
        padding-top: 15px;
        padding-bottom: 14px;
    }
    .uc-faq .t1118__title {
        font-size: 16px !important;
    }
    .uc-faq .t1118__descr {
        font-size: 14px !important;
    }
    .uc-faq .t1118__content {
        padding: 16px 14px !important;
        margin-bottom: 14px !important;
    }
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #cb2628;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  backdrop-filter: blur(4px);
}

.preloader--hidden {
  opacity: 0;
  visibility: hidden;
}

/* Карточные масти */
.suits-container {
  position: absolute;
  width: 300px;
  height: 200px;
  /* margin-bottom: 60px; */
}

.preloader-logo {
  margin-bottom: 40px;
}

.suit {
  position: absolute;
  font-size: 80px;
  opacity: 0.9;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.suit-heart {
  color: #cb2628;
  top: 10px;
  left: 110px;
  animation-name: float-heart;
}

.suit-spade {
  color: #222220;
  top: 10px;
  right: 110px;
  animation-name: float-spade;
  animation-delay: 0.5s;
}

.suit-diamond {
  color: #cb2628;
  bottom: 10px;
  left: 40px;
  animation-name: float-diamond;
  animation-delay: 1s;
}

.suit-club {
  color: #222220;
  bottom: 10px;
  right: 40px;
  animation-name: float-club;
  animation-delay: 1.5s;
}

/* Центральный элемент - магический круг */
.magic-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border: 2px solid rgba(203, 38, 40, 0.3);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

.magic-circle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border: 1px solid rgba(34, 34, 32, 0.2);
  border-radius: 50%;
}

/* Волшебная пыль / частицы */
.magic-dust {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: scale(1.4);
}

.dust-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: #ee5659;
  border-radius: 50%;
  opacity: 0;
}

/* Текст прелоадера */
.preloader-text {
  font-family: 'Alumni Sans', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 40px;
  color: #222220;
  text-align: center;
  position: relative;
  z-index: 2;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.preloader-text::after {
  content: '...';
  display: inline-block;
  width: 40px;
  text-align: left;
  animation: dots 1.5s steps(4, end) infinite;
}

/* Прогресс-бар */
.progress-container {
  width: 400px;
  height: 4px;
  background: #de3b3d;
  border-radius: 2px;
  overflow: hidden;
  margin-top: 20px;
  position: relative;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgb(255 255 255 / 46%) 0%, rgb(255 255 255 / 80%) 50%, rgb(255 255 255 / 36%) 100%);
  border-radius: 2px;
  transition: width 0.3s ease;
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgb(255 255 255 / 68%), rgb(254 254 254 / 95%), rgb(255 255 255 / 34%));
  animation: progress-shine 2s infinite;
}

/* Декоративные линии */
.decoration-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, #cb2628, transparent);
  opacity: 0.3;
}

.line-top {
  top: 20%;
  left: 10%;
  right: 10%;
  animation: line-width 3s ease-in-out infinite;
}

.line-bottom {
  bottom: 20%;
  left: 10%;
  right: 10%;
  animation: line-width 3s ease-in-out infinite 1.5s;
}

/* Анимации */
@keyframes float-heart {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(-15px, -10px) rotate(-5deg);
  }
  50% {
    transform: translate(10px, 5px) rotate(5deg);
  }
  75% {
    transform: translate(-5px, 10px) rotate(-3deg);
  }
}

@keyframes float-spade {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(15px, -10px) rotate(5deg);
  }
  50% {
    transform: translate(-10px, 5px) rotate(-5deg);
  }
  75% {
    transform: translate(5px, 10px) rotate(3deg);
  }
}

@keyframes float-diamond {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(-20px, 5px) rotate(-8deg);
  }
  50% {
    transform: translate(15px, -5px) rotate(8deg);
  }
  75% {
    transform: translate(-5px, -10px) rotate(-5deg);
  }
}

@keyframes float-club {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(20px, 5px) rotate(8deg);
  }
  50% {
    transform: translate(-15px, -5px) rotate(-8deg);
  }
  75% {
    transform: translate(5px, -10px) rotate(5deg);
  }
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes dots {
  0%,
  20% {
    content: '.';
  }
  40% {
    content: '..';
  }
  60%,
  100% {
    content: '...';
  }
}

@keyframes progress-shine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(200%);
  }
}

@keyframes line-width {
  0%,
  100% {
    left: 10%;
    right: 10%;
    opacity: 0.2;
  }
  50% {
    left: 5%;
    right: 5%;
    opacity: 0.5;
  }
}

/* Адаптивность */
@media (max-width: 768px) {
  .suits-container {
    width: 250px;
    height: 180px;
    /* margin-bottom: 40px; */
  }

  .preloader-logo {
    margin-bottom: 20px;
  }

  .suit {
    font-size: 60px;
  }

  .preloader-text {
    font-size: 2.2rem;
    letter-spacing: 4px;
    margin-bottom: 30px;
  }

  .progress-container {
    width: 300px;
  }

  .magic-circle {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .suits-container {
    width: 200px;
    height: 150px;
    /* margin-bottom: 30px; */
  }

  .preloader-logo {
    margin-bottom: 15px;
  }
  
  .preloader-logo img {
      width: 70vw;
    height: auto;
  }

  .suit {
    font-size: 50px;
  }

  .preloader-text {
    font-size: 1.8rem;
    letter-spacing: 3px;
    margin-bottom: 25px;
  }

  .progress-container {
    width: 250px;
  }
}
