@font-face {
  font-family: Poppins;
  src: url(assets/poppins-600.woff2) format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url(assets/poppins-900.woff2) format("woff2");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: Roboto;
  src: url(assets/roboto-600.woff2) format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url(assets/inter-600.woff2) format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url(assets/plus-jakarta-sans-800.woff2) format("woff2");
  font-weight: 800;
  font-display: swap;
}

.admaze-promo {
  box-sizing: border-box;
  container-type: inline-size;
  width: min(1320px, 100%);
  margin-inline: auto;
  padding: 18px 14px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px #9447ff;
  background: linear-gradient(#35007e, #000 57.212%, #250c33);
  color: #fbfbfb;
}
.admaze-promo__header,
.admaze-promo__footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.admaze-promo__header { height: 45px; }
.admaze-promo__headline {
  margin: 0;
  font: 900 clamp(24px, 4.5cqw, 40px)/.9 Poppins, sans-serif;
  text-transform: uppercase;
  background: linear-gradient(99deg, #ff62dd, #ecbfbf 45%, #9254ed);
  background-clip: text;
  color: transparent;
}
.admaze-promo__logo {
  display: block;
  flex: none;
  width: 87px;
  height: auto;
  align-self: flex-start;
}
.admaze-promo__scroll {
  height: 205px;
  overflow: auto hidden;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}
.admaze-promo__scroll::-webkit-scrollbar { display: none; }
.admaze-promo__scroll:focus-visible,
.admaze-promo a[href]:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
}
.admaze-promo__scroll.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.admaze-promo__cards {
  display: flex;
  gap: 10px;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}
.admaze-promo__card { width: min(256px, 100cqw); }
.admaze-promo__card a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.admaze-promo__media {
  position: relative;
  height: 144px;
  overflow: hidden;
  border-radius: 6px;
}
.admaze-promo__media img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (prefers-reduced-motion: no-preference) {
  .admaze-promo__media img { transition: transform 300ms ease; }
  @media (hover: hover) {
    .admaze-promo__scroll:not(.is-dragging) .admaze-promo__media:hover img {
      transform: scale(1.08);
    }
  }
}
.admaze-promo__duration {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 20px;
  border-radius: 6px;
  background: rgb(0 0 0 / 80%);
  font: 600 11px/16px Inter, sans-serif;
  color: white;
}
.admaze-promo__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  margin-top: 8px;
  font: 600 16px/22px Roboto, sans-serif;
}
.admaze-promo__footer { align-items: flex-end; }
.admaze-promo__count {
  margin: 0;
  color: #a5a5a5;
  font: 800 16px/1.1 "Plus Jakarta Sans", sans-serif;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.admaze-promo__count span { font-family: Poppins, sans-serif; font-weight: 600; }
.admaze-promo__cta {
  position: relative;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 223px;
  height: 36px;
  padding-right: 17px;
  border-radius: 70px;
  background: linear-gradient(12.34deg, #b367ff 11.228%, #ff228d 97.115%);
  font: 600 15.273px/1 Poppins, sans-serif;
  color: white;
  text-decoration: none;
  white-space: nowrap;
}
.admaze-promo__cta img {
  position: absolute;
  top: 50%;
  left: 80%;
  transform: translateY(-50%) rotate(46.55deg) skewX(3.09deg);
}
@container (max-width: 665px) {
  .admaze-promo__header { height: 55px; }
  .admaze-promo__headline {
    font-size: clamp(14px, calc((100cqw - 95px) / 11.75), 24px);
    background-image: linear-gradient(93deg, #ff62dd, #ecbfbf 45%, #9254ed);
  }
  .admaze-promo__break { display: block; }
  .admaze-promo__count { font-size: 12px; }
  .admaze-promo__cta {
    width: 178px;
    height: 29px;
    padding-right: 16px;
    font-size: 14px;
  }
  .admaze-promo__cta img { left: auto; right: 22px; }
}
@container (max-width: 330px) {
  .admaze-promo__count { font-size: 10px; }
  .admaze-promo__cta {
    width: 150px;
    padding-right: 12px;
    font-size: 12px;
  }
  .admaze-promo__cta img { right: 12px; }
}
