body {
    min-height: 100vh;
    background: #05070f;
    font-family: 'Segoe UI', 'Roboto', 'PingFang SC', 'Microsoft YaHei', 'Exo 2', 'Rajdhani', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

/* ========= 影视级背景 (与上一页面完全一致的色系和特效) ========= */
.cinematic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

    .cinematic-bg::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: radial-gradient(ellipse at 40% 45%, #1a1f2e 0%, #03050b 100%);
        z-index: 0;
    }

.film-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-radial-gradient(circle at 20% 30%, rgba(0,0,0,0.06) 1px, transparent 2px);
    background-size: 4px 4px;
    opacity: 0.4;
    animation: grainShift 0.6s infinite alternate;
    pointer-events: none;
    z-index: 1;
}

@keyframes grainShift {
    0% {
        transform: translate(0, 0);
        opacity: 0.35;
    }

    100% {
        transform: translate(1px, -1px);
        opacity: 0.5;
    }
}

.lens-flare {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse at 30% 40%, rgba(80, 140, 255, 0.12), rgba(200, 120, 50, 0.05), transparent 70%);
    filter: blur(35px);
    transform: rotate(25deg);
    animation: lensPulse 12s infinite alternate ease-in-out;
    z-index: 0;
}

.lens-flare2 {
    position: absolute;
    bottom: -15%;
    right: -15%;
    width: 70%;
    height: 70%;
    background: radial-gradient(ellipse at 70% 60%, rgba(255, 100, 80, 0.08), rgba(60, 100, 200, 0.04), transparent 70%);
    filter: blur(45px);
    transform: rotate(-15deg);
    animation: lensPulse2 15s infinite alternate;
    z-index: 0;
}

@keyframes lensPulse {
    0% {
        opacity: 0.3;
        transform: rotate(20deg) scale(1);
    }

    100% {
        opacity: 0.7;
        transform: rotate(30deg) scale(1.15);
    }
}

@keyframes lensPulse2 {
    0% {
        opacity: 0.2;
        transform: rotate(-20deg) scale(1);
    }

    100% {
        opacity: 0.6;
        transform: rotate(-5deg) scale(1.2);
    }
}

.vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 50%, transparent 50%, rgba(0, 0, 0, 0.65) 90%);
    z-index: 2;
    pointer-events: none;
}

.light-sweep {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 220, 150, 0.08), rgba(100, 150, 255, 0.05), transparent);
    transform: skewX(-20deg);
    animation: sweepMove 14s infinite ease-in-out;
    z-index: 1;
    pointer-events: none;
}

@keyframes sweepMove {
    0% {
        left: -120%;
        opacity: 0;
    }

    20% {
        left: 40%;
        opacity: 0.5;
    }

    40% {
        left: 100%;
        opacity: 0;
    }

    100% {
        left: 120%;
        opacity: 0;
    }
}

.dust-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(200, 180, 140, 0.4);
    border-radius: 50%;
    filter: blur(1px);
    animation: floatDust 20s infinite linear;
    opacity: 0;
    z-index: 1;
}

@keyframes floatDust {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-20vh) translateX(50px);
        opacity: 0;
    }
}

