iv>
                <button class="overlay-btn" onclick="startNewGame()">Try Again</button>
            </div>
        </div>
    </div>

    <!-- Instructions -->
    <div class="instructions">
        <p><strong>How to play:</strong> Use arrow keys or swipe to move tiles. When two tiles with the same number touch, they merge into one!</p>
        <p><a href="/leaderboard" class="leaderboard-link">üèÜ View Leaderboards</a></p>
    </div>

    <!-- Connection Status -->
    <div class="connection-stat