        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Microsoft Yahei", "PingFang SC", sans-serif;
        }

        body {
            width: 100vw;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #0a1a2e;
            background-image:
                linear-gradient(rgba(30, 90, 150, 0.15) 1px, transparent 1px),
                linear-gradient(90deg, rgba(30, 90, 150, 0.15) 1px, transparent 1px);
            background-size: 40px 40px;
            overflow: hidden;
        }

        /* 循环渐变背景层 */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg,
                #0a1a2e 0%,
                #102547 20%,
                #1a2a5e 40%,
                #2a1f5e 60%,
                #1a2a5e 80%,
                #0a1a2e 100%);
            background-size: 400% 400%;
            animation: gradientLoop 6s ease infinite;
            z-index: -2;
        }

        /* 光晕装饰层 */
        body::after {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background:
                radial-gradient(circle at 15% 20%, rgba(0, 180, 224, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 85% 80%, rgba(155, 89, 255, 0.15) 0%, transparent 40%);
            animation: glowFloat 12s ease-in-out infinite alternate;
            z-index: -1;
        }

        @keyframes gradientLoop {
            0%   { background-position: 0% 50%; }
            25%  { background-position: 50% 100%; }
            50%  { background-position: 100% 50%; }
            75%  { background-position: 50% 0%; }
            100% { background-position: 0% 50%; }
        }

        @keyframes glowFloat {
            0%   { opacity: 0.7; transform: scale(1); }
            50%  { opacity: 1; transform: scale(1.05); }
            100% { opacity: 0.7; transform: scale(1); }
        }

        /* 鼠标网格跟随特效画布 */
        #gridCanvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
        }

        .login-card {
            position: relative;
            width: 520px;
            padding: 45px 40px 40px;
            background: linear-gradient(145deg, #2a3570 0%, #3a1f5e 100%);
            border-radius: 18px;
            border: 1px solid rgba(48, 184, 221, 0.4);
            box-shadow:
                0 0 40px rgba(40, 176, 221, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            z-index: 1;
        }

        .logo-box {
            text-align: center;
            margin-bottom: 18px;
        }
        .logo-icon {
            width: 56px;
            height: 56px;
            border-radius: 14px;
            background: linear-gradient(135deg, #4098ff 0%, #9b59ff 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 28px;
            margin: 0 auto 18px;
            box-shadow: 0 4px 20px rgba(64, 152, 255, 0.4);
        }

        h1 {
            text-align: center;
            color: #36f8b0;
            font-size: 26px;
            margin-bottom: 10px;
            letter-spacing: 1px;
            text-shadow: 0 0 20px rgba(54, 248, 176, 0.3);
        }
        .tip-text {
            text-align: center;
            color: #a8b0cc;
            margin-bottom: 32px;
            font-size: 14px;
        }

        .input-item {
            margin-bottom: 20px;
        }
        .input-wrap {
            position: relative;
        }
        .input-wrap .icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #6a8ab8;
            font-size: 18px;
            z-index: 2;
        }
        .input-item input {
            width: 100%;
            height: 50px;
            padding: 0 16px 0 46px;
            border-radius: 10px;
            border: 1px solid rgba(68, 96, 153, 0.5);
            background-color: rgba(28, 36, 70, 0.8);
            color: #ffffff;
            font-size: 15px;
            transition: all 0.3s;
        }
        .input-item input::placeholder {
            color: #6a7a9a;
        }
        .input-item input:focus {
            outline: none;
            border-color: #28c2e8;
            box-shadow: 0 0 0 3px rgba(40, 194, 232, 0.15);
        }

        .code-row {
            display: flex;
            gap: 12px;
        }
        .code-row .input-wrap {
            flex: 1;
        }
        .code-img {
            height: 50px;
            min-width: 120px;
            padding: 0 16px;
            background: #ffffff;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 20px;
            font-weight: bold;
            color: #1a5fb4;
            letter-spacing: 3px;
            user-select: none;
            transition: opacity 0.2s;
            font-family: "Courier New", monospace;
        }
        .code-img:hover {
            opacity: 0.85;
        }

        .remember-row {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #b0b8d0;
            margin-bottom: 28px;
            font-size: 14px;
            cursor: pointer;
        }
        .remember-row input[type="checkbox"] {
            width: 16px;
            height: 16px;
            cursor: pointer;
            accent-color: #28c2e8;
        }

        .login-btn {
            width: 100%;
            height: 52px;
            border: none;
            border-radius: 10px;
            background: linear-gradient(90deg, #00b4e0 0%, #00d0ee 100%);
            color: white;
            font-size: 17px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            letter-spacing: 4px;
            box-shadow: 0 4px 15px rgba(0, 180, 224, 0.3);
        }
        .login-btn:hover {
            box-shadow: 0 6px 25px rgba(0, 200, 238, 0.5);
            transform: translateY(-1px);
        }
        .login-btn:active {
            transform: translateY(0);
        }

        .footer-text {
            text-align: center;
            color: #5a6a8a;
            font-size: 12px;
            margin-top: 24px;
        }

        .toast {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.85);
            padding: 18px 40px;
            background: linear-gradient(145deg, rgba(22, 42, 78, 0.96), rgba(16, 30, 58, 0.96));
            border: 1px solid rgba(40, 194, 232, 0.45);
            color: #d0e0f0;
            border-radius: 14px;
            font-size: 15px;
            z-index: 9999;
            opacity: 0;
            transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow:
                0 0 40px rgba(40, 194, 232, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
            pointer-events: none;
            display: flex;
            align-items: center;
            gap: 12px;
            backdrop-filter: blur(12px);
            letter-spacing: 0.5px;
        }
        .toast.show {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }
        .toast.success {
            border-color: rgba(54, 248, 176, 0.5);
            box-shadow:
                0 0 40px rgba(54, 248, 176, 0.22),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
        }
        .toast.success .toast-icon {
            background: rgba(54, 248, 176, 0.15);
            color: #36f8b0;
            border-color: rgba(54, 248, 176, 0.4);
        }
        .toast.error .toast-icon {
            background: rgba(255, 107, 107, 0.15);
            color: #ff6b6b;
            border-color: rgba(255, 107, 107, 0.4);
        }
        .toast-icon {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            border: 1.5px solid rgba(40, 194, 232, 0.4);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: bold;
            flex-shrink: 0;
        }
