main * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

main {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #1a1a2e, #16213e, #0f3460);
    overflow: hidden;
    padding: 20px;
}

main .container {
    position: relative;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    padding: 50px 40px;
    z-index: 10;
    transition: transform 0.4s;
}

.login-card:hover {
    transform: translateY(-10px);
}

.title {
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

.title h1 {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 1px;
    background: linear-gradient(45deg, #07C160, #09BB07);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.title p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.input-group {
    position: relative;
    margin: 20px 0;
}

.input-group input {
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 15px;
    padding: 0 20px 0 55px;
    color: white;
    font-size: 16px;
    transition: all 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: #07C160;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(7, 193, 96, 0.4);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.input-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
}

.options {
    display: flex;
    justify-content: space-between;
    margin: 20px 0 30px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.remember label {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.remember input {
    margin-right: 8px;
    accent-color: #07C160;
    cursor: pointer;
}

.forgot-pass a {
    color: #09BB07;
    text-decoration: none;
    transition: all 0.3s;
}

.forgot-pass a:hover {
    text-decoration: underline;
    color: #07C160;
}

.login-btn {
    width: 100%;
    height: 50px;
    border: none;
    background: linear-gradient(45deg, #09BB07, #07C160);
    color: white;
    font-size: 18px;
    font-weight: 500;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(7, 193, 96, 0.3);
    background: linear-gradient(45deg, #07C160, #09BB07);
}

.login-btn:active {
    transform: translateY(1px);
}

.login-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 50%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.login-btn:active::after {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(1, 1) translate(-50%, -50%);
        opacity: 0.7;
    }
    100% {
        transform: scale(80, 80) translate(-50%, -50%);
        opacity: 0;
    }
}

.signup-link {
    text-align: center;
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.signup-link a {
    color: #07C160;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.signup-link a:hover {
    color: #09BB07;
    text-decoration: underline;
}

.or-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: rgba(255, 255, 255, 0.7);
}

.or-divider .line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.or-divider span {
    padding: 0 15px;
}

.social-login {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    gap: 20px;
}

.wechat-login {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wechat-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
}

.wechat-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    background: linear-gradient(45deg, #09BB07, #07C160);
    color: white;
}

.wechat-tip {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-top: 8px;
}

/* 二维码区域样式 */
.qr-container {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
}

#qr-box {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.qr-info {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 15px;
}

.qr-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #07C160, #09BB07);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.qr-steps {
    font-size: 14px;
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-steps i {
    margin-right: 8px;
    color: #07C160;
}

.back-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50px;
    padding: 8px 20px;
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-btn:hover {
    background: rgba(7, 193, 96, 0.2);
}

.back-btn i {
    margin-right: 8px;
}

/* 背景粒子效果 */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, #09BB07, #07C160);
    box-shadow: 0 0 20px rgba(7, 193, 96, 0.5);
    animation: float 15s infinite linear;
    opacity: 0.3;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0.3;
    }
}

/* 响应式设计 */
@media (max-width: 500px) {
    .login-card {
        padding: 40px 30px;
    }

    .title h1 {
        font-size: 28px;
    }

    .input-group input {
        height: 45px;
    }

    .login-btn {
        height: 45px;
    }

    .options {
        flex-direction: column;
        gap: 10px;
    }

    .forgot-pass {
        text-align: right;
    }
}

/* 漂浮小动画 */
@keyframes float-small {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-10px, -10px);
    }
    50% {
        transform: translate(5px, -5px);
    }
    75% {
        transform: translate(-5px, 5px);
    }
}

.floating-objects {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
}

.floating {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(2px);
    animation: float-small 25s infinite linear;
}