html,
body,
.app-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* 侧边栏隐藏 */
.cxd-Layout-aside {
    display: none;
}

.cxd-Layout-brandBar {
    display: none;
}

.cxd-Layout-headerBar {
    margin-left: 0px !important;
}

.cxd-AppFoldBtn {
    display: none;
}

.cxd-Layout-footer {
    margin-left: 0px !important;
}

.cxd-Page-body {
    padding: 0px !important;
}

.cxd-AppBcn {
    display: none;
}

.cxd-Image {
    border: 0px !important;
}

.cxd-Layout-headerBar {
    padding: 0px !important;
}

/* 背景灰色 */
.cxd-Layout-content {
    background-color: rgb(245, 245, 250);
}

.image-container {
    /* 设置容器为长方形 */
    /* 圆角效果 */
    border-radius: 15px;
    width: 100%;

    /* 阴影效果 */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);

    /* 溢出隐藏，确保圆角效果 */
    overflow: hidden;

    /* 过渡动画 */
    transition: all 0.3s ease;

    /* 3D变换基础 */
    transform-style: preserve-3d;
    perspective: 1000px;
}

.image-container img {
    /* 图片填满容器 */
    width: 100%;
    height: 100%;

    /* 保持图片比例，避免变形 */
    object-fit: cover;

    /* 垂直居中 */
    object-position: center;

    /* 过渡动画 */
    transition: all 0.3s ease;
}

/* hover效果 */
.image-container:hover {
    /* 3D浮动效果 */
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);

    /* 增强阴影 */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.image-container:hover img {
    /* 图片放大效果 */
    transform: scale(1.05);
}

/* 更丰富的hover效果版本 */
.image-container.advanced:hover {
    transform: translateY(-15px) rotateX(8deg) rotateY(8deg) rotateZ(2deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(64, 156, 255, 0.3); /* 蓝色光晕 */
}

.cxd-Nav-Menu-item-icon {
    font-size: 26px !important;
}

/* 评论框 */
.twikoo {
    margin-top: 40px;
    margin-left: 25px;
    margin-right: 25px;
}

/* 锚点菜单样式 */
.anchor-menu {
    width: 200px;
    max-height: 70vh;
    overflow-y: auto;
    padding: 15px;
    z-index: 1000;
}

.anchor-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.anchor-item {
    margin: 5px 0;
}

.anchor-item.level-1 {
    margin-left: 0;
}

.anchor-item.level-2 {
    margin-left: 10px;
}

.anchor-item.level-3 {
    margin-left: 20px;
}

.anchor-item.level-4 {
    margin-left: 30px;
}

.anchor-item.level-5 {
    margin-left: 40px;
}

.anchor-item.level-6 {
    margin-left: 50px;
}

.anchor-link {
    display: block;
    padding: 5px 8px;
    color: #000000 !important;
    text-decoration: none;
    font-size: 16px !important;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.anchor-link:hover {
    background-color: #e9ecef;
    color: #22CDFF !important;
}

/*.anchor-link.active {*/
/*    background-color: #007bff;*/
/*    color: white;*/
/*}*/

.anchor-link.active {
    border-left: 2px solid #22CDFF;
    color: #22CDFF !important;
}

/* 滚动条样式（可选） */
.anchor-menu::-webkit-scrollbar {
    width: 4px;
}

.anchor-menu::-webkit-scrollbar-thumb {
    background-color: #adb5bd;
    border-radius: 2px;
}

.blog-nav-left {
    place-content: center flex-start !important;
}

.blog-nav-logo .Img-container {
    width: 134px;
}

.footer-text {
    font-size: 16px !important;
}

.blog-time {
    font-size: 16px !important;
}

.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
    font-weight: bold !important;
    color: #22CDFF !important;
}

.blog-main-color {
    color: #22CDFF !important;
}

.header-down {
    animation: animate__slideOutDown; /* referring directly to the animation's @keyframe declaration */
    animation-duration: 2s; /* don't forget to set a duration! */
}

.header-up {
    animation: animate__slideOutUp; /* referring directly to the animation's @keyframe declaration */
    animation-duration: 2s; /* don't forget to set a duration! */
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.close:hover {
    color: #ccc;
}

.modal-text {
    color: #f1f1f1;
    font-size: 14px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 1001;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


.qrcode-container {
    margin: 30px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    display: inline-block;
}

.qrcode {
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.qrcode img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* 响应式设计 */
@media (max-width: 768px) {
    .anchor-menu {
        display: none; /* 移动端隐藏锚点菜单 */
    }

    .left-aside {
        display: none;
    }

    .right-aside {
        display: none;
    }

    .bloglist {
        width: 100% !important;
        font-size: 12px !important;
        margin-top: 10px !important;
        padding: 8px !important;
    }

    .right-content {
        display: none;
    }

    .blog-img {
        display: none !important;
    }

    .amis-scope .cxd-Layout-headerBar {
        display: block !important;
    }

    .blog-nav-left {
        place-content: center !important;
    }

    .blog-nav-logo .Img-container {
        width: 100px !important;
        margin-top: 6px !important;
        margin-left: 25px !important;
    }

    .footer-text {
        font-size: 14px !important;
    }

    .markdown-page {
        width: 100% !important;
    }

    .markdown-page2 {
        padding-left: 3px !important;
        padding-right: 3px !important;
        padding-top: 3px !important;
    }

    .toc {
        display: none !important;
    }

    .blog-time {
        font-size: 14px !important;
    }

    #tcomment {
        font-size: 14px !important;
    }

    .twikoo {
        margin-left: 15px !important;
        margin-right: 15px !important;
    }

    .modal-content {
        max-width: 95%;
        max-height: 80%;
    }

}

/* 平板样式 - 横屏 */
@media screen and (min-width: 768px) and (max-width: 1100px) {
    .left-aside {
        display: none;
    }

    .right-aside {
        display: none;
    }

    .bloglist {
        width: 100% !important;
    }

    .right-content {
        display: none !important;
    }

    .markdown-page {
        width: 100% !important;
    }

    .toc {
        display: none !important;
    }

}

/* 平板样式 - 横屏 */
@media screen and (min-width: 1100px) and (max-width: 1624px) {
    .left-aside {
        display: none;
    }

    .right-aside {
        display: none;
    }

    .bloglist {
        width: 70% !important;
    }

    .right-content {
        width: 30% !important;
    }

    .markdown-page {
        width: 80% !important;
    }

    .toc {
        margin-left: 5px !important;
        padding-left: 5px !important;
    }

}