*{
    box-sizing: border-box;
    margin: 0%;
    padding: 0%;
}

html,body{
    height: 100%;
    width: 100%;
    background-image: url(./img/login.background.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

#curtain{
    height: 60%;
    width: 60%;
    background-color: rgba(0, 0, 0, 0.301);
    /* 古意棕榈：background: linear-gradient(135deg, #d4e7b873 0%, #a38c6876 100%); */
    /* 水墨晕染：background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.5) 100%); */
    /* 古建红，绿树绿：background: linear-gradient(135deg, rgba(128, 35, 35, 0.532) 0%, rgba(26, 86, 26, 0.486) 100%); */
    backdrop-filter: blur(3px);
    box-shadow:10px 10px 20px 0px rgba(0,0,0,1);
    border-radius: 35px;
    transition: all 1s ease;
}

#yihao{
    height: 100%;
    width: 100%;
    padding: 20px 0 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 1s ease;
}

#imgBox{
    height: 545.2px;
    width: 545.2px;
    background-color: rgba(0, 0, 0, 0.053);
    backdrop-filter: blur(3px);
    box-shadow:0px 0px 36px 12px rgba(153, 154, 160, 0.852);
    overflow: hidden;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all 1s ease;
    transform: translateX(0) translateY(0);
    z-index: 5;
}
/* transform（缩放）和 left（位移）虽然都加了 transition: all 1s，但浏览器对这两个属性的渲染优先级不同：transform 由 GPU 加速处理，动画更流畅且严格遵循时长；left 属于 “重排属性”，可能因浏览器优化导致视觉上感觉更快完成。修复方案：单独控制位移的过渡节奏通过给 left 单独设置更长的过渡时间，或添加延迟，让位移和缩放的动画节奏更协调。 */

#curtain:hover #imgBox{
    transform: scale(.6) translateX(-400px) translateY(-120px);
}

#imgBox > img{
    height: 100%;
    width: 100%;
    object-fit: cover; /* 确保图片自适应容器，不变形 */
}

#myself{
    height: 8%;
    width: 10%;
    position: absolute;
    border: 0;
    background: none;
    border-radius: 25px;
    border: 1px solid rgba(77, 77, 77, 0.393);
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.5) 100%);
    transition: all 1s ease;
    transform: translateX(0) translateY(0);
    z-index: 1;
}

#curtain:hover #myself{
    transform: scale(1.5) translateX(-157px) translateY(110px);
}

#myself:active{
    transform: translateX(-157px) translateY(110px);
    background: linear-gradient(135deg, #d4e7b873 0%, #a38c6876 100%);
}

#myself > a{
    text-decoration: none;
    color: white;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
}

#wenbenkuang{
    height: 65%;
    width: 45%;
    position: absolute;
    padding: 10px 0 15px 0;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* background-color: rgba(104, 173, 173, 0.404); */
    box-shadow:0px 0px 124px -12px rgba(0,0,0,0.83) inset;
    background: linear-gradient(135deg, rgba(128, 35, 35, 0.219) 0%, rgba(26, 86, 26, 0.247) 100%);
    transition: all 1s ease;
    transform: translateX(0);
    z-index: 2;
}

#curtain:hover #wenbenkuang{
    transform: translateX(180px);
}

.wenbenshuru{
    height: 35%;
    width: 90%;
    padding: 10px 0 0 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#denglu{
    height: 50px;
    width: 100px;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    overflow: hidden;
    background-image: url(./img/login.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: beige;
    /* 叠加半透明色层（这里用黑色，透明度0.5） */
    background-color: rgba(57, 57, 57, 0.242); 
    background-blend-mode: overlay; /* 混合模式：让图片和颜色层融合 */
    box-shadow:10px 10px 20px 0px rgba(0,0,0,0.75);
    cursor: pointer;
}

#denglu11{
    height: 50px;
    width: 100px;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    overflow: hidden;
    background-image: url(./img/register.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: beige;
    /* 叠加半透明色层（这里用黑色，透明度0.5） */
    background-color: rgba(57, 57, 57, 0.242); 
    background-blend-mode: overlay; /* 混合模式：让图片和颜色层融合 */
    box-shadow:10px 10px 20px 0px rgba(0,0,0,0.75);
    cursor: pointer;
}

.login-button{
    height: 60.13px;
    width: 100%;
    margin-top: 16px;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 3px;
    border: none;
    padding: none;
    outline: none;
    background-color: rgba(250, 235, 215, 0);
    cursor: pointer;
    caret-color: rgb(255, 255, 255);
}

#login-button::placeholder{
    font-size: 20px;
    color: rgb(167, 167, 146);
}

#aniuBox{
    height: 128.12px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 20px;
}

.pingguo{
    height: 40%;
    width: 20%;
    border: none;
    outline: none;
    background-color: none;
    color: antiquewhite;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 25px;
    transition: .3s;
    background: radial-gradient(circle at top right, #0f0c299c, #302b638e, #24243e7c, #2f415384);
    box-shadow:12px 12px 20px 2px rgba(0,0,0,0.75);
    display: flex;
    justify-content: center;
    align-items: center;
}

.pingguo:hover{
    transform: scale(1.1);
    /* 9. 神秘径向渐变 */
    background: radial-gradient(circle at top right, #0f0c29, #302b63, #24243e, #2c3e50);
}

.pingguo:active{
    transform: scale(.9);
}