._contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

._contact-modal-overlay._contact-modal-active {
    opacity: 1;
    visibility: visible;
}

._contact-modal {
    /*background-color: #0A0A0A;*/
    border: 1px solid rgba(80, 80, 80, 0.3);
    border-radius: 16px;
    padding: 30px;
    width: 90%;
    max-width: 360px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

._contact-modal._contact-modal-active {
    /*transform: translateY(0);*/
}

._contact-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

._contact-modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

._contact-modal-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

._contact-modal-qrcode-container {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    padding: 15px;
    /*background: rgba(255, 255, 255, 0.03);*/
    border-radius: 12px;
    /*border: 1px solid rgba(255, 255, 255, 0.05);*/
}

._contact-modal-qrcode-img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

._contact-modal-footer {
    text-align: center;
    font-size: 14px;
    color: #888;
    letter-spacing: 0.5px;
    font-weight: 300;
}

._contact-modal-demo-button {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 117, 252, 0.3);
}

._contact-modal-demo-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 117, 252, 0.4);
}

/* 线性边框效果 */
._contact-modal::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    /*background: linear-gradient(45deg, #ff00cc, #3333ff, #00ccff, #33ff99);*/
    background: var(--popup-bg);
    border-radius: 18px;
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.5s;
}

._contact-modal:hover::before {
    opacity: 0.7;
}

/* 浮动动画 */
@keyframes _contact-modal-float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0px);
    }
}

._contact-modal {
    /*animation: _contact-modal-float 6s ease-in-out infinite;*/
}