body,html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
    overflow: hidden;
}
.login-bg {
    min-height: 100vh;
    width: 100vw;
    background-color:#000;
    background-repeat: no-repeat;         /* 不重复 */
    background-attachment: fixed;         /* 固定 */
    background-size: cover;               /* 拉伸铺满整个区域 */
    background-position: center center;   /* 居中显示 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.login-bg::before {
    content: '';
    position: absolute;
    left: 10vw;
    top: 10vh;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #fff3 0%, #fff0 80%);
    border-radius: 50%;
    z-index: 1;
    filter: blur(20px);
    pointer-events: none;
}
.login-glass {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.18);
    box-shadow: 0 8px 32px 0 rgba(31,38,135,0.18);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.24);
    padding: 48px 36px 36px 36px;
    max-width: 400px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.login-logo img {
    width: 5rem;
    max-width: 100%;
    height: 5rem;
    border-radius: 50%;
    box-shadow: 0 2px 16px #667eea44;
    margin-bottom: 18px;
    margin-right: 0;
    display: block;
}
.logo img {
    width: 11rem;
    max-width: 80vw;
    height: auto;
    margin-right: 10px;
    display: block;
}
@media (max-width: 600px) {
    .login-logo img {
        width: 3.2rem;
        height: 3.2rem;
    }
}
.login-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 18px;
    text-shadow: 0 2px 8px #667eea55;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.login-icon {
    font-size: 2.2rem;
    margin-right: 6px;
}
.login-tip {
    color: #fff;
    background: rgba(102,126,234,0.12);
    border-radius: 8px;
    padding: 10px 16px;
    margin-bottom: 18px;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 1px 4px #667eea22;
}
.login-divider {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    line-height: 0.1em;
    margin: 24px 0 18px 0;
    color: #aaa;
    position: relative;
}
.login-divider span {
    background: #fff8;
    padding: 0 16px;
    position: relative;
    top: 0.7em;
    font-size: 0.95rem;
}
.form-group {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}
.form-control {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 12px 14px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    background: rgba(255,255,255,0.7);
    box-shadow: 0 1px 4px #667eea22;
    outline: none;
    margin-bottom: 0;
    transition: box-shadow 0.2s;
}
.form-control:focus {
    box-shadow: 0 2px 8px #667eea44;
}
.login-ops {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 18px;
    width: 100%;
}
.login-btn {
    width: 100%;
    padding: 12px 0;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px #667eea44;
    margin-bottom: 12px;
    transition: background 0.2s, transform 0.2s;
}
.login-btn:hover {
    background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px) scale(1.03);
}
.register-link {
    display: block;
    text-align: center;
    color: #fff;
    text-decoration: underline;
    font-size: 1rem;
    margin-top: 8px;
    transition: color 0.2s;
}
.register-link:hover {
    color: #ffd700;
}
.lang-switch-form select {
    padding: 6px 16px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    font-size: 1rem;
    background: #fff;
    color: #333;
    outline: none;
    transition: border 0.2s;
}
.lang-switch-form select:focus {
    border-color: #708eea;
}
@media (max-width: 600px) {
    .lang-switch-form select {
        font-size: 0.95rem;
        padding: 4px 8px;
    }
}
@media (max-width: 480px) {
    .login-glass {
        padding: 24px 8px 18px 8px;
        max-width: 98vw;
    }
    .login-title {
        font-size: 1.3rem;
    }
    .login-logo img {
        width: 3.2rem;
        height: 3.2rem;
    }
}
.home-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 32px 0 32px;
    box-sizing: border-box;
    background: transparent;
    position: relative;
    z-index: 10;
}
.header-left .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.header-right {
    display: flex;
    align-items: center;
}
@media (max-width: 600px) {
    .home-header {
        padding: 10px 8px 0 8px;
    }
} 