/* --- 1. 全局动态背景 --- */
body {
    /* 动态渐变背景色 */
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #333;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- 2. 主容器：毛玻璃大板 --- */
#home {
    max-width: 950px;
    margin: 30px auto;
    background: rgba(255, 255, 255, 0.65); /* 白色半透明 */
    backdrop-filter: blur(20px);            /* 强力模糊 */
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37); /* 柔和阴影 */
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* --- 3. 标题美化 --- */
#blogTitle h1 a {
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
    letter-spacing: -1px;
    text-decoration: none;
    background: -webkit-linear-gradient(45deg, #e73c7e, #23a6d5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* 标题文字渐变 */
}

#blogTitle h2 {
    color: #666;
    font-weight: normal;
    font-size: 1rem;
    margin-top: 10px;
}

/* --- 4. 文章列表卡片化 --- */
.day {
    background: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    padding: 25px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid #23a6d5; /* 左侧装饰线 */
}

.day:hover {
    transform: translateY(-5px); /* 鼠标悬浮上浮 */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    background: #fff;
}

.postTitle a {
    font-size: 1.6rem;
    color: #2c3e50;
    font-weight: bold;
    text-decoration: none;
}
.postTitle a:hover {
    color: #e73c7e;
}

/* --- 5. 隐藏一些杂乱元素 --- */
#sideBar, #navigator {
    /* 如果你想让页面极其简洁，可以取消下面的注释来隐藏侧边栏 */
    /* display: none; */ 
}

/* 侧边栏美化（如果不隐藏） */
.newsItem, .catListTitle {
    border-bottom: 2px solid #e73c7e;
    margin-bottom: 15px;
    padding-bottom: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #444;
}

/* --- 6. 按钮与链接 --- */
a { color: #23a6d5; text-decoration: none; transition: 0.3s; }
a:hover { color: #e73c7e; }

/* 代码块样式优化 */
.cnblogs-markdown pre {
    background-color: #f8f9fa !important;
    border: none !important;
    border-radius: 8px;
    padding: 15px;
    font-family: 'Consolas', monospace;
}