body { 
    margin: 0; 
    overflow: hidden; 
    background: linear-gradient(180deg, #10101a 0%, #1a1525 60%, #301f35 100%); /* 深邃紫罗兰星空背景渐变 */
}
#info {
    position: absolute;
    top: 20px;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    pointer-events: none;
    letter-spacing: 2px;
}

/* 汉堡菜单按钮 */
.hamburger {
    position: fixed;
    top: 20px;
    left: 30px;
    font-size: 32px;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    z-index: 1000;
    transition: color 0.3s;
    user-select: none;
}

.hamburger:hover {
    color: #fff;
}

/* 侧边滑动栏 */
.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100vh;
    background: rgba(20, 15, 30, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 80px 0 40px 0;
    box-sizing: border-box;
}

.sidebar.active {
    left: 0;
}

.nav-links {
    display: flex;
    flex-direction: column;
}

.sidebar a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 15px 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.sidebar a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    padding-left: 40px; /* 悬停时的缩进特效 */
}

.nav-bottom {
    display: flex;
    flex-direction: column;
}


/* 登录弹窗 */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5); /* 整体背景遮罩 */
    display: none; /* 初始隐藏 */
    justify-content: center;
    align-items: center;
    z-index: 1001; /* 比侧边栏高 */
}

.login-box {
    background: rgba(30, 25, 45, 0.5); /* 透明度为0.5的主体框 */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 300px;
    display: flex;
    flex-direction: column;
    color: rgba(255, 255, 255, 0.9);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.login-box .input-group {
    margin-bottom: 25px;
}

.login-box input {
    width: 100%;
    padding: 12px 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #fff;
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s;
}

.login-box input:focus {
    border-color: rgba(255, 255, 255, 0.6);
}

.login-box input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.forgot-pwd {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    text-align: right;
    margin-top: -15px;
    margin-bottom: 25px;
    display: block;
    transition: color 0.3s;
}

.forgot-pwd:hover {
    color: #fff;
}

.button-group {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.btn-action {
    flex: 1;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    font-size: 14px;
}

.btn-action:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}



/* 自定义消息提示弹窗 (Toast) */
.toast-message {
    position: fixed;
    top: -100px; /* 初始隐藏在上方 */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 25, 45, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
    padding: 15px 35px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: top 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    letter-spacing: 1px;
    white-space: nowrap;
}

.toast-message.show {
    top: 40px; /* 滑出显示的位置 */
}

