body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    overflow: hidden;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
}

.login-container {
    background-color: rgba(255, 255, 255, 0.3);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    position: relative;
    z-index: 10;
    width: 300px;
}

h1 {
    margin-bottom: 20px;
    font-size: 24px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.75);
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    width: auto;
}

input {
    display: block;
    width: 80%;
    padding: 10px;
    margin-bottom: 15px;
    border-style: none;
    border-radius: 5px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.9);
    margin: 0 auto 15px;
}

button {
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    font-size: 16px;
}

button:hover {
    background-color: black;
}

#message {
    margin-top: 10px;
    color: #fff;
}

/* 背景模糊效果（关键调整） */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center bottom; /* 关键：底部对齐，确保底部完整显示 */
    background-repeat: no-repeat;
    filter: blur(8px);
    z-index: 1;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 错误消息样式 */
.error-message {
    color: #ff6b6b;
    margin-top: 15px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    animation: fadeIn 0.5s;
}