
/* ========================================
   YaToon Premium Renewal Popup
======================================== */

.site-popup-overlay[hidden] {
    display: none !important;
}

.site-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    box-sizing: border-box;

    background: rgba(5, 4, 8, 0.78);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.site-popup {
    width: 100%;
    max-width: 440px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;

    background: #1c1b23;
    color: #fff;

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;

    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);

    font-family: Pretendard, sans-serif;
    box-sizing: border-box;
}

/* 상단 영역 */

.site-popup-hero {
    padding: 20px 25px 32px;

    background:
        radial-gradient(
            circle at 50% 110%,
            rgba(255, 85, 145, 0.24),
            transparent 65%
        ),
        linear-gradient(135deg, #24121f, #351725);

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-popup-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-popup-label {
    padding: 6px 10px;

    border: 1px solid rgba(255, 130, 175, 0.28);
    border-radius: 5px;

    color: #ff9dbf;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.site-popup-close {
    background: transparent;
    border: none;

    color: #c6b8c1;
    font-size: 28px;
    line-height: 1;

    cursor: pointer;
}

.site-popup-hero-content {
    padding-top: 30px;
    text-align: center;
}

.site-popup-sparkle {
    margin-bottom: 15px;

    color: #ff6c9a;
    font-size: 40px;

    text-shadow: 0 0 25px rgba(255, 80, 140, 0.45);
}

.site-popup-hero-content h2 {
    margin: 0 0 12px;

    color: #fff;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.4;
    word-break: keep-all;
}

.site-popup-subtitle {
    color: #f0a6bf;
    font-size: 14px;
    font-weight: 600;
}

/* 본문 */

.site-popup-content {
    padding: 27px 25px 20px;
}

.site-popup-description {
    margin: 0 0 23px;

    color: #ddd5dc;
    font-size: 14px;
    line-height: 1.9;

    text-align: center;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

/* 주요 변경사항 */

.site-popup-features {
    display: flex;
    flex-direction: column;
    gap: 15px;

    padding: 20px;
    margin-bottom: 23px;

    background: #29242d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.site-popup-feature {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #f1eaf0;
    font-size: 13px;
    line-height: 1.5;
}

.site-popup-check,
.site-popup-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;
    flex-shrink: 0;

    border-radius: 50%;

    background: rgba(255, 100, 155, 0.15);
    color: #ff78a2;

    font-size: 13px;
    font-weight: 700;
}

/* 메인 버튼 */

.site-popup-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    width: 100%;
    padding: 15px 12px;

    box-sizing: border-box;

    background: linear-gradient(135deg, #fa4f88, #df326e);
    border-radius: 9px;

    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;

    transition: filter 0.2s ease;
}

.site-popup-primary:hover {
    filter: brightness(1.1);
    color: #fff;
}

/* 하단 */

.site-popup-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 22px;
    margin-top: 23px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-popup-footer button {
    padding: 4px 0;

    background: transparent;
    border: none;

    color: #b9adb7;
    font-size: 12px;

    cursor: pointer;
}

.site-popup-footer button:hover {
    color: #fff;
}

/* 모바일 */

@media (max-width: 480px) {
    .site-popup-overlay {
        padding: 15px;
    }

    .site-popup {
        max-width: 360px;
        border-radius: 15px;
    }

    .site-popup-hero {
        padding: 18px 20px 25px;
    }

    .site-popup-hero-content {
        padding-top: 22px;
    }

    .site-popup-hero-content h2 {
        font-size: 22px;
    }

    .site-popup-content {
        padding: 22px 20px 17px;
    }

    .site-popup-description {
        font-size: 13px;
    }

    .site-popup-features {
        padding: 16px;
        gap: 12px;
    }

    .site-popup-feature {
        font-size: 12px;
    }
}
