        /* --- 全局样式重置 --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* --- 主体背景设置 --- */
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #050505;
            color: #ffffff;
            position: relative;
            overflow: hidden;
            height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* --- 粒子画布样式 --- */
        #particle-canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            pointer-events: none;
        }

        /* --- 导航栏样式 --- */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 40px;
            background: rgba(5, 5, 5, 0.8);
            backdrop-filter: blur(5px);
            z-index: 10;
            border-bottom: 1px solid #333;
        }

        .logo {
            font-size: 24px;
            font-weight: bold;
            letter-spacing: 2px;
            color: #d8b4fe;
            margin: 0;
        }
        /* 搜索框容器 */
        .search-box {
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid #333;
            border-radius: 20px;
            padding: 8px 20px;
            width: 400px;
        }

        /* 搜索输入框 */
        .search-input {
            background: transparent;
            border: none;
            outline: none;
            color: #fff;
            flex: 1;
            margin-left: 10px;
            font-size: 14px;
        }

        /* 搜索按钮 */
        .search-btn {
            background: transparent;
            border: none;
            color: #a78bfa;
            cursor: pointer;
            font-size: 14px;
            transition: color 0.3s;
        }

        /* 搜索按钮悬停效果 */
        .search-btn:hover {
            color: #c084fc;
        }
        .nav-links a {
            color: #e5e5e5;
            text-decoration: none;
            margin-left: 30px;
            font-size: 16px;
            transition: color 0.3s;
            cursor: pointer;
        }

        .nav-links a:hover {
            color: #c084fc;
        }

        /* --- 主内容区域 --- */
        .main-container {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1;
            position: relative;
        }

        .login-card {
            background: rgba(20, 20, 20, 0.6);
            backdrop-filter: blur(10px);
            padding: 40px;
            border-radius: 16px;
            width: 400px;
            border: 1px solid #333;
            box-shadow: 0 0 20px rgba(168, 85, 247, 0.1);
            text-align: center;
        }
        
        .login-card h2 {
            margin-bottom: 30px;
            font-weight: 300;
            letter-spacing: 1px;
        }

        /* --- 表单输入框 --- */
        .input-group {
            margin-bottom: 20px;
            text-align: left;
        }

        .input-group label {
            display: block;
            margin-bottom: 8px;
            font-size: 14px;
            color: #a78bfa;
        }

        .input-group input {
            width: 100%;
            padding: 12px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid #444;
            border-radius: 8px;
            color: white;
            font-size: 14px;
            transition: border-color 0.3s, background 0.3s;
        }

        .input-group input:focus {
            outline: none;
            border-color: #c084fc;
            background: rgba(255, 255, 255, 0.1);
        }

        /* --- 按钮样式 --- */
        .btn {
            width: 100%;
            padding: 12px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 10px;
        }

        .btn-verify {
            background: #333;
            color: #888;
            border: 1px solid #555;
        }

        .btn-verify.active {
            background: #10b981;
            color: white;
            border-color: #10b981;
        }

        .btn-login {
            background: #7c3aed;
            color: white;
            margin-top: 20px;
        }

        /* 新增：验证成功后的绿色按钮样式 */
        .btn-login.verified {
            background: #10b981;  /* 绿色 */
            color: white;
            margin-top: 20px;
        }

        .btn-login:disabled {
            background: #333;
            color: #666;
            cursor: not-allowed;
            opacity: 0.7;
        }

        .btn-login:not(:disabled):hover {
            background: #8b5cf6;
            box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
        }

        /* 绿色按钮的悬停效果 */
        .btn-login.verified:hover {
            background: #0ea070;
            box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
        }

        /* --- 用户协议相关样式 --- */
        .terms-link {
            display: block;
            margin: 15px 0;
            color: #a78bfa;
            text-decoration: none;
            font-size: 13px;
            cursor: pointer;
            transition: color 0.3s;
        }

        .terms-link:hover {
            color: #c084fc;
            text-decoration: underline;
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background: rgba(30, 30, 30, 0.95);
            color: #ffffff;
            width: 90%;
            max-width: 500px;
            max-height: 80vh;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
            border: 1px solid #444;
        }

        .modal-header {
            padding: 15px 20px;
            background: rgba(40, 40, 40, 0.9);
            border-bottom: 1px solid #555;
            display: flex;
            gap: 0
            justify-content: space-between;
            align-items: center;
        }

        .modal-header h3 {
            margin: 0;
            color: #d8b4fe;
            font-size: 18px;
        }

        .close-modal {
            cursor: pointer;
            font-size: 24px;
            color: #a78bfa;
            transition: color 0.3s;
        }

        .close-modal:hover {
            color: #c084fc;
        }

        .modal-body {
            padding: 20px;
            overflow-y: auto;
            max-height: 60vh;
        }

        .modal-footer {
            padding: 15px 20px;
            background: rgba(40, 40, 40, 0.9);
            border-top: 1px solid #555;
            text-align: right;
        }

        .modal-footer .btn {
            width: auto;
            padding: 8px 16px;
            margin-left: 10px;
            font-size: 14px;
        }

        .btn-cancel {
            background: #64748b;
            color: white;
        }

        .btn-agree {
            background: #7c3aed;
            color: white;
        }

        .btn-agree:disabled {
            background: #555;
            color: #888;
            cursor: not-allowed;
        }

        .btn-agree:not(:disabled):hover {
            background: #8b5cf6;
            box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
        }

        /* --- 底部信息 --- */
        .footer-info {
            position: absolute;
            bottom: 20px;
            font-size: 12px;
            color: #555;
            z-index: 1;
        }
