/* ================= 全局重置 & 炫酷深色基调 ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0a0f1a;
    color: #e0e4f0;
    font-family: 'Segoe UI', 'Fira Code', 'JetBrains Mono', 'Cascadia Code', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

/* 所有卡片容器完全透明，无任何背景遮挡 */
#container,
#main,
#header,
#sidebar,
#footer,
.post,
.entry,
.blogStats,
.feedback_area,
.commentform {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

/* 文章列表项单独保留轻微边框和悬浮效果（无背景） */
.post {
    margin-bottom: 40px;
    padding: 25px 30px;
    border-radius: 28px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.2);
    background: transparent !important;
}

.post:hover {
    border-color: rgba(0, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* 头部区域透明 */
#header {
    margin: 20px auto 30px;
    padding: 25px 30px;
    max-width: 1280px;
    text-align: center;
    border-radius: 40px;
    background: transparent !important;
    backdrop-filter: none !important;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

#blogTitle h1 {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #aaffff, #4c9aff, #b86eff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(76, 154, 255, 0.5);
    margin-bottom: 10px;
}

#blogTitle h2 {
    font-size: 1rem;
    font-weight: 300;
    color: #b0c4ff;
    opacity: 0.9;
    border-top: 1px dashed rgba(100, 180, 250, 0.4);
    display: inline-block;
    padding-top: 8px;
}

/* 导航菜单透明半透边框 */
#navList {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    border-radius: 50px;
    padding: 8px 20px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    list-style: none;
    border: 1px solid rgba(0, 255, 255, 0.5);
}

#navList li a {
    color: #ccdeff;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 40px;
    transition: 0.25s;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 1px;
    background: transparent;
}

#navList li a:hover {
    background: linear-gradient(120deg, #00aaff, #3c6eff);
    color: white;
    box-shadow: 0 0 12px #00aaff;
    text-shadow: 0 0 3px white;
    transform: scale(1.02);
}

/* 主体布局透明 */
#main {
    max-width: 1280px;
    margin: 20px auto;
    padding: 25px 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background: transparent !important;
}

#mainContent {
    flex: 3;
    min-width: 0;
}

#sidebar {
    flex: 1;
    min-width: 240px;
    padding: 20px;
    border-radius: 28px;
    height: fit-content;
    background: transparent !important;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

/* 文章标题 */
.postTitle {
    font-size: 1.9rem;
    margin-bottom: 15px;
    border-left: 5px solid #0af;
    padding-left: 18px;
}

.postTitle a {
    color: #c6e9ff;
    text-decoration: none;
    transition: 0.2s;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.postTitle a:hover {
    color: #0af;
    text-shadow: 0 0 10px #0af;
}

.postCon {
    font-size: 1rem;
    line-height: 1.7;
    color: #f0f4ff;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.7);
}

.postDesc {
    margin-top: 18px;
    font-size: 0.85rem;
    color: #aac8ff;
    border-top: 1px dashed rgba(100, 180, 255, 0.5);
    padding-top: 12px;
    text-align: right;
}

/* 侧边栏模块透明 */
.sidebar-block {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
    padding-bottom: 15px;
}

.sidebar-block h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
    color: #6bc6ff;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 5px black;
}

.sidebar-block h3:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, #0af, transparent);
}

.sidebar-block ul {
    list-style: none;
}

.sidebar-block li {
    margin: 10px 0;
}

.sidebar-block a {
    color: #bbd4ff;
    text-decoration: none;
    transition: 0.2s;
    text-shadow: 0 0 4px rgba(0,0,0,0.7);
}

.sidebar-block a:hover {
    color: #0af;
    padding-left: 6px;
}

/* 页脚透明 */
#footer {
    max-width: 1280px;
    margin: 30px auto 30px;
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    color: #b8d0ff;
    border-radius: 30px;
    background: transparent !important;
    border-top: 1px solid rgba(0, 255, 255, 0.3);
}

/* 文章内容区域透明 */
.entry {
    padding: 20px 25px;
    border-radius: 24px;
    background: transparent !important;
}

.entry pre, .cnblogs_code {
    background: rgba(0, 0, 0, 0.6) !important;
    border-radius: 16px !important;
    padding: 15px !important;
    border-left: 4px solid #0af !important;
    color: #f0f6ff !important;
    font-family: 'Fira Code', monospace;
    overflow-x: auto;
}

.entry code {
    background: rgba(0, 0, 0, 0.5);
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.9em;
    color: #ffda7c;
}

blockquote {
    border-left: 4px solid #0af;
    background: rgba(0, 0, 0, 0.4);
    padding: 12px 20px;
    border-radius: 18px;
    font-style: italic;
    color: #c2dcff;
}

/* 滚动条 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #11161f;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #2c6e9e, #00a6c4);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0af;
}

/* 响应式 */
@media (max-width: 768px) {
    #main {
        flex-direction: column;
        padding: 15px;
    }
    #blogTitle h1 {
        font-size: 1.8rem;
    }
    .post {
        padding: 18px;
    }
    .postTitle {
        font-size: 1.4rem;
    }
    #navList li a {
        padding: 5px 12px;
        font-size: 0.85rem;
    }
}

/* 分页 */
.pager a, .pager span {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 30px;
    padding: 6px 14px;
    margin: 0 5px;
    color: #b3e0ff;
    text-decoration: none;
    transition: 0.2s;
}
.pager a:hover {
    background: #0af;
    color: #000;
    box-shadow: 0 0 10px #0af;
}

/* 评论区透明 */
.feedback_area {
    padding: 20px;
    border-radius: 24px;
    margin-top: 30px;
    background: transparent !important;
    border: 1px solid rgba(0, 255, 255, 0.3);
}
.feedbackItem {
    border-bottom: 1px solid rgba(100, 180, 250, 0.3);
    padding: 16px 0;
}
a {
    color: #80d4ff;
    text-decoration: none;
    text-shadow: 0 0 3px rgba(0,0,0,0.8);
}
a:hover {
    color: #3efffa;
    text-shadow: 0 0 6px cyan;
}