    /* --- Basic Header Styles --- */
    .fxy-header {
        width: 100%;
        background: #20283a;
        color: #f8fafd;
        position: relative;
        z-index: 4000;
        box-shadow: 0 2px 12px rgba(18,26,52,0.09);
        font-family: 'Segoe UI', Arial, sans-serif;
        font-size: 0.98em;
    }
    .fxy-header-inner {
        max-width: 1180px;
        margin: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 13px;
        height: 52px;
    }
    .fxy-logo, .custom-logo-link {
        display: flex;
        align-items: center;
        font-size: 1.09em;
        font-weight: 700;
        color: #f8fafd;
        text-decoration: none;
        gap: 9px;
    }
    .fxy-logo img, .custom-logo {
        height: 31px !important;
        width: auto !important;
    }
    .fxy-nav-left {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    /* --- Profile/Login Section CSS --- */
    .fxy-profile-wrap {
        display: flex;
        align-items: center;
        gap: 9px;
        position: relative;
    }
    .fxy-login-pair {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        border: 1.5px solid rgba(255, 255, 255, 0.7);
        border-radius: 8px;
        padding: 6px;
        transition: background-color 0.2s ease, border-color 0.2s ease;
        animation: fxy-glow 2.5s infinite linear;
    }
    .fxy-login-pair:hover {
        background-color: rgba(79, 148, 255, 0.2);
        border-color: #fff;
        text-decoration: none;
        animation-play-state: paused;
    }
    @keyframes fxy-glow {
        0% { box-shadow: 0 0 4px rgba(79, 148, 255, 0.4); }
        50% { box-shadow: 0 0 14px rgba(79, 148, 255, 1), 0 0 5px rgba(255, 255, 255, 0.8); }
        100% { box-shadow: 0 0 4px rgba(79, 148, 255, 0.4); }
    }
    .fxy-profile-img-container { position: relative; cursor: pointer; }
    .fxy-profile-img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: #e3ecfc; border: 1.6px solid #4f94ff; }
    .fxy-status-badge { position: absolute; bottom: -2px; right: -2px; width: 14px; height: 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1.5px solid #fff; font-size: 8px; }
    .fxy-status-badge.is-verified { background-color: #28a745; color: white; }
    .fxy-status-badge.is-not-verified { background-color: #ffc107; color: #212529; }
    .fxy-profile-name { font-size: 1.02em; font-weight: 600; color: #cfe1fa; max-width: 92px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .fxy-profile-submenu { position: absolute; top: 44px; right: 0; background: #28334d; border: 1px solid #3c4f75; box-shadow: 0 4px 14px #111a2f30; padding: 7px 0; border-radius: 10px; min-width: 180px; display: none; flex-direction: column; z-index: 10000; }
    .fxy-profile-submenu a { padding: 9px 16px; display: flex; align-items: center; color: #dbe4f9; text-decoration: none; font-size: 0.95em; }
    .fxy-profile-submenu a:hover { background: #364264; color: #fff; }
    .fxy-profile-submenu .dashicons { margin-right: 8px; font-size: 1.1em; }
    
    /* ===== MEGA MENU CSS (FINAL) ===== */
    .fxy-desktop-nav { position: static; }
    
    .fxy-browse-btn {
        color: #f8fafd; text-decoration: none; font-weight: 600; cursor: pointer;
        padding: 8px 12px; border-radius: 6px; transition: background 0.2s ease;
        display: flex; align-items: center; gap: 6px;
    }
    .fxy-browse-btn:hover, .fxy-browse-btn.active { background: #364264; color: #fff; }
    
    .fxy-browse-arrow {
        width: 16px; height: 16px; fill: currentColor;
        transition: transform 0.3s ease;
    }
    .fxy-browse-btn.active .fxy-browse-arrow {
        transform: rotate(180deg);
    }

    #fxyPrimaryNav {
        display: none; position: absolute; top: 52px; left: 0; width: 100%;
        background: #28334d; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
        border-top: 1px solid #3c4f75; z-index: 3999;
        opacity: 0; visibility: hidden; transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    }
    #fxyPrimaryNav.is-visible { display: block; opacity: 1; visibility: visible; transform: translateY(0); }
    
    .mega-menu-content {
        max-width: 1180px; margin: 0 auto; padding: 0 15px;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        padding-top: 20px; padding-bottom: 20px;
    }
    .mega-menu-content::-webkit-scrollbar { width: 8px; }
    .mega-menu-content::-webkit-scrollbar-track { background: #20283a; }
    .mega-menu-content::-webkit-scrollbar-thumb { background-color: #4f94ff; border-radius: 10px; border: 2px solid #20283a; }

    #fxyPrimaryNav ul.mega-menu-grid {
        list-style: none; margin: 0; padding: 0; display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 25px;
    }
    #fxyPrimaryNav ul.mega-menu-grid > li { padding: 0; }
    #fxyPrimaryNav ul.mega-menu-grid > li > a {
        color: #ffffff; font-size: 1.05em; font-weight: 700; margin-bottom: 12px;
        display: block; text-decoration: none; border-bottom: 2px solid #4f94ff;
        padding-bottom: 6px;
    }
    #fxyPrimaryNav ul.mega-menu-grid > li > a:hover { color: #4f94ff; }
    #fxyPrimaryNav ul.mega-menu-grid ul.sub-menu {
        list-style: none; padding: 0; margin: 0; display: flex;
        flex-direction: column; gap: 5px;
    }
    #fxyPrimaryNav ul.mega-menu-grid ul.sub-menu li a {
        color: #dbe4f9; text-decoration: none; font-size: 0.95em;
        padding: 4px 0; display: block;
        transition: color 0.2s ease, padding-left 0.2s ease;
    }
    #fxyPrimaryNav ul.mega-menu-grid ul.sub-menu li a:hover { color: #ffffff; padding-left: 5px; }

    @media screen and (max-width: 768px) {
        .fxy-desktop-nav { display: none !important; }
    }
