/* 全站公共基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
html, body {
    width: 100%;
    min-height: 100vh;
    background-image: url(../img/bg2.png);
        background-attachment: fixed;   /* 核心：固定背景，不随滚动移动 */
        
}
body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
}

/* 底部菜单：以 index.html 原样式为准 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(14, 26, 38, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 8px 6px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    z-index: 100;
    max-width: 100%;
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    color: #6f8aa0;
    transition: 0.2s;
    padding: 4px 8px;
    border-radius: 8px;
    cursor: pointer;
    background: transparent;
    min-width: 48px;
    text-decoration: none;
}
.nav-item i { font-size: 22px; margin-bottom: 1px; }
.nav-item.active { color: #e0d5c0; font-weight: 600; }
.nav-item.active i { color: #d4af6e; }
.nav-item:hover { color: #e0d5c0; }
.bottom-spacer { height: 10px; }
@media (min-width: 600px) {
    .bottom-nav { max-width: 420px; left: 50%; transform: translateX(-50%); }
}
