@charset "UTF-8";
/* 分享按钮容器 */
.share-btn-wrapper {
    text-align: center;
    margin: 15px auto;
    padding: 10px 0;
}

/* 酷炫分享按钮 */
.btn-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-share::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-share:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
}

.btn-share:hover::before {
    width: 300px;
    height: 300px;
}

.btn-share:active {
    transform: translateY(0);
}

.btn-share i {
    font-size: 16px;
}

/* ===== 酷炫弹框样式 ===== */
.share-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.share-modal-overlay.show {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* 弹框主体 */
.share-modal {
    background: white;
    border-radius: 20px;
    padding: 30px 25px 25px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 成功图标动画 */
.success-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

.success-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 0.6s ease;
    position: relative;
    z-index: 2;
}

@keyframes pulse {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.success-circle i {
    color: white;
    font-size: 40px;
    animation: checkmark 0.4s ease 0.3s both;
}

@keyframes checkmark {
    from {
        opacity: 0;
        transform: scale(0) rotate(-45deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

/* 粒子特效 */
.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: particleFly 0.8s ease-out forwards;
}

@keyframes particleFly {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0);
    }
}

/* 波纹扩散效果 */
.ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #667eea;
    transform: translate(-50%, -50%);
    animation: rippleEffect 0.8s ease-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes rippleEffect {
    0% {
        width: 80px;
        height: 80px;
        opacity: 0.8;
    }
    100% {
        width: 150px;
        height: 150px;
        opacity: 0;
    }
}

/* 弹框标题 */
.share-modal h4 {
    font-size: 20px;
    color: #333;
    margin: 5px 0;
    font-weight: 600;
}

/* 弹框内容 */
.share-modal .copy-content {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 12px 15px;
    margin: 15px 0;
    font-size: 13px;
    color: #666;
    text-align: left;
    word-break: break-all;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
}

.share-modal .copy-content .label {
    font-weight: 600;
    color: #764ba2;
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
}

/* 关闭按钮 */
.btn-modal-close {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-modal-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* 背景闪光装饰 */
.shine-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    animation: shineRotate 3s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes shineRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}