/* 认证页面公共样式 - login/register/profile 共享 */
body {
            background: url(../images/img.jpg) no-repeat center top;
            background-size: cover;
            min-height: 100vh;
            margin: 0;
            font-family: 'MiSans', 'SourceHanSansCN', 'PingFang SC', 'microsoft yahei', sans-serif;
            position: relative;
            overflow-x: hidden;
            color: #fff;
            font-size: 14px;
        }

        /* 背景动画粒子效果 */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 20% 80%, rgba(171, 100, 255, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(90, 55, 255, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
            pointer-events: none;
            animation: backgroundPulse 4s ease-in-out infinite;
        }

        @keyframes backgroundPulse {
            0%, 100% {
                opacity: 1;
            }
            50% {
                opacity: 0.8;
            }
        }

        .auth-container {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            position: relative;
            z-index: 1;
        }

        .auth-card {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(20px);
            border-radius: 20px;
            border: 1px solid rgba(171, 100, 255, 0.2);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
            0 0 80px rgba(171, 100, 255, 0.1);
            padding: 40px 35px;
            max-width: 400px;
            width: 100%;
            position: relative;
            overflow: hidden;
        }

        .auth-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #ab64ff, #5a37ff);
        }

        .auth-card::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent 30%, rgba(171, 100, 255, 0.05) 50%, transparent 70%);
            animation: shimmer 3s infinite;
            pointer-events: none;
        }

        @keyframes shimmer {
            0% {
                transform: translateX(-100%) translateY(-100%) rotate(45deg);
            }
            100% {
                transform: translateX(100%) translateY(100%) rotate(45deg);
            }
        }

        .auth-header {
            text-align: center;
            position: relative;
            z-index: 1;
            margin-bottom: 25px;
        }

        .auth-logo {
            width: 64px;
            height: 64px;
            margin: 0 auto 16px;
            background: linear-gradient(135deg, #ab64ff, #5a37ff);
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 32px;
            font-weight: bold;
            box-shadow: 0 8px 32px rgba(171, 100, 255, 0.4);
            position: relative;
            transition: all 0.3s ease;
        }

        .auth-logo::before {
            content: '';
            position: absolute;
            inset: -2px;
            background: linear-gradient(45deg, #ab64ff, #5a37ff, #ab64ff);
            border-radius: 20px;
            z-index: -1;
            animation: logoGlow 2s ease-in-out infinite alternate;
        }

        @keyframes logoGlow {
            0% {
                box-shadow: 0 0 20px rgba(171, 100, 255, 0.5);
            }
            100% {
                box-shadow: 0 0 40px rgba(171, 100, 255, 0.8);
            }
        }

        .auth-title {
            font-size: 24px;
            font-weight: 600;
            color: #ffffff;
            margin: 0 0 8px 0;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }

        .auth-subtitle {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
            margin: 0;
        }

        .form-group {
            margin-bottom: 18px;
            position: relative;
        }

        .form-label {
            display: block;
            font-size: 15px;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 8px;
        }

        .field-hint {
            font-size: 12px;
            margin-top: 6px;
            color: rgba(255, 255, 255, 0.5);
        }

        .field-hint.success {
            color: #72ffa8;
        }

        .field-hint.error {
            color: #ff9999;
        }

        .form-input {
            width: 100%;
            height: 44px;
            padding: 0 16px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(171, 100, 255, 0.2);
            border-radius: 12px;
            font-size: 15px;
            color: #ffffff;
            transition: all 0.3s ease;
            box-sizing: border-box;
            backdrop-filter: blur(10px);
        }

        .form-input::placeholder {
            color: rgba(255, 255, 255, 0.4);
        }

        .form-input:focus {
            outline: none;
            border-color: #ab64ff;
            background: rgba(255, 255, 255, 0.12);
            box-shadow: 0 0 0 3px rgba(171, 100, 255, 0.2),
            0 8px 25px rgba(171, 100, 255, 0.15);
            transform: translateY(-2px);
        }

        .form-button {
            width: 60%;
            height: 44px;
            margin: 8px auto 0;
            display: block;
            background: linear-gradient(135deg, #ab64ff, #5a37ff);
            border: none;
            border-radius: 12px;
            color: white;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            box-shadow: 0 8px 30px rgba(171, 100, 255, 0.3);
        }

        .form-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .form-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 40px rgba(171, 100, 255, 0.4);
            background: linear-gradient(135deg, #b574ff, #6b47ff);
        }

        .form-button:hover::before {
            left: 100%;
        }

        .form-button:active {
            transform: translateY(0);
        }

        .auth-divider {
            text-align: center;
            margin: 20px 0;
            position: relative;
            color: rgba(255, 255, 255, 0.6);
            font-size: 14px;
        }

        .auth-divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(171, 100, 255, 0.3), transparent);
            z-index: 1;
        }

        .auth-divider span {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            padding: 8px 20px;
            position: relative;
            z-index: 2;
            border-radius: 20px;
            border: 1px solid rgba(171, 100, 255, 0.2);
        }

        .auth-link {
            text-align: center;
            margin-top: 0;
            color: rgba(255, 255, 255, 0.8);
        }

        .auth-link-guest {
            margin-top: 12px;
            font-size: 14px;
        }

        .guest-text-link {
            color: #72ffa8 !important;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .guest-text-link:hover {
            color: #a0ffcc !important;
            text-decoration: underline;
        }

        .guest-text-link::after {
            background: linear-gradient(90deg, #72ffa8, #a0ffcc) !important;
        }

        .auth-link a {
            color: #ab64ff;
            text-decoration: none;
            font-size: 15px;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
        }

        .auth-link a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #ab64ff, #5a37ff);
            transition: width 0.3s ease;
        }

        .auth-link a:hover {
            color: #b574ff;
            text-decoration: none;
        }

        .auth-link a:hover::after {
            width: 100%;
        }

        .error-message {
            background: rgba(255, 107, 107, 0.15);
            border: 1px solid rgba(255, 107, 107, 0.3);
            color: #ff9999;
            border-radius: 12px;
            margin-bottom: 25px;
            font-size: 14px;
            backdrop-filter: blur(10px);
            position: relative;
        }

        .error-message::before {
            content: '⚠';
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 16px;
        }

        .error-message {
        }

        .success-message {
            background: rgba(114, 255, 168, 0.15);
            border: 1px solid rgba(114, 255, 168, 0.3);
            color: #72ffa8;
            border-radius: 12px;
            margin-bottom: 25px;
            font-size: 14px;
            backdrop-filter: blur(10px);
            position: relative;
        }

        .success-message::before {
            content: '✓';
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 16px;
        }

        .success-message {
        }

        .back-home {
            position: fixed;
            top: 30px;
            left: 30px;
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            padding: 12px 20px;
            border-radius: 15px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(171, 100, 255, 0.2);
            backdrop-filter: blur(20px);
            transition: all 0.3s ease;
            font-size: 14px;
            font-weight: 500;
            z-index: 1000;
        }

        .back-home:hover {
            background: rgba(171, 100, 255, 0.15);
            color: white;
            text-decoration: none;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(171, 100, 255, 0.2);
        }

        @media (max-width: 768px) {
            .auth-card {
                margin: 20px;
                padding: 40px 30px;
            }

            .back-home {
                top: 20px;
                left: 20px;
                padding: 10px 16px;
                font-size: 13px;
            }
        }