/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
#site-header {
    background-color: #ffffff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #f0f0f0;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

#site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.site-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.site-title a {
    text-decoration: none;
    color: inherit;
}

.site-title:hover {
    color: #3498db;
}

.main-navigation ul {
    display: flex;
    list-style: none;
}

.main-navigation ul li {
    margin-left: 20px;
    position: relative;
    transition: transform 0.2s ease;
}

.main-navigation ul li:hover {
    transform: translateY(-2px);
}

/* 一级菜单项 */
.main-navigation ul li a {
    text-decoration: none;
    color: #7f8c8d;
    font-weight: 400;
    transition: all 0.2s ease;
    display: block;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.95rem;
    position: relative;
}

.main-navigation ul li a:hover {
    color: #3498db;
    background-color: #f8f9fa;
}

.main-navigation ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #3498db;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-navigation ul li a:hover::after {
    width: 80%;
}

/* 二级菜单样式 */
.main-navigation ul li:hover ul {
    display: block;
}

.main-navigation ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    min-width: 200px;
    display: none;
    z-index: 1000;
    flex-direction: column;
    padding: 10px 0;
    margin-left: 0;
    border-radius: 4px;
    animation: fadeIn 0.3s ease;
}

/* 二级菜单项 */
.main-navigation ul li ul li {
    margin: 0;
    width: 100%;
}

.main-navigation ul li ul li a {
    padding: 8px 20px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    width: 100%;
}

.main-navigation ul li ul li a:hover {
    color: #3498db;
    background-color: #f8f9fa;
}

/* 菜单名称过长处理 */
.main-navigation ul li a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

/* 移动端菜单切换按钮 */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #3498db;
    padding: 5px 10px;
}

/* 搜索框样式 */
.search-form {
    display: flex;
    margin: 20px 0;
}

.search-field {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-field:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.search-submit {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit:hover {
    background-color: #2980b9;
}

.search-icon {
    fill: white;
}

/* 通知系统样式 */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideInRight 0.3s ease-out;
    min-width: 300px;
    max-width: 400px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #0c5460;
}

.notification.success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #155724;
}

.notification.warning {
    background-color: #fff3cd;
    color: #856404;
    border-left: 4px solid #856404;
}

.notification.error {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #721c24;
}

.notification-message {
    flex: 1;
    margin-right: 10px;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    opacity: 0.7;
}

/* Hero Section */
.hero-section {
    background: #ffffff;
    color: #2c3e50;
    padding: 50px 0;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: #3498db;
    animation: fadeIn 1s ease-out;
}

.hero-content h2 {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 400;
    color: #7f8c8d;
    animation: fadeIn 1s ease-out 0.2s both;
}

.shield-icon {
    font-size: 4rem;
    margin: 20px 0;
    color: #3498db;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.hero-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 500;
    animation: fadeIn 1s ease-out 0.4s both;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #7f8c8d;
    animation: fadeIn 1s ease-out 0.6s both;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 0.8s both;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 120px;
    font-size: 0.95rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: #ffffff;
    color: #3498db;
    border: 1px solid #3498db;
}

.btn-primary:hover {
    background-color: #3498db;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #3498db;
    border: 1px solid #3498db;
}

.btn-secondary:hover {
    background-color: #3498db;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

/* 按钮点击波纹效果 */
.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Features Section */
.features-section {
    padding: 60px 0;
    background-color: #fafafa;
}

.features-section .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 25px;
}

.feature-item {
    text-align: center;
    flex: 1;
    min-width: 220px;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #3498db;
    font-weight: 500;
}

.feature-item p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

/* News Section */
.news-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.news-section h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 35px;
    color: #2c3e50;
    font-weight: 500;
    position: relative;
}

