@media (max-width: 768px) {
    .sjq-kf-modal-box {
        width: 95% !important;
        max-width: 400px !important;
        padding: 25px 20px !important;
    }
    
    .sjq-kf-modal-content {
        flex-direction: column !important;
    }
    
    .sjq-kf-modal-left {
        width: 100% !important;
        padding-right: 0 !important;
        margin-bottom: 20px;
    }
    
    .sjq-kf-modal-right {
        width: 100% !important;
        padding-left: 0 !important;
        border-left: none !important;
        border-top: 1px solid rgba(255,255,255,0.2);
        padding-top: 20px !important;
    }
    
    .sjq-kf-modal-qr {
        margin: 0 auto !important;
    }
    
    .sjq-kf-float-btn {
        width: 55px !important;
        height: 55px !important;
        bottom: 20px !important;
        right: 20px !important;
    }
    
    .sjq-kf-float-btn i {
        font-size: 24px !important;
    }
}

.sjq-kf-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sjq-kf-modal-overlay.sjq-kf-active {
    opacity: 1;
    visibility: visible;
}

.sjq-kf-modal-box {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #2b6cb0 100%);
    border-radius: 20px;
    padding: 35px 30px;
    max-width: 520px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    transform: scale(0.8) translateY(30px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.sjq-kf-modal-overlay.sjq-kf-active .sjq-kf-modal-box {
    transform: scale(1) translateY(0);
}

.sjq-kf-modal-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: sjq-kf-bg-move 20s linear infinite;
    pointer-events: none;
}

@keyframes sjq-kf-bg-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

.sjq-kf-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.sjq-kf-modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.sjq-kf-modal-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.sjq-kf-modal-title {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sjq-kf-modal-title i {
    color: #f6ad55;
    font-size: 28px;
}

.sjq-kf-modal-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.sjq-kf-modal-content {
    display: flex;
    gap: 25px;
    position: relative;
    z-index: 1;
}

.sjq-kf-modal-left {
    flex: 1;
    padding-right: 25px;
}

.sjq-kf-modal-right {
    width: 160px;
    padding-left: 25px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sjq-kf-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sjq-kf-contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.sjq-kf-contact-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(237, 137, 54, 0.3);
}

.sjq-kf-contact-info {
    flex: 1;
}

.sjq-kf-contact-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3px;
}

.sjq-kf-contact-value {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.sjq-kf-modal-qr {
    width: 140px;
    height: 140px;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.sjq-kf-modal-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.sjq-kf-modal-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1;
}

.sjq-kf-modal-tip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    background: rgba(237, 137, 54, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid rgba(237, 137, 54, 0.3);
}

.sjq-kf-modal-tip i {
    color: #f6ad55;
    font-size: 18px;
}

.sjq-kf-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(237, 137, 54, 0.5);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.sjq-kf-float-btn.sjq-kf-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.sjq-kf-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(237, 137, 54, 0.6);
}

.sjq-kf-float-btn i {
    font-size: 28px;
    color: #fff;
}

.sjq-kf-float-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    animation: sjq-kf-pulse 2s ease-out infinite;
    z-index: -1;
}

@keyframes sjq-kf-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.sjq-kf-money-icon {
    position: absolute;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    pointer-events: none;
}

.sjq-kf-money-icon-1 {
    top: 10px;
    left: 10px;
    transform: rotate(-15deg);
}

.sjq-kf-money-icon-2 {
    bottom: 60px;
    right: 20px;
    font-size: 60px;
    transform: rotate(20deg);
}

.sjq-kf-money-icon-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(10deg);
    font-size: 120px;
}

.sjq-footer-section {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    padding: 0;
    margin-top: 60px;
}

.sjq-friend-links {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sjq-friend-links-title {
    font-size: 16px;
    font-weight: 600;
    color: #f6ad55;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sjq-friend-links-title i {
    font-size: 18px;
}

.sjq-friend-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.sjq-friend-links-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sjq-friend-links-list a:hover {
    background: rgba(246, 173, 85, 0.2);
    color: #f6ad55;
    border-color: rgba(246, 173, 85, 0.3);
    transform: translateY(-2px);
}

.sjq-copyright {
    padding: 30px 50px;
    text-align: center;
}

.sjq-copyright-main {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    margin-bottom: 12px;
    font-weight: 500;
}

.sjq-copyright-main a {
    color: #f6ad55;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sjq-copyright-main a:hover {
    color: #ed8936;
}

.sjq-copyright-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.8;
}

.sjq-copyright-info a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sjq-copyright-info a:hover {
    color: #f6ad55;
}

@media (max-width: 768px) {
    .sjq-friend-links {
        padding: 20px;
    }
    
    .sjq-friend-links-list {
        gap: 8px 12px;
    }
    
    .sjq-friend-links-list a {
        font-size: 12px;
        padding: 4px 10px;
    }
    
    .sjq-copyright {
        padding: 20px;
    }
    
    .sjq-copyright-main {
        font-size: 14px;
    }
    
    .sjq-copyright-info {
        font-size: 12px;
    }
}
