:root {
    --primary: #00c6ff;
    --secondary: #0072ff;
    --accent: #ff6b6b;
    --dark: #0f172a;
    --darker: #0a101f;
    --light: #e2e8f0;
}

body {
    background: linear-gradient(135deg, var(--darker), #1e293b);
    color: var(--light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    background-attachment: fixed;
    overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 198, 255, 0.3);
    padding: 12px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.nav-link,.nav-user-link {
    color: var(--light) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s;
    position: relative;
}
.nav-user-link:hover {
    color: var(--primary) !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}

.nav-link:hover::after, .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}



.search-container {
    display: flex;
    width: 300px;
    margin: 0 auto;
    position: relative;
}

/* 移动搜索框样式 */
.mobile-search-container {
    display: flex;
    width: 93vw;
    margin: 0 auto;
    position: fixed;
    top: 80px;
    z-index: 99;
}

.search-box {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(94, 234, 255, 0.2);
    color: white;
    padding: 14px 20px;
    border-radius: 50px;
    width: 100%;
    font-size: 1.1rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s;
}

.search-box:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(0, 198, 255, 0.25);
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
}

.mobile-search-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--light);
    font-size: 1.2rem;
    margin-left: 88px;
}

/* 按钮样式 */
.btn-gradient {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.3);
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 114, 255, 0.5);
    color: white;
}

.btn-outline-gradient {
    background: transparent;
    border: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--primary), var(--secondary));
    border-image-slice: 1;
    color: var(--primary);
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-outline-gradient:hover {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 114, 255, 0.3);
}

.form-control {
    border-radius: 30px;
}

/* 壁纸区域样式 */
.section-title {
    position: relative;
    margin: 60px 0 40px;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.wallpaper-section {
    margin-bottom: 80px;
}

.wallpaper-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
    gap: 25px;
    margin-top: 30px;
}


/* 按钮优化 */
.btn-like {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #94a3b8;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-like:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
}

.btn-like.active {
    background: rgba(255, 107, 107, 0.3);
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.btn-go {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-go:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 114, 255, 0.4);
    color: white;
}

/* 页脚样式 */
.footer {
    background: rgba(15, 23, 42, 0.9);
    padding: 60px 0 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(0, 198, 255, 0.2);
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-links h5 {
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    font-size: 0.9rem;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 114, 255, 0.4);
}

.back-to-top.show {
    opacity: 1;
}

/* 模态框定制样式 */
.modal-content {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(0, 198, 255, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    color: var(--light);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    color: var(--primary);
    font-weight: 700;
}

.form-control {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(94, 234, 255, 0.1);
    color: white;
    padding: 12px 15px;
    margin-bottom: 20px;
}

.form-control:focus {
    background: rgba(30, 41, 59, 0.9);
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(0, 198, 255, 0.25);
    color: white;
}

.form-label {
    color: #94a3b8;
    margin-bottom: 8px;
}

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* 用户头像样式 */
.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 198, 255, 0.5);
}

.user-dropdown {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(94, 234, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.user-dropdown .dropdown-item {
    color: var(--light);
    transition: all 0.2s;
}

.user-dropdown .dropdown-item:hover {
    background: rgba(0, 198, 255, 0.15);
    color: var(--primary);
    padding-left: 15px;
}

        /* 分页样式 */
.pagination .page-link {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(94, 234, 255, 0.2);
    color: var(--light);
    margin: 0 5px;
    border-radius: 8px;
    transition: all 0.3s;
}

.pagination .page-link:hover {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    border-color: var(--primary);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-color: var(--primary);
    color: white;
}
      /* 电脑壁纸样式 - 16:9 但高度增加 */
        .desktop-wallpaper {
            border-radius: 12px;
            overflow: hidden;
            position: relative;
            height: 0;
            padding-bottom: 65%; /* 增加高度 */
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            transition: all 0.3s;
        }

        .wallpaper-img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .desktop-wallpaper:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 25px rgba(0, 198, 255, 0.25);
        }

        .wallpaper-item:hover .wallpaper-img {
            transform: scale(1.1);
        }

        .wallpaper-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
            padding: 20px;
            transform: translateY(40px);
            transition: transform 0.3s;
            opacity: 0;
        }

        .wallpaper-item:hover .wallpaper-overlay {
            transform: translateY(0);
            opacity: 1;
        }
                /* 手机壁纸样式 - 9:16 (保持原比例) */
        .mobile-wallpaper {
            border-radius: 12px;
            overflow: hidden;
            position: relative;
            height: 0;
            padding-bottom: 177.77%; /* 9:16 比例 */
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            transition: all 0.3s;
        }

        .wallpaper-img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .mobile-wallpaper:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 25px rgba(0, 198, 255, 0.25);
        }

        .wallpaper-item:hover .wallpaper-img {
            transform: scale(1.1);
        }

        .wallpaper-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
            padding: 20px;
            transform: translateY(40px);
            transition: transform 0.3s;
            opacity: 0;
        }

        .wallpaper-item:hover .wallpaper-overlay {
            transform: translateY(0);
            opacity: 1;
        }


