@charset "UTF-8";
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Microsoft YaHei', Arial, sans-serif;
            background: linear-gradient(135deg, #f9f0ff 0%, #f0e6ff 100%);
            color: #333;
            line-height: 1.6;
            min-height: 100vh;
        }

        /* 导航栏样式 */
        .navbar {
            background: linear-gradient(135deg, #8b008b, #da70d6);
            padding: 1rem 0;
            box-shadow: 0 4px 20px rgba(139, 0, 139, 0.4);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            color: white;
            font-size: 2rem;
            font-weight: bold;
            text-decoration: none;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .nav-menu {
            display: flex;
            list-style: none;
        }

        .nav-menu li {
            margin-left: 2.5rem;
            position: relative;
        }

        .nav-menu a {
            color: white;
            text-decoration: none;
            font-size: 1.1rem;
            font-weight: 500;
            padding: 8px 0;
            transition: all 0.3s ease;
        }

        .nav-menu a:hover {
            color: white; 
            transform: translateY(-2px);
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 3px;
            bottom: 0;
            left: 0;
            background: white; 
            transition: width 0.3s ease;
        }

        .nav-menu a:hover::after {
            width: 100%;
        }

        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            background: rgba(255,255,255,0.2);
            padding: 8px;
            border-radius: 5px;
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background: white;
            margin: 3px 0;
            transition: 0.3s;
        }

        /* 优化搜索区域样式 */
        .search-section {
            background: linear-gradient(135deg, #8a2be2, #da70d6);
            padding: 4rem 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .search-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
            background-size: cover;
        }

        .search-container {
            max-width: 700px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            z-index: 2;
        }

        .search-title {
            color: white;
            font-size: 2.5rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
            font-weight: 700;
        }

        .search-subtitle {
            color: rgba(255,255,255,0.9);
            font-size: 1.2rem;
            margin-bottom: 2.5rem;
            font-weight: 300;
        }

        .search-box {
            display: flex;
            max-width: 100%;
            margin: 0 auto;
            background: white;
            border-radius: 50px;
            padding: 5px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .search-box:focus-within {
            transform: translateY(-2px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.4);
        }

        .search-input {
            flex: 1;
            padding: 10px 15px;
            border: none;
            border-radius: 50px 0 0 50px;
            font-size: 1.2rem;
            outline: none;
            background: transparent;
        }

        .search-input::placeholder {
            color: #999;
        }

        .search-btn {
            padding: 0 20px;
            background: linear-gradient(135deg, #8b008b, #6a0080);
            color: white;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            font-size: 1.2rem;
            font-weight: 600;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 10px;
            white-space: nowrap;
        }

        .search-btn:hover {
            background: linear-gradient(135deg, #6a0080, #4b0060);
            transform: scale(1.05);
        }

        .search-btn::before {
            content: '🔍';
            font-size: 1.3rem;
        }

        .search-tags {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 2rem;
        }

        .search-tag {
            color: rgba(255,255,255,0.9);
            background: rgba(255,255,255,0.2);
            padding: 8px 15px;
            border-radius: 25px;
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .search-tag:hover {
            background: rgba(255,255,255,0.3);
            transform: translateY(-2px);
        }

        /* 瀑布流样式 */
        .gallery-section {
            max-width: 1400px;
            margin: 1.5rem auto;
            padding: 0 10px;
        }

        .gallery-title {
            text-align: center;
            color: #8b008b;
            margin-bottom: 2rem;
            font-size: 2rem;
            font-weight: 700; /* 加粗 */
            position: relative;
        }

        .gallery-title::after {
            content: '';
            display: block;
            width: 100px;
            height: 3px;
            background: linear-gradient(90deg, #8b008b, #da70d6);
            margin: 1rem auto;
            border-radius: 2px;
        }

        .masonry-grid {
            column-count: 4;
            column-gap: 10px;
        }

        .masonry-item {
            break-inside: avoid;
            margin-bottom: 15px;
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(139, 0, 139, 0.15);
            transition: all 0.3s ease;
            position: relative;
        }

        .masonry-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(139, 0, 139, 0.25);
        }

        .masonry-item a {
            text-decoration: none;
            color: inherit;
            display: block;
        }

        .masonry-img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.3s ease;
        }

        .masonry-item:hover .masonry-img {
            transform: scale(1.05);
        }

        .masonry-title {
            padding: 10px;
            text-align: center;
            background: white;
        }

        .masonry-title h3 {
            color: #af2aaf;
            font-size: 1.2rem;
            margin: 0;
            font-weight: 700; /* 加粗 */
        }

        /* 友情链接样式 */
        .links-section {
            background: #f0e6ff;
            padding: 1.5rem 0;
        }

        .links-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
            text-align: center;
        }

        .links-title {
            color: #8b008b;
            margin-bottom: 1rem;
        }

        .links-list {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            list-style: none;
            gap: 2rem;
        }

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

        .links-list a:hover {
            color: #8b008b;
        }

        /* 页脚样式 */
        .footer {
            background: linear-gradient(135deg, #8b008b, #da70d6);
            color: white;
            text-align: center;
            padding: 1rem 0;
        }

        .footer p {
            margin: 0.5rem 0;
        }

        .footer a {
            color: white;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer a:hover {
            color: #f0e6ff;
            text-decoration: underline;
        }

        /* 响应式设计 */
        @media (max-width: 1024px) {
            .masonry-grid {
                column-count: 3;
            }
            
            .search-title {
                font-size: 2.2rem;
            }
        }

        @media (max-width: 768px) {
            .hamburger {
                display: flex;
            }

            .nav-menu {
                position: fixed;
                left: -100%;
                top: 75px;
                flex-direction: column;
                background: linear-gradient(135deg, #8b008b, #da70d6);
                width: 100%;
                text-align: center;
                transition: 0.3s;
                box-shadow: 0 10px 20px rgba(0,0,0,0.2);
                padding: 1rem 0;
                z-index: 999;
            }

            .nav-menu.active {
                left: 0;
            }

            .nav-menu li {
                margin: 0.6rem 0;
            }

            .masonry-grid {
                column-count: 2;
            }
            
            .search-section {
                padding: 3rem 0;
            }
            
            .search-title {
                font-size: 2rem;
            }
            
            .search-subtitle {
                font-size: 1.2rem;
            }
            
            .search-box {
                flex-direction: row;
                border-radius: 50px;
                padding: 5px;
            }
            
            .search-input {
                border-radius: 50px 0 0 50px;
                padding: 10px 15px;
                font-size: 1.1rem;
            }
            
            .search-btn {
                border-radius: 0 50px 50px 0;
                padding: 0 10px;
                font-size: 1.1rem;
            }
        }

        @media (max-width: 480px) {
            .masonry-grid {
                column-count: 2;
            }
            
            .search-container {
                max-width: 100%;
            }
            
            .search-box {
                flex-direction: row;
                border-radius: 30px;
                padding: 4px;
            }
            
            .search-input {
                border-radius: 30px 0 0 30px;
                padding: 12px 15px;
                font-size: 1rem;
            }
            
            .search-btn {
                border-radius: 0 30px 30px 0;
                padding: 0 10px;
                font-size: 1rem;
            }
            
            .search-btn::before {
                font-size: 1.1rem;
            }
            
            .links-list {
                gap: 1.5rem;
            }
            
            .logo {
                font-size: 1.6rem;
            }
            
            .search-title {
                font-size: 1.8rem;
            }
        }
		
        /* 面包屑导航 */
        .breadcrumb-section {
            background: #f5f0ff;
            padding: 1.5rem 0;
            border-bottom: 1px solid #e6d9ff;
        }

        .breadcrumb-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .breadcrumb {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            font-size: 0.95rem;
        }

        .breadcrumb a {
            color: #8b008b;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .breadcrumb a:hover {
            color: #da70d6;
            text-decoration: underline;
        }

        .breadcrumb span {
            margin: 0 8px;
            color: #999;
        }

        .breadcrumb .current {
            color: #666;
        }

        /* 新增样式 - 分页导航 */
        .pagination-section {
            padding: 2rem 0;
            text-align: center;
        }

        .pagination-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .pagination {
            display: flex;
            justify-content: center;
            list-style: none;
            flex-wrap: wrap;
            gap: 8px;
        }

        .pagination li {
            display: inline-block;
        }

        .pagination a,
        .pagination span {
            display: block;
            padding: 8px 15px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            min-width: 44px;
            text-align: center;
        }

        .pagination a {
            color: #8b008b;
            background: #f0e6ff;
            border: 1px solid #e6d9ff;
        }

        .pagination a:hover {
            background: #8b008b;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(139, 0, 139, 0.2);
        }

        .pagination .current {
            background: linear-gradient(135deg, #8b008b, #da70d6);
            color: white;
            border: 1px solid #8b008b;
        }

        /* 响应式分页 */
        @media (max-width: 768px) {
            .pagination a,
            .pagination span {
                padding: 6px 12px;
                font-size: 0.9rem;
                min-width: 40px;
            }
        }

        @media (max-width: 480px) {
            .pagination {
                gap: 5px;
            }
            
            .pagination a,
            .pagination span {
                padding: 5px 10px;
                font-size: 0.85rem;
                min-width: 36px;
            }
        }

        /* 文章页新增样式 */
        .content-section {
            max-width: 1400px;
            margin: 1rem auto;
            padding: 0 10px;
            display: flex;
            gap: 1rem;
        }

        .article-container {
            flex: 3;
            background: white;
            border-radius: 10px;
            padding: 1.5rem;
            box-shadow: 0 8px 25px rgba(139, 0, 139, 0.1);
        }

        .article-title {
            color: #8b008b;
            font-size: 2rem;
            margin-bottom: 1.5rem;
            line-height: 1.3;
        }

        .article-meta {
            display: flex;
            color: #666;
            font-size: 0.95rem;
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid #f0e6ff;
            flex-wrap: wrap; 
            gap: 0.5rem 1.5rem; 
        }

        .article-meta span {
            display: flex;
            align-items: center;
            gap: 5px;
            white-space: nowrap; 
        }

        .article-content {
            margin-bottom: 2rem;
        }

        .article-content p {
            margin-bottom: 1rem;
            line-height: 1.8;
        }

        .article-content img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            margin: 0.5rem 0;
            display: block;
        }

        .article-navigation {
            display: flex;
            justify-content: space-between;
            margin: 1rem 0;
            padding: 1rem 0;
            border-top: 1px solid #f0e6ff;
            border-bottom: 1px solid #f0e6ff;
        }

        .article-nav-link {
            color: #8b008b;
            text-decoration: none;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .article-nav-link:hover {
            color: #da70d6;
            transform: translateX(5px);
        }

        .article-nav-link.prev:hover {
            transform: translateX(-5px);
        }

        .related-posts {
            margin-top: 2rem;
        }

        .related-title {
            color: #8b008b;
            font-size: 1.5rem;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #f0e6ff;
        }

        .related-list {
            list-style: none;
        }

        .related-item {
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px dashed #f0e6ff;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 5px;
        }

        .related-item:last-child {
            border-bottom: none;
        }

        .related-link {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
        }

        .related-link:hover {
            color: #8b008b;
            text-decoration: underline;
        }

        .related-date {
            white-space: nowrap;
            color: #999;
            font-size: 0.9rem;
        }

        .sidebar {
            flex: 1;
        }

        .sidebar-title {
            color: #8b008b;
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #f0e6ff;
        }

        .sidebar-hot {
            column-count: 2;
            column-gap: 10px;
        }

        @media (max-width: 1024px) {
            .content-section {
                flex-direction: column;
            }
            
            .sidebar-hot {
                column-count: 2;
            }
        }

        @media (max-width: 768px) {
            .article-container {
                padding: 1rem;
            }
            
            .article-title {
                font-size: 1.5rem;
            }
            
            .article-navigation {
                flex-direction: column;
                gap: 1rem;
            }
        }

        @media (max-width: 480px) {
            .article-title {
                font-size: 1.5rem;
            }
            
            .article-meta {
                flex-direction: row;
                gap: 0.5rem 1rem;
            }
            
            .article-meta span {
                margin-right: 0;
            }
            
            .sidebar-hot {
                column-count: 2;
            }
            
            .related-item {
                align-items: flex-start;
            }
            
            .related-date {
                width: 100%;
                margin-top: 3px;
            }
        }