/* 博客页面样式 */

        /* 全局样式 */
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            line-height: 1.6;
            color: #333;
            margin: 0;
            padding: 0;
            background-image: url(https://moegirl.uk/images/2/2b/BA_Ui_ML.png);
            background-size: cover;
            background-position: center center;
            background-repeat: no-repeat;
            background-attachment: fixed;
        }
        
        .backdrop-blur {
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        
        /* 导航栏样式 */
        .nav-header {
            background-color: rgba(255, 255, 255, 0.85);
            box-shadow: 0 4px 12px rgb(100 121 255);
            padding: 0.75rem 0;
            position: sticky;
            top: 1rem;
            z-index: 50;
            border-radius: 1.5rem;
            margin: 1rem auto 0;
            max-width: 90%;
            transition: all 0.3s ease;
        }
        
        .nav-header:hover {
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        }
        
        .nav-container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1.5rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .nav-logo {
            display: flex;
            align-items: center;
            text-decoration: none;
            transition: transform 0.3s ease;
        }
        
        .nav-logo:hover {
            transform: scale(1.02);
        }
        
        .nav-logo img {
            width: 36px;
            height: 36px;
            margin-right: 0.75rem;
            border-radius: 50%;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }
        
        .nav-logo span {
            font-size: 1.25rem;
            font-weight: bold;
            color: #1f2937;
            background: linear-gradient(135deg, #3b82f6, #1e40af);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .nav-links {
            display: flex;
            gap: 1.5rem;
        }
        
        .nav-links a {
            color: #4b5563;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            padding: 0.5rem 1rem;
            border-radius: 0.75rem;
        }
        
        .nav-links a:hover {
            color: #1e40af;
            background-color: rgba(59, 130, 246, 0.05);
        }
        
        .nav-links a.active {
            color: #1e40af;
            background-color: rgba(59, 130, 246, 0.1);
            font-weight: 600;
        }
        
        /* 主容器样式 */
        .main-container {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 1rem;
        }
        
        /* 博客容器样式 */
        .blog-container {
            display: grid;
            grid-template-columns: 3fr 1fr;
            gap: 2rem;
        }
        
        /* 文章卡片样式 */
        .article-card {
            background-color: rgb(255 255 255 / 77%);
            border-radius: 1.25rem;
            backdrop-filter: blur(15px);
            overflow: hidden;
            box-shadow: 0 4px 12px rgb(255 255 255);
            transition: all 0.3s ease;
            margin-bottom: 2rem;
            cursor: pointer;
        }
        
        .article-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 24px rgba(255, 163, 59, 0.568);
        }
        
        .article-cover {
            height: 250px;
            overflow: hidden;
            position: relative;
        }
        
        .article-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .article-card:hover .article-cover img {
            transform: scale(1.05);
        }
        
        .article-content {
            padding: 1.5rem;
        }
        
        .article-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
            color: #1f2937;
            line-height: 1.3;
            transition: color 0.3s ease;
        }
        
        .article-card:hover .article-title {
            color: #1e40af;
        }
        
        .article-meta {
            display: flex;
            align-items: center;
            color: #6b7280;
            font-size: 0.875rem;
            margin-bottom: 1rem;
        }
        
        .article-meta span {
            margin-right: 1rem;
            display: flex;
            align-items: center;
        }
        
        .article-meta i {
            margin-right: 0.5rem;
        }
        
        .article-excerpt {
            color: #4b5563;
            margin-bottom: 1.25rem;
            line-height: 1.6;
        }
        
        /* 侧边栏样式 */
        .sidebar {
            padding-top: 1rem;
            /* backdrop-filter: blur(15px); */
        }
        
        .sidebar-widget {
            background-color: rgb(255 255 255 / 50%);
            border-radius: 1.25rem;
            backdrop-filter: blur(88999999998px);
            padding: 1.5rem;
            margin-bottom: 2rem;
            box-shadow: 0 4px 12px rgb(255 255 255);
            transition: all 0.3s ease;
        }
        
        .sidebar-widget:hover {
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        }
        
        .widget-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: #1f2937;
            border-bottom: 2px solid #e5e7eb;
            padding-bottom: 0.5rem;
            position: relative;
        }
        
        .widget-title::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 30%;
            height: 2px;
            background-color: #3b82f6;
        }
        
        .friends-list {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }
        
        .friend-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: #333;
            transition: all 0.3s ease;
            padding: 0.75rem;
            border-radius: 0.75rem;
        }
        
        .friend-item:hover {
            transform: translateY(-3px);
            background-color: rgba(59, 130, 246, 0.05);
        }
        
        .friend-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            overflow: hidden;
            margin-bottom: 0.5rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }
        
        .friend-item:hover .friend-avatar {
            transform: scale(1.05);
        }
        
        .friend-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .friend-name {
            font-size: 0.875rem;
            font-weight: 500;
        }
        
        /* 页脚样式 */
        .footer {
            background-color: #ffffffbd;
            color: #4b5563;
            backdrop-filter: blur(15px);
            padding: 3rem 0;
            margin-top: 4rem;
            border-radius: 1.5rem 1.5rem 0 0;
            max-width: 90%;
            margin: 4rem auto 0;
            box-shadow: 0 -4px 12px rgb(255 255 255);
        }
        
        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
        }
        
        .footer-section h3 {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: #1f2937;
            position: relative;
            padding-bottom: 0.5rem;
        }
        
        .footer-section h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 25%;
            height: 2px;
            background-color: #3b82f6;
        }
        
        .footer-section ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .footer-section ul li {
            margin-bottom: 0.75rem;
        }
        
        .footer-section ul li a {
            color: #4b5563;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
        }
        
        .footer-section ul li a:hover {
            color: #1e40af;
            transform: translateX(3px);
        }
        
        .footer-section ul li a i {
            margin-right: 0.5rem;
            transition: transform 0.3s ease;
        }
        
        .footer-section ul li a:hover i {
            transform: translateX(-3px);
        }
        
        .footer-bottom {
            text-align: center;
            margin-top: 2rem;
            padding-top: 1.5rem;
            border-top: 1px solid #e5e7eb;
            color: #6b7280;
            font-size: 0.875rem;
        }
        
        /* 文章弹窗样式 - 修改为全屏样式 */
        .article-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: white;
            z-index: 100;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            overflow-y: auto;
        }
        
        .article-modal.active {
            opacity: 1;
            visibility: visible;
        }
        
        .modal-content {
            max-width: 100%;
            margin: 0;
            padding: 0;
            transform: none;
            transition: none;
        }
        
        .modal-header {
            padding: 1.5rem;
            border-bottom: 1px solid #e5e7eb;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: rgba(255, 255, 255, 0.95);
            position: sticky;
            top: 0;
            z-index: 10;
        }
        
        .modal-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #1f2937;
        }
        
        .close-modal {
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 18px;
            transition: all 0.3s ease;
        }
        
        .close-modal:hover {
            color: #1f2937;
            background-color: #f3f4f6;
        }
        
        .modal-body {
            padding: 1.5rem;
            max-width: 900px;
            margin: 0 auto;
        }
        
        .modal-cover {
            width: 100%;
            height: 300px;
            overflow: hidden;
            border-radius: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .modal-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .modal-meta {
            display: flex;
            align-items: center;
            color: #6b7280;
            font-size: 0.875rem;
            margin-bottom: 1.5rem;
        }
        
        .modal-meta span {
            margin-right: 1rem;
            display: flex;
            align-items: center;
        }
        
        .modal-meta i {
            margin-right: 0.5rem;
        }
        
        .modal-content-text {
            line-height: 1.8;
            color: #374151;
        }
        
        .modal-content-text p {
            margin-bottom: 1.5rem;
        }
        
        .modal-content-text h2 {
            font-size: 1.25rem;
            font-weight: 700;
            margin-top: 2rem;
            margin-bottom: 1rem;
            color: #1f2937;
        }
        
        .modal-footer {
            padding: 1.5rem;
            border-top: 1px solid #e5e7eb;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: rgba(255, 255, 255, 0.95);
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .blog-container {
                grid-template-columns: 1fr;
            }
            
            .footer-container {
                grid-template-columns: 1fr 1fr;
            }
            
            .nav-header {
                top: 0.5rem;
                max-width: 95%;
            }
            
            .nav-container {
                flex-direction: column;
                gap: 1rem;
            }
            
            .nav-links {
                gap: 0.5rem;
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .nav-links a {
                padding: 0.5rem 0.75rem;
            }
            
            .modal-title {
                font-size: 1.25rem;
            }
            
            .modal-cover {
                height: 200px;
            }
        }
        
        @media (max-width: 576px) {
            .footer-container {
                grid-template-columns: 1fr;
            }
            
            .modal-body {
                padding: 1rem;
            }
            
            .modal-meta {
                flex-wrap: wrap;
                gap: 0.5rem;
            }
        }
        
        /* 优化后的标签云样式 */
        .tag-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }
        
        .tag {
            display: inline-flex;
            align-items: center;
            padding: 0.5rem 1rem;
            border-radius: 9999px;
            background-color: rgba(59, 130, 246, 0.1);
            color: #1e40af;
            text-decoration: none;
            font-size: 0.875rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        
        .tag::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #3b82f6;
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
            z-index: -1;
        }
        
        .tag:hover {
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
        }
        
        .tag:hover::before {
            transform: scaleX(1);
        }
        
        .tag-count {
            margin-left: 0.5rem;
            font-size: 0.75rem;
            background-color: rgba(255, 255, 255, 0.8);
            color: #3b82f6;
            padding: 0.125rem 0.5rem;
            border-radius: 9999px;
            transition: all 0.3s ease;
        }
        
        .tag:hover .tag-count {
            background-color: white;
            color: #1e40af;
        }

        button{
    width: 100%;
    border-radius: 15px;
    background-color: hsl(var(--primary));
    background-image: url(https://tse4-mm.cn.bing.net/th/id/OIP-C.apkBajCIYADPRCIQWyJw-wHaEK?rs=1&pid=ImgDetMain);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    box-shadow: 1px 0px 50px 2px #7c916f;
    }
