/* 基础重置和字体设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background: url('./bg.png');
    min-height: 100vh;
}

/* 手机端默认样式 - 全屏宽度 */
.mobile-container {
    width: 100%;
    min-height: 100vh;
    background: white;
}

/* PC端样式 - 居中显示手机端尺寸 */
@media (min-width: 768px) {
    body {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding: 2rem 0;
    background: url('./bg.png');
    }
    
    .mobile-container {
        width: 417px; /* 典型手机宽度 */
        min-height: 767px; /* 典型手机高度 */
        border-radius: 20px;
        overflow: hidden;
        margin: 0;
    }
}

/* 平板端适配 */
@media (min-width: 481px) and (max-width: 767px) {
    .mobile-container {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .feature-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .feature-card {
        flex: 1 1 calc(50% - 1rem);
    }
}

/* 超大屏幕优化 */
@media (min-width: 1200px) {
    body {
        padding: 3rem 0;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-container {
    animation: fadeIn 0.6s ease-out;
}

.home_main--topImg {
    height: auto;
    background: linear-gradient(180deg, #0065ff, #00b1ff);
    margin: 0;
    padding: 31px 16px 55px 17px;
    box-sizing: border-box;
}
.home_main--topImg .logo{
    width: 120px;
    height: 46px;
    margin-bottom: 0px;
}
.home_main--topImg .logo img{
    width:100%;
}
.home_main--topImg .tit {
    width: 177px;
}
.home_main--topImg .tit img{
    width:100%;
    height:auto;
}
.home_main--topImg .img1 {
    width: 151px;
}
.home_main--topImg .img1 img{
    width:100%;
}
.home_main--topImg .login-img-box{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.home_main {
    margin-top: -55px;
    position: -webkit-sticky;
    position: sticky;
    z-index: 1;
    border-radius: 22px 22px 0 0;
    overflow: hidden;
}
.home_main .login-account {
    width: 100%;
    height: 55px;
    margin-bottom: 33px;
    display: flex;
}
.home_main .login-account span {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #51586f;
    background-color: hsla(0, 0%, 100%, .92);
}
.home_main .login-account .active{
    color: #24252a;
    font-weight: 600;
    position: relative;
}
.home_main .login-account .active::before {
    content: "";
    display: inline-block;
    width: 33px;
    height: 3px;
    position: absolute;
    left: 50%;
    bottom: 4px;
    margin-left: -16px;
    background-color: #0d53ff;
    border-radius: 2px;
}
.home_main .login-account .active::after {
    content: "";
    display: inline-block;
    position: absolute;
    z-index: -1;
    width: 239px;
    height: 100%;
    left: 0;
    top: 0;
    background-image: url(./active.png);
    background-size: 100% 100%;
}
.home_main .login-account .fz::after {
    left: auto;
    right: 0;
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}
.login-form {
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 0 30px 0 31px;
    z-index: 6;
}
.login-form .login-form-box{
    position: relative;
}
.login-form .login-input{
    padding: 0 17px;
    border-radius: 6px;
    margin-bottom: 17px;
    background-color: #f8f9fb;
}
.login-form .input-code{
    width:70%;
    float:left;
}
.login-form .login-input input{
    width: 100%;
    height: 48px;
    font-size: 16px;
    font-weight: 500;
    outline: none;
    border: none;
    background: none;
}
.gain-code {
    white-space: nowrap;
    color: #035bff;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    background-color: #f8f9fb;
    height: 48px;
    width: 30%;
    float: left;
    display: block;
    line-height: 48px;
    text-align: center;
    border-radius: 0 6px 6px 0;
}
.login-form .login-btn{
    margin-top:1rem;
}
.login-form .login-btn button{
    width: 100%;
    height: 48px;
    margin-bottom: 33px;
    border-radius: 6px;
    color: white;
    background-color: rgb(3, 91, 255);
    border-color: rgb(3, 91, 255);
    border-width: 1px;
    border-style: solid;
    outline: none;
}
.login-form .forget-password{
    float: right;
}
.login-form .forget-password a{
    color: #999;
}
.login-form .login-leave{
    display: flex;
    align-items: center;
    justify-content: center;
    
}
.login-form .login-leave a{
    color: #828897;
}