* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 10px;
}

::selection {
    color: #fff;
    background-color: #a855f7;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #050810 0%, #0a1128 100%);
    color: #e2e8f0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box {
    display: flex;
    overflow: hidden;
    width: 90rem;
    height: auto;
    min-height: 60rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.06) 0%, rgba(236, 72, 153, 0.04) 100%);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 1.5rem;
    margin: 2rem auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.box .left {
    position: relative;
    width: 35%;
    height: 100%;
    min-height: 60rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(236, 72, 153, 0.1) 100%);
    overflow: hidden;
}

.box .left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../left.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.box .right {
    display: flex;
    width: 65%;
    flex-direction: column;
    align-items: center;
    padding-bottom: 2rem;
}

.box .right h4 {
    font-size: 3rem;
    margin-top: 4rem;
    font-weight: 700;
    background: linear-gradient(90deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.box .right form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.box .right form .acc {
    outline: none;
    width: 80%;
    height: 5rem;
    font-size: 1.6rem;
    margin-top: 3rem;
    padding: 1rem 0 0 1.6rem;
    border: none;
    border-bottom: 1px solid rgba(168, 85, 247, 0.4);
    color: #e2e8f0;
    background-color: transparent;
    transition: border-color 0.3s ease;
}

.box .right form .acc::placeholder {
    color: #64748b;
}

.box .right form .acc:focus {
    outline: none;
    color: #e2e8f0;
    padding: 1rem 0 0 1.6rem;
    border-bottom-color: #a855f7;
}

.right .submit {
    width: 60%;
    height: 5rem;
    color: #fff;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    font-size: 1.4rem;
    border: none;
    border-radius: 0.8rem;
    margin-top: 3rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.right .submit:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.5);
    filter: brightness(1.1);
}

.right .fn {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    width: 70%;
}

.right .fn a {
    font-size: 1.3rem;
    padding: 1rem 2rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.right .fn a:hover {
    color: #a855f7;
}

.back-home {
    margin-top: 1.5rem;
}

.back-home a {
    font-size: 1.3rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-home a:hover {
    color: #a855f7;
}

/* 移动端适配 */
@media (max-width: 768px) {
    body { align-items: flex-start; padding: 2rem 1rem; }
    .box { width: 100%; min-height: auto; flex-direction: column; }
    .box .left { display: none; }
    .box .right { width: 100%; padding-bottom: 3rem; }
    .box .right h4 { margin-top: 3rem; font-size: 2.4rem; }
    .box .right form .acc { width: 90%; margin-top: 2rem; }
    .right .submit { width: 80%; margin-top: 2rem; }
    .right .fn { width: 90%; flex-wrap: wrap; justify-content: center; }
    .right .fn a { margin: 0.5rem; }
}
