/* =========================
!Swiper
========================= */
.swiper-container {
  padding-bottom: 64px;
}
.swiper-wrapper {
  align-items: stretch;
}
.swiper-slide {
  display: flex;
  height: auto;
  transition: transform 0.3s ease-in-out;
}
.swiper-slide > div {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
}
.feature-card {
  display: flex;
  height: 100%;
  flex-direction: column;
}
.feature-card__header {
  min-height: 52px;
}
.feature-card__image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 168px;
  min-height: 120px;
}
.feature-card__image {
  object-fit: contain;
}
.feature-card__text {
  min-height: 72px;
  margin-top: auto;
}
.swiper-slide:not(.swiper-slide-active) {
  transform: scale(0.9);
}
.swiper-pagination {
  top: -22px !important;
}
.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}
.swiper-pagination-bullet {
  background-color: #7d001a;
}
.swiper-button-prev {
  background-image: url('/personal/useful/wallet_plus/assets/img/icon/play_left.svg');
  background-repeat: no-repeat;
  width: 28px;
  height: 28px;
  left: 25%;
}
.swiper-button-next {
  background-image: url('/personal/useful/wallet_plus/assets/img/icon/play_right.svg');
  background-repeat: no-repeat;
  width: 28px;
  height: 28px;
  right: 25%;
}
.swiper-controls {
  position: relative;
  top: 53px;
}
.mv-cross-contained {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.wallet-plus-modal {
  width: min(90vw, 560px);
  border: 0;
  border-radius: 8px;
  padding: 0;
}
.wallet-plus-modal::backdrop {
  background: rgb(0 0 0 / 50%);
}
.wallet-plus-modal__content {
  position: relative;
  padding: 32px;
  text-align: center;
}
.wallet-plus-modal__close {
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 28px;
  line-height: 1;
}

.wallet-plus-banner {
  background: linear-gradient(180deg, #7ccaf4 0%, #78c8ef 100%);
  padding: 20px 16px 16px;
}

.wallet-plus-banner__wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.wallet-plus-banner__card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border: 4px solid #1d1d1d;
  border-radius: 28px;
  background: linear-gradient(180deg, #8ad7ff 0%, #7ccaf4 100%);
  box-shadow: 0 10px 0 rgba(27, 74, 120, 0.15);
}

.wallet-plus-banner__card::before,
.wallet-plus-banner__card::after {
  content: '';
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.wallet-plus-banner__card::before {
  top: -16px;
  right: -12px;
}

.wallet-plus-banner__card::after {
  bottom: -18px;
  left: -10px;
}

.wallet-plus-banner__badge {
  position: absolute;
  left: 24px;
  top: 26px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  min-height: 100px;
  padding: 10px 14px;
  border: 4px solid #1d1d1d;
  border-radius: 50%;
  background: #fff;
  color: #0d4f79;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 6px 0 rgba(29, 29, 29, 0.15);
}

.wallet-plus-banner__badge--right {
  left: auto;
  right: 24px;
}

.wallet-plus-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 32px 24px 20px;
  text-align: center;
}

.wallet-plus-banner__title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.2em;
  width: fit-content;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  padding: 0.2em 1.1em 0.28em;
  border: 4px solid #1d1d1d;
  color: #0f254f;
  font-size: clamp(1.2rem, 2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.wallet-plus-banner__title span {
  font-size: 0.68em;
  font-weight: 700;
}

.wallet-plus-banner__amount-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: 12px;
  color: #0d1d3c;
  line-height: 1;
}

.wallet-plus-banner__amount {
  display: inline-block;
  font-size: clamp(4rem, 7vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  color: #f9d032;
  text-shadow:
    0 6px 0 rgba(31, 31, 31, 0.5),
    0 0 18px rgba(249, 208, 50, 0.45);
}

.wallet-plus-banner__amount-unit {
  margin-left: 10px;
  margin-bottom: 10px;
  font-size: clamp(1.2rem, 2vw, 2.4rem);
  font-weight: 900;
}

.wallet-plus-banner__note {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 999px;
  background: linear-gradient(180deg, #e13a4f 0%, #b00f28 100%);
  border: 4px solid #1d1d1d;
  color: #fff;
  padding: 0.5em 1.3em 0.55em;
  font-size: clamp(1.2rem, 2vw, 2.8rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 0 rgba(111, 19, 29, 0.7);
}

@media (min-width: 1152px) {
  .swiper-container {
    padding-bottom: 0px;
  }
  .swiper-slide:not(.swiper-slide-active) {
    transform: scale(1);
  }
  .swiper-pagination {
    display: none;
  }
}

@media (max-width: 767px) {
  .wallet-plus-banner {
    padding: 16px 12px 12px;
  }

  .wallet-plus-banner__wrap {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wallet-plus-banner__card {
    min-height: 260px;
    border-width: 3px;
    border-radius: 22px;
  }

  .wallet-plus-banner__badge {
    left: 16px;
    top: 16px;
    min-width: 82px;
    min-height: 82px;
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .wallet-plus-banner__badge--right {
    right: 16px;
  }

  .wallet-plus-banner__content {
    min-height: 260px;
    padding: 28px 16px 16px;
  }

  .wallet-plus-banner__title {
    border-width: 3px;
    padding: 0.24em 0.9em;
    font-size: 1.15rem;
  }

  .wallet-plus-banner__amount {
    font-size: 4.2rem;
  }

  .wallet-plus-banner__amount-unit {
    margin-bottom: 8px;
    font-size: 1.1rem;
  }

  .wallet-plus-banner__note {
    border-width: 3px;
    padding: 0.38em 1em;
    font-size: 1.4rem;
  }

  .wallet-plus-banner__card--right {
    display: none;
  }
}

/* =========================
!CTA
========================= */

.cvtslide-up {
  animation: slideUp 0.5s forwards;
}

.cvtslide-down {
  animation: slideDown 0.5s forwards;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(100%);
  }
}
