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

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
            line-height: 1.6;
            color: #333;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* 头部导航 */
        .header {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            padding: 0.8rem 0;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.2);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2rem;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 800;
            color: #3b82f6; /* 默认颜色 */
            display: flex;
            align-items: center;
            gap: 0.6rem;
            letter-spacing: -0.02em;
            font-feature-settings: 'ss01', 'ss02';
        }

        /* 支持渐变文字的浏览器 */
        @supports (background-clip: text) or (-webkit-background-clip: text) {
            .logo {
                background: linear-gradient(135deg, #3b82f6, #6366f1, #8b5cf6);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
            }
        }

        .logo i {
            color: #3b82f6; /* 备用颜色 */
            font-size: 1.5em;
            filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.3));
            background: linear-gradient(135deg, #3b82f6, #6366f1, #8b5cf6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .logo-text {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: 1.1em;
            line-height: 1;
            width: 100%;
            align-items: flex-start;
        }

        .logo-name-zh {
            font-size: 0.65em;
            font-weight: 800;
            line-height: 1;
            width: 100%;
            text-align: left;
        }

        .logo-name-en {
            font-size: 0.48em;
            font-weight: 600;
            opacity: 0.8;
            line-height: 1;
            letter-spacing: 0.2em;
            color: #64748b;
            -webkit-text-fill-color: #64748b;
            width: 100%;
            text-align: left;
            margin-top: 0.4rem;
        }

        .nav-links {
            display: flex;
            flex-wrap: nowrap;
            list-style: none;
            column-gap: 1.9rem;
            align-items: center;
            margin: 0;
        }
        
        /* 英文语言下减小菜单间距 */
        body[data-lang="en-US"] .nav-links,
        html[lang="en-US"] .nav-links {
            column-gap: 1.2rem;
        }

        .nav-links li {
            flex: 0 0 auto;
        }

        .currency-switcher {
            display: flex;
            gap: 0.45rem;
            align-items: center;
        }

        .currency-switcher.desktop {
            margin-left: 1.2rem;
            margin-right: 0;
            flex-shrink: 0;
        }
        
        /* 英文语言下减小货币切换器左边距 */
        body[data-lang="en-US"] .currency-switcher.desktop,
        html[lang="en-US"] .currency-switcher.desktop {
            margin-left: 0.8rem;
        }

        .currency-switcher.mobile {
            display: none;
            width: 100%;
            justify-content: flex-start;
            margin-top: 0.5rem;
        }

        .currency-btn {
            border: 1px solid rgba(148, 163, 184, 0.4);
            background: rgba(255, 255, 255, 0.85);
            color: #475569;
            padding: 0.4rem 0.9rem;
            border-radius: 999px;
            font-weight: 600;
            cursor: pointer;
            font-size: 0.8rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            letter-spacing: 0.03em;
        }

        .currency-btn:hover {
            border-color: rgba(59, 130, 246, 0.5);
            color: #2563eb;
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
        }

        .currency-btn.active {
            background: linear-gradient(135deg, #3b82f6, #6366f1);
            color: #fff;
            border-color: transparent;
            box-shadow: 0 6px 18px rgba(59, 130, 246, 0.35);
        }

        .nav-links a {
            color: #475569;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            padding: 0.6rem 1rem;
            border-radius: 12px;
            letter-spacing: -0.01em;
            font-feature-settings: 'cv02', 'cv03';
        }

        .nav-links a:hover {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(147, 51, 234, 0.1));
            font-weight: 700;
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-image: linear-gradient(135deg, #8b5cf6, #a855f7, #c084fc);
            color: #8b5cf6; /* 备用颜色 */
            padding: 0.6rem 1.2rem;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(139, 92, 246, 0.25);
        }

        .nav-links a::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 3px;
            background: linear-gradient(135deg, #3b82f6, #6366f1, #8b5cf6);
            border-radius: 2px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
        }

        .nav-links a:hover::before {
            width: 90%;
            height: 4px;
            background: linear-gradient(135deg, #8b5cf6, #a855f7, #c084fc);
            box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
        }

        /* 当前页面激活状态 */
        .nav-links a.active {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(147, 51, 234, 0.1));
            font-weight: 700;
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-image: linear-gradient(135deg, #8b5cf6, #a855f7, #c084fc);
            color: #8b5cf6; /* 备用颜色 */
        }

        .nav-links a.active::before {
            width: 90%;
            height: 4px;
            background: linear-gradient(135deg, #8b5cf6, #a855f7, #c084fc);
            box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
        }

        /* 当前页面悬停效果 */
        .nav-links a.active:hover {
            background-image: linear-gradient(135deg, #9333ea, #a855f7, #c084fc);
            color: #9333ea;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(139, 92, 246, 0.25);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* 认证按钮样式 */
        .auth-buttons {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        /* 英文语言下减小认证按钮间距 */
        body[data-lang="en-US"] .auth-buttons,
        html[lang="en-US"] .auth-buttons {
            gap: 0.7rem;
        }

        .btn-login, .btn-register {
            padding: 0.7rem 1.4rem;
            border: none;
            border-radius: 12px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            font-size: 0.9rem;
            position: relative;
            overflow: hidden;
            letter-spacing: -0.01em;
            font-feature-settings: 'cv02', 'cv03';
        }

        .btn-login {
            background: rgba(59, 130, 246, 0.08);
            color: #3b82f6;
            border: 1px solid rgba(59, 130, 246, 0.2);
        }

        .btn-login:hover {
            background: linear-gradient(135deg, #3b82f6, #2563eb);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
            border-color: #3b82f6;
            font-weight: 700;
        }

        .btn-register {
            background: linear-gradient(135deg, #3b82f6, #6366f1);
            color: white;
            box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
        }

        .btn-register:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(59, 130, 246, 0.5);
            background: linear-gradient(135deg, #2563eb, #5b21b6);
            font-weight: 700;
        }

        /* 用户菜单样式 */
        .user-menu {
            display: none;
            align-items: center;
            gap: 1rem;
        }

        .user-info {
            color: #475569;
            font-weight: 600;
            font-size: 0.9rem;
            letter-spacing: -0.01em;
        }

        .user-dropdown {
            position: relative;
        }

        .user-dropdown-btn {
            background: linear-gradient(135deg, #3b82f6, #6366f1);
            color: white;
            border: none;
            padding: 0.6rem 1.2rem;
            border-radius: 12px;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            letter-spacing: -0.01em;
            font-feature-settings: 'cv02', 'cv03';
        }

        .user-dropdown-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
            background: linear-gradient(135deg, #2563eb, #5b21b6);
            font-weight: 700;
        }

        .user-dropdown-content {
            display: none;
            position: absolute;
            top: 100%;
            right: 0;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            min-width: 180px;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.2);
            border-radius: 16px;
            overflow: hidden;
            z-index: 1001;
            margin-top: 0.5rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* 在按钮和弹框之间创建桥接区域 */
        .user-dropdown::before {
            content: '';
            position: absolute;
            top: 100%;
            right: 0;
            width: 100%;
            height: 0.5rem;
            background: transparent;
            z-index: 1002;
        }

        .user-dropdown:hover .user-dropdown-content {
            display: block;
        }

        .user-dropdown-content a {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.8rem 1.2rem;
            color: #475569;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-weight: 500;
            font-size: 0.9rem;
            letter-spacing: -0.01em;
            font-feature-settings: 'cv02', 'cv03';
        }

        .user-dropdown-content a:hover {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.05));
            color: #1e293b;
            transform: translateX(6px);
            font-weight: 600;
            box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
        }

        .user-dropdown-content a i {
            width: 16px;
            text-align: center;
        }

        .user-dropdown:hover .user-dropdown-content {
            display: block;
        }

        /* 汉堡菜单按钮 */
        .menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-around;
            width: 30px;
            height: 30px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
            z-index: 1001;
        }

        .menu-toggle span {
            width: 25px;
            height: 3px;
            background: linear-gradient(135deg, #3b82f6, #6366f1);
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        .menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(8px, -8px);
        }

        /* 移动端菜单 */
        .mobile-nav {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
            z-index: 999;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            margin-top: 0;
        }

        .mobile-nav.active {
            max-height: 500px;
        }

        .mobile-nav ul {
            list-style: none;
            padding: 1rem;
            margin: 0;
        }

        .mobile-nav li {
            border-bottom: 1px solid rgba(226, 232, 240, 0.5);
        }

        .mobile-nav li:last-child {
            border-bottom: none;
        }

        .mobile-currency-item {
            padding: 1rem;
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
            border-bottom: 1px solid rgba(226, 232, 240, 0.5);
        }

        .mobile-currency-title {
            font-weight: 700;
            color: #475569;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        .mobile-nav a {
            display: block;
            padding: 1rem;
            color: #475569;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.3s;
            letter-spacing: -0.01em;
            font-feature-settings: 'cv02', 'cv03';
        }

        .mobile-nav a:hover,
        .mobile-nav a.active {
            color: #8b5cf6;
            background: rgba(139, 92, 246, 0.1);
            padding-left: 1.5rem;
        }

        /* 登录/注册链接不受普通链接样式影响 */
        .mobile-nav .mobile-auth-links a:hover,
        .mobile-nav .mobile-auth-links a.active {
            padding-left: 1rem;
            color: inherit;
            background: inherit;
        }

        /* 手机端登录/注册链接样式 */
        .mobile-nav .mobile-auth-links {
            border-top: 2px solid rgba(226, 232, 240, 0.5);
            margin-top: 0.5rem;
            padding-top: 0.5rem;
            display: flex;
            gap: 0.5rem;
            border-bottom: none;
        }

        .mobile-nav .mobile-auth-links a {
            flex: 1;
            text-align: center;
            border-radius: 8px;
            padding: 0.75rem 1rem;
            font-weight: 600;
            transition: all 0.3s;
        }

        .mobile-nav .mobile-login-link {
            background: rgba(59, 130, 246, 0.1);
            color: #3b82f6;
            border: 1px solid rgba(59, 130, 246, 0.2);
        }

        .mobile-nav .mobile-login-link:hover {
            background: rgba(59, 130, 246, 0.2);
            color: #2563eb;
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
        }

        .mobile-nav .mobile-register-link {
            background: linear-gradient(135deg, #3b82f6, #6366f1);
            color: white;
            border: 1px solid transparent;
        }

        .mobile-nav .mobile-register-link:hover {
            background: linear-gradient(135deg, #2563eb, #4f46e5);
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .nav-container {
                padding: 0 1rem;
                position: relative;
                flex-wrap: nowrap;
            }

            .menu-toggle {
                display: flex;
                order: 3;
            }

            .nav-links {
                display: none;
            }

            .mobile-nav {
                display: block;
            }

            .logo {
                font-size: 1.5rem;
                order: 1;
                flex: 1;
            }

            .logo-name-zh {
                font-size: 0.6em;
            }

            .logo-name-en {
                font-size: 0.45em;
            }

            .auth-buttons {
                gap: 0.8rem;
                order: 2;
                margin-right: 1rem;
            }

            .btn-login, .btn-register {
                padding: 0.6rem 1.2rem;
                font-size: 0.85rem;
            }

            .user-dropdown-btn {
                padding: 0.5rem 1rem;
                font-size: 0.85rem;
            }

            .user-dropdown-content {
                min-width: 160px;
                margin-top: 0.6rem;
            }

            .user-dropdown-content a {
                padding: 0.7rem 1rem;
                font-size: 0.85rem;
            }

            .currency-switcher.desktop {
                display: none;
            }

            .currency-switcher.mobile {
                display: flex;
                justify-content: flex-start;
            }

            .currency-switcher.mobile .currency-btn {
                flex: 1 1 auto;
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            .header {
                padding: 0.6rem 0;
            }

            .nav-container {
                padding: 0 0.8rem;
            }

            .logo {
                font-size: 1.3rem;
            }

            .logo-name-zh {
                font-size: 0.55em;
            }

            .logo-name-en {
                font-size: 0.4em;
            }

            .auth-buttons {
                gap: 0.6rem;
            }

            .btn-login, .btn-register {
                padding: 0.5rem 1rem;
                font-size: 0.8rem;
            }
        }