@font-face {
  font-family: Montserrat;
  src: url("https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

.promotion-pop-home,
.promotion-pop-home *,
.promotion-pop-home *::before,
.promotion-pop-home *::after {
  box-sizing: border-box;
}

.promotion-pop-home p {
  margin: 0 0 1rem;
}

.promotion-pop-home img,
.promotion-pop-home svg {
  vertical-align: middle;
}

.promotion-pop-home .img-fluid {
  max-width: 100%;
  height: auto;
}

.promotion-pop-home a {
  text-decoration: none;
}

.promotion-pop-home {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  font-family: Montserrat, Arial, sans-serif;
  z-index: 100;
}

.promotion-pop-home.is-visible {
  display: flex;
}

.promotion-pop-home .content-wrap {
  position: relative;
  width: 820px;
  height: 600px;
  background: url("https://images.hitpaw.com/activity/2026-home-pop-vkp/pop-bg.png") center / cover no-repeat;
  border-radius: 40px;
  overflow: hidden;
}

.promotion-pop-home .content {
  background: var(--slide-image) center / var(--slide-size, cover) no-repeat;
  text-align: center;
  padding: 50px 16px 32px;
  border: 1.5px solid;
  border-image-source: linear-gradient(
    229.36deg,
    rgba(177, 129, 255, 0.35) 22.63%,
    rgba(172, 108, 255, 0.14) 46.48%,
    rgba(177, 103, 255, 0.49) 71.75%
  );
  box-shadow: 0px 0px 150px 0px rgba(130, 68, 255, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  inset: 0;
  transition:
    opacity 0.4s ease,
    visibility 0s linear 0.4s;
}

.promotion-pop-home .content.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
  .promotion-pop-home .content {
    transition: none;
  }
}

.promotion-pop-home .tit {
  background: linear-gradient(90deg, #fff 27.97%, #baa2ff 79.66%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  font-size: 30px;
  line-height: 100%;
}

.promotion-pop-home .des {
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  color: rgba(255, 255, 255, 0.7);
}

.promotion-pop-home .img-list {
  margin-top: -18px;
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  padding: 0;
  height: 304px;
}

@media (min-width: 992px) {
  .promotion-pop-home .img-list {
    padding: 0 53px;
  }
}

.promotion-pop-home .bt-wrap .btn-try-now {
  background: linear-gradient(180deg, #c400ff 50%, #f897ff 100%);
  border: 2px solid #fff;
  min-width: 355px;
  height: 75px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  border-radius: 90px;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  position: relative;
  padding: 12px 24px;
}

.promotion-pop-home .bt-close {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 10;
  cursor: pointer;
  opacity: 0.35;
  transition: all 0.2s;
}

.promotion-pop-home .bt-close:hover {
  opacity: 1;
}

.promotion-pop-home .button-switch {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.promotion-pop-home .button-switch rect {
  fill-opacity: 0.15;
  cursor: pointer;
  transition: all 0.4s;
}

.promotion-pop-home .button-switch rect:hover {
  fill-opacity: 0.4;
}

.promotion-pop-home .button-switch.prev {
  left: 16px;
}

.promotion-pop-home .button-switch.next {
  right: 16px;
}

.promotion-pop-home .bt-wrap {
  position: absolute;
  bottom: 55px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
}
.promotion-pop-home .dev-mobile-ppi {
  display: none;
}
.promotion-pop-home .dev-desktop-ppi {
  display: block;
}

.promotion-pop-home .item1 {
  position: relative;
  height: 204px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.promotion-pop-home .content1 {
  --slide-image: url("https://images.hitpaw.com/ad/ad-banner-bg.webp?w=780&h=1056");
  border: 0;
}

.promotion-pop-home .content2 {
  --slide-image: url("https://images.hitpaw.com/ad/pc-pop-restore.webp");
  --slide-size: 820px 600px;
}

.promotion-pop-home .content3 {
  --slide-image: url("https://images.hitpaw.com/ad/black-friday/pop-home-pc.png");
  --slide-size: 820px 600px;
}

.promotion-pop-home .hover-a-to {
  position: absolute;
  width: 355px;
  height: 72px;
  bottom: 75px;
  left: 232px;
}

.promotion-pop-home .content-text3 {
  margin: 75px 0 0;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 992px) {
  .promotion-pop-home .dev-desktop-ppi {
    display: none;
  }
  .promotion-pop-home .dev-mobile-ppi {
    display: block;
  }
  .promotion-pop-home .content-wrap {
    width: 390px;
    height: 528px;
    border-radius: 32px;
  }

  .promotion-pop-home .content {
    padding: 56px 16px 32px;
    border-radius: 32px;
  }

  .promotion-pop-home .content2 {
    --slide-image: url("https://images.hitpaw.com/ad/mobile-pop-restore.webp");
    --slide-size: 390px 528px;
  }

  .promotion-pop-home .content3 {
    --slide-image: url("https://images.hitpaw.com/ad/black-friday/pop-home-mobile.png");
    --slide-size: 390px 528px;
  }

  .promotion-pop-home .content2 .hover-a-to {
    width: 330px;
    bottom: 48px;
    left: 30px;
  }

  .promotion-pop-home .content3 .hover-a-to {
    width: 328px;
    bottom: 88px;
    left: 31px;
  }

  .promotion-pop-home .content-text3 {
    margin-top: 82px;
  }

  .promotion-pop-home .item1 .dev-mobile-ppi {
    margin-top: -29px;
  }

  .promotion-pop-home .img-list {
    gap: 8px;
    height: auto;
    margin-top: 23px;
  }

  .promotion-pop-home .des {
    font-size: 16px;
    padding: 0 12px;
  }

  .promotion-pop-home .bt-wrap {
    bottom: 85px;
  }

  .promotion-pop-home .bt-wrap .btn-try-now {
    height: 72px;
  }

  .promotion-pop-home .button-switch {
    display: none;
  }
}

.promotion-pop-home .content-wrap:has(.content.content-image.active) {
  width: auto;
  height: auto;
}

.promotion-pop-home .content.content-image {
  position: relative;
  padding: 0;
  border: 0;
  background: none;
}

.promotion-pop-home .content-image .hover-a-to {
  position: static;
  display: block;
  width: auto;
  height: auto;
}

.promotion-pop-home .content-image picture,
.promotion-pop-home .content-image img {
  display: block;
}

.promotion-pop-home .content-image img {
  width: auto;
  height: auto;
  max-width: min(100vw, 820px);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
}

@media (max-width: 992px) {
  .promotion-pop-home .content-image img {
    max-width: min(100vw, 390px);
  }
}
