body {
    overflow-y: hidden;
}

.prepayment-social {
  height: clamp(751px, 48.9vw, 1127px);
  position: relative;
  background: #EAEFF9;
  overflow: visible;
  z-index: 0;
}

footer {
  position: relative;
  z-index: 1;
}

.prepayment-social__box {
    width: 88vw;
    margin: 0 auto;
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.prepayment-social__box.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

.prepayment-social__card {
    height: calc(100% - var(--footer-height));
    display: flex;
    align-items: center;
}

.social-content img {
    width: clamp(114px, 7.4vw, 170px);
    height: auto;
}

.social-content h3 {
    color: #002162;
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
}

.social-content h3 span {
    position: relative;
    z-index: 1;
}
.social-content h3 span::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%); 
    bottom: 0.05em;
    width: 115%;
    height: clamp(14px, 1vw, 22px);
    background: #D8E0F0;
    z-index: -1;
}

.social-content p {
    color: #3C3F45;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: 0.3px;
}
.social-content p:nth-of-type(2) {
  font-weight: 500;
}

.googleplay-btn {
    margin-top: clamp(34px, 2.2vw, 52px);
    position: relative;
    display: inline-block;
}

.googleplay-btn img {
    display: block;
}
.googleplay-btn .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}
.googleplay-btn:hover .img-default,
.googleplay-btn:active .img-default {
    opacity: 0;
}
.googleplay-btn:hover .img-hover,
.googleplay-btn:active .img-hover {
    opacity: 1;
}

.social-icon {
    position: absolute;
    top: clamp(10px, 0.7vw, 16px);
    right: 0;
    z-index: 1;
}
.social-icon img {
    width: clamp(650px, 42.3vw, 974px);
    height: auto;
}
.social-icon-img.overlapping {
    width: clamp(287px, 359px, 431px) !important;
    transition: opacity 0.2s ease;
}

.tms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: clamp(34px, 2.2vw, 52px);
  width: clamp(264px, 17.2vw, 396px);
  height: clamp(50px, 3.3vw, 76px);
  border-radius: clamp(32px, 2.1vw, 48px);
  background: #002162;
  color: #FFF;

  font-weight: 500;
  line-height: 117%;
  text-decoration: none;
}
.tms-btn:hover {
  background: #00308f;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 33, 98, 0.35);
}

/* 모바일 환경 최적화 */
body.mobile .social-content h3,
body[data-mobile="true"] .social-content h3 {
    font-size: clamp(34px, 2.2vw, 50px) !important;
}

body.mobile .social-icon-img,
body[data-mobile="true"] .social-icon-img {
    display: none;
}

@media (max-width: 767px) {
    body.mobile .prepayment-social__card,
    body[data-mobile="true"] .prepayment-social__card {
        margin-left: 0 4%;
    }
}