@charset "UTF-8";

/* 悬浮功能*/
        /* 悬浮按钮样式 */
        .wechat-float-btn {
            position: fixed;
            bottom: 60px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: #07C160;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 4px 15px rgba(7, 193, 96, 0.4);
            cursor: pointer;
            z-index: 1000;
            transition: all 0.3s ease;
        }
        
        .wechat-float-btn i {
            color: white;
            font-size: 28px;
            transition: transform 0.3s ease;
        }
        
        .wechat-float-btn.active {
            transform: rotate(135deg);
            background: #666;
        }
        
        /* 功能卡片容器 */
        .function-cards {
            position: fixed;
            bottom: 159px;
            right: 30px;
            display: flex;
            flex-direction: column;
            gap: 15px;
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.3s ease;
        }
        
        .function-cards.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        /* 功能卡片样式 */
        .function-card {
            width: 200px;
            background: white;
            border-radius: 12px;
            padding: 15px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            gap: 12px;
            animation: cardAppear 0.3s ease forwards;
            opacity: 0;
            transform: translateX(20px);
        }
        
        .function-card:nth-child(1) {
            animation-delay: 0.1s;
        }
        
        .function-card:nth-child(2) {
            animation-delay: 0.2s;
        }
        
        .icon-wrapper {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-shrink: 0;
        }
        
        .phone-icon {
            background: #1a73e8;
        }
        
        .wechat-icon {
            background: #07C160;
        }
        
        .icon-wrapper i {
            color: white;
            font-size: 18px;
        }
        
        .card-content {
            flex: 1;
        }
        
        .card-title {
            font-size: 14px;
            color: #333;
            font-weight: 600;
            margin-bottom: 4px;
        }
        
        .card-value {
            font-size: 14px;
            color: #666;
        }
        
        .action-btn {
            border: none;
            border-radius: 6px;
            padding: 6px 10px;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.2s;
            margin-top: 8px;

        }
        
        .call-btn {
            background: #1a73e8;
            color: white;
        }
        
        .call-btn:hover {
            background: #0d5bba;
        }
        
        .copy-btn {
            background: #07C160;
            color: white;
        }

        .copy-btn:hover {
            background: #06ae56;
        }
        
        .copy-btn.copied {
            background: #666;
        }
        
        /* 成功消息 */
        .success-message {
            position: fixed;
            bottom: 220px;
            right: 30px;
            background: #07C160;
            color: white;
            border-radius: 8px;
            padding: 10px 15px;
            font-size: 13px;
            display: none;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            animation: fadeIn 0.3s ease;
        }
        
        /* 单行滚动文字容器 - 位于图标上方 */
        .single-line-scroll {
            position: fixed;
            bottom: 130px; /* 位于微信图标上方 */
            right: 30px;
            width: 200px;
            height: 24px;
            overflow: hidden;
            z-index: 998;
            pointer-events: none;
            text-align: center;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 12px;
            padding: 2px 0;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }
        
        .scroll-text {
            position: absolute;
            width: 100%;
            color: #07C160;
            font-size: 12px;
            font-weight: 500;
            animation: singleLineScrollUp 15s linear infinite;
            opacity: 0;
        }
        
        /* 动画 */
        @keyframes cardAppear {
            from {
                opacity: 0;
                transform: translateX(20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes singleLineScrollUp {
            0% {
                transform: translateY(24px);
                opacity: 0;
            }
            10% {
                opacity: 1;
                transform: translateY(0);
            }
            90% {
                opacity: 1;
                transform: translateY(0);
            }
            100% {
                transform: translateY(-24px);
                opacity: 0;
            }
        }
        
        /* 响应式设计 */
        @media (max-width: 480px) {
            .wechat-float-btn {
                bottom: 70px;
                right: 20px;
                width: 55px;
                height: 55px;
            }
            
            .function-cards {
                bottom: 168px;
                right: 20px;
            }
            
            .success-message {
                bottom: 200px;
                right: 20px;
            }
            
            .single-line-scroll {
                bottom: 135px;
                right: 20px;
            }
        }