/* 1. 全局基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    /* tap-highlight-color: transparent; */
}

body { 
    font-family: 'Segoe UI', 'PingFang SC', system-ui, sans-serif; 
    color: #E0E0E0; 
    background: #121212; 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
}

blockquote {
    display: block;
    margin: 0rem 0;
    padding: 0.5rem 0.5rem;
    border-left: 3px solid #4CAF50;
    background-color: rgba(0, 0, 0, 0.15);
    font-family: "Noto Serif SC", "Songti SC", "STSong", "华文宋体", "宋体", "SimSun", "AR PL UMing CN", "WenQuanYi Bitmap Song", serif;
    font-style: oblique;
    color: #E0E0E0;
}

/* 链接样式 */
a {
    color: rgb(173, 216, 230);
}

/* 壁纸样式：必须在最底层 */
.wallpaper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3; /* 比 .bg-container(-2) 还要低 */
    background-image: url('https://webcnstatic.yostar.net/ba_cn_web/prod/upload/wallpaper/X0_6rTZl.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.wallpaper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

/* 2. 背景层：保持固定 (现在它在壁纸之上，内容之下) */
.bg-container {
    position: fixed; 
    inset: 0; 
    z-index: -2; 
    background: #121212;
}

/* 3. 导航栏：固定在顶部 */
header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(30, 30, 30, 0.7);
    padding: 0.75rem 1.4rem;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex; align-items: center; justify-content: space-between;
}

.site-title { font-size: 1.42rem; font-weight: 700; color: #F5F5F5; letter-spacing: -0.5px; }
.header-buttons { display: flex; gap: 0.5rem; }
.header-link { text-decoration: none !important; color: inherit; }

.header-btn {
    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 0.35rem 0.75rem;
    font-size: 0.84rem;
    color: #B3B3B3; cursor: pointer;
    transition: all .2s ease;
}

/* 按钮激活与悬停效果 */
.header-link:hover .header-btn, .header-btn.active {
    background: #2C2C2C;
    color: #E0E0E0;
    opacity: 1;
}

/* 4. 关键布局修复：统一主容器边距 */
main { 
    flex: 1; 
    padding-top: 5rem; 
    width: 100%;
}

/* 5. 主页特有内容布局 */
.intro-section {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; padding: 4rem 2rem 2rem;
}
.intro-title { 
    font-size: 3.2rem; font-weight: 800; letter-spacing: -1.5px; 
    margin-bottom: 0.5rem; color: #F5F5F5; 
}
.intro-subtitle { 
    font-size: 1rem; letter-spacing: 2px; color: #B3B3B3;
}

/* 6. 文章卡片通用样式 */
.articles-section { max-width: 760px; margin: 0 auto; padding: 0 1.5rem 5rem; }
.articles-title { font-size: 1.2rem; margin-bottom: 2rem; font-weight: 700; color: #F5F5F5; text-transform: uppercase; letter-spacing: 1px; }

.article-card, .article-item {
    display: block; 
    text-decoration: none; 
    color: inherit;
    background: rgba(40, 40, 40, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1); 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 1.8rem;
    margin-bottom: 1.5rem; 
    transition: all 0.3s ease;
}

.article-card:hover, .article-item:hover { 
    background: rgba(50, 50, 50, 0.7);
    transform: translateY(-2px); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.article-meta { font-size: 0.8rem; opacity: 0.6; margin-bottom: 0.6rem; font-family: monospace; }
.article-item-title, .article-title { font-size: 1.4rem; margin-bottom: 0.6rem; font-weight: 700; color: #F5F5F5; }
.excerpt { font-size: 0.95rem; opacity: 0.8; line-height: 1.7; color: #B3B3B3; }

.filing-text { margin-top: auto; text-align: center; width: 100%; padding: 20px 0;}

/* 手机端适配 */
@media(max-width:480px){
    .intro-title { font-size: 3rem; }
    main { padding-top: 4rem; }
}
