/*
Theme Name: AIZXS
Theme URI: https://aizxs.com
Author: 小爪
Author URI: https://aizxs.com
Description: AI智习室全新主题 - 零基础学AI，用AI提升工作效率
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aizxs
Tags: custom-colors, custom-header, custom-menu, featured-images, right-sidebar
*/

/* 品牌色变量 */
:root {
    --primary-purple: #8B5CF6;
    --accent-orange: #F59E0B;
    --gradient-main: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    --gradient-accent: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --bg-light: #F9FAFB;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #1F2937;
    background: #F9FAFB;
}

/* 防止意外的背景颜色变化 */
html:hover,
body:hover,
.main-content:hover,
.archive-section:hover {
    background: #F9FAFB !important;
    background-color: #F9FAFB !important;
}



/* 导航栏 */
.header {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin: 0 auto;
}

.nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

/* 大气LOGO区域样式 */
.logo-area {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
    border: 1px solid rgba(139, 92, 246, 0.15);
    transition: all 0.3s ease;
}

.logo-link:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

.logo-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1.2;
}

.logo-ai {
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 50%, #6D28D9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-zhi {
    background: linear-gradient(135deg, #06B6D4 0%, #22D3EE 50%, #0891B2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-xi {
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 50%, #6D28D9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-shi {
    background: linear-gradient(135deg, #06B6D4 0%, #22D3EE 50%, #0891B2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-slogan {
    font-size: 12px;
    color: #8B5CF6;
    font-weight: 500;
    letter-spacing: 3px;
    margin-top: 4px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .logo-link {
        padding: 6px 10px;
        gap: 8px;
    }
    .logo-icon {
        font-size: 24px;
    }
    .logo-name {
        font-size: 18px;
    }
    .logo-slogan {
        font-size: 10px;
        letter-spacing: 1px;
    }
    .logo-glow {
        width: 40px;
        height: 40px;
    }
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #1F2937;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #8B5CF6;
}

/* 桌面端菜单 */
.desktop-nav {
    display: flex !important;
    gap: 30px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-nav > .menu-item > a {
    color: #555;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.desktop-nav > .menu-item > a:hover {
    color: #fff !important;
}

/* 桌面端下拉菜单样式 */
.desktop-nav li {
    position: relative;
}

/* 箭头指示符 */
.desktop-nav .menu-item-has-children > a::after {
    content: '▼';
    font-size: 10px;
    margin-left: 6px;
    color: inherit;
    opacity: 0.7;
    transition: transform 0.3s;
}

.desktop-nav .menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* 二级菜单容器 */
.desktop-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    min-width: 200px;
    padding: 10px 0;
    list-style: none;
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
}

/* 显示二级菜单 */
.desktop-nav li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 二级菜单项 */
.desktop-nav .sub-menu li {
    position: relative;
    margin: 0;
}

.desktop-nav .sub-menu li a {
    display: block;
    padding: 12px 20px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.desktop-nav .sub-menu li a:hover {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    color: #fff;
    border-left-color: rgba(255, 255, 255, 0.3);
    padding-left: 25px;
}

/* 三级菜单 */
.desktop-nav .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 5px;
}

.desktop-nav .sub-menu .menu-item-has-children > a::after {
    content: '›';
    float: right;
    font-size: 14px;
    opacity: 0.5;
}



/* 头部操作区 */
.header-actions {
    display: flex !important;
    gap: 15px;
    align-items: center;
}

.menu-toggle {
    display: none !important;
}

.mobile-menu {
    display: none !important;
}

/* 搜索表单样式 */
.search-form {
    width: 100%;
}

.search-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #E5E7EB;
    border-radius: 25px;
    padding: 5px;
    transition: all 0.3s ease;
}

.search-wrapper:focus-within {
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 15px;
    font-size: 14px;
    color: #1F2937;
    outline: none;
}

.search-input::placeholder {
    color: #9CA3AF;
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 40px;
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    border: none;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn svg {
    width: 20px;
    height: 20px;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.search-btn:active {
    transform: scale(0.95);
}

.btn-login {
    padding: 10px 25px;
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    white-space: nowrap;
}

/* 响应式 - 平板和手机 */
@media (max-width: 768px) {
    .header {
        padding: 0;
        background: #fff;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
        border-bottom: 1px solid #F3F4F6;
    }

    .nav {
        justify-content: space-between;
        padding: 12px 16px;
        background: #fff;
    }

    .logo-area {
        flex: 1;
    }

    .logo-img {
        width: 36px !important;
        height: 36px !important;
        border-radius: 8px;
    }

    .logo-name {
        color: #1F2937 !important;
        font-size: 18px;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .logo-ai {
        color: #8B5CF6 !important;
    }

    .logo-slogan {
        color: #6B7280 !important;
        font-size: 11px;
        margin-top: 2px;
    }

    .desktop-nav {
        display: none !important;
    }

    .header-actions {
        display: none !important;
    }

    /* 移动端搜索按钮 */
    .mobile-search-toggle {
        display: none !important;
    }

    /* 汉堡菜单按钮 */
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background: #8B5CF6;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* 移动端菜单 */
    .mobile-menu {
        display: none !important;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: #fff;
        padding: 25px 16px;
        z-index: 999;
        overflow-y: auto;
        border-top: 1px solid #E5E7EB;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }

    .mobile-menu.active {
        display: block !important;
        animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mobile-nav {
        list-style: none;
        padding: 0;
        margin: 0 0 15px;
    }

    .mobile-nav li {
        padding: 12px 0;
        border-bottom: 1px solid #F3F4F6;
    }

    .mobile-nav li:last-child {
        border-bottom: none;
    }

    .mobile-nav > li > a {
        color: #1F2937;
        text-decoration: none !important;
        font-size: 16px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .mobile-nav .sub-menu .menu-item a {
        text-decoration: none !important;
    }

    /* 确保所有菜单项可见 */
    .mobile-nav li {
        visibility: visible !important;
        opacity: 1 !important;
    }
    /* 桌面端当前菜单白色 */
    @media (min-width: 769px) {
        .desktop-nav > .current-menu-item > a,
        .desktop-nav > .current-menu-ancestor > a {
            color: #fff !important;
        }
    }
    
    /* 移动端当前菜单高亮 */
    .mobile-nav > .current-menu-item > a,
    .mobile-nav > .current-menu-ancestor > a {
        color: #667eea !important;
        font-weight: 600 !important;
        background: transparent !important;
    }

    /* 移动端二级菜单样式 */
    .mobile-nav .sub-menu {
        display: none;
        padding: 8px 15px !important;
        margin: 8px 15px !important;
        background: #f0f0f5 !important;
        border-radius: 8px !important;
    }
    .mobile-nav .menu-item-has-children > a::after {
        content: '›';
        float: right;
        font-size: 20px;
        color: #999;
    }
    .mobile-nav .menu-item-has-children.active > a::after {
        transform: rotate(90deg);
    }
    .mobile-nav .sub-menu .menu-item {
        padding: 10px 0 10px 10px !important;
        border-bottom: 1px solid #e0e0e5 !important;
        position: relative !important;
        list-style: none !important;
    }
    .mobile-nav .sub-menu .menu-item:last-child {
        border-bottom: none !important;
    }
    .mobile-nav .sub-menu .menu-item a {
        color: #444 !important;
        font-size: 14px !important;
        padding-right: 20px !important;
        display: block !important;
    }
    /* 二级菜单右侧箭头 */
    .mobile-nav .sub-menu .menu-item::after {
        content: '›' !important;
        position: absolute !important;
        right: 5px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        font-size: 18px !important;
        color: #aaa !important;
    }
    /* 三级菜单 */
    .mobile-nav .sub-menu .sub-menu {
        margin-left: 10px !important;
        background: #e5e5ea !important;
    }
    
    /* 移动端子菜单点击区域优化 */
    .mobile-nav .menu-item-has-children > a {
        position: relative;
        cursor: pointer;
    }

    .mobile-menu-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
        padding-top: 15px;
        border-top: 1px solid #F3F4F6;
    }

    .mobile-menu-actions .search-wrapper {
        width: 100%;
        max-width: none;
    }

    .mobile-menu-actions .btn-login {
        width: 100%;
        text-align: center;
    }
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

/* Hero 区域 - 高端大气版 */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 50px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.hero-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #8B5CF6 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.hero-circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #06B6D4 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

.hero-circle-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #A78BFA 0%, transparent 70%);
    top: 50%;
    left: 10%;
    animation: float 18s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.4);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 16px;
}

.badge-text {
    font-size: 14px;
    font-weight: 600;
    color: #A78BFA;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 25px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.title-line {
    display: block;
    margin-bottom: 10px;
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, #8B5CF6 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 20px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-desc strong {
    color: #A78BFA;
    font-weight: 700;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 45px;
    padding: 25px 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #FFFFFF;
    background: linear-gradient(135deg, #8B5CF6 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-top: 5px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.2);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 35px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
    color: #fff;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

.hero-trust {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.trust-text {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.trust-icons {
    display: flex;
    gap: 5px;
}

.trust-icon {
    font-size: 18px;
    color: #FBBF24;
}

/* 响应式 */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* 主内容区 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.main-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.sidebar {
    position: sticky;
    top: 100px;
}

/* 文章列表 */
.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 30px;
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    border-radius: 3px;
    flex-shrink: 0;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s;
    display: flex;
    gap: 20px;
}

.article-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.article-thumb {
    width: 180px;
    height: 120px;
    background: linear-gradient(135deg, #E0E7FF 0%, #C7D2FE 100%);
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    overflow: hidden;
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.article-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    background: #F3F4F6;
    border-radius: 15px;
    font-size: 12px;
    color: #6B7280;
    text-decoration: none;
    transition: all 0.3s;
}

.tag:hover {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    color: #fff;
}

.tag a {
    color: inherit;
    text-decoration: none;
}

.tag a:hover {
    color: #ffffff;
}

.tag.featured {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #D97706 100%);
    color: #fff;
}

.article-title {
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-title a {
    color: #1F2937 !important;
    text-decoration: none !important;
}

.article-title a:hover {
    color: #8B5CF6 !important;
}

.article-meta {
    margin-top: auto;
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #6B7280;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 侧边栏 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.widget {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border: 1px solid #F3F4F6;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #1F2937 !important;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 2px solid #F3F4F6;
}

.widget-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    border-radius: 2px;
    flex-shrink: 0;
}

.editor-picks {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pick-item {
    display: flex;
    gap: 12px;
    align-items: center;
    transition: background 0.2s;
    padding: 10px;
    border-radius: 8px;
}

.pick-item:hover {
    background: #F9FAFB;
}

.pick-num {
    font-size: 18px;
    font-weight: 800;
    color: #8B5CF6 !important;
    min-width: 25px;
}

.pick-title {
    font-size: 14px;
    font-weight: 600;
    color: #1F2937 !important;
    line-height: 1.4;
    display: block;
}

.pick-title a {
    color: #1F2937 !important;
    text-decoration: none !important;
    display: block;
}

.pick-title a:hover {
    color: #8B5CF6 !important;
}

.sidebar a {
    color: #1F2937 !important;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 8px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    color: #1F2937;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.pagination a:hover {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    border-color: #8B5CF6;
    color: #fff;
}

.pagination .current {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    border-color: #8B5CF6;
    color: #fff;
}

/* 侧边栏广告 */
.sidebar-ad {
    position: relative;
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    border-radius: 15px;
    padding: 25px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 0;
}

.sidebar-ad:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.ad-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.ad-icon {
    font-size: 48px;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.ad-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.ad-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    margin: 0 0 12px 0;
}

.ad-description {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.ad-button {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 25px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    transition: all 0.3s;
}

.ad-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
}

.ad-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: pulse 2s ease-in-out infinite;
}

.circle-1 {
    width: 80px;
    height: 80px;
    top: -20px;
    right: -20px;
}

.circle-2 {
    width: 50px;
    height: 50px;
    bottom: 10px;
    left: -15px;
    animation-delay: 0.5s;
}

.circle-3 {
    width: 30px;
    height: 30px;
    top: 50%;
    right: 20px;
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

/* 加载更多按钮 */
.load-more-container {
    display: none;
    text-align: center;
    margin-top: 30px;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 40px;
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.load-more-btn:active {
    transform: translateY(0);
}

.load-more-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.load-more-btn .btn-loading {
    display: none;
}

/* 底部菜单样式 */
.footer-nav {
    background-color: #1F2937;
    padding: 30px 20px;
    text-align: center;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.footer-menu .current-menu-item a,
.footer-menu .current_page_item a {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

/* Footer 版权区域样式 */
.site-footer {
    background-color: #111827;
    color: rgba(255,255,255,0.5);
    padding: 20px 0;
    text-align: center;
    margin-top: 0;
}

.site-footer p {
    margin: 0;
    font-size: 13px;
}

.site-footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: #fff;
}

/* 响应式 - 通用 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero-cards {
        flex-direction: column;
    }

    .main-content {
        grid-template-columns: 1fr;
    }

    .article-card {
        flex-direction: column;
    }

    .article-thumb {
        width: 100%;
        height: 150px;
    }

    .nav-links {
        display: none;
    }

    /* 移动端隐藏分页，显示加载更多按钮 */
    .pagination {
        display: none !important;
    }

    .load-more-container {
        display: block !important;
    }

    /* 底部菜单响应式 */
    .footer-nav {
        padding: 20px 15px;
    }

    .footer-menu {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .footer-menu a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 10px 15px;
    }
}

/* 单页样式 */
.single-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.single-content {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    max-width: 100%;
}

.breadcrumb {
    background: #f9f9f9;
    padding: 8px 20px;
    border-bottom: 1px solid #e5e5e5;
}

.breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 14px;
    color: #6B7280;
}

.breadcrumb-inner a {
    color: #8B5CF6;
    text-decoration: none;
}

.breadcrumb-inner a:hover {
    text-decoration: underline;
}

.single-header {
    margin-bottom: 30px;
}

.single-title {
    font-size: 32px;
    font-weight: 800;
    color: #1F2937;
    margin: 15px 0;
    line-height: 1.4;
}

.single-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #6B7280;
    margin-top: 15px;
    flex-wrap: wrap;
}

.single-meta .meta-item a {
    color: #6B7280;
    text-decoration: none;
}

.single-meta .meta-item a:hover {
    color: #8B5CF6;
}

.featured-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.featured-img {
    width: 100%;
    height: auto;
    display: block;
}

.single-body {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 30px;
}

.single-body h2,
.single-body h3,
.single-body h4,
.single-body h5,
.single-body h6 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #1F2937;
}

.single-body h2 {
    font-size: 24px;
}

.single-body h3 {
    font-size: 20px;
}

.single-body p {
    margin-bottom: 20px;
}

.single-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.single-body blockquote {
    border-left: 4px solid #8B5CF6;
    padding-left: 20px;
    margin: 20px 0;
    color: #6B7280;
    font-style: italic;
}

.single-body ul,
.single-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.single-body li {
    margin-bottom: 10px;
}

.single-tags {
    padding: 20px 0;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    margin: 30px 0;
    font-size: 14px;
    color: #6B7280;
}

.single-tags a {
    color: #8B5CF6;
    text-decoration: none;
    margin-left: 5px;
}

.single-tags a:hover {
    text-decoration: underline;
}

.single-actions {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.btn-like,
.btn-share {
    padding: 12px 30px;
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-like:hover,
.btn-share:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-like.liked {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.related-posts {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #F3F4F6;
}

.related-title {
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 20px;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.related-item a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    gap: 10px;
}

.related-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

.related-placeholder {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #E0E7FF 0%, #C7D2FE 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.related-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
    line-height: 1.4;
    margin: 0;
}

.related-item h4:hover {
    color: #8B5CF6;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #F3F4F6;
}

.nav-prev,
.nav-next {
    flex: 1;
    padding: 20px;
    background: #F9FAFB;
    border-radius: 10px;
    transition: all 0.3s;
}

.nav-prev:hover,
.nav-next:hover {
    background: #F3F4F6;
    transform: translateY(-2px);
}

.nav-prev a,
.nav-next a {
    text-decoration: none;
    color: #1F2937;
    font-weight: 600;
    display: block;
}

.nav-prev a:hover,
.nav-next a:hover {
    color: #8B5CF6;
}

/* 评论样式 */
.comments-wrapper {
    margin-top: 40px;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.comments-title {
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #F3F4F6;
}

.comments-title span {
    color: #8B5CF6;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.comment-list li {
    padding: 20px;
    background: #F9FAFB;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.comment-list li:hover {
    background: #F3F4F6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.comment-list li img {
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid #E5E7EB;
}

.comment-body {
    display: flex;
    gap: 15px;
}

.comment-content {
    flex: 1;
}

.comment-content cite {
    font-style: normal;
    font-weight: 600;
    color: #1F2937;
    font-size: 15px;
}

.comment-content .comment-date {
    font-size: 12px;
    color: #9CA3AF;
    margin-left: 10px;
    font-weight: 400;
}

.comment-content p {
    margin: 10px 0;
    color: #6B7280;
    line-height: 1.7;
    font-size: 14px;
}

.comment-form-field {
    margin-bottom: 15px;
}

.comment-form-field input,
.comment-form-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
}

.comment-form-field input:focus,
.comment-form-field textarea:focus {
    outline: none;
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.comment-form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.btn-submit-comment {
    padding: 14px 35px;
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit-comment:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* 归档页面样式 */
.archive-section {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    width: 100%;
}

/* 标签页面样式 */
.tag-archive-section .section-title {
    justify-content: center;
    display: flex;
    width: 100%;
}

.tag-archive-section .archive-description {
    text-align: center;
}

/* 响应式 */
@media (max-width: 768px) {
    .tag-archive-section .section-title {
        justify-content: center;
    }
}

.archive-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #F3F4F6;
}

.archive-title {
    font-size: 28px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 10px;
}

.search-count {
    font-size: 14px;
    color: #6B7280;
    margin-top: 5px;
}

.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #6B7280;
}

/* 作者卡片样式 */
.author-card {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
    color: #fff;
}

.author-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.3);
}

.author-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.author-bio {
    font-size: 14px;
    opacity: 0.95;
    margin-bottom: 15px;
    line-height: 1.6;
}

.author-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
    opacity: 0.9;
}

/* 404页面样式 */
.error-page {
    background: #fff;
    border-radius: 15px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.error-icon {
    font-size: 100px;
    margin-bottom: 20px;
}

.error-title {
    font-size: 48px;
    font-weight: 800;
    color: #1F2937;
    margin-bottom: 20px;
}

.error-message {
    font-size: 18px;
    color: #6B7280;
    margin-bottom: 30px;
    line-height: 1.8;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
}

.btn-secondary {
    padding: 18px 50px;
    background: #F3F4F6;
    color: #1F2937;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #E5E7EB;
    transform: translateY(-2px);
}

.error-search {
    max-width: 500px;
    margin: 0 auto 40px;
}

.error-posts h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 20px;
}

/* 页面样式 */
.page-content {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.page-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #F3F4F6;
}

.page-title {
    font-size: 32px;
    font-weight: 800;
    color: #1F2937;
    margin: 0;
}

.page-body {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

/* 文章摘要 */
.article-excerpt {
    color: #6B7280;
    font-size: 14px;
    line-height: 1.6;
    margin: 10px 0;
}

/* 分页链接样式 */
.page-links {
    margin: 20px 0;
    padding: 15px;
    background: #F9FAFB;
    border-radius: 8px;
}

.page-links a {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 5px;
    color: #1F2937;
    text-decoration: none;
    transition: all 0.3s;
}

.page-links a:hover {
    background: #8B5CF6;
    border-color: #8B5CF6;
    color: #fff;
}

/* 响应式补充 */
@media (max-width: 768px) {
    .single-wrapper {
        grid-template-columns: 1fr;
    }

    .single-content,
    .page-content,
    .archive-section {
        padding: 20px;
    }

    .tag-archive-section {
        text-align: center !important;
        width: 100% !important;
    }

    .tag-archive-section .section-title {
        justify-content: center !important;
    }

    .archive-wrapper {
        width: 100% !important;
    }

    .tag-archive-section .article-card {
        max-width: 100% !important;
    }

    .single-title {
        font-size: 24px;
    }

    .related-list {
        grid-template-columns: 1fr;
    }

    .post-navigation {
        flex-direction: column;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
    }

    .author-stats {
        justify-content: center;
    }

    .error-icon {
        font-size: 60px;
    }

    .error-title {
        font-size: 32px;
    }
}

/* 强制确保侧边栏文字颜色 */
.sidebar .widget-title {
    color: #1F2937 !important;
}

.sidebar .widget a,
.sidebar .pick-title a {
    color: #1F2937 !important;
    text-decoration: none !important;
}

.sidebar .widget a:hover,
.sidebar .pick-title a:hover {
    color: #8B5CF6 !important;
}

.sidebar .pick-title {
    color: #1F2937 !important;
    display: block;
}

/* 侧边栏标签样式 */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags-container .tag {
    display: inline-block;
    padding: 6px 12px;
    background: #F3F4F6;
    border-radius: 15px;
    font-size: 12px;
    color: #1F2937;
    text-decoration: none;
    transition: all 0.3s;
}

.tags-container .tag:hover {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    color: #ffffff !important;
}

.sidebar .widget .tags-container .tag:hover {
    color: #ffffff !important;
}

.tags-container .tag {
    display: inline-block;
    padding: 6px 12px;
    background: #F3F4F6;
    border-radius: 15px;
    font-size: 12px;
    color: #1F2937;
    text-decoration: none;
    transition: all 0.3s;
}

.tags-container .tag:hover {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%) !important;
    color: #ffffff !important;
}

.tags-container .tag a {
    color: inherit;
    text-decoration: none;
}

.tags-container .tag a:hover {
    color: #ffffff !important;
}

/* 底部菜单样式 */
.footer-nav {
    background-color: #1F2937;
    padding: 30px 20px;
    text-align: center;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.footer-menu .current-menu-item a,
.footer-menu .current_page_item a {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

/* Footer 版权区域样式 */
.site-footer {
    background-color: #111827;
    color: rgba(255,255,255,0.5);
    padding: 20px 0;
    text-align: center;
    margin-top: 0;
}

.site-footer p {
    margin: 0;
    font-size: 13px;
}

.site-footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: #fff;
}

/* 响应式 - 通用 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero-cards {
        flex-direction: column;
    }

    .main-content {
        grid-template-columns: 1fr;
    }

    .article-card {
        flex-direction: column;
    }

    .article-thumb {
        width: 100%;
        height: 150px;
    }

    .nav-links {
        display: none;
    }

    /* 移动端隐藏分页，显示加载更多按钮 */
    .pagination {
        display: none !important;
    }

    .load-more-container {
        display: block !important;
    }

    /* 底部菜单响应式 */
    .footer-nav {
        padding: 20px 15px;
    }

    .footer-menu {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .footer-menu a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 10px 15px;
    }
}
