/* ===== 博客园科技炫酷感主题 v3.0 by ChatGPT ===== */

/* 引入极客字体 */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

/* 全局深色科技背景 */
body {
    font-family: 'JetBrains Mono', monospace;
    background: radial-gradient(circle at top, #0f2027, #203a43, #2c5364);
    color: #f1f1f1;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    animation: fadein 1.2s ease-out forwards;
    opacity: 0;
}
@keyframes fadein {
    to { opacity: 1; }
}

a{
    color: #66cccc;
}

/* 内容居中+玻璃拟态卡片 */
#main, #home {
    /* flex: 1; */
    /* max-width: 1200px; */
    /* margin: 60px auto; */
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 0 30px rgba(0,255,255,0.1);
}

#main{
    display: flex;
    justify-content: space-between;
}
#mainContent{
    flex: 1;
}
#sideBar{
    width: 300px;
    margin-left: 24px;
}

/* 隐藏无关内容 */
#banner,
/* #sideBar, */
#footer, 
#blog_post_info, 
.postDesc 
{
    display: none !important;
}

/* 博客标题 */
#Header1_HeaderTitle {
    font-size: 32px;
    color: #00ffff;
    text-align: center;
    text-shadow: 0 0 8px #00f7ff;
}
#blogTitle h2 {
    text-align: center;
    font-size: 14px;
    color: #ccc;
    margin-bottom: 30px;
}

/* 博文标题 */
.postTitle {
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 10px;
    border-left: 4px solid #00ffff;
    padding-left: 12px;
}
.postTitle a {
    color: #00ffff;
    text-decoration: none;
}
.postTitle a:hover {
    color: #ff00c8;
}

/* 正文内容 */
.postBody {
    color: #e0e0e0;
}

/* 代码区风格 */
pre code, .cnblogs-markdown .hljs {
    background: #1f1f1f !important;
    color: #00ffcc;
    border-radius: 10px;
    padding: 16px;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.6;
}

/* 动态欢迎区 */
#welcome-area {
    text-align: center;
    margin: 40px 0;
    position: relative;
    color: #fff;
    z-index: 2;
}
#welcome-area img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #00ffff;
    box-shadow: 0 0 20px #00ffff;
}
#welcome-area h1 {
    font-size: 26px;
    margin-top: 12px;
    color: #00ffff;
    text-shadow: 0 0 10px #00f7ff;
}
#welcome-area p {
    font-size: 16px;
    color: #aaa;
}

/* 目录样式 */
#toc {
    /* position: fixed; */
    /* top: 100px; */
    /* right: 20px; */
    width: 200px;
    background: rgba(0,0,0,0.5);
    border-left: 4px solid #00ffff;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    z-index: 999;
    color: #eee;
}
#toc a {
    color: #00ffff;
    text-decoration: none;
}
#toc a:hover {
    color: #ff00c8;
}
@media screen and (max-width: 900px) {
    #toc {
        display: none;
    }
}
/* ===== 炫酷科技风 .navigator 样式 ===== */

#navList {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    padding: 14px 0;
    box-shadow: 0 2px 15px rgba(0, 255, 255, 0.08);
    z-index: 999;
    list-style: none;
}

/* 导航项样式 */

.navigator a, #navigator a {
    color: #00ffff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    position: relative;
    padding: 8px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* 悬停时：发光高亮 */
.navigator a:hover, #navigator a:hover {
    background: rgba(0, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* 当前激活项（可手动加 .current 类） */
.navigator a.current, #navigator a.current {
    font-weight: bold;
    background: rgba(0, 255, 255, 0.15);
    color: #fff;
}
.blogStats{
    display: flex;
    justify-content: center;
    align-items: center;
}
.commentbox_main.comment_textarea{
    width: 100%;
}

/* === 整体侧边栏容器 === */
#sideBar {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 16px;
    border-radius: 12px;
    color: #e0f7fa;
    font-size: 14px;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.08);
}

#blog-sidecolumn{
    margin-top: 24px;
}

/* === 通用模块块样式（widget） === */
#sideBar .sideBarMain,
#sideBar .panel,
#sideBar .newsItem,
#sideBar .catList,
#sideBar .mySearch,
#sideBar .catListTag {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 0 6px rgba(0,255,255,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* === 悬浮动效：上浮 + 发光 === */
#sideBar .sideBarMain:hover,
#sideBar .panel:hover,
#sideBar .newsItem:hover,
#sideBar .catList:hover,
#sideBar .mySearch:hover,
#sideBar .catListTag:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 16px rgba(0,255,255,0.3);
}

/* === 模块标题 === */
#sideBar h3,
#sideBar .catListTitle,
#sideBar .newsItem h3 {
    color: #00ffff;
    font-size: 15px;
    margin-bottom: 10px;
    border-left: 3px solid #00ffff66;
    padding-left: 8px;
}

/* === 模块内链接样式 === */
#sideBar a {
    color: #66cccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

#sideBar a:hover {
    color: #ffffff;
    text-shadow: 0 0 5px #00ffff;
}

/* === 搜索框样式美化 === */
#sideBar input[type="text"],
#sideBar input[type="submit"] {
    background: #111;
    color: #00ffff;
    border: 1px solid #00ffff66;
    padding: 6px 8px;
    border-radius: 6px;
    outline: none;
}

/* === 移动端隐藏侧边栏 === */
@media screen and (max-width: 768px) {
    #sideBar {
        display: none;
    }
}


/* 移动端优化 */
@media screen and (max-width: 768px) {
    .navigator, #navigator {
        flex-direction: column;
        align-items: center;

    }
}


        
        