html, body {width: 100%;height: 100%;}
body {padding: 0; margin: 0; line-height: 1.3; font-size: 18px; text-align: center; color: #111111; font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif; word-break: keep-all;}
ul, ol {list-style: none; padding: 0; margin: 0;}
a, button {display: block; text-decoration: none; color: inherit; font-family: inherit; cursor: pointer; border: 0;-webkit-tap-highlight-color: transparent}
.active {display: block !important;}
.display-none { display: none !important; }

.img-f {width: 100%; line-height: 0;}
*[class]._hidden {overflow: hidden;white-space: nowrap;clip: rect(1px, 1px, 1px, 1px);clip-path: inset(50%);position: absolute;width: 1px;height: 1px;margin: 0;padding: 0;border: 0;}
.btns {background: #1A3A6D; color: #FFFFFF; border-radius: 30px; font-weight: 600;}
.paypoint-wrap h1, .paypoint-wrap h2, .paypoint-wrap h3, .paypoint-wrap h4 {margin: 0;}
.paypoint-wrap h1 {font-size: 28px;}
.paypoint-wrap .point_txt {color: #008DFF;}

.subtitle {display: none; font-weight: 500;}
.subtitle.current {display: block;}

.tac {color: #797979; background: #F5F6F8; font-size: 12px; padding: 24px 24px 46px; text-align: left;}
.tac h1 {color: #6E7176; font-size: 16px !important; margin-bottom: 16px;}
.tac ul:first-of-type {margin-bottom: 38px;}
.tac ul li {padding-left: 10px; margin-bottom: 5px;}
.tac ul li::before {content: ''; background: #797979; border-radius: 100%; width: 2px; height: 2px; position: absolute; margin-left: -7px; margin-top: 5px;}
.tac ul li a { display: inline-block; color: #007BFF; }

.skeleton-loader {display: flex;justify-content: center;align-items: center;gap: 4px;}
.skeleton-loader span {width: 8px;height: 8px;background-color: #ccc;border-radius: 50%;animation: bounce 1.2s infinite ease-in-out;}
.skeleton-loader span:nth-child(1) {animation-delay: -0.32s;}
.skeleton-loader span:nth-child(2) {animation-delay: -0.16s;}

.back-arrow { position: absolute; left: 5px; background: none; }

.btns.loading {pointer-events: none;}

.modal_popup {display: none; position: fixed; background: rgba(0,0,0,0.7); top: 0; width: 100%; height: 100%; z-index: 9999;}
.modal_popup.-cancel {position: absolute; cursor: pointer; left: 50%; bottom: -20%; transform: translate(-50%,0); color: #fff; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; font-weight: 500;}
.modal_popup.-ad {z-index: 7;}
.popup_content {position: absolute; max-width: 280px; width: 80%; left: 50%; top: 50%; transform: translate(-50%,-50%); padding: 30px 16px 16px; border-radius: 20px; background: #fff;}
.popup_content h2 {font-size: 20px; margin: 0 auto 10px;}
.popup_txt {padding: 10px 20px 15px; margin-bottom: 15px; font-size: 16px; text-align: center; word-break: break-word; white-space: normal;}
.btn-wrap {display: flex; justify-content: center; width: 100%;}
.btn-wrap .-confirm {width: 100%; font-size: 16px; padding: 15px 0;}
.btn_direct_ad { border-radius: 8px; background-color: #212529; color: #fff; border: 0; margin-top: 12px; padding: 10px 0; font-size: 14px; text-align: center; width: 100%; font-weight: 600; }

.spinner-container { display: none; justify-content: center; align-items: center; perspective: 800px; background-color: rgba(0, 0, 0, 0.5); height: 100%; position: fixed; left: 0; top: 0; width: 100%; z-index: 4999; }
.image-spinner { width: 60px; height: 60px; transform-style: preserve-3d; transform-origin: center center; animation: spinCoin 1.3s linear infinite; filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.2)); }
.image-spinner:hover { animation-play-state: paused; }
.image-spinner img { width: 100%; height: 100%; object-fit: contain; image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges; }
@keyframes spinCoin {
    0% { transform: rotateY(0deg); filter: brightness(1); }
    25% { transform: rotateY(90deg); filter: brightness(0.85); }
    50% { transform: rotateY(180deg); filter: brightness(1); }
    75% { transform: rotateY(270deg); filter: brightness(0.85); }
    100% { transform: rotateY(360deg); filter: brightness(1); }
}

.ad-modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); justify-content: center; align-items: center; }
.ad-modal .modal-content { background-color: white; width: 80%; max-width: 400px; padding: 30px 20px 20px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); text-align: center; position: relative; }
.ad-modal .modal-line { height: 0px; padding: 10px; border-top: 1px solid #e2e5f1; }
.ad-modal button, .ad-modal a { padding: 15px; color: white; border: none; cursor: pointer; border-radius: 12px; font-size: 16px; font-weight: 600; box-shadow: 0 2px 5px rgba(0,0,0,0.2); background-color: #1A3A6D; }
.ad-modal button { width: 100%; }
.ad-modal .ad-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; font-size: 16px; }
.disabled-link { pointer-events: none; }

.toast-container { display: block; position: fixed; top: 68vh; left: 50%; transform: translateX(-50%) translateY(0); background: rgb(255, 165, 0); color: #fff; padding: 26px 24px; border-radius: 8px; z-index: 1; font-size: 16px; min-width: 260px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px; opacity: 1; transition: opacity 0.5s, transform 0.5s; }
.toast-base { position: fixed; bottom: 25%; left: 50%; transform: translateX(-50%); background-color: rgba(0, 0, 0, 0.8); color: #fff; padding: 12px 15px; border-radius: 24px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; z-index: 9999; width: 67%; }

@media screen and (max-width: 392px) {
    .paypoint-wrap h1 {font-size: 26px;}
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}
@keyframes fade_in {
  0%, 14% {
    opacity: 0;
    transform: translateY(1rem) scale(0.95);
  }
  15% {
    opacity: 0.25;
  }
  30%, 100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes flip {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}