/* ========= 登录卡片容器：左右布局 ========= */
.login-container {
    position: relative;
    z-index: 20;
    width: 1100px;
    max-width: 90vw;
    background: rgba(8, 18, 32, 0.65);
    backdrop-filter: blur(18px);
    border-radius: 48px;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(0, 230, 255, 0.25);
    border: 1px solid rgba(0, 210, 255, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 左右双栏 Flex 布局 */
.login-grid {
    display: flex;
    flex-wrap: wrap;
}

/* 左侧：品牌展示区 (影视科技感) */
.login-left {
    flex: 1.2;
    padding: 48px 40px;
    background: linear-gradient(135deg, rgba(0, 20, 40, 0.5), rgba(5, 12, 25, 0.7));
    border-right: 1px solid rgba(0, 210, 255, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00eaff, #2a6eff);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    font-weight: 900;
    color: white;
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.5);
    margin-bottom: 32px;
}

.brand-title {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #e0f0ff, #8bcbff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.brand-sub {
    font-size: 1rem;
    color: #9ab8e6;
    line-height: 1.5;
    margin-bottom: 40px;
    opacity: 0.9;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

    .feature-list li {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 20px;
        color: #c5e0ff;
        font-size: 0.9rem;
    }

        .feature-list li span:first-child {
            font-size: 1.2rem;
        }

/* 右侧：登录表单区 - 精简版，无记住密码/忘记密码 */
.login-right {
    flex: 1;
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.welcome-text {
    margin-bottom: 32px;
}

    .welcome-text h2 {
        font-size: 1.8rem;
        font-weight: 700;
        background: linear-gradient(135deg, #ffeaaf, #ffbc6e);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        margin-bottom: 8px;
    }

    .welcome-text p {
        color: #8ba9d4;
        font-size: 0.85rem;
    }

/* 表单样式 */
.input-group {
    margin-bottom: 24px;
}

    .input-group label {
        display: block;
        margin-bottom: 8px;
        font-size: 0.8rem;
        color: #b8d0f0;
        letter-spacing: 0.5px;
    }

.input-field {
    width: 100%;
    background: rgba(0, 20, 35, 0.7);
    border: 1px solid rgba(0, 200, 255, 0.4);
    border-radius: 40px;
    padding: 14px 20px;
    font-size: 0.9rem;
    color: #eef5ff;
    font-family: inherit;
    transition: all 0.2s ease;
    outline: none;
    backdrop-filter: blur(4px);
}

    .input-field:focus {
        border-color: #0cf;
        box-shadow: 0 0 12px rgba(0, 200, 255, 0.4);
        background: rgba(0, 25, 45, 0.8);
    }

    .input-field::placeholder {
        color: rgba(150, 180, 220, 0.5);
    }

/* 验证码专用行 */
.captcha-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

    .captcha-row .input-field {
        flex: 1;
    }

.captcha-code {
    width: 120px;
    height: 52px;
    background: linear-gradient(135deg, #0a1a2f, #031020);
    border-radius: 28px;
    border: 1px solid rgba(0, 200, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', 'Segoe UI', monospace;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 6px;
    color: #b8f0ff;
    text-shadow: 0 0 6px cyan;
    cursor: pointer;
    transition: 0.2s;
    backdrop-filter: blur(4px);
    user-select: none;
}

    .captcha-code:hover {
        transform: scale(0.98);
        border-color: #0cf;
        box-shadow: 0 0 10px rgba(0, 200, 255, 0.4);
    }

.refresh-captcha {
    width: 44px;
    height: 44px;
    background: rgba(0, 30, 50, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    border: 1px solid rgba(0, 200, 255, 0.5);
    transition: 0.2s;
    color: #8bcbff;
}

    .refresh-captcha:hover {
        background: rgba(0, 200, 255, 0.2);
        transform: rotate(15deg);
        border-color: #0cf;
    }

/* 错误提示 */
.error-msg {
    color: #ffa69e;
    font-size: 0.7rem;
    margin-top: 6px;
    margin-left: 12px;
    display: none;
}

/* 登录按钮 */
.login-btn {
    width: 100%;
    background: linear-gradient(95deg, #0077ff, #00c3ff);
    border: none;
    border-radius: 44px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 160, 255, 0.3);
    letter-spacing: 1px;
    margin-top: 8px;
}

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 200, 255, 0.5);
        background: linear-gradient(95deg, #1a88ff, #00d0ff);
    }

/* 响应式：小屏幕改为上下布局 */
@media (max-width: 800px) {
    .login-grid {
        flex-direction: column;
    }

    .login-left {
        border-right: none;
        border-bottom: 1px solid rgba(0, 210, 255, 0.3);
        padding: 40px 32px;
        text-align: center;
        align-items: center;
    }

    .brand-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .feature-list {
        text-align: left;
    }

    .login-right {
        padding: 44px 32px;
    }

    .brand-title {
        font-size: 1.8rem;
    }

    .captcha-code {
        width: 100px;
        font-size: 1.2rem;
        letter-spacing: 4px;
    }
}

@media (max-width: 480px) {
    .login-left, .login-right {
        padding: 32px 24px;
    }

    .welcome-text h2 {
        font-size: 1.4rem;
    }

    .brand-title {
        font-size: 1.5rem;
    }

    .captcha-row {
        flex-wrap: wrap;
    }

    .captcha-code {
        width: 100px;
        height: 48px;
    }

    .refresh-captcha {
        width: 48px;
        height: 48px;
    }
}