/* 精选壁纸标签 */
.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e53);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
}

.featured-wallpaper {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 0;
    padding-bottom: 70%; /* 更高的比例 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.page-item:last-child .page-link {
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
}

.page-item:first-child .page-link {
    border-bottom-left-radius: 8px;
    border-top-left-radius: 8px;
}

.beian {
    color: #64748b;
    text-decoration: none;
}

.beian:hover {
    color: #64748b;
    text-decoration: underline;
}

/* 全屏搜索弹出层 - 修复版 */
        .search-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(10, 16, 31, 0.98);
            z-index: 9999;
            display: none;
            opacity: 0;
            transition: opacity 0.3s;
            backdrop-filter: blur(10px);
            overflow-y: auto; /* 添加滚动条 */
        }
        
        .search-overlay.active {
            display: flex;
            opacity: 1;
            align-items: flex-start; /* 改为顶部对齐 */
            justify-content: center;
            padding: 80px 20px 40px; /* 添加上下内边距 */
        }
        
        .search-overlay-content {
            width: 90%;
            max-width: 900px;
            background: rgba(15, 23, 42, 0.9);
            border-radius: 20px;
            padding: 30px;
            border: 1px solid rgba(0, 198, 255, 0.3);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            margin: 20px 0; /* 添加上下外边距 */
        }
        
        .search-overlay-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }
        
        .search-overlay-title {
            font-size: 1.8rem;
            font-weight: 700;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .close-search {
            background: transparent;
            border: none;
            color: var(--light);
            font-size: 1.5rem;
            cursor: pointer;
            transition: color 0.3s;
        }
        
        .close-search:hover {
            color: var(--primary);
        }
        
        .search-overlay-input {
            margin-bottom: 30px;
        }
        
        .search-overlay-input .search-box {
            max-width: 100%;
            font-size: 1.2rem;
            padding: 18px 25px;
        }
        
        .search-categories {
            margin-bottom: 30px;
        }
        
        .search-categories h3 {
            font-size: 1.3rem;
            margin-bottom: 15px;
            color: var(--primary);
        }
        
        .category-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .category-btn {
            background: rgba(30, 41, 59, 0.7);
            border: 1px solid rgba(94, 234, 255, 0.2);
            color: var(--light);
            padding: 10px 20px;
            border-radius: 30px;
            font-weight: 500;
            transition: all 0.3s;
            cursor: pointer;
        }
        
        .category-btn:hover, .category-btn.active {
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 114, 255, 0.3);
        }
        
        .search-tags {
            margin-bottom: 30px;
        }
        
        .search-tags h3 {
            font-size: 1.3rem;
            margin-bottom: 15px;
            color: var(--primary);
        }
        
        .tag-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .tag {
            background: rgba(30, 41, 59, 0.5);
            border: 1px solid rgba(94, 234, 255, 0.1);
            color: var(--light);
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            transition: all 0.3s;
            cursor: pointer;
        }
        
        .tag:hover {
            background: rgba(0, 198, 255, 0.2);
            border-color: var(--primary);
            color: var(--primary);
            transform: translateY(-2px);
        }
        
        .search-results-preview {
            margin-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 20px;
        }
        
        .search-results-preview h3 {
            font-size: 1.3rem;
            margin-bottom: 15px;
            color: var(--primary);
        }
        
/* 响应式调整 */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .navbar-nav .nav-item:not(:last-child) {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .desktop-search {
        display: none;
    }

    .mobile-search-btn {
        display: block;
    }

    .wallpaper-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 15px;
    }
                /* 移动端搜索弹出层优化 */
            .search-overlay.active {
                padding: 60px 15px 20px;
            }
            
            .search-overlay-content {
                padding: 20px;
                width: 95%;
                margin: 10px 0;
            }
            
            .category-buttons, .tag-cloud {
                justify-content: center;
            }
            
            .preview-grid {
                grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            }
            
            .search-overlay-title {
                font-size: 1.5rem;
            }
}

@media (max-width: 576px) {
    .hero {
        padding: 80px 0 40px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .wallpaper-grid {
        grid-template-columns: 1fr;
    }
            .search-overlay-title {
                font-size: 1.4rem;
            }
            
            .category-btn, .tag {
                font-size: 0.8rem;
                padding: 8px 15px;
            }
            
            .search-overlay.active {
                padding: 50px 10px 15px;
            }
            
            .search-overlay-content {
                padding: 15px;
            }    
}


/* 消息提示组件样式 */
.toast-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
}

