/* 基础设置 */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    overflow: hidden; /* 防止拖拽时出现滚动条 */
}

/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-right: 80px;
}

.nav-links li {
    margin: 0 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}

/* 可拖拽图片 */
.draggable {
    position: absolute;
    width: 200px;
    cursor: move;
    background: white;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    user-select: none; /* 防止拖动时选中文字 */
    transition: transform 0.2s ease;
}

.draggable:hover {
    transform: scale(1.05);
}

.draggable img {
    width: 100%;
    pointer-events: none; /* 确保点击的是容器而不是图片 */
    border-radius: 4px;
}

.draggable p {
    text-align: center;
    font-size: 12px;
    color: #888;
}