/* 全局样式 */
:root {
    --primary-color: #66ccff;
    --primary-dark: #33adff;
    --primary-light: #99ddff;
    --secondary-color: #ff9eaa;
    --text-color: #333;
    --light-text: #666;
    --bg-color: #f8fafc;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    min-height: 100vh;
    position: relative;
}

/* 背景图样式 */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('../images/bg3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
}

/* 背景模糊效果 */
.bg-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.6;
    background: transparent;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.hidden {
    display: none !important;
}

/* 布局 */
.app-container {
    position: relative;
    display: grid;
    grid-template-columns: 220px 1fr 280px;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: var(--shadow);
}

/* 侧边栏 */
.sidebar {
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.logo {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo img {
    width: 100%;
    height: auto;
    max-width: 180px;
    display: block;
    margin: 0 auto;
}

@media (min-width: 993px) {
    .logo img {
        content: url('../images/boardimg_20241019utvueejc.svg');
    }
}

@media (max-width: 992px) {
    .logo img {
        max-width: 50px;
        content: url('../images/boardimg_20241019utvueejc.svg');
    }
}

@media (max-width: 576px) {
    .logo img {
        max-width: 40px;
        content: url('../images/@V次元1019-02.png');
    }
}

.nav-links {
    margin-top: 20px;
    flex-grow: 1;
}

.nav-links li {
    margin-bottom: 5px;
}

.nav-links a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-color);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-links a i {
    margin-right: 10px;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.nav-links li.active a {
    color: var(--primary-color);
    background-color: rgba(102, 204, 255, 0.1);
    border-left-color: var(--primary-color);
}

.nav-links a:hover {
    background-color: rgba(102, 204, 255, 0.05);
    color: var(--primary-color);
}

.user-section {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.login-btn {
    display: block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white) !important;
    border-radius: var(--radius);
    text-align: center;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: var(--primary-dark);
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar {
    position: relative;
    margin-bottom: 10px;
}

.avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-frame {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
}

.user-info span {
    font-weight: 500;
    margin-bottom: 10px;
}

.profile-link, .logout-btn {
    margin-top: 5px;
    font-size: 13px;
    color: var(--light-text);
}

/* 主内容区 */
.main-content {
    flex-grow: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.search-bar {
    flex: 1;
    max-width: 400px;
    display: flex;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.search-bar input {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    outline: none;
    font-size: 14px;
}

.search-bar button {
    width: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-actions {
    display: flex;
    align-items: center;
}

.create-post-btn {
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius);
    margin-right: 15px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.create-post-btn i {
    margin-right: 5px;
}

.create-post-btn:hover {
    background-color: var(--primary-dark);
}

.notifications {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(102, 204, 255, 0.1);
    color: var(--primary-color);
    transition: background-color 0.3s ease;
}

.notifications:hover {
    background-color: rgba(102, 204, 255, 0.2);
}

.content-container {
    padding: 20px;
    flex-grow: 1;
    position: relative;
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* 页面样式 */
.page {
    display: none;
}

.page.active {
    display: block;
}

.banner {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 40px 20px;
    border-radius: var(--radius);
    text-align: center;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    background-image: url('../images/banner-bg.png');
    background-size: cover;
    background-position: center;
}

.banner h2 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
}

.banner p {
    font-size: 16px;
    opacity: 0.9;
}

.content-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tab-btn {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--light-text);
    position: relative;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.posts-container {
    display: grid;
    gap: 20px;
    padding: 20px;
}

.post-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.9);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background-color: rgba(255, 255, 255, 0.85);
}

.post-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

.author-group {
    font-size: 12px;
    color: var(--light-text);
}

.post-date {
    font-size: 12px;
    color: var(--light-text);
}

.post-content {
    padding: 16px;
}

.post-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
    line-height: 1.4;
}

.post-excerpt {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 12px;
    line-height: 1.6;
}

.post-image {
    margin: 0 -16px;
    position: relative;
    overflow: hidden;
    max-height: 300px;
}

.post-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.02);
}

.post-footer {
    padding: 12px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--light-text);
    font-size: 13px;
    transition: color 0.2s ease;
}

.stat-item:hover {
    color: var(--primary-color);
}

