        :root {
            --primary-bg: #ffffff;
            --secondary-bg: #f3f8fc; 
            --text-main: #000000; 
            --text-muted: #51525d; 
            --gradient-brand: linear-gradient(90deg, #FF00A0 0%, #8A2BE2 50%, #00BFFF 100%);
            --border-color: rgba(0, 0, 0, 0.08);
            --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        html, body, div, span, a, button {
            -webkit-text-size-adjust: 100% !important;
            -moz-text-size-adjust: 100% !important;
            text-size-adjust: 100% !important;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
            background: linear-gradient(180deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
            color: var(--text-main);
            line-height: 1.5;
            min-height: 100vh;
            -webkit-font-smoothing: antialiased;
        }

        .text-gradientcore {
            background: var(--gradient-brand);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: inline-block !important;
            white-space: nowrap !important;
            vertical-align: bottom !important; 
        }
        .text-gradient {
            background: var(--gradient-brand);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
header {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 1.5rem; /* 稍微缩小移动端内边距 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

        .logo-area {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .logo {
            font-size: 2.5rem;
            font-weight: 900;
            letter-spacing: 1.5px;
            text-decoration: none;
        }

        .logo-divider {
            width: 1px;
            height: 20px;
            background-color: rgba(0, 0, 0, 0.15);
        }

        .logo-slogan {
            font-size: 0.9rem;
            color: var(--text-muted);
            letter-spacing: 0.5px;
            font-weight: 500;
	        line-height:20px;
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 1.5rem; /* 适当调小间距，防止窄屏挤压 */
            flex-wrap: nowrap; /* 绝对禁止导航项换行 */
        }

        .nav-link {
            text-decoration: none;
            color: var(--text-main);
            font-size: 0.95rem;
            font-weight: 600;
            white-space: nowrap; /* 禁止单字换行 */
        }

        .nav-link:hover {
            color: #8A2BE2;
        }

        .login-btn {
            background: #000000;
            color: #ffffff;
            text-decoration: none;
            padding: 0.65rem 1.8rem;
            border-radius: 2rem;
            font-size: 0.95rem;
            font-weight: 600;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .login-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }

        /* --- 头像按钮及下拉悬浮菜单 --- */
        .user-menu-wrap {
            position: relative;
            display: inline-block;
        }

        .user-menu-wrap::after {
            content: '';
            position: absolute;
            top: 100%;
            right: 0;
            width: 100%;
            height: 15px;
            display: block;
        }

        .user-avatar-btn {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            border: 3px solid #ffffff; 
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05); 
            cursor: pointer;
            overflow: hidden;
            transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #e2e8f0;
        }

        .user-avatar-btn:hover {
            transform: scale(1.06);
            box-shadow: 0 6px 16px rgba(138, 43, 226, 0.2), 0 0 0 1px rgba(138, 43, 226, 0.1);
        }

        .user-avatar-btn img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .user-dropdown-menu {
            position: absolute;
            top: 100%;
            right: 0;
            margin-top: 10px;
            background: rgba(255, 255, 255, 0.96);
            border: 1px solid rgba(0, 0, 0, 0.06);
            border-radius: 14px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            padding: 0.5rem;
            min-width: 150px;
            z-index: 999;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            opacity: 0;
            visibility: hidden;
            transform: translateY(8px);
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .user-menu-wrap:hover .user-dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 0.65rem 0.9rem;
            color: var(--text-main);
            text-decoration: none;
            font-size: 0.88rem;
            font-weight: 600;
            border-radius: 10px;
            transition: all 0.2s ease;
        }

        .dropdown-item svg {
            opacity: 0.7;
            transition: opacity 0.2s ease;
        }

        .dropdown-item:hover {
            background: rgba(138, 43, 226, 0.06);
            color: #8A2BE2;
        }
        .dropdown-item:hover svg {
            opacity: 1;
        }

        .dropdown-item.logout-item:hover {
            background: rgba(239, 68, 68, 0.06);
            color: #ef4444;
        }

        .dropdown-divider {
            height: 1px;
            background-color: rgba(0, 0, 0, 0.05);
            margin: 0.4rem 0.5rem;
        }
        
        /* 针对小屏幕手机，如果导航依然嫌大，可以微调尺寸 */
@media (max-width: 480px) {
    header {
        padding: 1rem;
    }
    .logo {
        font-size: 1.8rem; /* 稍微减小 Logo */
    }
    .logo-slogan {
        display: none; /* 极窄屏幕下隐藏 slogan，给导航留出空间 */
    }
    .logo-divider {
        display: none;
    }
    .nav-right {
        gap: 0.8rem; /* 极其紧凑的间距 */
    }
    .nav-link {
        font-size: 0.85rem;
    }
    .user-avatar-btn {
        width: 36px;
        height: 36px; /* 头像缩小 */
    }
}