/* ==================== 登录页面样式 ==================== */
.login-page-container {
    width: 100vw;
    height: 100vh;
    background: #FCFCFD;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 左上角LOGO */
.header-logo-section {
    position: absolute;
    top: 32px;
    left: 32px;
    z-index: 10;
}

.header-logo-img {
    width: 152px;
    height: 36px;
    display: block;
    object-fit: contain;
}

/* 中间内容区域 */
.main-content-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0 20px;
}

/* 英文主标题 - 蓝色渐变 */
.banner-main-title {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 66px;
    font-weight: 300;
    background: linear-gradient(90deg, #2862FF 0%, #2EC0FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 24px 0;
    line-height: 1.3;
    text-align: center;
    letter-spacing: -0.5px;
}

/* 中文副标题 */
.banner-sub-title {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #646464;
    margin: 0 0 0 0;
    line-height: 1.4;
    text-align: center;
}

/* 描述文字 */
.banner-description {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #979797;
    margin: 0 0 40px 0;
    line-height: 1.6;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Banner图片容器 */
.login-banner-wrapper {
    width: 451px;
    height: 168px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 48px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.login-banner-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* 功能标签区域 */
.feature-tags-section {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 48px;
}

/* 理财和家庭之间的间距 */
.feature-tag:nth-child(3) {
    margin-right: 24px; /* 30px - 6px(gap) = 24px */
}

/* 功能标签 */
.feature-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 36px;
    padding: 0;
    background: linear-gradient(180deg, #EDF2FF 0%, #FCFCFD 100%);
    border: none;
    border-radius: 6px;
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    cursor: default;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: linear-gradient(180deg, #E5ECFF 0%, #F5F6FA 100%);
    color: #2862FF;
    transform: translateY(-2px);
}

/* 进入空间按钮 */
.enter-space-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 270px;
    height: 46px;
    background: linear-gradient(90deg, #2862FF 0%, #2EC0FF 100%);
    border: none;
    border-radius: 23px;
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
}

.enter-space-button:hover {
    background: linear-gradient(90deg, #1E52E6 0%, #25B0EF 100%);
    transform: translateY(-2px);
}

.enter-space-button:active {
    background: linear-gradient(90deg, #1845CC 0%, #1E9FD6 100%);
    transform: translateY(0);
}

.button-text {
    white-space: nowrap;
}

.button-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url('../images/login_button_icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.enter-space-button:hover .button-arrow {
    transform: translateY(-50%) translateX(4px);
}

/* ==================== 登录弹窗样式 ==================== */
.login-modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.login-modal-mask.show {
    display: flex;
}

.login-modal-dialog {
    width: 400px;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.login-modal-title {
    font-family: 'PingFang SC', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #262626;
}

.login-modal-close {
    width: 24px;
    height: 24px;
    font-size: 24px;
    line-height: 24px;
    color: #8C8C8C;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-modal-close:hover {
    color: #262626;
}

/* 登录表单样式 */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.input-group {
    position: relative;
    width: 100%;
}

/* 登录页输入框样式 */
.form-input {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #E6E6E6;
    border-radius: 8px;
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #262626;
    background-color: #FAFAFA;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-input::placeholder {
    color: #BFBFBF;
}

.form-input:focus {
    outline: none;
    border-color: #5B8DEF;
    background-color: #FFFFFF;
}

/* 登录按钮 */
.login-button {
    width: 100%;
    height: 48px;
    background: linear-gradient(90deg, #2862FF 0%, #2EC0FF 100%);
    border: none;
    border-radius: 24px;
    font-family: 'PingFang SC', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(40, 98, 255, 0.3);
}

.login-button:hover {
    background: linear-gradient(90deg, #1E52E6 0%, #25B0EF 100%);
    box-shadow: 0 6px 16px rgba(40, 98, 255, 0.4);
}

.login-button:active {
    background: linear-gradient(90deg, #1845CC 0%, #1E9FD6 100%);
    transform: scale(0.98);
}

/* 错误提示样式 */
.error-message {
    color: #FF4D4F;
    font-size: 12px;
    margin-top: 8px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-logo-section {
        top: 20px;
        left: 20px;
    }
    
    .header-logo-img {
        width: 120px;
        height: 28px;
    }
    
    .banner-main-title {
        font-size: 32px;
    }
    
    .banner-sub-title {
        font-size: 22px;
    }
    
    .banner-description {
        font-size: 13px;
        padding: 0 20px;
    }
    
    .login-banner-wrapper {
        width: 90%;
        max-width: 380px;
        height: auto;
        aspect-ratio: 420/156;
    }
    
    .feature-tags-section {
        gap: 10px;
        padding: 0 16px;
    }
    
    .feature-tag {
        min-width: 64px;
        height: 36px;
        padding: 0 16px;
        font-size: 13px;
    }
    
    .enter-space-button {
        width: 220px;
        height: 48px;
        font-size: 15px;
    }
    
    .login-modal-dialog {
        width: 90%;
        max-width: 400px;
        padding: 24px;
    }
    
    .login-modal-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .header-logo-img {
        width: 100px;
        height: 24px;
    }
    
    .banner-main-title {
        font-size: 26px;
        padding: 0 16px;
    }
    
    .banner-sub-title {
        font-size: 18px;
    }
    
    .banner-description {
        font-size: 12px;
    }
    
    .login-banner-wrapper {
        width: 95%;
        margin-bottom: 36px;
    }
    
    .feature-tags-section {
        gap: 8px;
        margin-bottom: 36px;
    }
    
    .feature-tag {
        min-width: 56px;
        height: 32px;
        padding: 0 14px;
        font-size: 12px;
    }
    
    .enter-space-button {
        width: 200px;
        height: 44px;
        font-size: 14px;
        gap: 8px;
    }
    
    .button-arrow {
        font-size: 16px;
    }
}
