/* 分享功能样式 */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.share-modal.active {
    display: flex;
}

.share-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 400px;
    width: 100%;
    padding: 30px;
    animation: modalFadeIn 0.3s ease-out;
}

.share-modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.share-modal-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.share-platforms {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.share-platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: #333;
}

.share-platform:hover {
    background: #f8f9fa;
    transform: translateY(-4px);
}

.share-platform-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.share-platform-icon.weibo {
    background: #e6162d;
    color: white;
}

.share-platform-icon.wechat {
    background: #07c160;
    color: white;
}

.share-platform-icon.qq {
    background: #12b7f5;
    color: white;
}

.share-platform-icon.link {
    background: #667eea;
    color: white;
}

.share-platform-name {
    font-size: 13px;
    color: #666;
}

.share-url-section {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.share-url-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.share-url-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    background: white;
}

.share-actions {
    display: flex;
    gap: 10px;
}

.share-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.share-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.share-btn-primary:hover {
    opacity: 0.9;
}

.share-btn-secondary {
    background: #e9ecef;
    color: #333;
}

.share-btn-secondary:hover {
    background: #dee2e6;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .share-platforms {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }

    .share-platform {
        padding: 10px 5px;
    }

    .share-platform-icon {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .share-platform-name {
        font-size: 12px;
    }
}
