body {
    margin: 0;
    padding: 0;
    font-family: "微软雅黑", Arial, sans-serif;
    background-color: #f5f5f5;
}

.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg-image {
            width: 100%;
            height: 100%;
            background-size: cover;
        }

.main-container {
    position: relative;
    z-index: 1;
}

.header {
    position: relative;
    padding: 20px 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    z-index: 1000;
}

.logo {
    display: inline-block;
    position: relative;
    z-index: 1001;
}

.search-box-container {
    width: 440px;
    margin-left: 20px;
}

#searchTips {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #d2d2d2;
    border-top: none;
    z-index: 1001;
    display: none;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    box-sizing: border-box;
}

/* 搜索框响应式样式 */
@media screen and (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .logo {
        margin-bottom: 20px;
    }
    .search-box-container {
        width: 100%;
        margin-left: 0;
        margin-bottom: 30px;
    }
}

#searchTips div {
    padding: 8px 15px;
    cursor: pointer;
}

#searchTips div:hover {
    background-color: #f2f2f2;
}

.quick-links {
    margin-bottom: 12px;
}

.quick-links-container {
    background-color: rgba(0, 0, 0, 0.17);
    border-radius: 20px 0 20px 0;
    padding: 15px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.57);
    backdrop-filter: blur(5px);
}
.quick-link-item {
    text-align: left;
    padding: 10px;
    transition: all 0.3s ease;
    border-radius: 8px;
    min-height: 40px;
    display: flex;
    align-items: flex-start;
}

.quick-link-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.quick-link-item a {
    display: inline-block;
    color: #fff;
    font-size: 14px;
    text-shadow: 0px 0px 5px #5e5e5ec9;
}

.category-section {
    margin-bottom: 40px;
}

.category-item {
    margin-bottom: 10px;
}

.category-title {
    background-color: #151d1e7a;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 4px 4px 0 0;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 1px #5D5D5D;
}

.category-content {
    background-color: rgba(64, 64, 64, 0.3);
    padding: 20px;
    border-radius: 0 0 4px 4px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(5px);
}

.category-link {
    text-align: left;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-height: 40px;
    display: flex;
    align-items: flex-start;
}

.category-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.category-link a {
    display: inline-block;
    color: #fffffd;
    text-shadow: 0 0 6px #000000f2;
    font-size: 13px;
}

.category-link a:hover {
    color: #ffffff !important;
    text-shadow: 1px 1px 1px #353535;
}

/* 高亮样式 */
.quick-link-item.highlight,
.category-link.highlight {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.quick-link-item.highlight a,
.category-link.highlight a {
    color: #ffffff !important;
    text-shadow: 1px 1px 1px #353535;
}

.footer {
    text-align: center;
    padding: 30px 0;
    color: #848484;
    font-size: 12px;
}

.footer a {
    color: #848484;
}

/* 拖拽功能所需的额外样式 */
.drag-ghost {
    opacity: 0.4;
    background-color: rgba(255, 255, 255, 0.2);
}

.drag-dragging {
    opacity: 0.8;
}

.link-favicon {
    cursor: grab;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    flex-shrink: 0;
}

.link-favicon:active {
    cursor: grabbing;
}

.quick-link-item a, .category-link a {
    cursor: pointer;
    display: inline-block;
    width: 100%;
    flex-grow: 1;
    word-wrap: break-word;
    word-break: break-all;
}