.news-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #3498db;
    border-radius: 2px;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.news-item {
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    animation: fadeInUp 0.6s ease-out;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-thumbnail {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-thumbnail:hover img {
    transform: scale(1.05);
}

.news-content {
    padding: 15px;
}

.news-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-title a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.2s ease;
    font-weight: 500;
}

.news-title a:hover {
    color: #3498db;
}

.news-meta {
    font-size: 0.8rem;
    color: #95a5a6;
    margin-bottom: 12px;
}

.news-excerpt {
    color: #7f8c8d;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Main Content */
#main-content {
    min-height: calc(100vh - 200px);
}

/* Content Wrapper for Two-Column Layout */
.content-wrapper {
    display: flex;
    gap: 25px;
    margin: 25px 0;
}

/* Main Content Area */
.main-content {
    flex: 2;
    background: #fff;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    animation: fadeIn 0.8s ease-out;
}

/* Sidebar */
.sidebar {
    flex: 1;
}

.sidebar-widget {
    background: #fff;
    padding: 18px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 18px;
    border: 1px solid #f0f0f0;
    animation: fadeIn 0.8s ease-out;
}

.sidebar-widget h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #2c3e50;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-weight: 500;
}

/* Article Table of Contents */
.article-toc ul {
    list-style: none;
    padding-left: 0;
}

.article-toc li {
    margin-bottom: 10px;
}

.article-toc a {
    text-decoration: none;
    color: #34495e;
    display: block;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    position: relative;
}

.article-toc a:hover {
    background-color: #f8f9fa;
    color: #3498db;
    padding-left: 15px;
}

.article-toc a::before {
    content: '▶';
    margin-right: 8px;
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.article-toc a:hover::before {
    transform: translateX(3px);
}

/* Related Posts List */
.related-posts-list {
    list-style: none;
    padding-left: 0;
}

.related-posts-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.related-posts-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-posts-list a {
    text-decoration: none;
    color: #34495e;
    display: block;
    padding: 5px 0;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.related-posts-list a:hover {
    color: #3498db;
    padding-left: 5px;
}

/* Post Content */
.entry-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.entry-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #2c3e50;
    font-weight: 500;
}

.entry-meta {
    color: #95a5a6;
    font-size: 0.85rem;
    margin-bottom: 18px;
}

.entry-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #34495e;
}

.entry-content p {
    margin-bottom: 16px;
}

.entry-content h2 {
    margin: 25px 0 15px;
    color: #2c3e50;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
    font-size: 1.4rem;
}

