/* 动态视频背景 (我们保留它) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background: #333; /* 视频加载失败时的底色 */
    overflow: hidden;
}
/* 我们用 JS 添加 video, 但 CSS 也要准备好 */
video#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    object-fit: cover;
}
/* 遮罩 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* 遮罩加深 */
    z-index: -1;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #333;
}

.auth-container {
    position: relative;
    z-index: 2;
}

.auth-form {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 30px 35px;
    width: 380px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.auth-form h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 10px;
    color: #222;
}

.auth-form p {
    text-align: center;
    color: #444;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    font-size: 1rem;
    box-sizing: border-box;
}

button {
    width: 100%;
    background: linear-gradient(145deg, rgba(255, 165, 0, 0.9), rgba(255, 140, 0, 0.7));
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
}
button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.5);
}
button:disabled {
    background: #aaa;
    box-shadow: none;
    cursor: not-allowed;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
}
.form-footer a {
    color: #e6a800;
    font-weight: 600;
    text-decoration: none;
}