.custom-toast {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(0, 198, 255, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: var(--light);
    max-width: 350px;
}

.toast-header {
    background: rgba(30, 41, 59, 0.7);
    border-bottom: 1px solid rgba(0, 198, 255, 0.2);
    color: var(--primary);
    font-weight: 600;
}

.btn-close {
    filter: invert(1);
}

.toast-success .toast-header {
    color: #47d764;
    border-bottom: 1px solid rgba(71, 215, 100, 0.3);
}

.toast-error .toast-header {
    color: #ff355b;
    border-bottom: 1px solid rgba(255, 53, 91, 0.3);
}

.toast-warning .toast-header {
    color: #ffc021;
    border-bottom: 1px solid rgba(255, 192, 33, 0.3);
}

.toast-icon {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* 表单验证样式 */
.is-invalid {
    border-color: #ff355b !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 53, 91, 0.25) !important;
}

.invalid-feedback {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: -10px;
    margin-bottom: 15px;
}

.was-validated .form-control:invalid {
    border-color: #ff355b;
    box-shadow: 0 0 0 0.25rem rgba(255, 53, 91, 0.25);
}

/* 加载按钮样式 */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 模态框加载效果 */
.modal-loading {
    position: relative;
}

/* 模态框加载效果 */
.modal-loading {
    position: relative;
}

.modal-loading:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    z-index: 1000;
}

.modal-loading:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid rgba(0, 198, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
    z-index: 1001;
}
/* 通知计数样式 - 重新设计 */
.notification-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 10px;
    position: absolute;
    right: 15px;
    top: 35%;
    transform: translateY(-50%);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    animation: pulse 2s infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 无通知时隐藏 */
.notification-count:empty {
    display: none;
}

/* 大数字时的样式 */
.notification-count.large {
    min-width: 24px;
    height: 24px;
    font-size: 0.7rem;
    padding: 0 5px;
}

/* 不同状态的样式变体 */
.notification-count.primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.notification-count.warning {
    background: linear-gradient(135deg, #eab308, #f97316);
    box-shadow: 0 2px 8px rgba(234, 179, 8, 0.4);
}

/* 脉冲动画 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* 提示框样式 */
#browser-tip {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #333;
}

.tip-content {
    width: 80%;
    max-width: 400px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.tip-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #ff6b6b;
}

.tip-content h2 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #222;
}

.tip-content p {
    margin: 0 0 20px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.tip-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tip-btn {
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #e9ecef;
    color: #495057;
}

.btn-secondary:hover {
    background-color: #dde2e6;
}

#close-tip {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
}

#close-tip:hover {
    color: #333;
}

 /* 图片加载状态样式 */
        .wallpaper-item {
            position: relative;
        }
        
        .image-loading {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, rgba(30, 41, 59, 0.7) 25%, rgba(15, 23, 42, 0.9) 50%, rgba(30, 41, 59, 0.7) 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
        }
        
        @keyframes loading {
            0% {
                background-position: 200% 0;
            }
            100% {
                background-position: -200% 0;
            }
        }
        
        .image-loading::before {
            content: '';
            width: 40px;
            height: 40px;
            border: 3px solid rgba(0, 198, 255, 0.3);
            border-top: 3px solid var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .wallpaper-img {
            transition: opacity 0.5s ease;
            opacity: 0;
        }
        
        .wallpaper-img.loaded {
            opacity: 1;
        }

        
         /* 分类下拉菜单样式 */
        .dropdown-menu {
            background: rgba(30, 41, 59, 0.95);
            border: 1px solid rgba(94, 234, 255, 0.2);
            backdrop-filter: blur(10px);
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            padding: 10px 0;
            min-width: 220px;
        }
        
        .dropdown-item {
            color: var(--light);
            padding: 8px 20px;
            transition: all 0.2s;
            display: flex;
            align-items: center;
        }
        
        /* .dropdown-item:hover {
            background: rgba(0, 198, 255, 0.15);
            color: var(--primary);
            padding-left: 25px;
        }
         */
        .dropdown-item i {
            width: 20px;
            margin-right: 10px;
            text-align: center;
        }
        
        .dropdown-divider {
            border-color: rgba(255, 255, 255, 0.1);
            margin: 8px 0;
        }
        .dropdown-category{
            color: black;
        }
        
        .dropdown-category::after {
            margin-left: 5px;
            vertical-align: middle;
        }
/* 空状态样式 */
        .empty-state {  
            grid-column: 1 / -1;
            text-align: center;
            padding: 60px 20px;
            color: #94a3b8;
        }
        
        .empty-state.show {
            display: block;
        }
        
        .empty-state-icon {
            font-size: 5rem;
            margin-bottom: 20px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .empty-state h3 {
            font-size: 1.8rem;
            margin-bottom: 15px;
            color: var(--light);
        }
        
        .empty-state p {
            font-size: 1.1rem;
            max-width: 500px;
            margin: 0 auto 25px;
            line-height: 1.6;
        }
        
        .empty-state-actions {
            display: flex;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
        }
        .text-decoration-none {
            text-decoration: none !important;
        }