/* 全球宝藏地图 - 主样式文件 */

/* CSS变量定义 */
:root {
    --treasure-brown: #8B4513;
    --treasure-gold: #D4AF37;
    --treasure-blue: #1E90FF;
    --treasure-orange: #FF7F50;
    --treasure-dark: #1A1A1A;
    
    /* 阴影效果 */
    --elevation-1: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --elevation-2: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    --elevation-3: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

/* 全局样式 */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', '思源黑体', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9fafb;
    color: #374151;
    overflow: hidden;
}

/* 滚动条隐藏 */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* 地图容器 */
.map-container {
    height: 100vh;
    width: 100%;
}

/* 面板过渡效果 */
.panel-transition {
    transition: transform 0.3s ease, width 0.3s ease, box-shadow 0.3s ease;
}

/* 浮动按钮效果 */
.filter-float-btn {
    transition: all 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.filter-float-btn:hover {
    transform: scale(1.1);
}

/* 脉冲动画 */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 文字阴影 */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}