    /* Google Button Styles */
    .btn-google {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
        max-width: 320px;
        padding: 14px 24px;
        background: #ffffff;
        color: #333333;
        border: 1px solid #dadce0;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
        position: relative;
        overflow: hidden;
        font-family: 'Roboto', 'Segoe UI', sans-serif;
    }
    
    .btn-google:hover {
        background: #f8f9fa;
        border-color: #dadce0;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
        transform: translateY(-1px);
        color: #333333;
        text-decoration: none;
    }
    
    .btn-google:active {
        transform: translateY(0);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    }
    
    .btn-google .google-icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }
    
    /* Auth Form Heading Styles - Fix for glow effect and dark mode */
    .auth-form h2 {
        text-shadow: none !important;
    }
    
    body.dark-mode .auth-form h2 {
        color: #e2e8f0 !important;
        text-shadow: none !important;
    }
    
    body.light-mode .auth-form h2 {
        color: #1f2937 !important;
        text-shadow: none !important;
    }
    
    @media (max-width: 480px) {
        .btn-google {
            max-width: 100%;
            padding: 12px 20px;
            font-size: 15px;
        }
        
        .btn-google .google-icon {
            width: 18px;
            height: 18px;
        }
    }
    
    @media (max-width: 360px) {
        .btn-google {
            padding: 10px 16px;
            font-size: 14px;
            gap: 8px;
        }
        
        .btn-google .google-icon {
            width: 16px;
            height: 16px;
        }
    }
    </style>
    <style>
    .token-balance-header {
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 600;
        font-size: 1.08em;
        color: #6366f1;
        background: #f4f3ff;
        border-radius: 12px;
        padding: 6px 16px;
        margin-right: 12px;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .token-balance-header:hover {
        background: #e9e7ff;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
    }
    .token-balance-header i {
        font-size: 1.2em;
        color: #fbbf24;
    }
    .token-balance-amount {
        font-size: 1.08em;
        color: #23234a;
    }
    /* Responsive header and nav centering for mobile */
    @media (max-width: 600px) {
        .main-header {
            padding: 0;
        }
        .header-flex {
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            gap: 0;
        }
        .main-header .logo {
            margin: 16px 0 8px 0;
            display: block;
            text-align: center;
            width: 100%;
            font-size: 1.5em;
        }
        .main-nav {
            width: 100vw;
            max-width: 100vw;
            margin: 0 auto 8px auto;
            display: flex !important;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: none;
            box-shadow: none;
        }
        .main-nav ul {
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0;
            padding: 0;
        }
        .main-nav ul > li {
            width: 100%;
            text-align: center;
            margin: 0;
            padding: 0;
        }
        .main-nav ul > li > a,
        .main-nav ul > li.has-dropdown > a {
            width: 100%;
            display: block;
            padding: 18px 0 18px 0;
            font-size: 1.18em;
            border-radius: 0;
            border-bottom: 1.5px solid #f0f0f0;
            background: none;
            letter-spacing: 0.01em;
        }
        .main-nav ul > li:last-child > a {
            border-bottom: none;
        }
        .main-nav .dropdown {
            position: static;
            box-shadow: none;
            background: none;
            width: 100%;
            margin: 0;
            padding: 0 0 10px 0;
        }
        .main-nav .dropdown li {
            width: 100%;
            text-align: center;
        }
        .main-nav .dropdown li a {
            width: 100%;
            padding: 14px 0;
            font-size: 1.08em;
            border-radius: 0;
            background: none;
        }
        /* Legacy layout only — do not apply to .header (breaks mobile: full-width bar misaligns bell/avatar) */
        .main-header .header-actions {
            width: 100vw;
            max-width: 100vw;
            margin: 0 auto 8px auto;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        .profile-btn {
            margin-left: 0;
        }
        .token-balance-header {
            display: none !important; /* Hide token balance on mobile */
        }
        .master-chain-header-icon,
        .chatbot-header-icon,
        .similarity-header-icon,
        .referral-header-icon {
            display: none !important; /* Keep header compact on mobile */
        }
        .language-switcher {
            font-size: 1em;
        }
    }
    @media (min-width: 1025px) {
        .main-nav {
            display: block !important;
        }
    }
    #sidebar-menu {
        z-index: 2000;
    }
    .btn-gradient {
        background: linear-gradient(90deg, #a78bfa 0%, #6366f1 100%);
        color: #fff !important;
        border: none;
        border-radius: 24px;
        padding: 10px 24px;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(99,102,241,0.08);
        transition: background 0.2s, box-shadow 0.2s;
    }
    .btn-gradient:hover {
        background: linear-gradient(90deg, #6366f1 0%, #a78bfa 100%);
        box-shadow: 0 4px 16px rgba(99,102,241,0.16);
    }
    .theme-switcher-btn {
        background: none;
        border: none;
        font-size: 1.5em;
        color: #6366f1;
        cursor: pointer;
        margin-left: 12px;
        transition: color 0.2s;
    }
    .theme-switcher-btn:hover {
        color: #a78bfa;
    }

    .user-dropdown-menu {
        position: absolute;
        top: 60px;
        right: 0;
        min-width: 400px;
        max-width: 400px;
        background: #fff;
        border-radius: 22px;
        box-shadow: 0 8px 40px 0 rgba(44, 24, 60, 0.18), 0 2px 0 0 #a78bfa22 inset;
        padding: 0 0 16px 0;
        z-index: 1000;
        display: none;
        transition: box-shadow 0.2s, background 0.2s;
        overflow-y: auto;
        overflow-x: hidden;
        max-height: 80vh;
        border: 1.5px solid #e0e7ff;
    }
    .user-dropdown-menu.active {
        display: block;
    }
    .user-dropdown-menu .dropdown-profile {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 28px 18px 14px 18px;
        background: #f4f4ff;
        border-bottom: 1.5px solid #e0e7ff;
    }
    .user-dropdown-menu .dropdown-avatar {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        object-fit: cover;
        border: 2px solid #a78bfa;
        margin-bottom: 8px;
        box-shadow: 0 1px 6px #a78bfa22;
    }
    .user-dropdown-menu .dropdown-name {
        font-weight: 700;
        font-size: 1.08em;
        color: #23234a;
        margin-bottom: 1px;
        letter-spacing: -0.01em;
    }
    .user-dropdown-menu .dropdown-email {
        font-size: 0.98em;
        color: #888;
        margin-bottom: 4px;
    }
    .user-dropdown-menu .dropdown-welcome {
        font-size: 1em;
        color: #764ba2;
        margin-bottom: 0;
        font-weight: 500;
    }
    .user-dropdown-menu .dropdown-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .user-dropdown-menu .dropdown-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 12px 22px;
        font-size: 1em;
        color: #23234a;
        cursor: pointer;
        transition: background 0.13s, color 0.13s;
        border-bottom: 1px solid #f0f0f7;
        font-weight: 500;
        text-decoration: none;
        background: none;
        border-radius: 0;
        letter-spacing: 0.01em;
        text-align: center;
    }
    .user-dropdown-menu .dropdown-item:last-child {
        border-bottom: none;
    }
    .user-dropdown-menu .dropdown-item:hover {
        background: #f4f4ff;
        color: #764ba2;
    }
    .user-dropdown-menu .dropdown-item i {
        font-size: 1.08em;
        color: #764ba2;
        min-width: 20px;
        text-align: center;
        transition: color 0.13s, transform 0.13s;
    }
    .user-dropdown-menu .dropdown-item:hover i {
        color: #a78bfa;
        transform: scale(1.08);
    }
    .user-dropdown-menu .dropdown-divider {
        height: 1.5px;
        background: linear-gradient(90deg, #a78bfa33 0%, #23234a 100%);
        margin: 12px 0 12px 0;
        border: none;
        border-radius: 1px;
    }
    .user-dropdown-menu .btn-logout {
        background: linear-gradient(90deg, #e74c3c 0%, #ff6b6b 100%) !important;
        color: #fff !important;
        font-weight: 600;
        border-radius: 16px !important;
        margin: 12px auto 0 auto !important;
        box-shadow: 0 1px 6px rgba(231,76,60,0.08);
        padding: 12px 0 !important;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 92%;
        max-width: 100%;
        position: relative;
        box-sizing: border-box;
        font-size: 1em;
        letter-spacing: 0.01em;
    }
    .user-dropdown-menu .btn-logout:hover {
        background: linear-gradient(90deg, #c0392b 0%, #ff5252 100%) !important;
        color: #fff !important;
        box-shadow: 0 2px 10px rgba(231,76,60,0.13);
    }
    @media (max-width: 600px) {
        .user-dropdown-menu {
            position: fixed;
            top: 60px;
            right: 0;
            left: 0;
            min-width: unset;
            width: 100vw;
            border-radius: 0 0 22px 22px;
            box-shadow: 0 8px 40px rgba(44, 24, 60, 0.18);
            padding: 0;
            max-width: 100vw;
            overflow-y: auto;
            overflow-x: hidden;
            max-height: 80vh;
        }
        .user-dropdown-menu .dropdown-profile {
            padding: 18px 8px 10px 8px;
        }
        .user-dropdown-menu .dropdown-item {
            padding: 10px 0;
            font-size: 0.98em;
            justify-content: center;
            text-align: center;
        }
        .user-dropdown-menu .btn-logout {
            width: 96%;
            border-radius: 16px !important;
            margin: 10px auto 10px auto !important;
        }
    }
    body.dark-mode .user-dropdown-menu {
        background: #23234a;
        color: #f3f3fa;
        border: 1.5px solid #35356a;
        box-shadow: 0 8px 40px 0 rgba(20, 20, 40, 0.28), 0 2px 0 0 #764ba244 inset;
    }
    body.dark-mode .user-dropdown-menu .dropdown-profile {
        background: #29295a;
        border-bottom: 1.5px solid #35356a;
    }
    body.dark-mode .user-dropdown-menu .dropdown-avatar {
        border: 2px solid #a78bfa;
        box-shadow: 0 1px 6px #764ba244;
    }
    body.dark-mode .user-dropdown-menu .dropdown-name {
        color: #fff;
    }
    body.dark-mode .user-dropdown-menu .dropdown-email {
        color: #bdbdf7;
    }
    body.dark-mode .user-dropdown-menu .dropdown-welcome {
        color: #a78bfa;
    }
    body.dark-mode .user-dropdown-menu .dropdown-item {
        color: #f3f3fa;
        border-bottom: 1px solid #35356a;
        background: none;
    }
    body.dark-mode .user-dropdown-menu .dropdown-item:hover {
        background: #29295a;
        color: #a78bfa;
    }
    body.dark-mode .user-dropdown-menu .dropdown-item i {
        color: #a78bfa;
    }
    body.dark-mode .user-dropdown-menu .dropdown-item:hover i {
        color: #ffe066;
    }
    body.dark-mode .user-dropdown-menu .dropdown-divider {
        background: linear-gradient(90deg, #35356a 0%, #764ba2 100%);
    }
    body.dark-mode .user-dropdown-menu .btn-logout {
        background: linear-gradient(90deg, #c0392b 0%, #e74c3c 100%) !important;
        color: #fff !important;
        border-radius: 16px !important;
        border: 1.5px solid #35356a;
        box-shadow: 0 1px 6px rgba(231,76,60,0.13);
        margin: 12px auto 0 auto !important;
    }
    body.dark-mode .user-dropdown-menu .btn-logout:hover {
        background: linear-gradient(90deg, #e74c3c 0%, #ff6b6b 100%) !important;
        color: #fff !important;
        box-shadow: 0 2px 10px rgba(231,76,60,0.18);
    }
    .user-dropdown-menu ul li .btn-logout {
        width: 92% !important;
        margin: 12px auto 0 auto !important;
        border-radius: 16px !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px 0 !important;
        font-size: 1em !important;
        box-sizing: border-box !important;
    }
    @media (max-width: 600px) {
        .user-dropdown-menu ul li .btn-logout {
            width: 96% !important;
            margin: 10px auto 10px auto !important;
            border-radius: 16px !important;
            padding: 12px 0 !important;
        }
    }
    /* Mobile Bottom Navbar - Modern Clean Design */
    .mobile-bottom-navbar {
        display: none;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        height: 68px;
        padding-bottom: env(safe-area-inset-bottom, 0);
        background:
            radial-gradient(1200px 240px at 50% 0%, rgba(50,216,255,0.08), transparent 55%),
            linear-gradient(180deg, rgba(10,12,24,0.82) 0%, rgba(6,8,16,0.94) 100%);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 -10px 38px rgba(0, 0, 0, 0.55), 0 -1px 0 rgba(255, 255, 255, 0.05) inset;
        z-index: 1200;
        justify-content: space-evenly;
        align-items: center;
        padding: 0 12px;
        gap: 8px;
    }
    .mobile-bottom-navbar .nav-btn {
        flex: 1 1 0;
        max-width: 80px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: rgba(255, 255, 255, 0.65);
        text-decoration: none;
        font-size: 0.7rem;
        min-height: 56px;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        padding: 8px 4px;
        border-radius: 14px;
        gap: 4px;
    }
    .mobile-bottom-navbar .nav-btn i {
        font-size: 1.4rem;
        margin-bottom: 2px;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
    }
    .mobile-bottom-navbar .nav-btn span {
        font-size: 0.6rem;
        font-weight: 500;
        letter-spacing: 0.02em;
        opacity: 0.85;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        white-space: nowrap;
    }
    /* Active state indicator - subtle dot */
    .mobile-bottom-navbar .nav-btn.active::after {
        content: '';
        position: absolute;
        bottom: 4px;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 4px;
        background: linear-gradient(135deg, rgba(50,216,255,1) 0%, rgba(124,140,255,1) 70%);
        border-radius: 50%;
        opacity: 1;
        transition: all 0.25s ease;
        box-shadow: 0 0 12px rgba(50, 216, 255, 0.45);
    }
    .mobile-bottom-navbar .nav-btn.active,
    .mobile-bottom-navbar .nav-btn:active {
        color: #fff;
    }
    .mobile-bottom-navbar .nav-btn.active i,
    .mobile-bottom-navbar .nav-btn:active i {
        transform: scale(1.08);
        filter: drop-shadow(0 2px 8px rgba(50, 216, 255, 0.40));
    }
    .mobile-bottom-navbar .nav-btn.active span {
        opacity: 1;
        font-weight: 600;
    }
    /* Center floating button - Matching homepage Upload Song button */
    .mobile-bottom-navbar .nav-btn-center {
        background:
            radial-gradient(140px 100px at 18% 20%, rgba(236,72,153,0.22), transparent 62%),
            radial-gradient(160px 120px at 90% 85%, rgba(50,216,255,0.16), transparent 60%),
            linear-gradient(160deg, rgba(10,12,24,0.86) 0%, rgba(7,9,18,0.94) 55%, rgba(6,8,16,0.98) 100%);
        color: #fff;
        border-radius: 18px;
        width: 56px;
        height: 56px;
        position: absolute;
        left: 50%;
        top: -40px;
        transform: translateX(-50%);
        box-shadow: 0 18px 52px rgba(0,0,0,0.62), 0 14px 34px rgba(236,72,153,0.12), 0 12px 30px rgba(50,216,255,0.10);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        z-index: 1201;
        border: 1px solid rgba(255,255,255,0.18);
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        animation: float-pulse 3s ease-in-out infinite;
    }
    @keyframes float-pulse {
        0%, 100% {
            transform: translateX(-50%) translateY(0) scale(1);
            box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
        }
        50% {
            transform: translateX(-50%) translateY(-4px) scale(1.02);
            box-shadow: 0 8px 28px rgba(99, 102, 241, 0.5);
        }
    }
    .mobile-bottom-navbar .nav-btn-center:active,
    .mobile-bottom-navbar .nav-btn-center:hover {
        transform: translateX(-50%) translateY(-2px) scale(1.05);
        background:
            radial-gradient(140px 100px at 18% 20%, rgba(236,72,153,0.28), transparent 62%),
            radial-gradient(160px 120px at 90% 85%, rgba(50,216,255,0.20), transparent 60%),
            linear-gradient(160deg, rgba(10,12,24,0.82) 0%, rgba(7,9,18,0.94) 55%, rgba(6,8,16,0.98) 100%);
        border-color: rgba(124,140,255,0.30);
        box-shadow: 0 20px 58px rgba(0,0,0,0.64), 0 16px 40px rgba(236,72,153,0.14), 0 14px 36px rgba(50,216,255,0.12);
        animation: none;
    }
    .mobile-bottom-navbar .nav-btn-center i {
        font-size: 1.5rem;
        color: #fff !important;
        background: none !important;
        -webkit-background-clip: initial !important;
        -webkit-text-fill-color: initial !important;
        background-clip: initial !important;
        text-fill-color: initial !important;
        filter: drop-shadow(0 10px 22px rgba(0,0,0,0.35));
        transition: transform 0.2s ease;
    }
    .mobile-bottom-navbar .nav-btn-center:active i {
        transform: rotate(90deg) scale(0.9);
    }
    @media (max-width: 767px) {
        .mobile-bottom-navbar {
            display: flex;
        }
        .hamburger-menu {
            display: flex !important;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            z-index: 1201;
            background: none;
            border: none;
            width: 38px;
            height: 38px;
            align-items: center;
            justify-content: center;
            margin: 0;
            padding: 0;
            flex-direction: column;
            gap: 5px;
            flex-shrink: 0;
        }
        .header-content {
            position: relative;
        }
    }
    @media (min-width: 768px) {
        .mobile-bottom-navbar {
            display: none !important;
        }
    }
    @media (max-width: 767px) {
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .main-nav {
            display: none;
        }
        .mobile-menu-fab {
            display: flex;
            align-items: center;
            justify-content: center;
        }
    }
    @media (min-width: 768px) {
        .mobile-bottom-navbar,
        #sidebar-hamburger,
        #sidebar-menu,
        #sidebar-overlay {
            display: none !important;
        }
    }
    /* Floating Action Button & Modal Menu Styles - Matching homepage Upload Song button */
    .mobile-menu-fab {
        display: none; /* Hidden by default, shown only on mobile/tablet */
        position: fixed;
        bottom: 110px;
        right: 20px;
        width: 60px;
        height: 60px;
        background:
            radial-gradient(120px 80px at 30% 20%, rgba(50,216,255,0.18), transparent 60%),
            linear-gradient(180deg, rgba(12,14,28,0.92) 0%, rgba(6,8,16,0.98) 100%);
        color: #fff;
        border: none;
        border-radius: 18px;
        font-size: 1.5rem;
        box-shadow: 0 18px 52px rgba(0,0,0,0.60), 0 10px 26px rgba(50,216,255,0.14);
        z-index: 1050;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        animation: fab-float 3s ease-in-out infinite;
        border: 1px solid rgba(50,216,255,0.28);
    }
    @keyframes fab-float {
        0%, 100% {
            transform: translateY(0) scale(1);
            box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
        }
        50% {
            transform: translateY(-6px) scale(1.02);
            box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
        }
    }
    .mobile-menu-fab:hover {
        transform: translateY(-4px) scale(1.08);
        background:
            radial-gradient(120px 80px at 30% 20%, rgba(50,216,255,0.26), transparent 62%),
            linear-gradient(180deg, rgba(12,14,28,0.88) 0%, rgba(6,8,16,0.98) 100%);
        border-color: rgba(50,216,255,0.42);
        box-shadow: 0 20px 58px rgba(0,0,0,0.62), 0 14px 38px rgba(50,216,255,0.18);
        animation: none;
    }
    .mobile-menu-fab:active {
        transform: translateY(-2px) scale(0.96);
        box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    }
    .mobile-menu-fab i {
        transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
    }
    .mobile-menu-fab:hover i {
        transform: rotate(90deg) scale(1.1);
    }
    .mobile-menu-fab:active i {
        transform: rotate(90deg) scale(0.9);
    }
    .mobile-menu-modal {
        display: none;
        position: fixed;
        inset: 0;
        background-color: rgba(20, 20, 30, 0.95);
        backdrop-filter: blur(5px);
        z-index: 99999;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: max(16px, env(safe-area-inset-top)) 14px max(16px, env(safe-area-inset-bottom)) 14px;
        box-sizing: border-box;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }
    .mobile-menu-modal.active {
        display: flex;
        opacity: 1;
    }
    .mobile-menu-close {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        color: rgba(255,255,255,0.95);
        background: rgba(255,255,255,0.10);
        border: 1px solid rgba(255,255,255,0.18);
        border-radius: 999px;
        cursor: pointer;
        backdrop-filter: blur(10px);
        z-index: 100000;
        transition: transform 0.15s ease, background 0.15s ease;
    }
    .mobile-menu-close:active{
        transform: scale(0.96);
        background: rgba(255,255,255,0.16);
    }

    /* Windowed menu container inside modal */
    .mobile-menu-window{
        position: relative;
        width: min(420px, 100%);
        max-height: min(80vh, 720px);
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        padding: 18px 16px 16px;
        box-sizing: border-box;
        border-radius: 22px;
        background:
            radial-gradient(900px 420px at 0% 0%, rgba(124,140,255,0.16), transparent 55%),
            radial-gradient(800px 420px at 100% 0%, rgba(50,216,255,0.12), transparent 50%),
            linear-gradient(160deg, rgba(10,12,24,0.78) 0%, rgba(8,10,20,0.92) 45%, rgba(6,8,16,0.98) 100%);
        border: 1px solid rgba(255,255,255,0.14);
        box-shadow: 0 26px 90px rgba(0,0,0,0.62);
        backdrop-filter: blur(18px);
    }
    .mobile-menu-window .mobile-sheet-title{
        display:flex;
        align-items:center;
        justify-content: space-between;
        gap: 12px;
        color: rgba(244,247,255,0.92);
        font-weight: 950;
        letter-spacing: 0.02em;
        margin: 2px 2px 12px;
    }
    .mobile-menu-window .mobile-sheet-sub{
        color: rgba(220,226,255,0.72);
        font-weight: 750;
        font-size: 0.92rem;
        margin-top: 4px;
    }

    .mobile-quick-actions{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin: 0 0 12px 0;
    }
    .mobile-quick-actions a{
        display:flex;
        align-items:center;
        justify-content:center;
        gap: 8px;
        padding: 10px 10px;
        border-radius: 14px;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.14);
        color: rgba(244,247,255,0.96);
        text-decoration:none;
        font-weight: 950;
        letter-spacing: 0.01em;
        font-size: 0.92rem;
        transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    }
    .mobile-quick-actions a i{ color: rgba(50,216,255,0.95); }
    .mobile-quick-actions a:hover{
        transform: translateY(-1px);
        background: rgba(124,140,255,0.14);
        border-color: rgba(50,216,255,0.34);
        box-shadow: 0 14px 40px rgba(0,0,0,0.22);
    }
    .mobile-quick-actions a.mobile-quick-referral{
        grid-column: 1 / -1;
        justify-self: stretch;
        width: 100%;
        background: linear-gradient(135deg, rgba(16,185,129,0.24) 0%, rgba(52,211,153,0.14) 55%, rgba(124,140,255,0.10) 100%);
        border-color: rgba(52,211,153,0.42);
        box-shadow: inset 0 0 0 1px rgba(16,185,129,0.10), 0 8px 26px rgba(16,185,129,0.16);
    }
    .mobile-quick-actions a.mobile-quick-referral i{
        color: rgba(110,231,183,0.98);
    }
    .mobile-quick-actions a.mobile-quick-referral:hover{
        background: linear-gradient(135deg, rgba(16,185,129,0.32) 0%, rgba(52,211,153,0.22) 55%, rgba(124,140,255,0.14) 100%);
        border-color: rgba(110,231,183,0.52);
        box-shadow: inset 0 0 0 1px rgba(16,185,129,0.14), 0 12px 34px rgba(16,185,129,0.22);
    }
    .mobile-quick-actions a.mobile-quick-bulk{
        grid-column: 1 / -1;
        justify-self: stretch;
        width: 100%;
        background: linear-gradient(135deg, rgba(99,102,241,0.22) 0%, rgba(34,211,238,0.14) 55%, rgba(167,139,250,0.12) 100%);
        border-color: rgba(129,140,248,0.42);
        box-shadow: inset 0 0 0 1px rgba(99,102,241,0.10), 0 8px 26px rgba(99,102,241,0.16);
    }
    .mobile-quick-actions a.mobile-quick-bulk i{
        color: rgba(196,181,253,0.98);
    }
    .mobile-quick-actions a.mobile-quick-bulk:hover{
        background: linear-gradient(135deg, rgba(99,102,241,0.30) 0%, rgba(34,211,238,0.20) 55%, rgba(167,139,250,0.16) 100%);
        border-color: rgba(165,180,252,0.52);
        box-shadow: inset 0 0 0 1px rgba(99,102,241,0.14), 0 12px 34px rgba(99,102,241,0.22);
    }
    .mobile-quick-actions .mobile-new-tag{
        margin-left: 6px;
        font-size: 0.62rem;
        font-weight: 900;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #fffbeb;
        background: linear-gradient(135deg, rgba(250,204,21,0.45) 0%, rgba(245,158,11,0.38) 100%);
        border: 1px solid rgba(253,224,71,0.55);
        border-radius: 999px;
        padding: 2px 6px;
        line-height: 1;
        box-shadow: 0 2px 8px rgba(245,158,11,0.2);
    }
    .mobile-modal-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: left;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .mobile-modal-nav li a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        color: rgba(244,247,255,0.96);
        text-decoration: none;
        font-size: 0.96rem;
        font-weight: 900;
        border-radius: 14px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.10);
        transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    }
    .mobile-modal-nav li a:hover {
        transform: translateY(-1px);
        border-color: rgba(124,140,255,0.45);
        background: rgba(124,140,255,0.12);
        box-shadow: 0 16px 46px rgba(0,0,0,0.18);
    }

    .mobile-modal-nav li a i{
        width: 22px;
        text-align: center;
        color: rgba(50,216,255,0.92);
        font-size: 1.1rem;
    }

    .mobile-modal-nav .mobile-nav-divider{
        height: 1px;
        background: rgba(255,255,255,0.14);
        margin: 10px 4px;
        border-radius: 999px;
    }

    /* Mobile Theme Switcher Styles */
    .mobile-theme-switcher {
        margin: 15px 0;
        padding: 0;
    }
    
    .mobile-theme-btn {
            display: flex;
            align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 10px 12px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.10);
        border-radius: 14px;
        color: #fff;
        font-size: 0.96rem;
        font-weight: 900;
        cursor: pointer;
        transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
        backdrop-filter: blur(10px);
    }
    
    .mobile-theme-btn:hover {
        background: rgba(124,140,255,0.12);
        border-color: rgba(124,140,255,0.40);
        transform: translateY(-1px);
        box-shadow: 0 16px 46px rgba(0,0,0,0.18);
    }
    
    .mobile-theme-btn:active {
        transform: scale(0.95);
        }
    
    .mobile-theme-btn i {
        font-size: 1.3rem;
        color: #fbbf24;
    }
    
    .mobile-theme-btn span {
        color: #fff;
    }

    /* Mobile Token Balance Styles */
    .mobile-token-balance {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 18px;
        padding: 16px 24px;
        margin: 0 0 14px 0;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.14);
        text-decoration: none;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .mobile-token-balance:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    .mobile-token-balance i {
        font-size: 1.8rem;
        color: #fbbf24;
    }
    
    .mobile-token-amount {
        font-size: 2rem;
        font-weight: 700;
        color: #fff;
    }
    
    .mobile-token-label {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.8);
        font-weight: 500;
    }

    /* Mobile Promotional Info Styles */
    .mobile-promo-info {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin: 20px 32px 32px 32px;
    }
    
    .mobile-promo-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 24px;
        padding: 14px 20px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        text-align: center;
    }
    
    .mobile-promo-item i {
        font-size: 1.5rem;
        min-width: 24px;
    }
    
    .mobile-promo-item:first-child {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        border: 1px solid rgba(16, 185, 129, 0.3);
    }
    
    .mobile-promo-item:first-child i {
        color: #fbbf24;
        text-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
    }
    
    .mobile-promo-item:last-child {
        background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
        border: 1px solid rgba(139, 92, 246, 0.3);
    }
    
    .mobile-promo-item:last-child i {
        color: #fbbf24;
        text-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
    }
    
    .mobile-promo-item span {
        font-size: 1rem;
        font-weight: 600;
        color: #fff;
        line-height: 1.3;
    }

    /* Modern header auth buttons - matching promo card style */
    .header-auth-buttons {
        display: flex;
        gap: 8px;
        align-items: center;
    }
    
    .header-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 14px;
        min-height: 36px;
        border-radius: 999px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.22s ease;
        font-size: 0.87rem;
        letter-spacing: 0.01em;
        white-space: nowrap;
    }
    
    .header-btn i {
        font-size: 0.86rem;
        transition: transform 0.22s ease;
    }
    
    .header-btn-login {
        background: rgba(255, 255, 255, 0.04);
        color: rgba(241, 245, 255, 0.94);
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(8px);
    }
    
    .header-btn-login:hover {
        transform: translateY(-1px);
        background: rgba(124, 140, 255, 0.14);
        border-color: rgba(124, 140, 255, 0.42);
        box-shadow: 0 6px 16px rgba(44, 56, 124, 0.28);
        color: #ffffff;
    }
    
    /* Dark mode styles for login button */
    body.dark-mode .header-btn-login {
        background: rgba(255, 255, 255, 0.06);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    body.dark-mode .header-btn-login:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        color: #ffffff;
    }
    
    .header-btn-signup {
        background: linear-gradient(135deg, #5b7cff, #7c8cff 55%, #8b5cf6);
        color: #ffffff;
        border: 1px solid rgba(173, 194, 255, 0.3);
        box-shadow: 0 6px 16px rgba(99, 102, 241, 0.34);
    }
    
    .header-btn-signup:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(99, 102, 241, 0.45);
        background: linear-gradient(135deg, #4f6dff, #6f85ff 55%, #7c3aed);
    }
    
    .header-btn:hover i {
        transform: translateX(2px);
    }
    
    /* Hide login/signup buttons on mobile since they're in floating menu */
    @media (max-width: 600px) {
        .header-auth-buttons {
            display: none !important;
        }
        
        .header-actions .btn-primary {
            display: none !important;
        }
    }
    
    @media (max-width: 768px) {
        .header-btn {
            padding: 8px 12px;
            min-height: 34px;
            font-size: 0.84rem;
        }
        
        .header-btn span {
            display: none;
        }
        
        .header-btn i {
            margin: 0;
        }
    }

    /* ------------------------------
       Header v2 (Dashboard 2.0 vibe)
       Non-breaking overrides only
    ------------------------------ */

    .header {
        position: sticky;
        top: 0;
        z-index: 2500;
        backdrop-filter: blur(18px) saturate(160%);
        -webkit-backdrop-filter: blur(18px) saturate(160%);
        background:
            radial-gradient(900px 420px at 0% 0%, rgba(124,140,255,0.12), transparent 55%),
            radial-gradient(700px 360px at 100% 0%, rgba(50,216,255,0.10), transparent 55%),
            rgba(10,12,24,0.72);
        border-bottom: 1px solid rgba(255,255,255,0.10);
        box-shadow: 0 16px 45px rgba(0,0,0,0.18);
    }

    body.light-mode .header,
    html[data-theme="light"] .header {
        background:
            radial-gradient(900px 420px at 0% 0%, rgba(124,140,255,0.16), transparent 55%),
            radial-gradient(700px 360px at 100% 0%, rgba(50,216,255,0.12), transparent 55%),
            rgba(255,255,255,0.86);
        border-bottom-color: rgba(15,23,42,0.10);
        box-shadow: 0 14px 40px rgba(15,23,42,0.10);
    }

    .header .header-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 12px 0;
    }

    /* style.css sets .user-profile-nav { margin-left: auto } globally — pulls avatar away from the bell */
    .header .header-actions .user-profile-nav {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .header .header-actions .notification-bell-wrapper.notification-bell-header {
        margin-left: 0;
        margin-right: 0;
    }

    .header .logo a {
        text-decoration: none;
    }

    .header .logo h1 {
        margin: 0;
        font-size: 1.78rem;
        font-weight: 950;
        letter-spacing: -0.02em;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        /* Keep the lockup itself visible; apply gradient only to the word */
        color: rgba(244,247,255,0.96);
        text-shadow: none;
    }

    /* Replace old orb with a bespoke AI mark */
    .brand-lockup{
        display: inline-flex;
        align-items: center;
        gap: 10px;
        line-height: 1;
        white-space: nowrap;
    }
    .brand-mark{
        width: 30px;
        height: 30px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        border-radius: 10px;
        border: 1px solid rgba(255,255,255,0.18);
        background:
            radial-gradient(16px 16px at 30% 30%, rgba(50,216,255,0.22), transparent 60%),
            radial-gradient(18px 18px at 80% 20%, rgba(167,139,250,0.18), transparent 62%),
            rgba(255,255,255,0.06);
        box-shadow: 0 10px 26px rgba(0,0,0,0.24);
    }
    .brand-mark svg{
        display: block;
        transform: translateY(0.5px);
    }

    @media (max-width: 480px){
        .header .logo h1{ font-size: 1.62rem; }
        .brand-mark{ width: 28px; height: 28px; }
    }

    /* Mobile: keep logo + actions on one row; bell + avatar right-aligned (no overlap, no fake “left” bell) */
    @media (max-width: 768px) {
        .header .header-content {
            flex-wrap: nowrap;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            padding-left: 12px;
            padding-right: 12px;
            box-sizing: border-box;
        }
        .header .logo {
            flex: 1 1 auto;
            min-width: 0;
            max-width: calc(100% - 96px);
        }
        .header .logo a {
            display: block;
            min-width: 0;
            overflow: hidden;
        }
        .header .logo h1.brand-lockup {
            max-width: 100%;
            min-width: 0;
        }
        .header .logo .brand-word {
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .header .header-actions {
            width: auto !important;
            max-width: none !important;
            margin: 0 !important;
            margin-left: auto !important;
            flex: 0 0 auto;
            flex-shrink: 0;
            justify-content: flex-end !important;
            align-items: center;
            gap: 8px;
        }
        .header .header-actions .notification-bell-wrapper.notification-bell-header,
        .header .header-actions .user-profile-nav {
            flex-shrink: 0;
        }
        .header .header-actions .notification-bell-btn {
            width: 38px;
            height: 38px;
        }
        .header .header-actions .user-avatar {
            width: 36px;
            height: 36px;
        }
    }
    body.light-mode .brand-mark,
    html[data-theme="light"] .brand-mark{
        border-color: rgba(15,23,42,0.10);
        background: rgba(15,23,42,0.02);
        box-shadow: 0 10px 20px rgba(15,23,42,0.10);
    }
    /* Gradient wordmark (logo palette) */
    .brand-word{
        display: inline-block;
        color: transparent;
        background-image: linear-gradient(135deg, #ff9a4d 0%, #ff6b6b 45%, #ec4899 100%);
        background-size: 140% 140%;
        background-position: 0% 50%;
        -webkit-background-clip: text;
        background-clip: text;
        text-shadow: 0 14px 40px rgba(236,72,153,0.16);
    }

    body.light-mode .header .logo h1,
    html[data-theme="light"] .header .logo h1 {
        color: rgba(15,23,42,0.92);
    }
    body.light-mode .brand-word,
    html[data-theme="light"] .brand-word{
        background-image: linear-gradient(135deg, #f97316 0%, #ef4444 45%, #db2777 100%);
        text-shadow: none;
    }

    /* Old ::before orb removed */

    /* Navigation: restore original underline style (remove v2 overrides) */

    /* Header action icons (token/chatbot/master/theme) as pills */
    .header-actions a.token-balance-header,
    .header-actions a.master-chain-header-icon,
    .header-actions a.chatbot-header-icon,
    .header-actions a.similarity-header-icon,
    .header-actions a.referral-header-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 9px 12px;
        border-radius: 999px;
        border: 1px solid rgba(255,255,255,0.12);
        background: rgba(255,255,255,0.04);
        text-decoration: none;
        transition: transform .15s ease, border-color .15s ease, background .15s ease;
    }

    .header-actions a.master-chain-header-icon,
    .header-actions a.chatbot-header-icon,
    .header-actions a.similarity-header-icon,
    .header-actions a.referral-header-icon {
        width: 40px;
        padding: 0;
        height: 40px;
    }

    .header-actions a.referral-header-icon{
        background: linear-gradient(135deg, rgba(16,185,129,0.18), rgba(52,211,153,0.10));
        border-color: rgba(52,211,153,0.35);
        color: #6ee7b7;
        box-shadow: 0 8px 22px rgba(16,185,129,0.16);
    }

    .header-actions a.referral-header-icon:hover {
        transform: translateY(-1px);
        border-color: rgba(52,211,153,0.55);
        background: rgba(16,185,129,0.22);
    }

    .header-actions a.token-balance-header:hover,
    .header-actions a.master-chain-header-icon:hover,
    .header-actions a.chatbot-header-icon:hover,
    .header-actions a.similarity-header-icon:hover {
        transform: translateY(-1px);
        border-color: rgba(124,140,255,0.35);
        background: rgba(124,140,255,0.10);
    }

    .token-balance-header {
        margin-right: 0 !important;
        background: rgba(255,255,255,0.04) !important;
        border-color: rgba(255,255,255,0.12) !important;
        color: rgba(244,247,255,0.92) !important;
    }
    .token-balance-amount {
        color: rgba(244,247,255,0.92) !important;
    }
    .token-balance-header i {
        color: #fbbf24 !important;
    }

    body.light-mode .token-balance-header,
    html[data-theme="light"] .token-balance-header {
        background: rgba(15,23,42,0.02) !important;
        border-color: rgba(15,23,42,0.10) !important;
        color: rgba(15,23,42,0.86) !important;
    }
    body.light-mode .token-balance-amount,
    html[data-theme="light"] .token-balance-amount {
        color: rgba(15,23,42,0.86) !important;
    }

    /* Theme switch button */
    .theme-switcher-btn {
        width: 40px;
        height: 40px;
        border-radius: 999px;
        border: 1px solid rgba(255,255,255,0.12);
        background: rgba(255,255,255,0.04);
        color: rgba(244,247,255,0.90);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: 0 !important;
    }
    .theme-switcher-btn:hover {
        color: rgba(50,216,255,0.95);
        border-color: rgba(50,216,255,0.30);
        background: rgba(50,216,255,0.08);
    }
    body.light-mode .theme-switcher-btn,
    html[data-theme="light"] .theme-switcher-btn {
        border-color: rgba(15,23,42,0.10);
        background: rgba(15,23,42,0.02);
        color: rgba(15,23,42,0.70);
    }

    /* User dropdown menu: compact modern glass list */
    .user-dropdown-menu {
        border-radius: 16px !important;
        border: 1px solid rgba(255,255,255,0.12) !important;
        background:
            radial-gradient(700px 300px at 0% 0%, rgba(124,140,255,0.08), transparent 55%),
            linear-gradient(165deg, rgba(10,12,24,0.92) 0%, rgba(8,10,18,0.98) 100%) !important;
        color: rgba(244,247,255,0.92) !important;
        box-shadow: 0 24px 66px rgba(0,0,0,0.34) !important;
        min-width: 328px !important;
        max-width: 360px !important;
        padding: 0 0 10px 0 !important;
    }
    .user-dropdown-menu .dropdown-profile {
        background: rgba(255,255,255,0.03) !important;
        border-bottom: 1px solid rgba(255,255,255,0.10) !important;
        padding: 16px 14px 10px 14px !important;
    }
    .user-dropdown-menu .dropdown-name { color: rgba(244,247,255,0.98) !important; }
    .user-dropdown-menu .dropdown-email { color: rgba(220,226,255,0.66) !important; }
    .user-dropdown-menu .dropdown-welcome { color: rgba(50,216,255,0.86) !important; font-size: 0.95rem !important; }
    .user-dropdown-menu .dropdown-list { padding: 8px 8px 6px !important; }
    .user-dropdown-menu .dropdown-item {
        color: rgba(244,247,255,0.92) !important;
        border: 0 !important;
        margin: 3px 0 !important;
        padding: 0 !important;
        background: transparent !important;
    }
    .user-dropdown-menu .dropdown-item > a {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        width: 100% !important;
        padding: 9px 11px !important;
        border-radius: 10px !important;
        min-height: 40px !important;
        color: inherit !important;
        text-decoration: none !important;
        background: transparent !important;
        border: 1px solid transparent !important;
        transition: background .26s cubic-bezier(0.22, 1, 0.36, 1), border-color .26s cubic-bezier(0.22, 1, 0.36, 1), transform .26s cubic-bezier(0.22, 1, 0.36, 1), color .26s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .26s cubic-bezier(0.22, 1, 0.36, 1) !important;
    }
    .user-dropdown-menu .dropdown-item:hover > a {
        background: rgba(124,140,255,0.09) !important;
        border-color: rgba(124,140,255,0.24) !important;
        color: rgba(244,247,255,0.98) !important;
        transform: translateY(-1px) !important;
    }
    .user-dropdown-menu .dropdown-item i { color: rgba(50,216,255,0.84) !important; }
    .user-dropdown-menu .dropdown-divider {
        margin: 8px 10px !important;
        height: 1px !important;
        background: rgba(255,255,255,0.10) !important;
        border-radius: 999px !important;
    }
    .user-dropdown-menu .dropdown-chatbot-btn,
    .user-dropdown-menu .dropdown-new-analysis-btn,
    .user-dropdown-menu .dropdown-bulk-analysis-btn {
        font-weight: 900 !important;
    }

    body.light-mode .user-dropdown-menu,
    html[data-theme="light"] .user-dropdown-menu {
        background: rgba(255,255,255,0.98) !important;
        color: rgba(15,23,42,0.92) !important;
        border-color: rgba(15,23,42,0.10) !important;
        box-shadow: 0 18px 52px rgba(15,23,42,0.14) !important;
    }
    body.light-mode .user-dropdown-menu .dropdown-profile,
    html[data-theme="light"] .user-dropdown-menu .dropdown-profile {
        background: rgba(15,23,42,0.02) !important;
        border-bottom-color: rgba(15,23,42,0.08) !important;
    }
    body.light-mode .user-dropdown-menu .dropdown-name,
    html[data-theme="light"] .user-dropdown-menu .dropdown-name { color: rgba(15,23,42,0.92) !important; }
    body.light-mode .user-dropdown-menu .dropdown-email,
    html[data-theme="light"] .user-dropdown-menu .dropdown-email { color: rgba(15,23,42,0.60) !important; }
    body.light-mode .user-dropdown-menu .dropdown-welcome,
    html[data-theme="light"] .user-dropdown-menu .dropdown-welcome { color: rgba(37,99,235,0.85) !important; }
    body.light-mode .user-dropdown-menu .dropdown-item,
    html[data-theme="light"] .user-dropdown-menu .dropdown-item { color: rgba(15,23,42,0.86) !important; }
    body.light-mode .user-dropdown-menu .dropdown-item > a,
    html[data-theme="light"] .user-dropdown-menu .dropdown-item > a {
        background: transparent !important;
        border-color: transparent !important;
    }
    body.light-mode .user-dropdown-menu .dropdown-item:hover > a,
    html[data-theme="light"] .user-dropdown-menu .dropdown-item:hover > a {
        background: rgba(37,99,235,0.06) !important;
        border-color: rgba(37,99,235,0.20) !important;
        color: rgba(15,23,42,0.95) !important;
    }

    /* Final override: neutralize legacy prominent CTA styles from style.css */
    #user-dropdown-menu .dropdown-chatbot-btn,
    #user-dropdown-menu .dropdown-new-analysis-btn,
    #user-dropdown-menu .dropdown-bulk-analysis-btn,
    #user-dropdown-menu .dropdown-referral-btn,
    #user-dropdown-menu ul li a.dropdown-new-analysis-btn,
    #user-dropdown-menu ul li a.dropdown-chatbot-btn,
    #user-dropdown-menu ul li a.dropdown-bulk-analysis-btn,
    #user-dropdown-menu ul li a.dropdown-referral-btn {
        border: 1px solid transparent !important;
        margin: 2px 0 !important;
        padding: 9px 11px !important;
        border-radius: 10px !important;
        min-height: 42px !important;
        color: inherit !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        text-decoration: none !important;
        font-weight: 800 !important;
        transform: translateY(0) !important;
        transition: background .28s cubic-bezier(0.22, 1, 0.36, 1), border-color .28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .28s cubic-bezier(0.22, 1, 0.36, 1), transform .28s cubic-bezier(0.22, 1, 0.36, 1), color .28s cubic-bezier(0.22, 1, 0.36, 1) !important;
    }
    #user-dropdown-menu .dropdown-chatbot-btn {
        background: linear-gradient(135deg, rgba(50,216,255,0.14) 0%, rgba(124,140,255,0.10) 100%) !important;
        border-color: rgba(50,216,255,0.26) !important;
        box-shadow: inset 0 0 0 1px rgba(50,216,255,0.06), 0 8px 24px rgba(50,216,255,0.08) !important;
    }
    #user-dropdown-menu .dropdown-new-analysis-btn {
        background: linear-gradient(135deg, rgba(255,154,77,0.14) 0%, rgba(236,72,153,0.10) 100%) !important;
        border-color: rgba(255,154,77,0.26) !important;
        box-shadow: inset 0 0 0 1px rgba(255,154,77,0.06), 0 8px 24px rgba(236,72,153,0.08) !important;
    }
    #user-dropdown-menu .dropdown-bulk-analysis-btn {
        background: linear-gradient(135deg, rgba(99,102,241,0.22) 0%, rgba(34,211,238,0.14) 55%, rgba(167,139,250,0.12) 100%) !important;
        border-color: rgba(129,140,248,0.42) !important;
        box-shadow: inset 0 0 0 1px rgba(99,102,241,0.10), 0 10px 28px rgba(99,102,241,0.18), 0 4px 14px rgba(34,211,238,0.10) !important;
    }
    #user-dropdown-menu .dropdown-referral-btn {
        background: linear-gradient(135deg, rgba(16,185,129,0.24) 0%, rgba(52,211,153,0.14) 55%, rgba(124,140,255,0.08) 100%) !important;
        border-color: rgba(52,211,153,0.42) !important;
        box-shadow: inset 0 0 0 1px rgba(16,185,129,0.10), 0 10px 28px rgba(16,185,129,0.18) !important;
    }
    #user-dropdown-menu .dropdown-chatbot-btn:hover,
    #user-dropdown-menu .dropdown-new-analysis-btn:hover,
    #user-dropdown-menu .dropdown-bulk-analysis-btn:hover,
    #user-dropdown-menu .dropdown-referral-btn:hover,
    #user-dropdown-menu ul li a.dropdown-new-analysis-btn:hover,
    #user-dropdown-menu ul li a.dropdown-chatbot-btn:hover,
    #user-dropdown-menu ul li a.dropdown-bulk-analysis-btn:hover,
    #user-dropdown-menu ul li a.dropdown-referral-btn:hover {
        box-shadow: 0 14px 34px rgba(0,0,0,0.20) !important;
        transform: translateY(-1.5px) !important;
        color: inherit !important;
    }
    #user-dropdown-menu .dropdown-chatbot-btn:hover,
    #user-dropdown-menu ul li a.dropdown-chatbot-btn:hover {
        background: linear-gradient(135deg, rgba(50,216,255,0.20) 0%, rgba(124,140,255,0.14) 100%) !important;
        border-color: rgba(50,216,255,0.34) !important;
    }
    #user-dropdown-menu .dropdown-new-analysis-btn:hover,
    #user-dropdown-menu ul li a.dropdown-new-analysis-btn:hover {
        background: linear-gradient(135deg, rgba(255,154,77,0.20) 0%, rgba(236,72,153,0.14) 100%) !important;
        border-color: rgba(255,154,77,0.34) !important;
    }
    #user-dropdown-menu .dropdown-bulk-analysis-btn:hover,
    #user-dropdown-menu ul li a.dropdown-bulk-analysis-btn:hover {
        background: linear-gradient(135deg, rgba(99,102,241,0.30) 0%, rgba(34,211,238,0.20) 55%, rgba(167,139,250,0.16) 100%) !important;
        border-color: rgba(165,180,252,0.55) !important;
        box-shadow: inset 0 0 0 1px rgba(99,102,241,0.14), 0 16px 40px rgba(99,102,241,0.26) !important;
    }
    #user-dropdown-menu .dropdown-referral-btn:hover,
    #user-dropdown-menu ul li a.dropdown-referral-btn:hover {
        background: linear-gradient(135deg, rgba(16,185,129,0.32) 0%, rgba(52,211,153,0.22) 55%, rgba(124,140,255,0.12) 100%) !important;
        border-color: rgba(110,231,183,0.55) !important;
        box-shadow: inset 0 0 0 1px rgba(16,185,129,0.14), 0 16px 40px rgba(16,185,129,0.24) !important;
    }
    #user-dropdown-menu .dropdown-chatbot-btn i,
    #user-dropdown-menu .dropdown-new-analysis-btn i,
    #user-dropdown-menu .dropdown-bulk-analysis-btn i {
        margin-right: 0 !important;
        color: rgba(50,216,255,0.84) !important;
        font-size: 1rem !important;
        transition: transform .28s cubic-bezier(0.22, 1, 0.36, 1), color .28s cubic-bezier(0.22, 1, 0.36, 1) !important;
    }
    #user-dropdown-menu .dropdown-chatbot-btn:hover i,
    #user-dropdown-menu .dropdown-new-analysis-btn:hover i,
    #user-dropdown-menu .dropdown-bulk-analysis-btn:hover i {
        transform: translateX(1px) scale(1.04) !important;
    }
    #user-dropdown-menu .dropdown-new-analysis-btn i {
        color: rgba(255,154,77,0.92) !important;
    }
    #user-dropdown-menu .dropdown-bulk-analysis-btn i {
        color: rgba(196,181,253,0.98) !important;
    }
    #user-dropdown-menu .dropdown-referral-btn i {
        color: rgba(110,231,183,0.98) !important;
    }
    .main-nav .nav-link--referral{
        color: #6ee7b7 !important;
        font-weight: 900;
        position: relative;
    }
    .main-nav .nav-link--referral::after{
        background: linear-gradient(90deg, #34d399, #10b981) !important;
    }
    body.light-mode .main-nav .nav-link--referral,
    html[data-theme="light"] .main-nav .nav-link--referral{
        color: #059669 !important;
    }
    body.light-mode #user-dropdown-menu .dropdown-chatbot-btn:hover,
    body.light-mode #user-dropdown-menu .dropdown-new-analysis-btn:hover,
    body.light-mode #user-dropdown-menu .dropdown-bulk-analysis-btn:hover,
    html[data-theme="light"] #user-dropdown-menu .dropdown-chatbot-btn:hover,
    html[data-theme="light"] #user-dropdown-menu .dropdown-new-analysis-btn:hover,
    html[data-theme="light"] #user-dropdown-menu .dropdown-bulk-analysis-btn:hover {
        background: rgba(37,99,235,0.06) !important;
        border-color: rgba(37,99,235,0.20) !important;
    }
    #user-dropdown-menu .dropdown-new-tag {
        margin-left: auto;
        font-size: 0.64rem;
        font-weight: 900;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #d1fae5;
        background: rgba(16,185,129,0.22);
        border: 1px solid rgba(16,185,129,0.42);
        border-radius: 999px;
        padding: 3px 7px;
        line-height: 1;
    }
    #user-dropdown-menu .dropdown-bulk-analysis-btn .dropdown-new-tag {
        color: #fffbeb;
        background: linear-gradient(135deg, rgba(250,204,21,0.45) 0%, rgba(245,158,11,0.38) 100%);
        border-color: rgba(253,224,71,0.65);
        box-shadow: 0 2px 10px rgba(245,158,11,0.25);
    }

    /* Compact logout row (smaller, less dominant) */
    #user-dropdown-menu .dropdown-item > a.btn-logout,
    #user-dropdown-menu .btn-logout {
        width: calc(100% - 2px) !important;
        margin: 10px 1px 0 !important;
        padding: 8px 10px !important;
        border-radius: 10px !important;
        font-size: 0.92rem !important;
        font-weight: 800 !important;
        justify-content: center !important;
        background: linear-gradient(90deg, rgba(220,38,38,0.90) 0%, rgba(239,68,68,0.90) 100%) !important;
        border: 1px solid rgba(255,255,255,0.14) !important;
        box-shadow: 0 6px 18px rgba(220,38,38,0.22) !important;
        transition: transform .24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .24s cubic-bezier(0.22, 1, 0.36, 1), filter .24s cubic-bezier(0.22, 1, 0.36, 1) !important;
    }
    #user-dropdown-menu .dropdown-item > a.btn-logout:hover,
    #user-dropdown-menu .btn-logout:hover {
        transform: translateY(-1px) !important;
        filter: saturate(1.05) brightness(1.02) !important;
        box-shadow: 0 10px 24px rgba(220,38,38,0.28) !important;
    }

    @media (max-width: 1155px) {
        /* Keep existing mobile menu behavior */
        .header .header-content { padding: 10px 0; }
    }

    .easter-promo-banner {
        background: linear-gradient(90deg, rgba(167, 243, 208, 0.35) 0%, rgba(253, 224, 71, 0.25) 50%, rgba(251, 207, 232, 0.35) 100%);
        border-bottom: 1px solid rgba(255,255,255,0.12);
        color: rgba(255,255,255,0.92);
        text-align: center;
        padding: 10px 16px;
        font-size: 0.9rem;
        font-weight: 600;
        letter-spacing: 0.01em;
    }
    body.light-mode .easter-promo-banner,
    html[data-theme="light"] .easter-promo-banner {
        color: #1e293b;
        background: linear-gradient(90deg, rgba(167, 243, 208, 0.65) 0%, rgba(253, 224, 71, 0.5) 50%, rgba(251, 207, 232, 0.6) 100%);
        border-bottom-color: rgba(15, 23, 42, 0.08);
    }