.stat-item:hover::before {
    opacity: 1;
    filter: invert(67%) sepia(87%) saturate(463%) hue-rotate(173deg) brightness(101%) contrast(96%);
}

.recommended-badge {
    background-color: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* 图标样式 */
.icon-eye::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23666' viewBox='0 0 24 24'%3E%3Cpath d='M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 4px;
    opacity: 0.7;
}

.icon-comment::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23666' viewBox='0 0 24 24'%3E%3Cpath d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H6l-2 2V4h16v12z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 4px;
    opacity: 0.7;
}

.icon-heart::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23666' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 4px;
    opacity: 0.7;
}

/* 版块列表 */
.forums-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.forum-card {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.forum-card:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.9);
}

.forum-header {
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--white);
}

.forum-body {
    padding: 15px;
}

.forum-name {
    font-size: 18px;
    font-weight: 600;
}

.forum-description {
    font-size: 14px;
    margin-top: 5px;
    color: var(--light-text);
}

.forum-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.forum-stat {
    text-align: center;
}

.forum-stat-number {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 16px;
}

.forum-stat-label {
    font-size: 12px;
    color: var(--light-text);
}

/* 右侧边栏 */
.sidebar-right {
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-right > div {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-right > div:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-right h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 600;
}

.check-in-btn {
    width: 100%;
    padding: 10px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.check-in-btn:hover {
    background-color: var(--primary-dark);
}

.check-in-status {
    text-align: center;
    margin-top: 10px;
    color: var(--primary-color);
    font-weight: 500;
}

.days-count {
    color: var(--secondary-color);
    font-weight: 700;
}

#tags-list li {
    margin-bottom: 8px;
}

#tags-list a {
    display: block;
    padding: 5px 10px;
    background-color: rgba(102, 204, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

#tags-list a:hover {
    background-color: rgba(102, 204, 255, 0.2);
}

.user-recommendation {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.user-recommendation:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.user-recommendation img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 10px;
}

.user-recommendation-info {
    flex-grow: 1;
}

.user-recommendation-name {
    font-weight: 500;
    margin-bottom: 2px;
}

.user-recommendation-bio {
    font-size: 12px;
    color: var(--light-text);
}

.follow-btn {
    padding: 4px 10px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 16px;
    font-size: 12px;
    transition: background-color 0.3s ease;
}

.follow-btn:hover {
    background-color: var(--primary-dark);
}

.follow-btn.following {
    background-color: rgba(102, 204, 255, 0.1);
    color: var(--primary-color);
}

/* 加载状态 */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid rgba(102, 204, 255, 0.3);
    border-top-color: var(--primary-color);
    animation: spin 1s infinite linear;
    margin-bottom: 15px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 模态框 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.modal-content {
    background-color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    width: 100%;
    max-width: 500px;
    padding: 25px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.post-modal-content {
    max-width: 700px;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    color: var(--light-text);
}

.auth-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.auth-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    font-weight: 500;
    color: var(--light-text);
}

.auth-tab.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: inherit;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.small-btn {
    padding: 5px 10px;
    margin-top: 5px;
    background-color: rgba(102, 204, 255, 0.1);
    color: var(--primary-color);
    border-radius: 4px;
    font-size: 12px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 500;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
}

.upload-area {
    border: 2px dashed rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background-color: rgba(102, 204, 255, 0.05);
}

.upload-area i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-image {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .app-container {
        grid-template-columns: 200px 1fr 250px;
    }
}

@media (max-width: 992px) {
    .app-container {
        grid-template-columns: 60px 1fr 0;
    }
    
    .sidebar {
        padding: 20px 0;
    }
    
    .logo {
        padding: 0 5px 20px;
    }
    
    .nav-links a {
        padding: 12px 0;
        justify-content: center;
    }
    
    .nav-links a i {
        margin-right: 0;
        font-size: 20px;
    }
    
    .nav-links a span {
        display: none;
    }
    
    .user-section {
        padding: 10px 5px;
    }
    
    .login-btn {
        padding: 8px 0;
        font-size: 0;
    }
    
    .login-btn i {
        font-size: 16px;
    }
    
    .sidebar-right {
        display: none;
    }
}

@media (max-width: 576px) {
    .app-container {
        grid-template-columns: 1fr;
    }
    
    /* 移动端侧栏 */
    .sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: var(--shadow);
        overflow-y: auto;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    /* 侧栏遮罩 */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .sidebar-overlay.active {
        display: block;
    }
    
    /* 修改移动端头部 */
    .header {
        padding: 10px 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        position: sticky;
        top: 0;
        z-index: 100;
    }
    
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        cursor: pointer;
        font-size: 20px;
        color: var(--text-color);
    }
    
    .header-logo {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .header-logo img {
        height: 30px;
        width: auto;
    }
    
    .header-actions {
        display: flex;
        align-items: center;
    }
    
    .notifications {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        font-size: 18px;
        color: var(--text-color);
    }
    
    /* 隐藏默认搜索栏和发帖按钮 */
    .search-bar, 
    .header-actions .create-post-btn {
        display: none;
    }
    
    /* 浮动发帖按钮 */
    .floating-post-btn {
        position: fixed;
        bottom: 70px;
        right: 20px;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background-color: var(--primary-color);
        color: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 99;
        transition: all 0.3s ease;
    }
    
    .floating-post-btn:active {
        transform: scale(0.95);
        background-color: var(--primary-dark);
    }
    
    /* 底部导航栏调整 */
    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        padding: 8px 0;
        z-index: 98;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    }
    
    /* 增加内容区顶部外边距 */
    .content-container {
        padding-top: 10px;
    }
}

