#btpnPopupModal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: btpnFadeIn 0.3s ease-in;
}
@keyframes btpnFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes btpnSlideIn {
    from { transform: scale(0.9) translateY(-20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}
#btpnPopupModal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
#btpnPopupContent {
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    max-height: 90vh;
    padding: 35px 30px;
    overflow-y: auto;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-sizing: border-box;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    animation: btpnSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#btpnPopupHeader {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}
#btpnPopupHeader h3 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
#btpnPopupBody {
    line-height: 1.7;
    color: #333;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
#btpnPopupBody p {
    margin: 0 0 15px 0;
}
#btpnPopupBody p:last-child {
    margin-bottom: 0;
}
#btpnPopupBody strong {
    color: #667eea;
}
#btpnPopupBody a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
#btpnPopupBody a:hover {
    color: #ee5a6f;
    text-decoration: underline;
}
#btpnCloseBtn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(238, 90, 111, 0.3);
    font-weight: 300;
    line-height: 1;
}
#btpnCloseBtn:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(238, 90, 111, 0.5);
}
#btpnCloseBtn:active {
    transform: rotate(90deg) scale(0.95);
}
@media (max-width: 600px) {
    #btpnPopupContent {
        max-width: 95%;
        padding: 30px 20px;
    }
    #btpnPopupHeader h3 {
        font-size: 18px;
    }
    #btpnPopupBody {
        font-size: 14px;
    }
}
@keyframes btpnFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}