﻿/* ====================
   大数据模块 - （优化版）
   ==================== */
        body {
            background: linear-gradient(135deg, #1e3c72, #2a5298);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        .floating-card {
            transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
        }
        .floating-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
        }
        .search-box:focus-within {
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.5);
        }
/* ====================
   大数据模块 - （暗黑模式自适应）
   ==================== */
		@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #0f172a, #1e293b);
    }
    .search-box {
        background: rgba(30, 41, 59, 0.7) !important;
    }
}
/* ====================
   大数据模块 - （添加平滑过渡动画）
   ==================== */
        .search-history-enter-active, .search-history-leave-active {
            transition: opacity 0.3s, transform 0.3s;
        }
        .search-history-enter, .search-history-leave-to {
            opacity: 0;
            transform: translateY(-10px);
        }
/* ====================
   大数据底部返回和返顶按钮模块
   ==================== */
/* 返回顶部按钮 - 增强动效版 */
#backToTopBtn {
    /* 原有样式保持不变 */
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff00ff, #c400c4); /* 添加渐变效果 */
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    transition: 
        opacity 0.3s, 
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 悬停效果 */
#backToTopBtn:hover {
    background: linear-gradient(135deg, #e500e5, #a800a8); /* 加深渐变 */
    transform: translateY(-5px) scale(1.02); /* 上浮+轻微放大 */
    box-shadow: 0 8px 16px rgba(0,0,0,0.2); /* 增强阴影 */
}

/* 按下效果 */
#backToTopBtn:active {
    transform: translateY(2px) scale(0.98); /* 下沉+轻微缩小 */
    box-shadow: 0 2px 4px rgba(0,0,0,0.15); /* 减弱阴影 */
}

/* 箭头动画 */
#backToTopBtn::after {
    content: "↑";
    color: white;
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.2s ease;
}

/* 悬停时箭头微动 */
#backToTopBtn:hover::after {
    transform: translateY(-2px);
}

/* 显示状态 */
#backToTopBtn.opacity-100 {
    opacity: 1;
}

/* 底部导航小按钮配置代码 */
.visit-btn {
    background: var(--primary-color);
    background: #0d5bb5;/* 底部导航小按钮默认颜色 */
    color: white;
    border: none;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}
        
.visit-btn:hover {
    background: #ff0000;/* 底部导航小按钮点击变色 */
}
			
.button-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem; /* 按钮间距 */
    flex-wrap: wrap; /* 在小屏幕上自动换行 */
    margin-top: 1rem;
}

/* 确保按钮链接不换行 */
.button-group .site-link {
    display: inline-block;
}