/* ═══════════════════════════════════════════
   YPopup — Frontend Popup Styles
   ═══════════════════════════════════════════ */

.ypopup-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: ypFadeIn .3s ease;
}

.ypopup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(2px);
}

.ypopup-box {
    position: relative;
    width: 100%;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
    text-align: center;
    animation: ypSlideUp .4s ease;
}

.ypopup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color .2s;
}
.ypopup-close:hover {
    color: #333;
}

.ypopup-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 12px;
    line-height: 1.3;
}

.ypopup-content {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: .85;
}
.ypopup-content p { margin: 0 0 8px; }

.ypopup-btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
    letter-spacing: .3px;
}
.ypopup-btn:hover {
    opacity: .9;
    transform: translateY(-1px);
    text-decoration: none;
}

@keyframes ypFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes ypSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .ypopup-box {
        padding: 24px 20px;
        border-radius: 12px;
    }
    .ypopup-title {
        font-size: 18px;
    }
}
