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

        body {
            background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: 'Microsoft YaHei', sans-serif; /* 使用微软雅黑字体 */
            color: #e0e0ff;
            overflow: hidden;
        }

        /* 添加一个动态的几何背景 */
        body::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 10% 20%, rgba(255, 0, 255, 0.1) 0%, transparent 20%),
                radial-gradient(circle at 90% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 20%);
            z-index: -1;
        }

        .login-container {
            width: 380px;
            padding: 40px 30px;
            border: 2px solid transparent;
            border-radius: 16px;
            background: rgba(10, 15, 30, 0.7); /* 深色半透明背景 */
            backdrop-filter: blur(10px); /* 毛玻璃效果 */
            box-shadow: 0 0 30px rgba(0, 195, 255, 0.2), 0 0 60px rgba(255, 0, 255, 0.1);
            position: relative;
            z-index: 1;
            transition: all 0.4s ease;
        }

        /* 容器悬停时的霓虹光效 */
        .login-container:hover {
            box-shadow: 0 0 40px rgba(0, 195, 255, 0.4), 0 0 80px rgba(255, 0, 255, 0.2);
            border-image: linear-gradient(45deg, #00c3ff, #ff00ea) 1;
        }

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

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-size: 14px;
            color: #a0a0ff;
            letter-spacing: 0.5px;
        }

        .form-group input {
            width: 100%;
            padding: 14px 16px;
            border: 1px solid #2a2d43;
            border-radius: 8px;
            background: rgba(20, 25, 45, 0.6);
            color: #ffffff;
            font-size: 16px;
            transition: all 0.3s ease;
        }

        .form-group input:focus {
            outline: none;
            border-color: #00c3ff;
            box-shadow: 0 0 15px rgba(0, 195, 255, 0.3);
        }

        .form-group input::placeholder {
            color: #555872;
        }

        .btn {
            width: 100%;
            padding: 14px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            letter-spacing: 1px;
            position: relative;
            overflow: hidden;
            text-transform: uppercase;
        }

        .login-btn {
            background: linear-gradient(45deg, #00c3ff, #0077ff);
            color: white;
            margin-bottom: 15px;
        }

        .register-btn {
            background: linear-gradient(45deg, #ff00ea, #ad00ff);
            color: white;
        }

        .btn:hover {
            opacity: 0.9;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

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

        /* 添加按钮的发光伪元素 */
        .btn::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: rgba(255, 255, 255, 0.1);
            transform: rotate(30deg);
            transition: all 0.6s ease;
        }

        .btn:hover::after {
            transform: rotate(30deg) translate(20%, 20%);
        }

        .switch-form {
            text-align: center;
            color: #5d6baa;
            cursor: pointer;
            margin-top: 15px;
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .switch-form:hover {
            color: #00c3ff;
            text-shadow: 0 0 10px rgba(0, 195, 255, 0.7);
        }

        h2 {
            text-align: center;
            margin-bottom: 30px;
            color: #ffffff;
            font-size: 28px;
            text-shadow: 0 0 10px rgba(0, 195, 255, 0.5);
            letter-spacing: 1px;
        }

        #registerForm {
            display: none;
        }

        #userInfo {
            display: none;
            text-align: center;
            margin: 20px;
            padding: 20px;
            background: rgba(10, 15, 30, 0.7);
            border-radius: 10px;
            border: 1px solid #2a2d43;
        }

        #userInfo button {
            margin-left: 15px;
            padding: 8px 16px;
            background: linear-gradient(45deg, #ff416c, #ff4b2b);
            border: none;
            border-radius: 5px;
            color: white;
            cursor: pointer;
        }
        
        /* 验证码图片样式 */
        .captcha-container {
            display: flex;
            gap: 10px;
        }
        
        .captcha-input {
            flex: 1;
        }
        
        .captcha-img {
            height: 40px;
            border-radius: 4px;
            cursor: pointer;
            border: 1px solid #2a2d43;
        }
