.main {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.hero {
    width: 100%;
    padding: 0;
    background: none;
    min-height: calc(100vh - 120px);
    margin: 0;
}

.hero-content {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    height: calc(100vh - 120px);
    width: 100vw;
}

.hero-left {
    flex: 0.65;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a2a42 0%, #2a4365 100%);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.hero-right {
    flex: 0.35;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 60px;
}

.hero-image {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-graphics {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    border: none;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    animation: moveGrid 20s linear infinite;
    z-index: 1;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 60px;
    height: 60px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 40px;
    height: 40px;
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.element-3 {
    width: 80px;
    height: 80px;
    bottom: 15%;
    left: 20%;
    animation-delay: 2s;
}

.element-4 {
    width: 30px;
    height: 30px;
    bottom: 25%;
    right: 10%;
    animation-delay: 3s;
}

.element-5 {
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

.element-6 {
    width: 25px;
    height: 25px;
    top: 35%;
    left: 70%;
    animation-delay: 5s;
}

.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.particle-1 {
    top: 15%;
    left: 25%;
    animation-delay: 0s;
}

.particle-2 {
    top: 60%;
    right: 20%;
    animation-delay: 0.5s;
}

.particle-3 {
    bottom: 30%;
    left: 15%;
    animation-delay: 1s;
}

.particle-4 {
    top: 40%;
    left: 60%;
    animation-delay: 1.5s;
}

.particle-5 {
    bottom: 10%;
    right: 30%;
    animation-delay: 2s;
}

.particle-6 {
    top: 25%;
    right: 45%;
    animation-delay: 2.5s;
}

.particle-7 {
    bottom: 50%;
    left: 35%;
    animation-delay: 3s;
}

.particle-8 {
    top: 70%;
    left: 55%;
    animation-delay: 3.5s;
}

.cube-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    perspective: 1000px;
}

.cube {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 25s infinite linear;
}

.cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.cube-face.front {
    transform: rotateY(0deg) translateZ(100px);
}

.cube-face.back {
    transform: rotateY(180deg) translateZ(100px);
}

.cube-face.right {
    transform: rotateY(90deg) translateZ(100px);
}

.cube-face.left {
    transform: rotateY(-90deg) translateZ(100px);
}

.cube-face.top {
    transform: rotateX(90deg) translateZ(100px);
}

.cube-face.bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

.icon {
    font-size: 40px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.login-form {
    background: #f7fafc;
    border-radius: 16px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 480px;
    border: 1px solid rgba(42, 67, 101, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2a4365, #4a5568);
}

.login-form:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    border-radius: 50%;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.3);
    transition: all 0.3s ease;
}

.logo-small:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 242, 254, 0.4);
}

.logo-icon {
    color: white;
    font-size: 28px;
    font-weight: 700;
}

.form-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a365d;
    margin: 0;
    letter-spacing: -0.5px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: #00f2fe;
    box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.15);
    background: white;
}

.form-group input::placeholder {
    color: #999;
    font-size: 14px;
}

.form-options {
    text-align: right;
    margin-bottom: 28px;
}

.forgot-password {
    color: #4facfe;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: #00f2fe;
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #2a4365, #4a5568);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(42, 67, 101, 0.3);
    margin-top: 16px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 67, 101, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-footer {
    text-align: center;
    margin-top: 32px;
    font-size: 14px;
    color: #666;
}

.register-link, .login-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.register-link:hover, .login-link:hover {
    color: #2a4365;
    text-decoration: underline;
}

/* 动画 */
@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotateX(0deg) rotateY(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotateX(360deg) rotateY(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes moveGrid {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(40px, 40px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        height: auto;
    }
    
    .hero-left,
    .hero-right {
        width: 100%;
        min-height: 50vh;
    }
    
    .login-form {
        max-width: 90%;
        padding: 40px;
    }
}
