/* 浮动分享按钮样式 */
.floating-share-btn {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 1000;
    padding: 12px 16px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.floating-share-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
}

.floating-share-btn:active {
    transform: scale(0.95);
}

.floating-share-btn i {
    font-size: 16px;
}

.floating-share-btn span {
    font-size: 14px;
    font-weight: 500;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .floating-share-btn {
        bottom: 90px;
        right: 15px;
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .floating-share-btn i {
        font-size: 14px;
    }
    
    .floating-share-btn span {
        font-size: 13px;
    }
}

/* 确保不遮挡底部菜单 */
@media (max-width: 480px) {
    .floating-share-btn {
        bottom: 80px;
        right: 12px;
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .floating-share-btn i {
        font-size: 12px;
    }
    
    .floating-share-btn span {
        font-size: 12px;
    }
}

/* 动画效果 */
@keyframes shareButtonPulse {
    0% {
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 123, 255, 0.5);
    }
    100% {
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    }
}

.floating-share-btn.animate {
    animation: shareButtonPulse 2s infinite;
}

/* 深色主题适配 */
@media (prefers-color-scheme: dark) {
    .floating-share-btn {
        background: linear-gradient(135deg, #0056b3, #003d82);
        box-shadow: 0 4px 12px rgba(0, 86, 179, 0.4);
    }
    
    .floating-share-btn:hover {
        box-shadow: 0 6px 16px rgba(0, 86, 179, 0.5);
    }
} 