.entry-content ul, .entry-content ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.entry-content li {
    margin-bottom: 10px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.entry-footer {
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
}

.post-tags {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.post-tags span {
    font-weight: 500;
}

.post-tags a {
    color: #3498db;
    text-decoration: none;
    margin-right: 5px;
    padding: 2px 8px;
    background-color: #f0f8ff;
    border-radius: 3px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.post-tags a:hover {
    background-color: #3498db;
    color: #ffffff;
    transform: translateY(-2px);
}

/* 社交分享按钮 */
.social-share {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.social-share span {
    margin-right: 10px;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: white;
    font-size: 1rem;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.share-weibo {
    background-color: #df2029;
}

.share-wechat {
    background-color: #07c160;
}

.share-qq {
    background-color: #12b7f5;
}

.share-facebook {
    background-color: #1877f2;
}

.share-twitter {
    background-color: #1da1f2;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 35px 0 18px;
    padding: 18px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.nav-previous, .nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

.post-navigation a {
    text-decoration: none;
    color: #3498db;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.post-navigation a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Related Posts Section */
.related-posts-section {
    margin: 35px 0;
    padding: 18px 0;
    border-top: 1px solid #f0f0f0;
}

.related-posts-title {
    font-size: 1.3rem;
    margin-bottom: 18px;
    color: #2c3e50;
    position: relative;
    padding-left: 12px;
    font-weight: 500;
}

.related-posts-title:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    background: #3498db;
    border-radius: 1px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
}

.related-post-item {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.related-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-post-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.related-post-content {
    padding: 15px;
}

.related-post-content h4 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    color: #2c3e50;
    line-height: 1.4;
    font-weight: 500;
}

.related-post-excerpt {
    color: #7f8c8d;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.related-post-meta {
    font-size: 0.75rem;
    color: #95a5a6;
}

/* Footer */
#site-footer {
    background-color: #f8f9fa;
    color: #7f8c8d;
    padding: 40px 0 20px;
    border-top: 1px solid #f0f0f0;
    animation: fadeIn 1s ease-out;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 25px;
}

.footer-info, .footer-links, .footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-info h3, .footer-links h4, .footer-contact h4 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 500;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: #7f8c8d;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9rem;
    position: relative;
    padding-left: 12px;
}

.footer-links ul li a::before {
    content: '→';
    position: absolute;
    left: 0;
    transition: transform 0.2s ease;
}

.footer-links ul li a:hover {
    color: #3498db;
    padding-left: 15px;
}

.footer-links ul li a:hover::before {
    transform: translateX(3px);
}

.copyright {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    color: #95a5a6;
    font-size: 0.85rem;
}

/* Posts List */
.posts-list article {
    background-color: #fff;
    margin-bottom: 25px;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.posts-list article:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.posts-list .entry-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.posts-list .entry-title a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.2s ease;
}

.posts-list .entry-title a:hover {
    color: #3498db;
}

.posts-list .entry-meta {
    color: #95a5a6;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.posts-list .entry-summary {
    margin-bottom: 15px;
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.6;
}

.pagination {
    text-align: center;
    margin: 30px 0;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 3px;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #eee;
    color: #7f8c8d;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background-color: #3498db;
    color: #fff;
    border-color: #3498db;
    transform: translateY(-2px);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
}

/* 表单样式 */
form input, form textarea, form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

form input:focus, form textarea:focus, form select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

form input.error, form textarea.error, form select.error {
    border-color: #e74c3c;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

form button[type="submit"] {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

form button[type="submit"]:hover {
    background-color: #2980b9;
}

form button[type="submit"].submitting {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 80%;
        margin-bottom: 8px;
        padding: 8px 20px;
    }
    
    .features-section .container,
    .instructions-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-item,
    .step {
        width: 100%;
        max-width: 400px;
    }
    
    #site-header .container {
        flex-direction: column;
        padding: 10px 15px;
    }
    
    .main-navigation ul {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-navigation ul li {
        margin: 3px 8px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .news-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-next {
        text-align: left;
    }
    
    /* 移动端菜单切换 */
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        width: 100%;
    }
    
    .main-navigation.mobile-open {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .main-navigation ul li {
        margin: 5px 0;
        width: 100%;
    }
    
    .main-navigation ul li a {
        width: 100%;
        padding: 10px 15px;
    }
    
    /* 移动端二级菜单 */
    .main-navigation ul li ul {
        position: static;
        box-shadow: none;
        background-color: #f8f9fa;
        margin-top: 5px;
    }
    
    .main-navigation ul li ul li a {
        padding: 6px 15px;
        max-width: none;
    }
    
    .content-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .sidebar-widget {
        padding: 15px;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .news-item {
        border-radius: 4px;
    }
    
    .entry-title {
        font-size: 1.5rem;
    }
    
    .posts-list article {
        padding: 20px;
    }
    
    /* 移动端返回顶部按钮 */
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    /* 移动端搜索框 */
    .search-form {
        margin: 15px 0;
    }
    
    .search-field {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .search-submit {
        padding: 8px 12px;
    }
    
    /* 移动端通知系统 */
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .notification {
        min-width: auto;
        max-width: 100%;
    }
    
    /* 移动端社交分享 */
    .social-share {
        text-align: center;
    }
    
    .social-share span {
        display: block;
        margin-bottom: 10px;
    }
    
    .share-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin: 0 5px;
    }
}