As a language model AI, I can help you with the structure and logic of a simple game in JavaScript that can be played on a smartphone. However, please note that creating a fully functional, 3D first-person shooter game with realistic effects is a complex task that requires a lot of resources and expertise. Implementing such a game as a single HTML file might not be feasible. Nonetheless, I'll provide you with an example of a simple game structure that you can start with:
Please note that this example is a very basic structure and does not include advanced features like first-person camera control, 3D rendering, or realistic effects. Creating a fully functional first-person shooter game with such features would require more advanced development techniques and external libraries specifically designed for game development.