/* 添加更精细的移动端断点 */
@media (max-width: 360px) {
    .banner h2 {
        font-size: 20px;
    }
    
    .content-tabs {
        padding: 0;
    }
    
    .tab-btn {
        padding: 8px 4px;
        font-size: 13px;
    }
    
    .post-image {
        height: 140px;
    }
}

/* 全局背景样式 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: url('../images/bg3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px) brightness(0.95);
    opacity: 0.4;
}

/* 移动导航栏 - 默认隐藏 */
.mobile-nav {
    display: none;
}

/* 移动端样式 */
@media (max-width: 576px) {
    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        z-index: 100;
        padding: 8px 0;
    }

    .mobile-nav a {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        color: var(--light-text);
        font-size: 0;
        text-decoration: none;
    }

    .mobile-nav a i {
        font-size: 20px;
        margin-bottom: 0;
    }

    .mobile-nav a.active {
        color: var(--primary-color);
    }

    .mobile-nav span {
        display: none;
    }
}

/* 图片网格样式 */
.image-grid {
    display: grid;
    gap: 8px;
    margin: 12px 0;
    grid-template-columns: repeat(4, 1fr);
    justify-content: start;
}

.image-grid.single-image {
    grid-template-columns: minmax(0, 25%);
}

.image-grid.two-images {
    grid-template-columns: repeat(2, minmax(0, 25%));
}

.image-grid.three-images {
    grid-template-columns: repeat(3, minmax(0, 25%));
}

.image-grid.four-images,
.image-grid.multi-images {
    grid-template-columns: repeat(4, minmax(0, 25%));
}

.image-item {
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f5f5f5;
}

.image-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-item:hover img {
    transform: scale(1.05);
}

.more-images {
    position: relative;
}

.more-count {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    border-radius: 8px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .image-grid {
        gap: 6px;
        grid-template-columns: repeat(4, 1fr);
    }
    
    .image-grid.single-image {
        grid-template-columns: minmax(0, 25%);
    }
    
    .image-grid.two-images {
        grid-template-columns: repeat(2, minmax(0, 25%));
    }
    
    .image-grid.three-images {
        grid-template-columns: repeat(3, minmax(0, 25%));
    }
}

@media (max-width: 576px) {
    .image-grid {
        gap: 4px;
        margin: 8px 0;
        grid-template-columns: repeat(4, 1fr);
    }
    
    .image-grid.single-image {
        grid-template-columns: minmax(0, 25%);
    }
    
    .image-grid.two-images {
        grid-template-columns: repeat(2, minmax(0, 25%));
    }
    
    .image-grid.three-images {
        grid-template-columns: repeat(3, minmax(0, 25%));
    }
}