

#policyPopup.policy-popup {
    position: fixed;
    inset: 0;
    z-index: var(--z-popup, 1100);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(6, 8, 12, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

#policyPopup.policy-popup.active {
    display: flex;
}

.policy-popup-box {
    position: relative;
    width: min(760px, 92vw);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #14161c 0%, #101216 100%);
    border: 1px solid var(--gold-border, rgba(212, 175, 55, 0.3));
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.policy-popup-close {
    position: absolute;
    top: 10px;
    right: 14px;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 26px;
    line-height: 1;
    color: var(--gold-color, #ffdc1f);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--gold-border, rgba(212, 175, 55, 0.3));
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
}

.policy-popup-close:hover {
    background: rgba(212, 175, 55, 0.15);
}

.policy-popup-title {
    margin: 0;
    padding: 18px 52px 18px 22px;
    font-family: 'Playfair Display', 'Noto Sans KR', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--gold-color, #ffdc1f);
    border-bottom: 1px solid var(--gold-border, rgba(212, 175, 55, 0.3));
}

.policy-popup-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px 22px 24px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.7;
}

.policy-popup-body h3 {
    margin: 18px 0 6px;
    font-size: 15px;
    color: var(--gold-color, #ffdc1f);
}

.policy-popup-body p,
.policy-popup-body ul {
    margin: 4px 0 10px;
}

.policy-popup-body ul {
    padding-left: 18px;
    list-style: disc;
}
